linux ip 命令
ifconfig 已经过时了 在现状的版本中以ip 命令取代
ifconfig是net-tools中 已被弃用的一个命令,许多年前就已经没有维护了 。iproute2 套件里有许多增强的命令,ip命令就是其中之一
* net-tools vs iproute2 *
===============
| net-tools | iproute2 |
|---|---|
| arp -na | ip neigh |
| ifconfig | ip link |
| ifcong -a | ip addr show |
| ifconfig –help | ip help |
| ifconfig -s | ip -s link |
| ifconfig eth0 up | ip link set eth0 up |
| ipmaddr | ip maddr |
| iptunnel | ip tunnel |
| netstat | ss |
| netstat -i | ip -s link |
| netstat -g | ip maddr |
| netstat -l | ss -l |
| netstat -r | ip route |
| route add | ip route add |
| route del | ip route del |
| route -n | ip route show |
| vconfig | ip link |
arp 条目
$ ip neighbour

被折叠的 条评论
为什么被折叠?



