首页 > 其他 > 详细

5-高级路由:RIP被动接口与单播更新

时间:2018-07-07 11:13:59      阅读:130      评论:0      收藏:0      [点我收藏+]
一、实验拓扑:
技术分享图片
总结:
1、RIP比较特殊,设为被动接口后:只收不发;
其它协议设为被动接口:不收不发。
2、边界路由器端口如果连接PC,推荐设置为被动接口。
3、把接口设为被动接口,不影响其对网段的宣告。
二、命令部署:
1、基本部署:
R1(config)#int f0/0
R1(config-if)#no shutdown
R1(config-if)#ip add 12.1.1.1 255.255.255.0
R1(config)#router rip
R1(config-router)#network 12.1.1.1

R2(config)#int f0/0
R2(config-if)#no shutdown
R2(config-if)#ip add 12.1.1.2 255.255.255.0
R2(config-if)#int f1/0
R2(config-if)#no shutdown
R2(config-if)#ip add 23.1.1.2 255.255.255.0
R2(config)#router rip
R2(config-router)#network 12.1.1.2
R2(config-router)#network 23.1.1.2

R3(config)#int f0/0
R3(config-if)#no shutdown
R3(config-if)#ip add 23.1.1.3 255.255.255.0
R3(config-if)#int lo3
R3(config-if)#ip add 3.3.3.3 255.255.255.0
R3(config)#router rip
R3(config-router)#network 23.1.1.0
R3(config-router)#network 3.3.3.3

2、重点部署:
R3(config)#router rip
R3(config-router)#passive-interface f0/0

R3(config)#router rip
R3(config-router)#neighbor 23.1.1.2

R2(config)#router rip
R2(config-router)#neighbor 23.1.1.3

三、验证:
1、R3的f0/0设为被动接口后:
R2#show ip route rip //R2已经收不到R3的路由条目
R2#ping 3.3.3.3 //ping不通
同理:R1和R2相同

2、R3和R2之间部署单播更新后:
R2#show ip route rip
R 3.0.0.0/8 [120/1] via 23.1.1.3, 00:00:13, FastEthernet1/0
同理:R1也有3.3.3.3的路由条目
技术分享图片

5-高级路由:RIP被动接口与单播更新

原文:http://blog.51cto.com/13856092/2137471

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