IPv6 query

Matthew Seaman matthew at FreeBSD.org
Fri Aug 5 14:03:13 UTC 2016


On 2016/08/05 14:41, tech-lists wrote:
> Is it possible to have the *same interface* set with a static IP for
> IPv4 but dynamic for IPv6 ?

Sure.  The IPv4 and IPv6 configuration bits in /etc/rc.conf are pretty
independent.  Having something like:

ifconfig_em0="inet 192.0.2.1/24"

and

ifconfig_em0_ipv6="inet6 accept_rtadv"

shouldn't be a problem at all.

(assuming by 'dynamic' you mean SLAAC.  DHCP6 is left as an excercise
for the reader.)

	Cheers,

	Matthew


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 972 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20160805/08a7220e/attachment.sig>


More information about the freebsd-questions mailing list