MERAprojects / ops-build

Other
0 stars 0 forks source link

OSPFv2: Redistributing static route into OSPF doesn't work #7

Open xivamar opened 7 years ago

xivamar commented 7 years ago

Problem Description:

On DUT2 we configure static routes and distribute its in OSPF. But routing table on other DUTs doesn't contain static routes.

OpenSwitch version:

OpenSwitch 0.4.0 (Build: appliance-ops-0.4.0-devel/master-20161107122528-dev)

Test Topology:

ospf_topology

Steps to reproduce the problem:

  1. Configure DUTs as in attached file.

  2. Configure static routes on DUT2 and redistribute its into OSPF.

    switch# conf ter switch(config)# ip route 11.0.0.0/24 10.1.0.2
    switch(config)# ip route 12.0.0.0/24 10.1.0.2 switch(config)# ip route 13.0.0.0/24 10.1.0.2 switch(config)# router ospf switch(config-router)# redistribute static switch(config-router)# end

  3. Check routing table via show ip route on DUT1, DUT3 and DUT4. - NOK: routing table should contain static routes. on DUT3:

    switch# show ip route

    Displaying ipv4 routes selected for forwarding

    '[x/y]' denotes [distance/metric]

    172.16.1.0/24, 1 unicast next-hops via eth1, [0/0], connected 172.16.10.4/30, 1 unicast next-hops via eth2, [0/0], connected 172.16.20.0/24, 1 unicast next-hops via 172.16.10.6, [110/20], ospf 172.16.51.0/24, 1 unicast next-hops via 172.16.1.2, [110/20], ospf 192.168.3.1/32, 1 unicast next-hops via loopback1, [0/0], connected

    switch#

config.txt