From owner-freebsd-net@FreeBSD.ORG Sat Mar 3 20:20:25 2012 Return-Path: Delivered-To: net@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 88CC7106567A; Sat, 3 Mar 2012 20:20:25 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from opti.dougb.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 66BDE15FA39; Sat, 3 Mar 2012 20:20:24 +0000 (UTC) Message-ID: <4F527D08.9040206@FreeBSD.org> Date: Sat, 03 Mar 2012 12:20:24 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120224 Thunderbird/10.0.2 MIME-Version: 1.0 To: Attila Nagy References: <4F51F74A.1010403@fsn.hu> In-Reply-To: <4F51F74A.1010403@fsn.hu> X-Enigmail-Version: 1.3.5 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: hrs@FreeBSD.org, net@freebsd.org Subject: Re: IPv6 and CARP X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 20:20:25 -0000 Looping in hrs@ since he's responsible for that area. On 03/03/2012 02:49, Attila Nagy wrote: > 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? -- This .signature sanitized for your protection