标签:distrib form adb 关闭自动 orm out mat 静态路由 9.png
动态路由OSPF的rip、ospf、静态重分发及动态重分发实验
实验拓扑如下:
R1
ip route 0.0.0.0 0.0.0.0 192.168.20.2
R2
ip route 192.168.10.0 255.255.255.0 192.168.20.1
router ospf 1
network 192.168.30.0 0.0.0.255 area 1 //宣告30网段
redistribute static subnets //重分发静态路由
R3
ip route 0.0.0.0 0.0.0.0 192.168.80.2
router ospf 1
network 192.168.30.0 0.0.0.255 area 1 //宣告30,70,40网段
network 192.168.70.0 0.0.0.255 area 1
network 192.168.40.0 0.0.0.255 area 1
default-information originate //默认路由重分发
R4
router rip
network 192.168.50.0 //rip中宣告50网段
version 2 //版本2
no auto-summary //关闭自动汇总
R4
router ospf 1
network 192.168.40.0 0.0.0.255 area 1 //宣告40网段
redistribute rip subnets //rip重分发
router rip
redistribute ospf 1 metric 5 //ospf重分发
R5
ip route 0.0.0.0 0.0.0.0 192.168.80.1
R6
router rip
network 192.168.50.0 //宣告50、60网段
network 192.168.60.0
version 2 //版本2
no auto-summary //关闭路由汇总
标签:distrib form adb 关闭自动 orm out mat 静态路由 9.png
原文地址:http://blog.51cto.com/13760226/2153659