frr/tests/topotests/ospf_netns_vrf/r2/ospfd.conf
Donald Sharp d4aa24ba7d *: Introduce Local Host Routes to FRR
Create Local routes in FRR:

S   0.0.0.0/0 [1/0] via 192.168.119.1, enp39s0, weight 1, 00:03:46
K>* 0.0.0.0/0 [0/100] via 192.168.119.1, enp39s0, 00:03:51
O   192.168.119.0/24 [110/100] is directly connected, enp39s0, weight 1, 00:03:46
C>* 192.168.119.0/24 is directly connected, enp39s0, 00:03:51
L>* 192.168.119.224/32 is directly connected, enp39s0, 00:03:51
O   192.168.119.229/32 [110/100] via 0.0.0.0, enp39s0 inactive, weight 1, 00:03:46
C>* 192.168.119.229/32 is directly connected, enp39s0, 00:03:46

Create ability to redistribute local routes.

Modify tests to support this change.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2023-11-01 17:13:06 -04:00

22 lines
427 B
Plaintext

!
hostname r2
password zebra
log file /tmp/r2-ospfd.log
!
interface r2-eth0 vrf r2-ospf-cust1
ip ospf hello-interval 1
ip ospf dead-interval 4
!
interface r2-eth1 vrf r2-ospf-cust1
ip ospf hello-interval 1
ip ospf dead-interval 4
!
router ospf vrf r2-ospf-cust1
ospf router-id 10.0.255.2
redistribute kernel
redistribute connected
redistribute static
network 10.0.2.0/24 area 0
network 10.0.3.0/24 area 0
!