How to enter static prefix with multiple nexthops but no ECMP?

Kenth Eriksson Kenth.Eriksson at infinera.com
Wed Oct 16 15:41:45 CEST 2019


Hi!

Does bird support a static prefix with multiple nexthops, without
installing all of them in the kernel as ECMP?

Trying to do that gives strange results. Consider the following; 

Add one static route

bird> show static
172.20.5.0/24
	via 10.210.70.1
bird>

bird> show route 172.20.5.0/24
Table master4:
172.20.5.0/24        unicast [static1 15:32:13.352] (200)
	via 10.210.70.1 on eth0
bird> 


Add same prefix but pointing to another nexthop

bird> show static
172.20.5.0/24
	via 10.210.70.1
172.20.5.0/24
	via 10.210.70.2
bird> 

Only second nexthop shows up (ideally would like to see all of them in
the RIB, but operationally down)

bird> show route 172.20.5.0/24
Table master4:
172.20.5.0/24        unicast [static1 15:32:57.097] (200)
	via 10.210.70.2 on eth0
bird>

Remove one prefix

bird> show static
172.20.5.0/24
	via 10.210.70.1
bird>

Entire prefix is gone. Why is that?

bird> show route 172.20.5.0/24
Network not found
bird> 

Is this use case supported? Or only true multi-path is supported? 

Thanks,
Kenth



More information about the Bird-users mailing list