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