[PATCH] IPv4 over IPv6 nexthop support on FreeBSD

Luiz Amaral email at luiz.eng.br
Fri Apr 21 08:47:00 CEST 2023


Hello Ondrej,

Thanks for the merge. I did a quick test with the merged code on FreeBSD 
13.2 and all worked well.

While testing the same feature with Netlink as suggested by Marek, I 
noticed that the import of routes from kernel to BIRD was broken.

I attached a patch that fixed the issue with Netlink for me. I believe 
it should be safe to handle RTA_VIA on non-MPLS kernels as rtnetlink(7) 
on Linux lists it as "Gateway in different AF" and rtnetlink(4) on 
FreeBSD lists it as "IPv6 nexthop address for IPv4 route".

Luiz

On 21/04/2023 03.07, Ondrej Zajicek wrote:
> On Mon, Apr 17, 2023 at 04:46:13PM +0200, Luiz Amaral wrote:
>> Hello Ondrej,
>>
>> Did you have a chance to check out the patch? I am happy to adjust it if
>> needed.
> Hello
>
> Thanks for a notice, i just merged that (with minor modification):
>
> https://gitlab.nic.cz/labs/bird/-/commit/d61505b039bf0aa6697e28b2a4e07907c89ba1fb
>
> I didn't test the feature, as our FreeBSD VM is still at 13.0
> (bsd-cloud-image.org does not offer never version), but it seems safe.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rfc5549-netlink.patch
Type: text/x-patch
Size: 1280 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20230421/4c78a042/attachment.bin>


More information about the Bird-users mailing list