bird adversites a direct route from an interface without carrier

Ondrej Zajicek santiago at crfreenet.org
Tue Oct 19 13:48:53 CEST 2021


On Tue, Oct 19, 2021 at 12:35:20PM +0200, Alarig Le Lay wrote:
> Hello Ondrej,
> 
> On Mon 18 Oct 2021 17:39:44 GMT, Ondrej Zajicek wrote:
> > On Mon, Oct 11, 2021 at 01:20:52PM +0200, Alarig Le Lay wrote:
> > > Hi,
> > > 
> > > On one router I have an interface that used to be connected to another
> > > machine, so the state is NO-CARRIER:
> > > core01-arendal ~ # ip addr show enp1s0
> > > 2: enp1s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
> > >     link/ether 00:0d:b9:48:c1:c0 brd ff:ff:ff:ff:ff:ff
> > >     inet 10.0.4.1/31 scope global enp1s0
> > >        valid_lft forever preferred_lft forever
> > >     inet6 2001:4640:a14f:fffd::2/127 scope global
> > >        valid_lft forever preferred_lft forever
> > >     inet6 fe80::20d:b9ff:fe48:c1c0/64 scope link
> > >        valid_lft forever preferred_lft forever
> > 
> > Hi
> > 
> > What do you see in 'show interfaces' 'show ospf interface' and
> > 'show ospf state' on given router? Is it Linux or BSD?

Hi

You use route from Direct protocol exported to OSPF. Contrary to other
protocols, default value of 'check link' option for Direct protocol is
'no'. Just enable it:

https://bird.network.cz/?get_doc&v=20&f=bird-6.html#direct-check-link

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."


More information about the Bird-users mailing list