Config ipv4 and ipv6 aliases

Thomas Krause freebsd-stable at chef-ingenieur.de
Fri Jun 1 09:29:41 UTC 2012


Hi,

(I'm using FreeBSD 9.0-REL).

ifconfig_em0_ipv6_alias0 doesn't work. I've to use
ifconfig_em0_alias0 for both ipv4 and ipv6.
This is not consequent. My working config
looks like this:

ifconfig_em0="inet 192.168.100.50/28"
ifconfig_em0_ipv6="inet6 2a00:abcd:0:405::2/64"

ifconfig_em0_alias0="inet 192.168.100.51/32"
ifconfig_em0_alias1="inet6 2a00:abcd:0:405::3/64"

defaultrouter="192.168.100.49"
ipv6_defaultrouter="2a00:abcd:0:405::1"

Please correct me, if there is a better solution.

Regards,
Thomas.


More information about the freebsd-stable mailing list