您的位置:首页 > 职场人生

RIP缺省静态路由的重发布

2007-07-25 20:36 337 查看



R1[/b]的配置[/b] :(config)#interface s1[/b]
(-if)#ip address [/b]10.1.1[/b].1 255.255.255.0[/b]
(-if)#no shutdown[/b]
(config)#interface loop 0[/b]
(-if)#ip address [/b]1.1.1[/b].1 255.255.255.0[/b]
(config)#router rip[/b]
(config-router)#network [/b]10.0.0[/b].0[/b]
(config-router)#network [/b]1.0.0[/b].0[/b]
[/b]
R2[/b]的配置[/b](config)#interface s0[/b]
(-if)#clock rate 64000[/b]
(-if)#ip address [/b]10.1.1[/b].2 255.255.255.0[/b]
(-if)#no shutdown[/b]
(config)#interface s1[/b]
(-if)#ip add 172.16.1.2 255.255.255.0[/b]
(-if)#no shutdown[/b]
(config)#interface loop 0[/b]
(-if)#ip add [/b]2.2.2[/b].2 255.255.255.0[/b]
(config)#router rip[/b]
(-router)#network [/b]10.0.0[/b].0[/b]
(-router)#network 172.16.0.0[/b]
(-router)#network [/b]2.0.0[/b].0[/b]
[/b]
R3[/b]的配置[/b]:(config)#interface s0[/b]
(-if)#clock rate 64000[/b]
(-if)#ip address 172.16.1.3 255.255.255.0[/b]
(-if)#no shutdown[/b]
(config)#interface s1[/b]
(-if)#ip address 192.168.1.3 255.255.255.0[/b]
(-if)#no shutdown[/b]
(config)#interface loop 0[/b]
(-if)#ip address [/b]3.3.3[/b].3 255.255.255.0[/b]
(config)#ip route [/b]0.0.0[/b].0 0.0.0.0 s1[/b]
(config)#router rip[/b]
(-router)#network 172.16.0.0[/b]
(-router)#network 192.168.1.0[/b]
(-router)#network [/b]3.0.0[/b].0[/b]
(config)#ip default-network 172.16.0.0[/u][/b]注[/u][/b]:[/u][/b]将缺省路由发布到[/u][/b]R1,R2[/u][/b]
[/b]
[/b]
R4[/b]的配置[/b](config)#interface s0[/b]
(-if)#clock rate 64000[/b]
(-if)#ip address 192.168.1.4 255.255.255.0[/b]
(-if)#no shutdown[/b]
(-if)#ip add [/b]4.4.4[/b].4 255.255.255.0[/b]
(config)#ip route [/b]0.0.0[/b].0 0.0.0.0 s0[/b]
[/b]
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  职场 路由 RIP 休闲