[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bird-users
Subject:    Re: Linux PBR and RIP
From:       Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= <toke () toke ! dk>
Date:       2021-02-14 12:25:35
Message-ID: 87r1lidef4.fsf () toke ! dk
[Download RAW message or body]

Grant Taylor <gtaylor@tnetconsulting.net> writes:

> Hi,
>
> I'm facing a problem where RIP (v2) isn't originating a default route if 
> it's not in the (kernel) table that RIP is using.
>
> The system itself is using Policy Based Routing and does have a default 
> route in a different (kernel) table.  PBR is searching multiple (kernel) 
> tables in succession.
>
> Is there a way that I can have BIRD v2 originate a default route that 
> doesn't exist in the (kernel) table that RIP is connected to?

Yeah, I do this for Babel:

protocol static babeldef6 {
        ipv6 sadr;
        route ::/0 from 2axx:xxxx:xxxx::/48 unreachable;
}

protocol static babeldef4 {
        ipv4;
        route 0.0.0.0/0 unreachable;
}

Just make sure you filter it out from your kernel protocol, so Bird
doesn't *add* it to the kernel routing table...

-Toke
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic