The iproute2 tools are default installed on most major linux distributions now, but few people know how to use them. Once you are familiar with them though, you will lament having to use ifconfig and route. Here is a quick chart on iproute2 replacement commands.
| Ifconfig Command | IP Command |
|---|---|
| ifconfig -a | ip addr show |
| ifconfig eth0 1.2.3.4 netmask 255.255.255.255 | ip addr add 1.2.3.4 255.255.255.255 dev eth0 |
| netstat -nvr | ip route |
| route get 1.2.3.4 (solaris) | ip route get 1.2.3.4 |
| route add -net 1.2.3.0 netmask 255.255.255.0 dev eth0 | ip route add 1.2.3.0/255.255.255.0 dev eth1 |
| ifconfig eth0 mtu 1496 | ip link set eth0 mtu 1496 |
| ifconfig eth0 down | ip link set eth0 down |
| ifconfig eth0 promisc | ip link set eth0 promisc on |