In FreeBSD9, they changed the way you manually add an IPv6 address. In prior versions, you just needed to add something like this to /etc/rc.conf

[code]
ipv6_ifconfig_em0="2001:db8:1234:abcd::2 prefixlen 64"
[/code]

However, when you do that in FreeBSD9, you get complaints when the system boots

[code]
/etc/rc: WARNING: $ipv6_ifconfig_em0 is obsolete. Use ifconfig_em0_ipv6 instead.
[/code]

To fix that add this to /etc/rc.conf

[code]
ifconfig_em0_ipv6="inet6 2001:db8:1234:abcd::2/64"
ipv6_defaultrouter="2001:db8:1234:abcd::1"
[/code]

Leave a Reply

Your email address will not be published. Required fields are marked *

 characters available