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

List:       bird-users
Subject:    Re: cannot export routes (AS_PATH problem ?)
From:       Ondrej Zajicek <santiago () crfreenet ! org>
Date:       2019-01-08 13:52:21
Message-ID: 20190108135221.lwlrjlp4h3cftqyn () feanor ! crfreenet ! org
[Download RAW message or body]

On Mon, Jan 07, 2019 at 09:38:12AM +0100, Julien Sansonnens wrote:
> Hi Ondrej,
> 
> policy routing was exactly what I was looking for, thanks for your help
> I managed to have it done using the "secondary" switch, it's working great.

Hi

'secondary' switch could be used for that, but note that when used for
BGP, it does not change forwarding table. It is useful for route servers,
but less for policy routing and forwarding. If you are using route A, but
propagating route B to your peer, then if you receive network traffic
from the peer, it is still routed according to route A (unless you do
some other tricks).

To have proper forwarding with policy routing, you generally would need
two kernel routing tables, appropriate policy routing rules, two BIRD
routing tables connected with pipe (with appropriate filtering on the
pipe) and two BIRD kernel protocols synchronizing BIRD tables with kernel
tables.

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
[prev in list] [next in list] [prev in thread] [next in thread] 

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