首页 > 其他 > 详细

GNS3 icmp之严格路由

时间:2016-01-17 12:10:05      阅读:244      评论: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进入下面界面:

技术分享

路由输入R2的出ip地址,按回车:

技术分享技术分享

 

严格路由必须按照指定的路由走,抓包如下:

技术分享

返回R2的进IP地址

GNS3 icmp之严格路由

原文:http://www.cnblogs.com/qq76211822/p/5137007.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!