-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: OSPF6 point-to-multipoint topotest
* Check if FRR is running * Check if OSPFv3 converges * Check OSPFv3 Routing Tables * Check Linux Kernel Routing Table Signed-off-by: Adriano Marto Reis <[email protected]>
- Loading branch information
1 parent
294d483
commit 554cbf7
Showing
22 changed files
with
900 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
# OSPFv3 (IPv6) Topology Test (point-to-multipoint) | ||
|
||
## Topology | ||
-----\ | ||
SW1 - Stub Net 1 SW2 - Stub Net 2 \ | ||
fc00:1:1:1::/64 fc00:2:2:2::/64 \ | ||
\___________________/ \___________________/ | | ||
| | | | ||
| | | | ||
| ::1 | ::2 | | ||
+---------+---------+ +---------+---------+ | | ||
| R1 | | R2 | | | ||
| FRRouting | | FRRouting | | | ||
| Rtr-ID: 10.0.0.1 | | Rtr-ID: 10.0.0.2 | | | ||
+---------+---------+ +---------+---------+ | | ||
| ::1 | ::2 \ | ||
\______ ___________/ OSPFv3 | ||
\ / Area 0.0.0.0 | ||
\ / / | ||
~~~~~~~~~~~~~~~~~~ | | ||
~~ SW5 ~~ | | ||
~~ Switch ~~ | | ||
~~ fc00:A:A:A::/64 ~~ | | ||
~~~~~~~~~~~~~~~~~~ | | ||
| /---- | | ||
| ::3 | SW3 - Stub Net 3 | | ||
+---------+---------+ /-+ fc00:3:3:3::/64 | | ||
| R3 | / | / | ||
| FRRouting +--/ \---- / | ||
| Rtr-ID: 10.0.0.3 | ::3 ___________/ | ||
+---------+---------+ \ | ||
| ::3 \ | ||
| \ | ||
~~~~~~~~~~~~~~~~~~ | | ||
~~ SW6 ~~ | | ||
~~ Switch ~~ | | ||
~~ fc00:B:B:B::/64 ~~ \ | ||
~~~~~~~~~~~~~~~~~~ OSPFv3 | ||
| Area 0.0.0.1 | ||
| ::4 / | ||
+---------+---------+ /---- | | ||
| R4 | | SW4 - Stub Net 4 | | ||
| FRRouting +------+ fc00:4:4:4::/64 | | ||
| Rtr-ID: 10.0.0.4 | ::4 | / | ||
+-------------------+ \---- / | ||
-----/ | ||
|
||
## FRR Configuration | ||
|
||
Full config as used is in r1 / r2 / r3 / r4 / r5 subdirectories | ||
|
||
Simplified `R1` config (R1 is similar) | ||
|
||
hostname r1 | ||
! | ||
interface r1-stubnet | ||
ipv6 address fc00:1:1:1::1/64 | ||
ipv6 ospf6 passive | ||
ipv6 ospf6 area 0.0.0.0 | ||
! | ||
interface r1-sw5 | ||
ipv6 address fc00:a:a:a::1/64 | ||
ipv6 ospf6 network point-to-multipoint | ||
ipv6 ospf6 area 0.0.0.0 | ||
! | ||
router ospf6 | ||
router-id 10.0.0.1 | ||
log-adjacency-changes detail | ||
redistribute static | ||
! | ||
ipv6 route fc00:1111:1111:1111::/64 fc00:1:1:1::1234 | ||
|
||
Simplified `R3` config | ||
|
||
hostname r3 | ||
! | ||
interface r3-stubnet | ||
ipv6 address fc00:3:3:3::3/64 | ||
ipv6 ospf6 passive | ||
ipv6 ospf6 area 0.0.0.0 | ||
! | ||
interface r3-sw5 | ||
ipv6 address fc00:a:a:a::3/64 | ||
ipv6 ospf6 network point-to-multipoint | ||
ipv6 ospf6 area 0.0.0.0 | ||
ipv6 ospf6 p2p-p2mp connected-prefixes include | ||
! | ||
interface r3-sw6 | ||
ipv6 address fc00:b:b:b::3/64 | ||
ipv6 ospf6 network point-to-multipoint | ||
ipv6 ospf6 area 0.0.0.1 | ||
ipv6 ospf6 p2p-p2mp connected-prefixes include | ||
! | ||
router ospf6 | ||
router-id 10.0.0.3 | ||
log-adjacency-changes detail | ||
redistribute static | ||
! | ||
ipv6 route fc00:3333:3333:3333::/64 fc00:3:3:3::1234 | ||
|
||
## Tests executed | ||
|
||
### Check if FRR is running | ||
|
||
Test is executed by running | ||
|
||
vtysh -c "show logging" | grep "Logging configuration for" | ||
|
||
on each FRR router. This should return the logging information for all daemons registered | ||
to Zebra and the list of running daemons is compared to the daemons started for this test (`zebra` and `ospf6d`) | ||
|
||
### Check if OSPFv3 to converge | ||
|
||
OSPFv3 is expected to converge on each view within 60s total time. Convergence is verified by executing (on each node) | ||
|
||
vtysh -c "show ipv6 ospf neigh" | ||
|
||
and checking for "Full" neighbor status in the output. An additional 15 seconds after the full converge is waited for | ||
routes to populate before the following routing table checks are executed | ||
|
||
### Check OSPFv3 Routing Tables | ||
|
||
Routing table is verified by running | ||
|
||
vtysh -c "show ipv6 route" | ||
|
||
on each node and comparing the result to the stored example config (see `show_ipv6_route.ref` in r1 / r2 / r3 / r4 directories). | ||
Link-Local addresses are masked out before the compare. | ||
|
||
### Check Linux Kernel Routing Table | ||
|
||
Linux Kernel IPv6 Routing table is verified on each FRR node with | ||
|
||
ip -6 route | ||
|
||
Tables are compared with reference routing table (see `ip_6_address.ref` in r1 / r2 / r3 / r4 directories). | ||
Link-Local addresses are translated after getting collected on each node with interface name to make them consistent |
14 changes: 14 additions & 0 deletions
14
tests/topotests/ospf6_point_to_multipoint/r1/ip_6_address.nhg.ref
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
fc00:1111:1111:1111::/64 nhid XXXX via fc00:1:1:1::1234 dev r1-stubnet proto XXXX metric 20 pref medium | ||
fc00:1:1:1::/64 dev r1-stubnet proto XXXX metric 256 pref medium | ||
fc00:2222:2222:2222::/64 nhid XXXX via fe80::__(r2-sw5)__ dev r1-sw5 proto XXXX metric 20 pref medium | ||
fc00:2:2:2::/64 nhid XXXX via fe80::__(r2-sw5)__ dev r1-sw5 proto XXXX metric 20 pref medium | ||
fc00:3333:3333:3333::/64 nhid XXXX via fe80::__(r3-sw5)__ dev r1-sw5 proto XXXX metric 20 pref medium | ||
fc00:3:3:3::/64 nhid XXXX via fe80::__(r3-sw5)__ dev r1-sw5 proto XXXX metric 20 pref medium | ||
fc00:4444:4444:4444::/64 nhid XXXX via fe80::__(r3-sw5)__ dev r1-sw5 proto XXXX metric 20 pref medium | ||
fc00:4:4:4::/64 nhid XXXX via fe80::__(r3-sw5)__ dev r1-sw5 proto XXXX metric 20 pref medium | ||
fc00:a:a:a::/64 dev r1-sw5 proto XXXX metric 256 pref medium | ||
fc00:a:a:a::2 nhid XXXX via fe80::__(r2-sw5)__ dev r1-sw5 proto XXXX metric 20 pref medium | ||
fc00:a:a:a::3 nhid XXXX via fe80::__(r3-sw5)__ dev r1-sw5 proto XXXX metric 20 pref medium | ||
fc00:b:b:b::/64 nhid XXXX via fe80::__(r3-sw5)__ dev r1-sw5 proto XXXX metric 20 pref medium | ||
fc00:b:b:b::3 nhid XXXX via fe80::__(r3-sw5)__ dev r1-sw5 proto XXXX metric 20 pref medium | ||
fc00:b:b:b::4 nhid XXXX via fe80::__(r3-sw5)__ dev r1-sw5 proto XXXX metric 20 pref medium |
14 changes: 14 additions & 0 deletions
14
tests/topotests/ospf6_point_to_multipoint/r1/ip_6_address.ref
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
fc00:1111:1111:1111::/64 via fc00:1:1:1::1234 dev r1-stubnet proto XXXX metric 20 pref medium | ||
fc00:1:1:1::/64 dev r1-stubnet proto XXXX metric 256 pref medium | ||
fc00:2222:2222:2222::/64 via fe80::__(r2-sw5)__ dev r1-sw5 proto XXXX metric 20 pref medium | ||
fc00:2:2:2::/64 via fe80::__(r2-sw5)__ dev r1-sw5 proto XXXX metric 20 pref medium | ||
fc00:3333:3333:3333::/64 via fe80::__(r3-sw5)__ dev r1-sw5 proto XXXX metric 20 pref medium | ||
fc00:3:3:3::/64 via fe80::__(r3-sw5)__ dev r1-sw5 proto XXXX metric 20 pref medium | ||
fc00:4444:4444:4444::/64 via fe80::__(r3-sw5)__ dev r1-sw5 proto XXXX metric 20 pref medium | ||
fc00:4:4:4::/64 via fe80::__(r3-sw5)__ dev r1-sw5 proto XXXX metric 20 pref medium | ||
fc00:a:a:a::/64 dev r1-sw5 proto XXXX metric 256 pref medium | ||
fc00:a:a:a::2 via fe80::__(r2-sw5)__ dev r1-sw5 proto XXXX metric 20 pref medium | ||
fc00:a:a:a::3 via fe80::__(r3-sw5)__ dev r1-sw5 proto XXXX metric 20 pref medium | ||
fc00:b:b:b::/64 via fe80::__(r3-sw5)__ dev r1-sw5 proto XXXX metric 20 pref medium | ||
fc00:b:b:b::3 via fe80::__(r3-sw5)__ dev r1-sw5 proto XXXX metric 20 pref medium | ||
fc00:b:b:b::4 via fe80::__(r3-sw5)__ dev r1-sw5 proto XXXX metric 20 pref medium |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
hostname r1 | ||
log file ospf6d.log | ||
! | ||
! debug ospf6 message all | ||
! debug ospf6 lsa unknown | ||
! debug ospf6 zebra | ||
! debug ospf6 interface | ||
! debug ospf6 neighbor | ||
! debug ospf6 route table | ||
! debug ospf6 flooding | ||
! | ||
interface r1-sw5 | ||
ipv6 ospf6 network point-to-multipoint | ||
ipv6 ospf6 area 0.0.0.0 | ||
ipv6 ospf6 hello-interval 2 | ||
ipv6 ospf6 dead-interval 10 | ||
ipv6 ospf6 p2p-p2mp connected-prefixes include | ||
! | ||
interface r1-stubnet | ||
ipv6 ospf6 passive | ||
ipv6 ospf6 area 0.0.0.0 | ||
! | ||
router ospf6 | ||
ospf6 router-id 10.0.0.1 | ||
log-adjacency-changes detail | ||
redistribute static | ||
! | ||
line vty | ||
exec-timeout 0 0 | ||
! |
13 changes: 13 additions & 0 deletions
13
tests/topotests/ospf6_point_to_multipoint/r1/show_ipv6_route.ref
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
O fc00:1:1:1::/64 [110/10] is directly connected, r1-stubnet, weight 1, XX:XX:XX | ||
O>* fc00:2:2:2::/64 [110/20] via fe80::XXXX:XXXX:XXXX:XXXX, r1-sw5, weight 1, XX:XX:XX | ||
O>* fc00:3:3:3::/64 [110/20] via fe80::XXXX:XXXX:XXXX:XXXX, r1-sw5, weight 1, XX:XX:XX | ||
O>* fc00:4:4:4::/64 [110/30] via fe80::XXXX:XXXX:XXXX:XXXX, r1-sw5, weight 1, XX:XX:XX | ||
O fc00:a:a:a::/64 [110/10] is directly connected, r1-sw5, weight 1, XX:XX:XX | ||
O>* fc00:a:a:a::2/128 [110/10] via fe80::XXXX:XXXX:XXXX:XXXX, r1-sw5, weight 1, XX:XX:XX | ||
O>* fc00:a:a:a::3/128 [110/10] via fe80::XXXX:XXXX:XXXX:XXXX, r1-sw5, weight 1, XX:XX:XX | ||
O>* fc00:b:b:b::/64 [110/20] via fe80::XXXX:XXXX:XXXX:XXXX, r1-sw5, weight 1, XX:XX:XX | ||
O>* fc00:b:b:b::3/128 [110/10] via fe80::XXXX:XXXX:XXXX:XXXX, r1-sw5, weight 1, XX:XX:XX | ||
O>* fc00:b:b:b::4/128 [110/20] via fe80::XXXX:XXXX:XXXX:XXXX, r1-sw5, weight 1, XX:XX:XX | ||
O>* fc00:2222:2222:2222::/64 [110/20] via fe80::XXXX:XXXX:XXXX:XXXX, r1-sw5, weight 1, XX:XX:XX | ||
O>* fc00:3333:3333:3333::/64 [110/20] via fe80::XXXX:XXXX:XXXX:XXXX, r1-sw5, weight 1, XX:XX:XX | ||
O>* fc00:4444:4444:4444::/64 [110/20] via fe80::XXXX:XXXX:XXXX:XXXX, r1-sw5, weight 1, XX:XX:XX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
! | ||
hostname r1 | ||
log file zebra.log | ||
! | ||
! debug zebra events | ||
! debug zebra rib | ||
! | ||
interface r1-stubnet | ||
ipv6 address fc00:1:1:1::1/64 | ||
! | ||
interface r1-sw5 | ||
ipv6 address fc00:a:a:a::1/64 | ||
! | ||
interface lo | ||
! | ||
ipv6 route fc00:1111:1111:1111::/64 fc00:1:1:1::1234 | ||
! | ||
! | ||
line vty | ||
! |
14 changes: 14 additions & 0 deletions
14
tests/topotests/ospf6_point_to_multipoint/r2/ip_6_address.nhg.ref
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
fc00:1111:1111:1111::/64 nhid XXXX via fe80::__(r1-sw5)__ dev r2-sw5 proto XXXX metric 20 pref medium | ||
fc00:1:1:1::/64 nhid XXXX via fe80::__(r1-sw5)__ dev r2-sw5 proto XXXX metric 20 pref medium | ||
fc00:2222:2222:2222::/64 nhid XXXX via fc00:2:2:2::1234 dev r2-stubnet proto XXXX metric 20 pref medium | ||
fc00:2:2:2::/64 dev r2-stubnet proto XXXX metric 256 pref medium | ||
fc00:3333:3333:3333::/64 nhid XXXX via fe80::__(r3-sw5)__ dev r2-sw5 proto XXXX metric 20 pref medium | ||
fc00:3:3:3::/64 nhid XXXX via fe80::__(r3-sw5)__ dev r2-sw5 proto XXXX metric 20 pref medium | ||
fc00:4444:4444:4444::/64 nhid XXXX via fe80::__(r3-sw5)__ dev r2-sw5 proto XXXX metric 20 pref medium | ||
fc00:4:4:4::/64 nhid XXXX via fe80::__(r3-sw5)__ dev r2-sw5 proto XXXX metric 20 pref medium | ||
fc00:a:a:a::/64 dev r2-sw5 proto XXXX metric 256 pref medium | ||
fc00:a:a:a::1 nhid XXXX via fe80::__(r1-sw5)__ dev r2-sw5 proto XXXX metric 20 pref medium | ||
fc00:a:a:a::3 nhid XXXX via fe80::__(r3-sw5)__ dev r2-sw5 proto XXXX metric 20 pref medium | ||
fc00:b:b:b::/64 nhid XXXX via fe80::__(r3-sw5)__ dev r2-sw5 proto XXXX metric 20 pref medium | ||
fc00:b:b:b::3 nhid XXXX via fe80::__(r3-sw5)__ dev r2-sw5 proto XXXX metric 20 pref medium | ||
fc00:b:b:b::4 nhid XXXX via fe80::__(r3-sw5)__ dev r2-sw5 proto XXXX metric 20 pref medium |
14 changes: 14 additions & 0 deletions
14
tests/topotests/ospf6_point_to_multipoint/r2/ip_6_address.ref
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
fc00:1111:1111:1111::/64 via fe80::__(r1-sw5)__ dev r2-sw5 proto XXXX metric 20 pref medium | ||
fc00:1:1:1::/64 via fe80::__(r1-sw5)__ dev r2-sw5 proto XXXX metric 20 pref medium | ||
fc00:2222:2222:2222::/64 via fc00:2:2:2::1234 dev r2-stubnet proto XXXX metric 20 pref medium | ||
fc00:2:2:2::/64 dev r2-stubnet proto XXXX metric 256 pref medium | ||
fc00:3333:3333:3333::/64 via fe80::__(r3-sw5)__ dev r2-sw5 proto XXXX metric 20 pref medium | ||
fc00:3:3:3::/64 via fe80::__(r3-sw5)__ dev r2-sw5 proto XXXX metric 20 pref medium | ||
fc00:4444:4444:4444::/64 via fe80::__(r3-sw5)__ dev r2-sw5 proto XXXX metric 20 pref medium | ||
fc00:4:4:4::/64 via fe80::__(r3-sw5)__ dev r2-sw5 proto XXXX metric 20 pref medium | ||
fc00:a:a:a::/64 dev r2-sw5 proto XXXX metric 256 pref medium | ||
fc00:a:a:a::1 via fe80::__(r1-sw5)__ dev r2-sw5 proto XXXX metric 20 pref medium | ||
fc00:a:a:a::3 via fe80::__(r3-sw5)__ dev r2-sw5 proto XXXX metric 20 pref medium | ||
fc00:b:b:b::/64 via fe80::__(r3-sw5)__ dev r2-sw5 proto XXXX metric 20 pref medium | ||
fc00:b:b:b::3 via fe80::__(r3-sw5)__ dev r2-sw5 proto XXXX metric 20 pref medium | ||
fc00:b:b:b::4 via fe80::__(r3-sw5)__ dev r2-sw5 proto XXXX metric 20 pref medium |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
hostname r2 | ||
log file ospf6d.log | ||
! | ||
! debug ospf6 message all | ||
! debug ospf6 lsa unknown | ||
! debug ospf6 zebra | ||
! debug ospf6 interface | ||
! debug ospf6 neighbor | ||
! debug ospf6 route table | ||
! debug ospf6 flooding | ||
! | ||
interface r2-sw5 | ||
ipv6 ospf6 network point-to-multipoint | ||
ipv6 ospf6 area 0.0.0.0 | ||
ipv6 ospf6 hello-interval 2 | ||
ipv6 ospf6 dead-interval 10 | ||
ipv6 ospf6 p2p-p2mp connected-prefixes include | ||
! | ||
interface r2-stubnet | ||
ipv6 ospf6 passive | ||
ipv6 ospf6 area 0.0.0.0 | ||
! | ||
router ospf6 | ||
ospf6 router-id 10.0.0.2 | ||
log-adjacency-changes detail | ||
redistribute static | ||
! | ||
line vty | ||
exec-timeout 0 0 | ||
! |
13 changes: 13 additions & 0 deletions
13
tests/topotests/ospf6_point_to_multipoint/r2/show_ipv6_route.ref
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
O>* fc00:1:1:1::/64 [110/20] via fe80::XXXX:XXXX:XXXX:XXXX, r2-sw5, weight 1, XX:XX:XX | ||
O fc00:2:2:2::/64 [110/10] is directly connected, r2-stubnet, weight 1, XX:XX:XX | ||
O>* fc00:3:3:3::/64 [110/20] via fe80::XXXX:XXXX:XXXX:XXXX, r2-sw5, weight 1, XX:XX:XX | ||
O>* fc00:4:4:4::/64 [110/30] via fe80::XXXX:XXXX:XXXX:XXXX, r2-sw5, weight 1, XX:XX:XX | ||
O fc00:a:a:a::/64 [110/10] is directly connected, r2-sw5, weight 1, XX:XX:XX | ||
O>* fc00:a:a:a::1/128 [110/10] via fe80::XXXX:XXXX:XXXX:XXXX, r2-sw5, weight 1, XX:XX:XX | ||
O>* fc00:a:a:a::3/128 [110/10] via fe80::XXXX:XXXX:XXXX:XXXX, r2-sw5, weight 1, XX:XX:XX | ||
O>* fc00:b:b:b::/64 [110/20] via fe80::XXXX:XXXX:XXXX:XXXX, r2-sw5, weight 1, XX:XX:XX | ||
O>* fc00:b:b:b::3/128 [110/10] via fe80::XXXX:XXXX:XXXX:XXXX, r2-sw5, weight 1, XX:XX:XX | ||
O>* fc00:b:b:b::4/128 [110/20] via fe80::XXXX:XXXX:XXXX:XXXX, r2-sw5, weight 1, XX:XX:XX | ||
O>* fc00:1111:1111:1111::/64 [110/20] via fe80::XXXX:XXXX:XXXX:XXXX, r2-sw5, weight 1, XX:XX:XX | ||
O>* fc00:3333:3333:3333::/64 [110/20] via fe80::XXXX:XXXX:XXXX:XXXX, r2-sw5, weight 1, XX:XX:XX | ||
O>* fc00:4444:4444:4444::/64 [110/20] via fe80::XXXX:XXXX:XXXX:XXXX, r2-sw5, weight 1, XX:XX:XX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
! | ||
hostname r2 | ||
log file zebra.log | ||
! | ||
! debug zebra events | ||
! debug zebra rib | ||
! | ||
interface r2-stubnet | ||
ipv6 address fc00:2:2:2::2/64 | ||
! | ||
interface r2-sw5 | ||
ipv6 address fc00:a:a:a::2/64 | ||
! | ||
interface lo | ||
! | ||
ipv6 route fc00:2222:2222:2222::/64 fc00:2:2:2::1234 | ||
! | ||
! | ||
line vty | ||
! |
13 changes: 13 additions & 0 deletions
13
tests/topotests/ospf6_point_to_multipoint/r3/ip_6_address.nhg.ref
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
fc00:1111:1111:1111::/64 nhid XXXX via fe80::__(r1-sw5)__ dev r3-sw5 proto XXXX metric 20 pref medium | ||
fc00:1:1:1::/64 nhid XXXX via fe80::__(r1-sw5)__ dev r3-sw5 proto XXXX metric 20 pref medium | ||
fc00:2222:2222:2222::/64 nhid XXXX via fe80::__(r2-sw5)__ dev r3-sw5 proto XXXX metric 20 pref medium | ||
fc00:2:2:2::/64 nhid XXXX via fe80::__(r2-sw5)__ dev r3-sw5 proto XXXX metric 20 pref medium | ||
fc00:3333:3333:3333::/64 nhid XXXX via fc00:3:3:3::1234 dev r3-stubnet proto XXXX metric 20 pref medium | ||
fc00:3:3:3::/64 dev r3-stubnet proto XXXX metric 256 pref medium | ||
fc00:4444:4444:4444::/64 nhid XXXX via fe80::__(r4-sw6)__ dev r3-sw6 proto XXXX metric 20 pref medium | ||
fc00:4:4:4::/64 nhid XXXX via fe80::__(r4-sw6)__ dev r3-sw6 proto XXXX metric 20 pref medium | ||
fc00:a:a:a::/64 dev r3-sw5 proto XXXX metric 256 pref medium | ||
fc00:a:a:a::1 nhid XXXX via fe80::__(r1-sw5)__ dev r3-sw5 proto XXXX metric 20 pref medium | ||
fc00:a:a:a::2 nhid XXXX via fe80::__(r2-sw5)__ dev r3-sw5 proto XXXX metric 20 pref medium | ||
fc00:b:b:b::/64 dev r3-sw6 proto XXXX metric 256 pref medium | ||
fc00:b:b:b::4 nhid XXXX via fe80::__(r4-sw6)__ dev r3-sw6 proto XXXX metric 20 pref medium |
13 changes: 13 additions & 0 deletions
13
tests/topotests/ospf6_point_to_multipoint/r3/ip_6_address.ref
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
fc00:1111:1111:1111::/64 via fe80::__(r1-sw5)__ dev r3-sw5 proto XXXX metric 20 pref medium | ||
fc00:1:1:1::/64 via fe80::__(r1-sw5)__ dev r3-sw5 proto XXXX metric 20 pref medium | ||
fc00:2222:2222:2222::/64 via fe80::__(r2-sw5)__ dev r3-sw5 proto XXXX metric 20 pref medium | ||
fc00:2:2:2::/64 via fe80::__(r2-sw5)__ dev r3-sw5 proto XXXX metric 20 pref medium | ||
fc00:3333:3333:3333::/64 via fc00:3:3:3::1234 dev r3-stubnet proto XXXX metric 20 pref medium | ||
fc00:3:3:3::/64 dev r3-stubnet proto XXXX metric 256 pref medium | ||
fc00:4444:4444:4444::/64 via fe80::__(r4-sw6)__ dev r3-sw6 proto XXXX metric 20 pref medium | ||
fc00:4:4:4::/64 via fe80::__(r4-sw6)__ dev r3-sw6 proto XXXX metric 20 pref medium | ||
fc00:a:a:a::/64 dev r3-sw5 proto XXXX metric 256 pref medium | ||
fc00:a:a:a::1 via fe80::__(r1-sw5)__ dev r3-sw5 proto XXXX metric 20 pref medium | ||
fc00:a:a:a::2 via fe80::__(r2-sw5)__ dev r3-sw5 proto XXXX metric 20 pref medium | ||
fc00:b:b:b::/64 dev r3-sw6 proto XXXX metric 256 pref medium | ||
fc00:b:b:b::4 via fe80::__(r4-sw6)__ dev r3-sw6 proto XXXX metric 20 pref medium |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
hostname r3 | ||
log file ospf6d.log | ||
! | ||
! debug ospf6 message all | ||
! debug ospf6 lsa unknown | ||
! debug ospf6 zebra | ||
! debug ospf6 interface | ||
! debug ospf6 neighbor | ||
! debug ospf6 route table | ||
! debug ospf6 flooding | ||
! | ||
interface r3-sw5 | ||
ipv6 ospf6 network point-to-multipoint | ||
ipv6 ospf6 area 0.0.0.0 | ||
ipv6 ospf6 hello-interval 2 | ||
ipv6 ospf6 dead-interval 10 | ||
ipv6 ospf6 p2p-p2mp connected-prefixes include | ||
! | ||
interface r3-sw6 | ||
ipv6 ospf6 network point-to-multipoint | ||
ipv6 ospf6 area 0.0.0.1 | ||
ipv6 ospf6 hello-interval 2 | ||
ipv6 ospf6 dead-interval 10 | ||
ipv6 ospf6 p2p-p2mp connected-prefixes include | ||
! | ||
interface r3-stubnet | ||
ipv6 ospf6 passive | ||
ipv6 ospf6 area 0.0.0.0 | ||
! | ||
router ospf6 | ||
ospf6 router-id 10.0.0.3 | ||
log-adjacency-changes detail | ||
redistribute static | ||
! | ||
line vty | ||
exec-timeout 0 0 | ||
! |
Oops, something went wrong.