Re: issue with bird next hop

From: Stephane Rochoy <stephane.rochoy_at_stormshield.eu>
Date: Thu, 15 Jun 2023 11:35:56 UTC
Benoit Chesneau <benoitc@enki-multimedia.eu> writes:

> … What could be the issue?
>
> More infos below. Hope It helps.
>
> # ifconfig lo1
> lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 
> 16384
> options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
> inet6 ::1 prefixlen 128
> inet6 fe80::1%lo1 prefixlen 64 scopeid 0x9
> inet 1.1.1.1 netmask 0xffffffff
> groups: lo nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
>
> …
>
> # route -n get 1.1.1.2
> route to: 1.1.1.2
> destination: 1.1.1.2
> gateway: 10.3.1.1
> fib: 0
> interface: vlan2212
> flags: <UP,GATEWAY,HOST,DONE,PROTO1>
> recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0
>   9000 1 0
>
> …

Hi,

Couldn't it be related to the netmask set on lo1? E.g., what if
you set /30 instead of /32?

Regards,
--
Stéphane Rochoy
O: Stormshield