Iproute2

iproute2 is a tool developed to unify interface configuration, routing and tunneling to one place under  command.

Configure IP address on interface
Using IPv4 protocol
 * Add IP address to eth0 interface


 * Remove IP address from wlan0 interface

Using IPv6 protocol
 * Add IPv6 address to wlan0 interface


 * Remove IPv6 address from eth0 interface

Add default route
Using IPv4 protocol

Using IPv6 protocol

Show IP routing table
Show IP routing table

Show IPv6 routing table

External resources

 * Why iproute2
 * Routing for multiple uplinks
 * http://inai.de/2008/02/19
 * IPROUTE2 Utility Suite Howto