添加ipv6地址:
ifconfig eth0 inet6 add 2001::192:168:1:101/64
删除ipv6地址:
ifconfig eth0 inet6 del 2001::192:168:1:101/64
添加静态MAC绑定(类似ipv4下的arp -s):
ip -6 neigh add 2001::192:168:1:102 lladdr 00:01:02:03:04:05 dev eth0
IPv6 静态MAC绑定查询(类似ipv4下的arp -a):
ip -6 neigh show
IPv6静态MAC删除(类似ipv4下的arp -d):
ip -6 neigh del 2001::192:168:1:102 lladdr 00:01:02:03:04:05 dev eth0
清空所有IPv6邻居表缓存:
ip -6 neigh flush dev eth0