diff options
Diffstat (limited to 'tests/topotests/ospf_multi_vrf_bgp_route_leak/r3')
3 files changed, 47 insertions, 0 deletions
diff --git a/tests/topotests/ospf_multi_vrf_bgp_route_leak/r3/frr.conf b/tests/topotests/ospf_multi_vrf_bgp_route_leak/r3/frr.conf new file mode 100644 index 0000000..2657f58 --- /dev/null +++ b/tests/topotests/ospf_multi_vrf_bgp_route_leak/r3/frr.conf @@ -0,0 +1,22 @@ +! +hostname r3 +password zebra +log file /tmp/r3-frr.log +! +interface r3-eth0 + ip address 10.0.3.3/24 +! +interface r3-eth1 + ip address 10.0.30.3/24 +! +ip forwarding +! +! +router ospf + ospf router-id 10.0.255.3 + redistribute kernel + redistribute connected + redistribute static + network 10.0.3.0/24 area 0 + network 10.0.30.0/24 area 0 +! diff --git a/tests/topotests/ospf_multi_vrf_bgp_route_leak/r3/ospf-vrf-default.txt b/tests/topotests/ospf_multi_vrf_bgp_route_leak/r3/ospf-vrf-default.txt new file mode 100644 index 0000000..3eb5690 --- /dev/null +++ b/tests/topotests/ospf_multi_vrf_bgp_route_leak/r3/ospf-vrf-default.txt @@ -0,0 +1,17 @@ +VRF Name: default +============ OSPF network routing table ============ +N 10.0.3.0/24 [10] area: 0.0.0.0 + directly attached to r3-eth0 +N 10.0.30.0/24 [10] area: 0.0.0.0 + directly attached to r3-eth1 + +============ OSPF router routing table ============= +R 10.0.255.1 [10] area: 0.0.0.0, ASBR + via 10.0.30.1, r3-eth1 + +============ OSPF external routing table =========== +N E2 10.0.4.0/24 [10/20] tag: 0 + via 10.0.30.1, r3-eth1 +N E2 10.0.40.0/24 [10/20] tag: 0 + via 10.0.30.1, r3-eth1 + diff --git a/tests/topotests/ospf_multi_vrf_bgp_route_leak/r3/zebra-vrf-default.txt b/tests/topotests/ospf_multi_vrf_bgp_route_leak/r3/zebra-vrf-default.txt new file mode 100644 index 0000000..f6f861b --- /dev/null +++ b/tests/topotests/ospf_multi_vrf_bgp_route_leak/r3/zebra-vrf-default.txt @@ -0,0 +1,8 @@ +O 10.0.3.0/24 [110/10] is directly connected, r3-eth0, weight 1, XX:XX:XX +C>* 10.0.3.0/24 is directly connected, r3-eth0, XX:XX:XX +O>* 10.0.4.0/24 [110/20] via 10.0.30.1, r3-eth1, weight 1, XX:XX:XX +O 10.0.30.0/24 [110/10] is directly connected, r3-eth1, weight 1, XX:XX:XX +C>* 10.0.30.0/24 is directly connected, r3-eth1, XX:XX:XX +O>* 10.0.40.0/24 [110/20] via 10.0.30.1, r3-eth1, weight 1, XX:XX:XX + + |