所谓redistribute仅仅是在两种不同的路由协议需要互相学习其路由条目的时候才用。所以并不是必须重分发静态路由到OSPF中。但如果OSPF需要学习静态路由,或者说使用OSPF的区域需要与使用静态的区域通信,才需要重分发。不过重分发可以简化OSPF的配置。
R1(config)#ip default-network 192.168.1.0 R1(config)#end R1# R1#show ip route Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area ...
R1(config)#ip default-network 192.168.1.0 R1(config)#end R1# R1#show ip route Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area ...
Router(config)# router ospf 进程号(1~65535) Router(config-router)#redistribute static metric 重发度量值 subnets metric-type 重发路由类型(1或2,1即E1,2即E2) (6)重发默认路由 Router(config)# router ospf 进程号(1~65535) Router(config-router)#default-information originate metric 重发度量值 subnets...
ip route 77.1.3.0 255.255.255.0 66.1.1.2 I have redistributed these into OSPF and have the below config:router ospf 1router-id 1.1.1.1auto-cost reference-bandwidth 100000area 123 nssa no-summarysummary-address 77.1.0.0 255.255.252.0redistribute static metric-type 1 subnetspassive-interface default...
1)在ABR上起不同OSPF进程,进行OSPF之间的重分布。 例如:R3的s1口在area1中,进程号是10,s0口在area 3中,进程号是20 Router ospf10 router ospf20 Redistribute ospf 20subnets redistribute ospf 10 subnets 2)tunnel Int tunnel 1 int tunnel3 Tunnel sources1 tunnelsource s1 ...
这个在思科里面应该是重发布静态路由到OSPF内。
IOU2(config)#router ripIOU2(config-router)#redistribute ospf 1 metric 5 IOU2(config-router)#exit 可以在IOU5使用show ip route查看路由表 IOU5上已经有了IOU1、IOU2的路由信息了,但是IOU1上的路由表没有。 配置路由重分发将默认路由宣告到OSPF ...
The snippet you provided does not indicate one way or another how it learned the default route except its EIGRP external route...however you can put a static route on that same router of 0.0.0.0 0.0.0.0 1.1.1.1 255 and go into the EIGRP process and do a "redistribute static" ...