Date: Fri, 10 Jun 2016 08:52:25 +0200 From: Niklaas Baudet von Gersdorff <stdin@niklaas.eu> To: freebsd-questions@freebsd.org, freebsd-net@freebsd.org Subject: And what about ipv6_defaultrouter? Message-ID: <20160610065224.GB2817@box-hlm-03.niklaas.eu>
next in thread | raw e-mail | index | archive | help
--1LKvkjL3sHcu1TtY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, according to my provider, both the IPv6 and the default gateway for my virtual server are sent via router advertisements. So, I have the following in rc.conf: --------------------8<-------------------- ifconfig_vtnet0=3D"DHCP" ifconfig_vtnet0_ipv6=3D"inet6 accept_rtadv" rtsold_enable=3D"YES" -------------------->8-------------------- Although the machine gets an IPv6, the inet6 default route is not added. Why is that? Something else I need to include? (Interestingly, these were the default settings in rc.conf that I get with a fresh install =66rom my provider. Nevertheless, they don't seem to work.) Well, I thought "no problem" and added the following line: --------------------8<-------------------- ipv6_defaultrouter=3D"<IPv6-gateway>" -------------------->8-------------------- But still, after rebooting there is no default route visible when I `netstat -6rn`. Following this, the server is not connected via IPv6. However, if I run route -6 add default <IPv6-gateway> manually, the route will be added without problems and I get IPv6 connectivity. Why is that? Do I need an additional setting for the server to accept the advertised default route? Niklaas --1LKvkjL3sHcu1TtY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXWmOhAAoJEG2fODeJrIU/cHMP/jpVntqrOTGNEKy3UZAGjwO7 i/p0zCj6iDIEK0GNSbUuUQyKkR9TfKhC+3v1JhB/tLQLo2gW2B/HMseWI3AbA0Vo OMOXzSmqVpQGXCwJP/TnWjQYNsvXZv3ExVpoEkSoKSpLilTC/wXrDIZQbF2OdRrz 0On2mmjhkJEJMWZjUhfunAS0wjDo2KecBXRxake3fTqgNQVhEScNbegURT0nNpw0 HliH1mFuGHy4M3bPW3rbZeh37nN+Cfgc/LACi2MDZ8TfBQm2E15MafcjOf2pR3XE JBS0OHZk9XF5OMVwqlfbvpIazJOmxIyMB9j8Uf5LUqs1gc13wQ+MjNuOrx278gYS YSY++c5PVtZIJFGrre2Od4GmN3XRoqIkJOEc4vSP5niHc+sU1ImiwxBGhyBmWx6j T5O5WxkMTNbL7huEKVofu2Jaf2AsJUsb6JdHu7L6pEJwVk4vNzBgwhpLmUucGHFi SL36pdxE/p5vnJy4NxOpiawPYsiDfDJo11KLifj0aBnX5denVoRe6esXODpbNhoA 1k2dtM9BE9589ISgqLWKq3NI8j6lojUscHQI0/do8r6Ot754OliVh9+62ioZyUx0 z9HokKSTQHEqHThOC56wKCmUWllaKU9lY3DFLEDJirk4WLEfELXaPjaVRekfC4dx ySlho1cM0ROtcP8Y1p61 =lbER -----END PGP SIGNATURE----- --1LKvkjL3sHcu1TtY--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160610065224.GB2817>