Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Feb 2022 19:56:41 +0100
From:      Goran =?utf-8?B?TWVracSH?= <meka@tilda.center>
To:        freebsd-net@freebsd.org
Subject:   IPv6 route vanishes
Message-ID:  <20220207185641.gjre47smcapiz4tb@tilda.center>

next in thread | raw e-mail | index | archive | help

--4z443e6ejf6hh2d5
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline

Hello,

On router, "lan" is bridge interface consisting of igb1, igb2 and wlan0.
To put it short, on router rtadvd.conf is one line 'lan:addr="2001:470:1f1a:2c6::""'.
On desktop I have this in rc.conf:
ifconfig_re0="DHCP"
ifconfig_re0_ipv6="inet6 -ifdisabled auto_linklocal accept_rtadv"

The problem is that I also have to add "ipv6_defaultrouter" in rc.conf
otherwise route acquired through rtadvd/rtsold is not present about 10
minutes after initial start of rtsold.

What's weird is that if rtsold runs in a VNET jail, route does not go
away. On that server I just bridge all epairs and egress so I know the
same rtadvd running on router used in both cases. Also, that's the
reason I'm suspecting rtsold is faulty, either it has a bug or I still
have a lot to learn (I just started with IPv6).

More details are attached to this PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261129
Even more details on the setup are given in my blog post: https://meka.rs/blog/2022/01/15/freebsd-dual-stack-network/

The workaround with ipv6_defaultrouter works perfectly on desktop and server,
but it's really annoying on the laptop. Is there a doc part I missed or
something?

Regards,
meka

--4z443e6ejf6hh2d5
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE1WIFkXy2ZeMKjjKEWj1TknovrLYFAmIBa2UACgkQWj1Tknov
rLbing//dHxRKK4d1DU7Xz5rMJVvvwVqv0s9WyqJeVwlmZt8gj4+6HgNznCkMDW4
lcKAgy09j1vs3New/TUc10hu6Hne/+YgSV6teuuUemGgX8sZLf88UWKil00I0zkB
tPWVhGHeHj6mF/Ph6BlaqdOlk4OlnQnPD7JN1g7+m0i5sDIoiePv8N49y9YomGLe
SPunDMyTQ9QyUuCT1tiNpiWVV4YYM/ugyEI0T62yAc+Z2GxxOEF0gJh1u3BSLnFS
PzvxKG+fwUzInC6RlBC8dpGfHcFi6M8VO1aN3097n+wDQHicx/HjQKy2zBYDf4QB
aKkfjtnonMBU9UC1gL1Hg57l7HpyhYbbR1yhqcUcaAW3dyw3vScLoo9pq4n5N2cI
SIciBN4PL35GU7KUZwKIVktkrdE8tRumo+caD2WX9A4C8IhBVbXr76Zki4ovm7ri
5LjPtwmmCgTls+QrkoJAf/cLvabJ79yHPz+BbfZdeFkl2uC+gaSHS79qpLyPpv7z
k0iwpg/zZ71UEglEJo6zuzJxzKDj0PiB5fTAoSOCeS5Ru/gXUyUzPwAiaHsRYt6i
CRVPkLDm4fcI8141fcuX2BnxwqUrHZNPXE8YuRNY1mz4RliQc4aAL+qUJ3fV5Fhb
tCWVQiQoK+d4jlNfbQl147gb0b8CiTyx/m57jIG4SL3eCLuS210=
=UUBB
-----END PGP SIGNATURE-----

--4z443e6ejf6hh2d5--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20220207185641.gjre47smcapiz4tb>