On 17/04/2023 17.12, Marek Zarychta wrote:
Hello Luiz,
have you tried netlink flavour of BIRD ? It requires FreeBSD 13.2, but
should work out of the box in such a setup, I have not tested though.
Hello Marek,
I tried the netlink version and while the export of routes to the kernel
worked fine, the import into BIRD was failing.
# netstat -nr
Routing tables
Internet:
Destination Gateway Flags Netif Expire
10.10.10.0/24 2a12:6e40::2 UGS vtnet0
bird> show route 10.10.10.0/24 all
Table master4:
10.10.10.0/24 unicast [k_default_4 2023-04-20 16:24:28] * (10)
dev vtnet0
Type: inherit univ
Kernel.source: 4
Kernel.metric: 0
I checked the code and found that the RTA_VIA related code was only
included on kernels with MPLS support. I will provide a patch to fix it
shortly.
Luiz