注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 可扩展、高可用、负载均衡..
 帮助

RIP缺省静态路由的重发布


2007-07-25 20:36:58
 标签:路由 RIP   [推送到技术圈]

版权声明:原创作品,谢绝转载!否则将追究法律责任。
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
 

本文出自 “md5128” 博客,谢绝转载!







    文章评论
 
2007-07-25 21:09:33
博里有好多的路由牛人哎。
R2的配置 (config)#interface s1   这个有点不大对劲哪

2007-10-22 23:31:58
应该可以直接在R3上面做一个重发布直连也可以吧?

 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: