Date: Mon, 04 Jul 2011 21:20:45 -0700 From: Doug Barton <dougb@FreeBSD.org> To: Michael Sinatra <michael@rancid.berkeley.edu> Cc: freebsd-net@freebsd.org Subject: Re: carp for IPv6? Message-ID: <4E12911D.2060604@FreeBSD.org> In-Reply-To: <4E128477.6030108@rancid.berkeley.edu> References: <4E127E18.6090509@FreeBSD.org> <4E128477.6030108@rancid.berkeley.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On 07/04/2011 20:26, Michael Sinatra wrote: > 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. Well that sucks. :-/ In the example you gave, how would you add the IPv6 address on the command line to an existing carp interface? 'ifconfig carp0 inet6 2607:f140:ffff:ffff::80/128 alias' ?? Thanks for the response, Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E12911D.2060604>