arp问题

作者: ubuntu-9.10 2010-11-23 18:07:41
yq@yq-laptop:~$ arp -a
? (192.168.1.150) 位于 00:24:21:db:5a:93 [ether] 在 eth0
? (192.168.1.250) 位于 00:1f:d0:3d:23:e7 [ether] 在 eth0
? (192.168.1.1) 位于 00:25:86:72:24:54 [ether] 在 eth0
yq@yq-laptop:~$ sudo arp -d 192.168.1.250
yq@yq-laptop:~$ sudo arp -d 192.168.1.150
yq@yq-laptop:~$ sudo arp -s 192.168.1.150 00:1f:d0:3d:23:e7
yq@yq-laptop:~$ arp -a
? (192.168.1.150) 位于 00:1f:d0:3d:23:e7 [ether] PERM 在 eth0
? (192.168.1.250) 位于 在 eth0
? (192.168.1.1) 位于 00:25:86:72:24:54 [ether] 在 eth0
yq@yq-laptop:~$ ping 192.168.1.150
PING 192.168.1.150 (192.168.1.150) 56(84) bytes of data.ping不通
按照我到理解,在最后ping192.168.1.150的时候应该会连接到192.168.1.250上,应该所能ping通到,求达人解释下

相关资讯