On Sun, Mar 05, 2017 at 01:51:10PM +0100, Cedric Lemarchand wrote:
> On host1 (10.10.1.1) :
> 
> bird> show route all for 192.168.1.0/24
> 192.168.1.0/24     dev eth1 [direct1 13:44:52] * (240)
>         Type: device unicast univ
>                    via 10.10.1.1 on eth0 [static1 13:44:52] (200)
>         Type: static unicast univ

Hi

This is a cause of your problems - you have 192.168.1.0/24 as both direct
route and indirect route from static protocol. Because the direct route
has higher priority (240), it is selected, but your BGP export filter is
set to 'where proto = “static1"', is the direct route is rejected, while
the static route is ignored due to being shadowed by the direct one.

You could use just 'export where net = 192.168.1.0/24' as BGP export
filter or you could clean up your network setup to avoid overlapping
direct and indirect routes.

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santi...@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."

Attachment: signature.asc
Description: Digital signature

Reply via email to