RIP缺省静态路由的重发布



RIP缺省静态路由的重发布   www.zhishiwu.com   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://143514.blog.51cto.com/133514/35374

 

(免责声明:文章内容如涉及作品内容、版权和其它问题,请及时与我们联系,我们将在第一时间删除内容,文章内容仅供参考)

未经允许不得转载:本文采用知识共享 署名4.0国际许可协议 [BY-NC-SA] 进行授权!路由网 » RIP缺省静态路由的重发布