Date: Thu, 2 Jul 2020 01:06:59 -0500 From: Doug McIntyre <merlyn@geeks.org> To: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: ipv6 dhcp Message-ID: <20200702060659.GA56079@geeks.org> In-Reply-To: <5EFD31B2.6090608@gmail.com> References: <5EFD31B2.6090608@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 01, 2020 at 09:00:34PM -0400, Ernie Luzar wrote: > For host ipv4 setup in rc.conf > > ifconfig_em0="DHCP" > > Gets the dynamic ip assigned to this host by the ISP. > Also populates the /etc/resolv.conf with the ip address of the isp dns > servers. > > Is there something like this for ipv6? > > maybe ifconfig_em0="DHCP6" While there is a DHCPv6 protocol, it doesn't do quite the same things as DHCP for v4 does. And most IPv6 networks use a combination of router soliciation and prefix auto-configure on the interfaces, as this was the original specification that IPv6 networks did. Read more here https://www.freebsd.org/doc/handbook/network-ipv6.html ifconfig_rl0_ipv6="inet6 accept_rtadv" rtsold_enable="YES" If you are in a network that actually uses stateful DHCPv6 assignments (rare), there are various dhclient options to make it work, although I don't have such a setup to tell you what is needed. And DHCPv6_PD is something else altogether different used by many ISP CPE if that is what you are trying to do. I'd see what pfsense does to properly set that up.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200702060659.GA56079>
