ip address show
ip link show
ip -s link show
ip neigh ls
ip address add 172.17.8.102/24 brd + dev eth1
ip address del 172.17.8.102/24 dev eth1
ip link set eth1 down
ip link set eth1 upip link set address 00:22:33:44:55:66 dev eth1 ( 必須在down 的狀況下才能改Mac 位址)
ip monitor all (監控cable 是否有被移除)
ip route show
ip route del 172.17.0.0/16 dev eth0
ip route add 172.17.0.0/16 dev eth0
ip route add default via 172.17.8.1
ip route del default via 172.17.8.1
沒有留言:
張貼留言