Closed ne-vlezay80 closed 6 years ago
If I am reading this right router2 should be redistributing static routes to router1. Is this what you expect @ne-vlezay80 ?
Would it be possible to supply the output of "show ip ospf database external" from both routers? Also please supply the output of "show ip ospf neighbor"
Дело в том, что на quagga подобная схема работала нормально.
"The fact is that on a quagga this circuit worked fine."
That doesn't help me know what is not working. If you wish us to try to resolve the issue, then additional information is required. I've set up a very similar config in my lab and it works just fine redistributing static routes into ospf and advertising to a peer.
Issue is closed for lack of detail to debug and fix
Router1: ! frr version 3.1-dev-frr1 frr defaults traditional no log monitor username cumulus nopassword ! service integrated-vtysh-config ! log syslog informational ! router bgp 65301 neighbor 10.247.0.1 remote-as 65500 ! address-family ipv4 unicast network 10.194.0.0/21 exit-address-family ! address-family ipv6 unicast network 2a01:d0:c353:180::/58 neighbor 10.247.0.1 activate exit-address-family vnc defaults response-lifetime 3600 exit-vnc ! router ospf ospf router-id 10.0.250.1 network 10.0.250.0/24 area 0 ! router ospf6 interface eth1 area 0.0.0.0 ! ip route 10.194.0.0/21 Null0 ipv6 route 2a01:d0:c353:180::/58 Null0 ! mpls label global-block 16 8092 ! line vty ! end router 2: Current configuration: ! frr version 3.1-dev frr defaults traditional no log monitor username cumulus nopassword ! service integrated-vtysh-config ! log file /var/log/frr/frr.log ! log timestamp precision 6 ! log syslog informational ! router ospf ospf router-id 10.0.250.10 redistribute static network 10.0.250.0/24 area 0 ! ip route 10.194.2.0/24 Null0 ! line vty ! end Router 1: border# sh ip ospf route ============ OSPF network routing table ============ N 10.0.250.0/24 [10] area: 0.0.0.0 directly attached to eth1
============ OSPF router routing table =============
============ OSPF external routing table ===========
border# sh ip route Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF, I - IS-IS, B - BGP, P - PIM, E - EIGRP, N - NHRP, T - Table, v - VNC, V - VNC-Direct,
K> 0.0.0.0/0 via 10.247.0.1, eth0 O 10.0.250.0/24 [110/10] is directly connected, eth1, 02:14:23 C> 10.0.250.0/24 is directly connected, eth1 S> 10.194.0.0/21 [1/0] is directly connected, Null0, bh C> 10.194.0.0/24 is directly connected, null0 B 10.247.0.0/24 [20/0] via 10.247.0.1 inactive, 02:14:21 C> 10.247.0.0/24 is directly connected, eth0 B> 10.247.1.0/24 [20/0] via 10.247.0.1, eth0, 02:14:21 B> 10.247.2.0/24 [20/0] via 10.247.0.1, eth0, 02:14:21 B> 10.247.203.0/24 [20/0] via 10.247.0.1, eth0, 02:14:21 B>* 10.247.204.0/24 [20/0] via 10.247.0.1, eth0, 02:14:2
Router2: s1# sh ip route Codes: K - kernel route, C - connected, S - static, R - RIP, O - OSPF, I - IS-IS, B - BGP, P - PIM, E - EIGRP, N - NHRP, T - Table, v - VNC, V - VNC-Direct,
K> 0.0.0.0/0 via 10.0.250.1, eth0 O 10.0.250.0/24 [110/10] is directly connected, eth0, 00:32:18 C> 10.0.250.0/24 is directly connected, eth0 C> 10.194.1.0/24 is directly connected, eth1 S> 10.194.2.0/24 [1/0] is directly connected, Null0, bh s1#
Ospf not working!
It seems to me that this is a bug, since with quagga and the old version of frr everything worked.