IPv6 and CARP

Attila Nagy bra at fsn.hu
Sat Mar 3 10:49:56 UTC 2012


Hi,

On a recently built stable/9 I have these lines in rc.conf:
ifconfig_em0_name="admin"
vlans_admin="pub"
create_args_pub="vlan 20"
ifconfig_admin="inet 192.168.2.20 netmask 255.255.255.0"
ifconfig_pub="inet 1.1.1.1 netmask 255.255.255.224"
ifconfig_pub_ipv6="inet6 accept_rtadv"
ifconfig_carp0="vhid 1 pass beef 1.1.1.2/27"
ifconfig_carp0_ipv6="inet6 2001::beef/64"

When the machine boots up, it has every interfaces configured with the 
right addresses, except carp0, which has the IPv4, but no the IPv6 address.
However if I specify:
ifconfig carp0 inet6 2001::beef/64
carp0 gets the IPv6 address and I get
carp0: 2 link states coalesced
log entry.

What is the problem with the above configuration, why doesn't carp0 get 
the IPv6 address during boot?

Thanks,


More information about the freebsd-net mailing list