From owner-freebsd-net@FreeBSD.ORG Tue Jul 5 03:26:49 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02F57106564A; Tue, 5 Jul 2011 03:26:49 +0000 (UTC) (envelope-from michael@rancid.berkeley.edu) Received: from malcolm.berkeley.edu (malcolm.Berkeley.EDU [IPv6:2607:f140:ffff:ffff::239]) by mx1.freebsd.org (Postfix) with ESMTP id E05E38FC13; Tue, 5 Jul 2011 03:26:48 +0000 (UTC) Received: from towanda.burnttofu.net ([IPv6:2001:470:1f05:17a6:219:d1ff:fe26:5246]) (authenticated bits=0) by malcolm.berkeley.edu (8.14.4/8.13.8m1) with ESMTP id p653QmDk030459 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Mon, 4 Jul 2011 20:26:48 -0700 (PDT) (envelope-from michael@rancid.berkeley.edu) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.96.2 at malcolm.berkeley.edu Message-ID: <4E128477.6030108@rancid.berkeley.edu> Date: Mon, 04 Jul 2011 20:26:47 -0700 From: Michael Sinatra User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.18) Gecko/20110622 Thunderbird/3.1.11 MIME-Version: 1.0 To: Doug Barton References: <4E127E18.6090509@FreeBSD.org> In-Reply-To: <4E127E18.6090509@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: carp for IPv6? 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: Tue, 05 Jul 2011 03:26:49 -0000 On 07/04/11 19:59, Doug Barton wrote: > If I try to set up a carp interface for IPv6 on a recent 8.2-STABLE I > get an error using either /64 or /128 as the mask: > > ifconfig carp2 vhid 4 advskew 0 pass mycleverpass 2001:a:b:c::2/64 > > ifconfig 2001:a:b:c::2/64: bad value (width too large) > > There are no examples for IPv6 in the man page, or the handbook; and I > can't find any on line. I'm interested in configuration for the command > line, and rc.conf. ifconfig_carp0="vhid 80 advskew 120 pass yomama 128.32.206.100/32" ipv6_ifconfig_carp0="2607:f140:ffff:ffff::80/128" Works on 8.2-STABLE (June 7, 2011). Note that I cannot get carp to work properly without configuring an IPv4 address. michael