數據包在網絡中傳輸的IP與MAC改變

IP地址爲10.0.0.1的機器(右)ping地址爲192.168.1.1的機器(左)網絡

Cisco Packet Tracer抓包分析:router

序號 SrcIP DstIP SrcMAC DstMAC
10.0.0.2 192.168.1.2 01 02
10.0.0.2 192.168.1.2 03 04
10.0.0.2 192.168.1.2 05 06
10.0.0.2 192.168.1.2 06 05
10.0.0.2 192.168.1.2 04 03
10.0.0.2 192.168.1.2 02 01

 

 

 

 

 

--blog

 

 

--ip

部分路由器配置參考命令:路由

 #interface f 0/0it

 #ip add 192.168.1.1(機器的網關)255.255.255.0table

 #interface f 0/1配置

 #ip add 202.196.64.1 255.255.255.0route

 #exit路由器

 #router rip 配置路由表 

 #network 192.168.1.0 如下爲通告網絡,使R2能知道怎麼去這兩個網絡 

 #network 202.196.64.0 

 #exit

相關文章
相關標籤/搜索