IPv6 OSPF stub interface not taken into account
Alarig Le Lay
alarig at swordarmor.fr
Mon May 6 23:47:42 CEST 2024
On Mon 06 May 2024 18:02:28 GMT, Bastien Durel wrote:
> If I remember well, you must have a link-local address on the interface
> for it to be taken in account.
I confirm:
edge03-stolon ~ # ip a sh dev lo
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
valid_lft forever preferred_lft forever
inet 45.91.126.241/32 scope global lo
valid_lft forever preferred_lft forever
inet6 2a0e:f42:ffff::b/128 scope global
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host proto kernel_lo
valid_lft forever preferred_lft forever
edge03-stolon ~ # birdc show ospf interface ospf_ipv6 "lo"
BIRD 2.15.1 ready.
syntax error, unexpected CF_SYM_UNDEFINED, expecting END or TEXT
edge03-stolon ~ # birdc 'show ospf interface ospf_ipv6 "lo"'
BIRD 2.15.1 ready.
ospf_ipv6:
edge03-stolon ~ # ip -6 a a fe80::/64 dev lo
edge03-stolon ~ # ip a sh dev lo
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
valid_lft forever preferred_lft forever
inet 45.91.126.241/32 scope global lo
valid_lft forever preferred_lft forever
inet6 2a0e:f42:ffff::b/128 scope global
valid_lft forever preferred_lft forever
inet6 fe80::/64 scope link
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host proto kernel_lo
valid_lft forever preferred_lft forever
edge03-stolon ~ # birdc 'show ospf interface ospf_ipv6 "lo"'
BIRD 2.15.1 ready.
ospf_ipv6:
Interface lo (IID 0)
Type: nbma
Area: 0.0.0.0 (0)
State: Waiting (stub)
Priority: 1
Cost: 10
ECMP weight: 1
Hello timer: 10
Poll timer: 20
Wait timer: 40
Dead timer: 40
Retransmit timer: 5
Designated router (ID): 0.0.0.0
Designated router (IP): ::
Backup designated router (ID): 0.0.0.0
Backup designated router (IP): ::
edge03-stolon ~ #
Is it really something that is really wanted? Adding a useless link-local just
to have my loopback into my IGP sounds a bit odd to me.
Thanks a lot for the trick!
--
Alarig
More information about the Bird-users
mailing list