Unexpected behavior of static routes

Damien Clabaut damien.clabaut at corp.ovh.com
Thu Aug 10 14:27:11 CEST 2017


Thank you very much,

I confirm this solution works.

Regards,


On 09/08/17 05:46 PM, Ondrej Zajicek wrote:
> On Fri, Aug 04, 2017 at 02:41:32PM -0400, Damien Clabaut wrote:
>> Hello everyone,
>>
>> I am reopening the subject as I am facing the same issue that was described
>> here.
>>
>> I add routes in Linux:
>>
>> interface bond0.2 has no ip address assigned, by design.
>>
>> # ip route add 10.0.2.0/24 dev bond0.2  scope link
>>
>> # ip r a 192.168.0.1 via 10.0.2.2 dev bond0.2
>>
>> How can I import the second route to Bird, to be able to announce it via BGP
>> ?
> I think simplest way would be to add 'onlink' flag to the route for
> 192.168.0.1 . That allows it to be imported regardless of its next-hop.
>

-- 
Damien Clabaut
R&D vRouter
ovh.qc.ca



More information about the Bird-users mailing list