Open xivamar opened 7 years ago
On DUT2 we configure static routes and distribute its in OSPF. But routing table on other DUTs doesn't contain static routes.
OpenSwitch 0.4.0 (Build: appliance-ops-0.4.0-devel/master-20161107122528-dev)
Configure DUTs as in attached file.
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
Check routing table via show ip route on DUT1, DUT3 and DUT4. - NOK: routing table should contain static routes. on DUT3:
show ip route
routing table should contain static routes
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
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:
Steps to reproduce the problem:
Configure DUTs as in attached file.
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
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