Multi protocol route handling (IPv4 via IPv6)

Ondrej Zajicek santiago at crfreenet.org
Tue Nov 12 18:36:32 CET 2019


On Sat, Nov 09, 2019 at 07:58:43PM +0100, Nico Schottelius wrote:
> 
> Hello,
> 
> I have setup an MP-BGP with 2 bird instances and my aim is to route IPv4
> via IPv6, like cumulus is doing it.
> 
> Currently I receive the IPv4 and IPv6 routes via the IPv6 session, as
> follows:
> 
> 58.69.253.0/24       unicast [router2_place5_ungleich_ch_v6 18:11:21.625] ! (100) [AS36776i]
>         via 2a0a:e5c0:1:8::4 on bond0.8
> 23.211.0.0/22        unicast [router2_place5_ungleich_ch_v6 18:11:21.625] ! (100) [AS16625i]
>         via 2a0a:e5c0:1:8::4 on bond0.8
> ...
> Now my question regarding bird:
> 
> If the kernel / i route actually supports it (as seen in the 2nd
> system), should bird2 be able to install the IPv4 routes via IPv6 or
> not?

Hello

Fixed in git:

https://gitlab.labs.nic.cz/labs/bird/commit/53401bef63013dfee01b65d071ffbd88e457539f


Now works even with ECMP:

# ip r l
10.0.10.0/24 proto bird metric 32 
    nexthop via inet6 2001:1488:fffe:6::1 dev eth0 weight 1 
    nexthop via inet6 2001:1488:fffe:6::2 dev eth0 weight 1 

-- 
Elen sila lumenn' omentielvo

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


More information about the Bird-users mailing list