Running Bird bgp through GRE tunnel

Baptiste Jonglez baptiste at bitsofnetworks.org
Mon Sep 7 21:36:03 CEST 2015


Hi,

On Mon, Sep 07, 2015 at 08:33:15PM +0530, Ajay Raut ( Tech Ops ) wrote:
> I m trying to run BGP through the GRE tunnel, Tunnel is working fine.

> auto gre-vpn
> iface gre-vpn inet tunnel
>     address 10.200.206.249
>     mode gre
>     endpoint 10.200.206.6
>     dstaddr 10.200.206.250
>     local 10.200.206.4
>     ttl 255
>     netmask 255.255.255.252

You have redundant information here: "dstaddr 10.200.206.250" will insert
a /32 route towards 10.200.206.250.  But since you configured
10.200.206.249/30 on the interface, you should already be able to reach
10.200.206.250, since the kernel will create the route 10.200.206.248/30
through the tunnel.

This could be the source of your issue, since (IIRC) Bird sometimes has
trouble with peers that are reachable with a /32 route.

If removing the /32 route doesn't work, maybe adding a "protocol device"
and "protocol direct" would solve the issue.

Baptiste
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20150907/b4c296cc/attachment.asc>


More information about the Bird-users mailing list