mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00

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>
22 lines
427 B
Plaintext
22 lines
427 B
Plaintext
!
|
|
hostname r1
|
|
password zebra
|
|
log file /tmp/r1-ospfd.log
|
|
!
|
|
interface r1-eth0 vrf r1-ospf-cust1
|
|
ip ospf hello-interval 1
|
|
ip ospf dead-interval 4
|
|
!
|
|
interface r1-eth1 vrf r1-ospf-cust1
|
|
ip ospf hello-interval 1
|
|
ip ospf dead-interval 4
|
|
!
|
|
router ospf vrf r1-ospf-cust1
|
|
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
|
|
!
|