mirror_frr/tests/topotests/ospf_topo2/r1/frr.conf
Denis Krienbühl 616e1fa9df
tests: Add OSPF test for issue 14488
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>
2023-10-13 17:16:19 +02:00

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