[Cerowrt-devel] ipv6 confusion with source specific gateways.
dave.taht at gmail.com
Wed Nov 26 02:11:17 EST 2014
Some days I just lose it with prefix math. Or maybe we have a bug.
So here is a default gateway. So far as I know it is getting a /56
actually, not a /60, but it is requesting a /60 and thus distributing
a source specific route to that /60.
default from :: via fe80::201:5cff:ee62:b646 dev ge00 proto static metric 1024
# should I even have a default route at all?
default from 2001:558:6045:e9:44a9:4a25:ece9:55c3 via
fe80::201:5cff:ee62:b646 dev ge00 proto static metric 1024
# my uplink, looks sane
default from 2601:c:ce00:9d0::/60 via fe80::201:5cff:ee62:b646 dev
ge00 proto static metric 1024
# and see that /60...
# and then there is the default ipv6 address assignements on cero.
2601:c:ce00:9d1::/64 dev gw10 proto kernel metric 256 expires 326362sec
Now, where my brain crashes: shouldn't 2601:c:ce00:9d1::/64 actually
be something like
2601:c:ce00:9d01::/64 not, 2601:c:ce00:9d1::/64?
(see the 01?)?
OK, so, like, I have another babel source specifc gateway a few hops
in from there, I add
ip -6 addr add 2601:c:ce00:9d01::1/64 dev wlan0-1
that doesnt work. I make it be
ip -6 addr add 2601:c:ce00:9d6::1/64 dev wlan0-1
and that does.
More information about the Cerowrt-devel