2-R1有默認網關:下一跳 Normal-ARP
阿新 • • 發佈:2018-07-07
process 目的 nor pro 拓展 命令 ip route intern address 1、實驗拓撲:
2、命令部署:
R1(config)#ip routing
R1(config)#ip route 0.0.0.0 0.0.0.0 12.1.1.2
其它和PC Normal Arp部署一致 dst 12.1.1.1 c001.1858.0000 FastEthernet0/0
R1#show arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 12.1.1.1 - c001.1858.0000 ARPA FastEthernet0/0
Internet 12.1.1.2 0 c002.3430.0000 ARPA FastEthernet0/0 shutdown接口—再no shutdown——clear arp-cache
(2)免費ARP:?
2、命令部署:
R1(config)#ip routing
R1(config)#ip route 0.0.0.0 0.0.0.0 12.1.1.2
其它和PC Normal Arp部署一致
3、驗證:
(1)命令部署:
R2#debug arp
ARP packet debugging is on
R1#ping 3.3.3.3
(2)抓包驗證:
R2#
Mar 1 00:07:26.271: IP ARP: rcvd req src 12.1.1.1 c001.1858.0000, dst 12.1.1.2 FastEthernet0/0
Mar 1 00:07:26.271: IP ARP: sent rep src 12.1.1.2 c002.3430.0000,
R1#show arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 12.1.1.1 - c001.1858.0000 ARPA FastEthernet0/0
Internet 12.1.1.2 0 c002.3430.0000 ARPA FastEthernet0/0
Wireshark抓包目的IP不對
4、拓展:
(1)完全清除ARP表
(2)免費ARP:?
2-R1有默認網關:下一跳 Normal-ARP