码迷,mamicode.com
首页 > 其他好文 > 详细

GNS3 模拟icmp记录路由

时间:2016-01-17 12:23:02      阅读:170      评论:0      收藏:0      [点我收藏+]

标签:

路由配置:

技术分享

icmp记录路由抓取出接口的IP地址,最多可以抓取9个。ip协议头中的options为40个字节

 

R1 :

conf t

int f0/0

no shutdown

ip add 192.168.1.1 255.255.255.0

no ip routing

end

 

R2 f0/0:

conf t

int f0/0

no shutdown

ip add 192.168.1.254 255.255.255.0

end

 

R2 f1/0:

conf t

int f0/0

no shutdown

ip add 192.168.2.254 255.255.255.0

end

 

 

R3 :

conf t

int f0/0

no shutdown

ip add 192.168.2.1 255.255.255.0

no ip routing

end

 

首先R1 ping R3,要保障线路畅通。然后输入 ping + ENTER进入下面界面:

技术分享 技术分享

再按回车,

技术分享

 

wireshark抓包显示:

技术分享

 

GNS3 模拟icmp记录路由

标签:

原文地址:http://www.cnblogs.com/qq76211822/p/5136991.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!