Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Aug 2019 18:03:41 +0200
From:      Wout =?ISO-8859-1?Q?Decr=E9?= <wout@canodus.be>
To:        Paul Hoffman <phoffman@proper.com>, freebsd-doc@FreeBSD.org
Subject:   Re: Small suggestion for IPv6 page
Message-ID:  <5be035b0a627a92e2f623e296f5fe02a56974689.camel@canodus.be>
In-Reply-To: <5A713F43-E83A-4692-BAE9-6A7BE0336797@proper.com>
References:  <5A713F43-E83A-4692-BAE9-6A7BE0336797@proper.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2019-08-03 at 08:34 -0700, Paul Hoffman wrote:
> Greetings again. As always, thanks for the very clear documentation.
> 
> handbook/network-ipv6.html does not say how to create aliases for
> IPv6 
> addresses. I guessed:
>     ifconfig_em1_ipv6_alias0="inet6 fd00::21:1:101/112"
> This was wrong. The following works:
>     ifconfig_em1_alias0_ipv6="inet6 fd00::21:1:101/112"
> 

I think the "_ipv6" suffix is not required, you could use:

ifconfig_em1_alias0="inet6 fd00::21:1:101/112"

Or, I usually define all my IPv4 and IPv6 aliases in one line:

ifconfig_em1_aliases="inet6 fd00::21:1:101/112"

See rc.conf(5) for more information.

> An example on handbook/network-ipv6.html would have prevented me
> from 
> having to guess (and guess wrong, in my case).
> 
> --Paul Hoffman
> _______________________________________________
> freebsd-doc@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-doc
> To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org
> "




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