redistributing static routes into OSPF, need to change next-hop

Eugene M. Zheganin emz at norma.perm.ru
Sat Nov 7 17:52:50 CET 2020


Hello,

How do I redistribute static routes into OSPF ? Suppose I have this:


protocol static {

     route 10.101.6.61/32 via 172.16.0.70;

}


If the export filter will allow this route into OSPF, the neighbor will 
receive it with this very next-hop, and in the absense of direct 
connectivity to 172.16.0.70 (which is the case) it will complain 
"Received route 10.101.6.61/32 with strange next-hop 172.16.0.70" and 
refuse to install it into FIB. How do I change next-hop to the address 
of the originating router ? The BGP proto has the option "next hop 
self", which OSPF does not.


Thanks.

Eugene.



More information about the Bird-users mailing list