[root@localhost /]#
[root@localhost /]# arp -a
? (192.168.27.98) at d4:a5:2f:e7:60:8c [ether] on br0
? (192.168.27.92) at 54:9f:35:0f:df:2c [ether] on br0
? (169.254.255.1) at be:6a:38:98:d4:50 [ether] PERM on v1
? (192.168.27.33) at 4c:cc:6a:40:5a:31 [ether] on br0
? (192.168.27.1) at 5c:50:15:f0:cb:50 [ether] on br0
? (169.254.255.3) at on v1
[root@localhost /]#
[root@localhost /]# arp -s 169.254.255.1 be:6a:38:98:d4:50
对端命名空间里
[root@localhost /]#
[root@localhost /]# ip netns exec test arp -a
? (169.254.255.2) at b6:a3:ee:f7:09:b9 [ether] PERM on v2
[root@localhost /]# ip netns exec test arp -s 169.254.255.2 b6:a3:ee:f7:09:b9
阅读(5234) | 评论(0) | 转发(0) |