ipv6_ifconfig_<interface>_alias<n> not working

Spil Oss spil.oss at gmail.com
Fri May 14 09:29:37 UTC 2010


Hi,

I'm trying to set ipv6 aliases for my jails in my rc.conf but it
doesn't seem to work as advertised. I have a /48 range assigned to me
(for this example 2001:dead:beef) and am trying to assign ipv6
addresses to a jail. The jails will all have ipv6 addresses in the
2001:dead:beef:1 range.

>From man rc.conf "Aliases should be set as ipv6_ifconfig_<interface>_alias<n>"

My bge0 config in /etc/rc.conf:
ifconfig_bge0="inet6 2001:dead:beef:2222::1/64 up"
ipv4_addrs_bge0="10.10.2.1/24 10.10.2.2/24 10.10.2.3/24 10.10.2.5/24
10.10.2.6/24"
ipv6_ifconfig_bge0_alias0="2001:dead:beef:1::5/64"
rtadvd_interfaces="wlan0 bge0"

Additional ipv6 config in /etc/rc.conf
ipv6_enable="YES"
ipv6_gateway_enable="YES"

The "2001:dead:beef:1::5/64" address is not assigned to bge0.
There must be some stupid mistake I'm making in my config. Is it
perhaps the ifconfig_bge0 line that screws up my config?

Kind regards,

Spil.


More information about the freebsd-stable mailing list