R4
en
conf t
int f0/0
ip add 10.0.0.2 255.255.255.252
no sh
int loopback 0
ip add 192.168.3.1 255.255.255.0
no sh
exit
ip route 0.0.0.0 0.0.0.0 10.0.0.1
R3
en
conf t
int f0/0
ip add 10.0.0.5 255.255.255.252
no sh
int f0/1
ip add 10.0.0.1 255.255.255.252
no sh
exit
ip route 192.168.3.0 255.255.255.0 10.0.0.2
router ospf 1
router-id 3.3.3.3
network 10.0.0.4 0.0.0.3 area 1
router ospf 1 redistribte static subnets
redistribute connected subnets
R1
int f0/0
ip add 10.0.0.6 255.255.255.252
no sh
int f0/1
ip add 172.16.31..2 255.255.255.252
no sh
int f1/0
ip add 10.0.0.9 255.25.255.252
no sh
exit
router ospf 1
router-id 1.1.1.1
network 10.0.0.8 0.0.0.3 area 0
network 10.0.0.4 0.0.0.3 area 1
exit
ip route 0.0.0.0 0.0.0.0 172.16.31.1
R2
en
conf t
int f0/0
ip add 10.0.0.10 255.255.255.252
no sh
int f0/1
ip add 192.168.100.1 255.255.255.0
no sh
exit
router ospf 1
router-id 2.2.2.2
network 10.0.0.8 0.0.0.3 area 0
exit
router rip
network 192.168.100.0
router ospf 1
redistribute rip stbnets
exit
router rip
redistribute ospf 1 metric 9
R5
int f0/0
ip add 192.168.100.2 255.255.255.0
no sh
int loopback 0
ip add 192.168.2.1 255.255.255.0
no sh
exit
router rip
network 192.168.100.0
network 192.168.2.0
R6
en
conf t
int f0/0
ip add 172.16.31.1 255.255.255.252
no sh
int loopback 0
ip add 59.56.61.1 255.255.255.0
no sh
exit
ip route 0.0.0.0 0.0.0.0 172.16.31.2
路由重分发配置实验
原创
©著作权归作者所有:来自51CTO博客作者wx637466ee2a0a1的原创作品,请联系作者获取转载授权,否则将追究法律责任
下一篇:OSPF路由协议一
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
路由重分发配置实例 ospf、rip
路由重分发配置实例 ospf、rip、静态路由、默认路由综合实验
路由 重分发 配置 ospf