以下、次のリンク先から抜粋。
(2014/07/12)
http://enakai00.hatenablog.com/entry/20140712/1405139841
device up/down
# ip l set eth1 up
# ip l set eth1 down
# nmcli c down eth1
# nmcli c up eth1
show routing table
# ip r
add/delete default gateway
# ip route add default via 192.168.122.1
# ip route del default via 192.168.122.1
packets processed
# ip -s l
tcp/udp socket
# ss -nat
# ss -nau
arp table
# ip n
# ip n flush 192.168.122.71 dev eth0
# ip n del 192.168.122.71 dev eth0
No comments:
Post a Comment