[Babel-users] [PATCH v2] Use per-table dumps on kernels where this is available

Toke Høiland-Jørgensen toke at toke.dk
Sat Apr 16 21:44:01 BST 2022


Daniel Gröber <dxld at darkboxed.org> writes:

> Hi Toke,
>
> That still doesn't seem to work, I get
>
>     Interface eth0 has no link-local address.
>
> so it seems to getaddr stuff is still not working.

Huh, that's odd. What's the debug output? If I keep the 'struct rtmsg'
for GETADDR, I get this (running './babeld -C "interface testns" -d 1000'):

Warning: couldn't find router id -- using random value.
Noticed ifindex change for testns.
Noticed status change for testns.
Sending seqno 10686 from address 0x560a9f65b2d0 (dump)
Netlink message: [multi] {seq:10686}(done)

Interface testns has no link-local address.
setsockopt(IPV6_LEAVE_GROUP): Cannot assign requested address

But with v2 (changed to ifaddrmsg):

Warning: couldn't find router id -- using random value.
Noticed ifindex change for testns.
Noticed status change for testns.
Sending seqno 10633 from address 0x558297f642d0 (dump)
Netlink message: [multi] {seq:10633}(msg -> "found address on interface lo(1): 127.0.0.1
" 0), 
Netlink message: [multi] {seq:10633}(msg -> "found address on interface lo(1): ::1
" 0), [multi] {seq:10633}(msg -> "found address on interface testns(6): fc00:dead:cafe:1::1
" 0), [multi] {seq:10633}(msg -> "found address on interface testns(6): fe80::f886:d0ff:fe92:87e5
" 1), 
Netlink message: [multi] {seq:10633}(done)

Upped interface testns (cost=96, channel=-2).

-Toke



More information about the Babel-users mailing list