Re: issue with bird next hop

From: Benoit Chesneau <benoitc_at_enki-multimedia.eu>
Date: Thu, 15 Jun 2023 12:16:57 UTC
Thanks for the hint. Unfortunately when I am setting it to /30 the machine stop to be advertised :/ Most probably because /30 will be routed locally?

Why would setting it to /30 fix the issue ? What does it solves when we do it?


Benoît

------- Original Message -------
On Thursday, June 15th, 2023 at 13:35, Stephane Rochoy <stephane.rochoy@stormshield.eu> wrote:


> 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