diff options
Diffstat (limited to 'tests/topotests/ospf_topo1/r1')
-rw-r--r-- | tests/topotests/ospf_topo1/r1/ospf6d.conf | 13 | ||||
-rw-r--r-- | tests/topotests/ospf_topo1/r1/ospf6route.txt | 13 | ||||
-rw-r--r-- | tests/topotests/ospf_topo1/r1/ospf6route_down.txt | 5 | ||||
-rw-r--r-- | tests/topotests/ospf_topo1/r1/ospf6route_ecmp.txt | 13 | ||||
-rw-r--r-- | tests/topotests/ospf_topo1/r1/ospfd.conf | 13 | ||||
-rw-r--r-- | tests/topotests/ospf_topo1/r1/ospfroute.txt | 23 | ||||
-rw-r--r-- | tests/topotests/ospf_topo1/r1/ospfroute_down.txt | 13 | ||||
-rw-r--r-- | tests/topotests/ospf_topo1/r1/zebra.conf | 11 |
8 files changed, 104 insertions, 0 deletions
diff --git a/tests/topotests/ospf_topo1/r1/ospf6d.conf b/tests/topotests/ospf_topo1/r1/ospf6d.conf new file mode 100644 index 0000000..ca3497b --- /dev/null +++ b/tests/topotests/ospf_topo1/r1/ospf6d.conf @@ -0,0 +1,13 @@ +! +router ospf6 + ospf6 router-id 10.0.255.1 + redistribute kernel + redistribute connected + redistribute static + interface r1-eth0 area 0.0.0.0 + interface r1-eth1 area 0.0.0.0 +! +int r1-eth1 + ipv6 ospf6 dead-interval 10 + ipv6 ospf6 hello-interval 2 +! diff --git a/tests/topotests/ospf_topo1/r1/ospf6route.txt b/tests/topotests/ospf_topo1/r1/ospf6route.txt new file mode 100644 index 0000000..d01511c --- /dev/null +++ b/tests/topotests/ospf_topo1/r1/ospf6route.txt @@ -0,0 +1,13 @@ +*N IA 2001:db8:1::/64 :: r1-eth0 00:02:11 +*N IA 2001:db8:2::/64 fe80::b038:bcff:fe27:e2d6 r1-eth1 00:02:06 + N E2 2001:db8:2::/64 fe80::b038:bcff:fe27:e2d6 r1-eth1 00:02:06 +*N IA 2001:db8:3::/64 :: r1-eth1 00:02:11 + N E2 2001:db8:3::/64 fe80::50b7:d8ff:fe5f:8ff0 r1-eth1 00:02:06 + N E2 2001:db8:3::/64 fe80::b038:bcff:fe27:e2d6 r1-eth1 00:02:06 +*N IA 2001:db8:100::/64 fe80::50b7:d8ff:fe5f:8ff0 r1-eth1 00:02:06 + N E2 2001:db8:100::/64 fe80::50b7:d8ff:fe5f:8ff0 r1-eth1 00:02:06 +*N IE 2001:db8:200::/64 fe80::50b7:d8ff:fe5f:8ff0 r1-eth1 00:02:06 + N E2 2001:db8:200::/64 fe80::50b7:d8ff:fe5f:8ff0 r1-eth1 00:02:06 + N E2 2001:db8:200::/64 fe80::50b7:d8ff:fe5f:8ff0 r1-eth1 00:02:04 +*N IE 2001:db8:300::/64 fe80::50b7:d8ff:fe5f:8ff0 r1-eth1 00:02:04 + N E2 2001:db8:300::/64 fe80::50b7:d8ff:fe5f:8ff0 r1-eth1 00:02:04 diff --git a/tests/topotests/ospf_topo1/r1/ospf6route_down.txt b/tests/topotests/ospf_topo1/r1/ospf6route_down.txt new file mode 100644 index 0000000..57113d0 --- /dev/null +++ b/tests/topotests/ospf_topo1/r1/ospf6route_down.txt @@ -0,0 +1,5 @@ +*N IA 2001:db8:1::/64 :: r1-eth0 00:01:51 +*N IA 2001:db8:2::/64 fe80::281a:23ff:fe22:8a40 r1-eth1 00:00:52 + N E2 2001:db8:2::/64 fe80::281a:23ff:fe22:8a40 r1-eth1 00:00:52 +*N IA 2001:db8:3::/64 :: r1-eth1 00:00:52 + N E2 2001:db8:3::/64 fe80::281a:23ff:fe22:8a40 r1-eth1 00:00:52 diff --git a/tests/topotests/ospf_topo1/r1/ospf6route_ecmp.txt b/tests/topotests/ospf_topo1/r1/ospf6route_ecmp.txt new file mode 100644 index 0000000..48e9209 --- /dev/null +++ b/tests/topotests/ospf_topo1/r1/ospf6route_ecmp.txt @@ -0,0 +1,13 @@ +*N IA 2001:db8:1::/64 :: r1-eth0 00:06:13 +*N IA 2001:db8:2::/64 fe80::e8bb:62ff:fee8:7022 r1-eth1 00:06:08 + N E2 2001:db8:2::/64 fe80::e8bb:62ff:fee8:7022 r1-eth1 00:06:08 +*N IA 2001:db8:3::/64 :: r1-eth1 00:06:13 + N E2 2001:db8:3::/64 fe80::400f:dff:fe35:a1e7 r1-eth1 00:06:08 + fe80::e8bb:62ff:fee8:7022 r1-eth1 +*N IA 2001:db8:100::/64 fe80::400f:dff:fe35:a1e7 r1-eth1 00:06:08 + N E2 2001:db8:100::/64 fe80::400f:dff:fe35:a1e7 r1-eth1 00:06:08 +*N IE 2001:db8:200::/64 fe80::400f:dff:fe35:a1e7 r1-eth1 00:06:08 + N E2 2001:db8:200::/64 fe80::400f:dff:fe35:a1e7 r1-eth1 00:06:08 + N E2 2001:db8:200::/64 fe80::400f:dff:fe35:a1e7 r1-eth1 00:06:07 +*N IE 2001:db8:300::/64 fe80::400f:dff:fe35:a1e7 r1-eth1 00:06:07 + N E2 2001:db8:300::/64 fe80::400f:dff:fe35:a1e7 r1-eth1 00:06:07 diff --git a/tests/topotests/ospf_topo1/r1/ospfd.conf b/tests/topotests/ospf_topo1/r1/ospfd.conf new file mode 100644 index 0000000..3b5aa19 --- /dev/null +++ b/tests/topotests/ospf_topo1/r1/ospfd.conf @@ -0,0 +1,13 @@ +! +router ospf + ospf router-id 10.0.255.1 + redistribute kernel + redistribute connected + redistribute static + network 10.0.1.0/24 area 0 + network 10.0.3.0/24 area 0 +! +int r1-eth1 + ip ospf hello-interval 2 + ip ospf dead-interval 10 +! diff --git a/tests/topotests/ospf_topo1/r1/ospfroute.txt b/tests/topotests/ospf_topo1/r1/ospfroute.txt new file mode 100644 index 0000000..db64872 --- /dev/null +++ b/tests/topotests/ospf_topo1/r1/ospfroute.txt @@ -0,0 +1,23 @@ +============ OSPF network routing table ============ +N 10.0.1.0/24 [10] area: 0.0.0.0 + directly attached to r1-eth0 +N 10.0.2.0/24 [20] area: 0.0.0.0 + via 10.0.3.3, r1-eth1 +N 10.0.3.0/24 [10] area: 0.0.0.0 + directly attached to r1-eth1 +N 10.0.10.0/24 [20] area: 0.0.0.0 + via 10.0.3.1, r1-eth1 +N IA 172.16.0.0/24 [20] area: 0.0.0.0 + via 10.0.3.1, r1-eth1 +N IA 172.16.1.0/24 [30] area: 0.0.0.0 + via 10.0.3.1, r1-eth1 + +============ OSPF router routing table ============= +R 10.0.255.2 [10] area: 0.0.0.0, ASBR + via 10.0.3.3, r1-eth1 +R 10.0.255.3 [10] area: 0.0.0.0, ABR, ASBR + via 10.0.3.1, r1-eth1 +R 10.0.255.4 IA [20] area: 0.0.0.0, ASBR + via 10.0.3.1, r1-eth1 + +============ OSPF external routing table =========== diff --git a/tests/topotests/ospf_topo1/r1/ospfroute_down.txt b/tests/topotests/ospf_topo1/r1/ospfroute_down.txt new file mode 100644 index 0000000..5c07d81 --- /dev/null +++ b/tests/topotests/ospf_topo1/r1/ospfroute_down.txt @@ -0,0 +1,13 @@ +============ OSPF network routing table ============ +N 10.0.1.0/24 [10] area: 0.0.0.0 + directly attached to r1-eth0 +N 10.0.2.0/24 [20] area: 0.0.0.0 + via 10.0.3.3, r1-eth1 +N 10.0.3.0/24 [10] area: 0.0.0.0 + directly attached to r1-eth1 + +============ OSPF router routing table ============= +R 10.0.255.2 [10] area: 0.0.0.0, ASBR + via 10.0.3.3, r1-eth1 + +============ OSPF external routing table =========== diff --git a/tests/topotests/ospf_topo1/r1/zebra.conf b/tests/topotests/ospf_topo1/r1/zebra.conf new file mode 100644 index 0000000..f6e8efe --- /dev/null +++ b/tests/topotests/ospf_topo1/r1/zebra.conf @@ -0,0 +1,11 @@ +! +interface r1-eth0 + ip address 10.0.1.1/24 + ipv6 address 2001:db8:1::1/64 +! +interface r1-eth1 + ip address 10.0.3.2/24 + ipv6 address 2001:db8:3::2/64 +! +ip forwarding +! |