Small suggestion for IPv6 page

Wout Decré wout at canodus.be
Sat Aug 3 16:09:29 UTC 2019


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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-doc
> To unsubscribe, send any mail to "freebsd-doc-unsubscribe at freebsd.org
> "



More information about the freebsd-doc mailing list