RIP缺省静态路由的重发布配置教程

  发布时间:2012-11-28 17:14:06   作者:佚名   我要评论
本文将详细介绍RIP缺省静态路由的重发布,需要了解更多的朋友可以参考下
(福利推荐:【腾讯云】服务器最新限时优惠活动,云服务器1核2G仅99元/年、2核4G仅768元/3年,立即抢购>>>:9i0i.cn/qcloud

(福利推荐:你还在原价购买阿里云服务器?现在阿里云0.8折限时抢购活动来啦!4核8G企业云服务器仅2998元/3年,立即抢购>>>:9i0i.cn/aliyun

R1的配置 :(config)#interface s1
(-if)#ip address 10.1.1.1 255.255.255.0
(-if)#no shutdown
(config)#interface loop 0
(-if)#ip address 1.1.1.1 255.255.255.0
(config)#router rip
(config-router)#network 10.0.0.0
(config-router)#network 1.0.0.0

R2的配置(config)#interface s0
(-if)#clock rate 64000
(-if)#ip address 10.1.1.2 255.255.255.0
(-if)#no shutdown
(config)#interface s1
(-if)#ip add 172.16.1.2 255.255.255.0
(-if)#no shutdown
(config)#interface loop 0
(-if)#ip add 2.2.2.2 255.255.255.0
(config)#router rip
(-router)#network 10.0.0.0
(-router)#network 172.16.0.0
(-router)#network 2.0.0.0

R3的配置:(config)#interface s0
(-if)#clock rate 64000
(-if)#ip address 172.16.1.3 255.255.255.0
(-if)#no shutdown
(config)#interface s1
(-if)#ip address 192.168.1.3 255.255.255.0
(-if)#no shutdown
(config)#interface loop 0
(-if)#ip address 3.3.3.3 255.255.255.0
(config)#ip route 0.0.0.0 0.0.0.0 s1
(config)#router rip
(-router)#network 172.16.0.0
(-router)#network 192.168.1.0
(-router)#network 3.0.0.0
(config)#ip default-network 172.16.0.0注:将缺省路由发布到R1,R2

R4的配置(config)#interface s0
(-if)#clock rate 64000
(-if)#ip address 192.168.1.4 255.255.255.0
(-if)#no shutdown
(-if)#ip add 4.4.4.4 255.255.255.0
(config)#ip route 0.0.0.0 0.0.0.0 s0

相关文章

最新评论

?


http://www.vxiaotou.com