Internet 192.168.1.1 - cc00.10ec.0000 ARPA Ethernet0/0
R1#ping 2.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 24/218/504 ms
R1#sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 2.2.2.2 0 cc00.12c4.0000 ARPA Ethernet0/0
Internet 192.168.1.1 - cc00.10ec.0000 ARPA Ethernet0/0
Internet 192.168.1.2 0 cc00.12c4.0000 ARPA Ethernet0/0
关闭R2 Ethernet0/0的代理arp功能,而且将R1的ethernet0/0shutdown并no shutdown一下,否则ARP CACHE里面有记录
R1#sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 192.168.1.1 - cc00.10ec.0000 ARPA Ethernet0/0
R1#ping 2.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R1#ping 192.168.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 64/182/376 ms
R1#sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 2.2.2.2 0 Incomplete ARPA
Internet 192.168.1.1 - cc00.10ec.0000 ARPA Ethernet0/0
Internet 192.168.1.2 0 cc00.12c4.0000 ARPA Ethernet0/0
附上R2 Ethernet0/0配置
R2#sh run int e0/0
Building configuration...
Current configuration : 97 bytes
!
interface Ethernet0/0
ip address 192.168.1.2 255.255.255.0
no ip proxy-arp 切记!谨慎对待这条命令!
half-duplex
end