From owner-freebsd-questions@freebsd.org Fri Jun 10 06:52:30 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 18E5DB716EC; Fri, 10 Jun 2016 06:52:30 +0000 (UTC) (envelope-from stdin@niklaas.eu) Received: from box-hlm-03.niklaas.eu (box-hlm-03.niklaas.eu [84.22.110.84]) by mx1.freebsd.org (Postfix) with ESMTP id DCEBD116F; Fri, 10 Jun 2016 06:52:29 +0000 (UTC) (envelope-from stdin@niklaas.eu) Received: by box-hlm-03.niklaas.eu (Postfix, from userid 1001) id 41B0E385528; Fri, 10 Jun 2016 08:52:25 +0200 (CEST) Date: Fri, 10 Jun 2016 08:52:25 +0200 From: Niklaas Baudet von Gersdorff To: freebsd-questions@freebsd.org, freebsd-net@freebsd.org Subject: And what about ipv6_defaultrouter? Message-ID: <20160610065224.GB2817@box-hlm-03.niklaas.eu> Mail-Followup-To: freebsd-questions@freebsd.org, freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1LKvkjL3sHcu1TtY" Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2016 06:52:30 -0000 --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"" -------------------->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 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--