mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-28 19:43:29 +00:00

OSPF on IPv4/IPv6 removes the wrong routes in certain cases, causing
issues when removing and re-enabling interfaces. This test proofs that.
These tests all pass with https://github.com/FRRouting/frr/pull/13340
and the latest master (d2324b7b4a
).
See https://github.com/FRRouting/frr/issues/14488
Signed-off-by: Denis Krienbühl <denis.krienbuehl@cloudscale.ch>
61 lines
1.2 KiB
Plaintext
61 lines
1.2 KiB
Plaintext
frr defaults traditional
|
|
hostname r1
|
|
log syslog informational
|
|
service integrated-vtysh-config
|
|
!
|
|
ip router-id 192.0.2.1
|
|
!
|
|
interface eth1
|
|
ip address 192.0.2.1/32
|
|
ip ospf area 0.0.0.0
|
|
ip ospf dead-interval minimal hello-multiplier 4
|
|
ip ospf network point-to-point
|
|
ipv6 address 2001:db8::1/128
|
|
ipv6 ospf6 area 0.0.0.0
|
|
ipv6 ospf6 dead-interval 4
|
|
ipv6 ospf6 hello-interval 1
|
|
ipv6 ospf6 network point-to-point
|
|
exit
|
|
!
|
|
interface eth2
|
|
ip address 192.0.2.1/32
|
|
ip ospf area 0.0.0.0
|
|
ip ospf dead-interval minimal hello-multiplier 4
|
|
ip ospf network point-to-point
|
|
ipv6 address 2001:db8::1/128
|
|
ipv6 ospf6 area 0.0.0.0
|
|
ipv6 ospf6 dead-interval 4
|
|
ipv6 ospf6 hello-interval 1
|
|
ipv6 ospf6 network point-to-point
|
|
exit
|
|
!
|
|
interface eth3
|
|
ip address 192.0.2.1/32
|
|
ip ospf area 0.0.0.0
|
|
ip ospf dead-interval minimal hello-multiplier 4
|
|
ip ospf network point-to-point
|
|
ipv6 address 2001:db8::1/128
|
|
ipv6 ospf6 area 0.0.0.0
|
|
ipv6 ospf6 dead-interval 4
|
|
ipv6 ospf6 hello-interval 1
|
|
ipv6 ospf6 network point-to-point
|
|
exit
|
|
!
|
|
interface lo
|
|
ip address 192.0.2.1/32
|
|
ip ospf area 0.0.0.0
|
|
ip ospf passive
|
|
ipv6 address 2001:db8::1/128
|
|
ipv6 ospf6 area 0.0.0.0
|
|
ipv6 ospf6 passive
|
|
exit
|
|
!
|
|
router ospf
|
|
log-adjacency-changes
|
|
exit
|
|
!
|
|
router ospf6
|
|
log-adjacency-changes
|
|
exit
|
|
!
|
|
end |