Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Mar 2012 11:49:46 +0100
From:      Attila Nagy <bra@fsn.hu>
To:        net@freebsd.org
Subject:   IPv6 and CARP
Message-ID:  <4F51F74A.1010403@fsn.hu>

next in thread | raw e-mail | index | archive | help
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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F51F74A.1010403>