handling of the onlink next hop

Radu CARPA carpa.radu at gmail.com
Wed May 28 13:03:03 CEST 2025


Hello Maria, Robert,

On 5/27/25 12:44 PM, Maria Matejka wrote:
>
> Well, could you please try the current thread-next branch?
>
> https://gitlab.nic.cz/labs/bird/-/tree/thread-next 
> <https://gitlab.nic.cz/labs/bird/-/tree/thread-next>
>
Thank you for the very quick patch and the rpm package. Unfortunately, 
we get the following error

```
bird[3287848]: filters, line 8: Argument 1 of RTA_SET must be of type 
ip, got type void
bird[3287848]: Netlink: Network is unreachable
bird[3287848]: Netlink: Network is unreachable
bird[3287848]: ...
```

when running with the following configuration, which works perfectly on  
bird-2.16.2

```
  1
  2 router id from "-tun*", "*";
  3
  4 filter from_kubernetes {
  5  if ( net ~ 10.250.1.0/24 || net ~ 10.110.1.0/24  ) then {
  6    ifname = "tunl0";
  7    onlink = true;
  8    gw = from;
  9    accept;
10  }
11  reject;
12 }
.....
```

Regards,
Radu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20250528/14b16ebb/attachment.htm>


More information about the Bird-users mailing list