From owner-freebsd-current@FreeBSD.ORG Sun Apr 25 01:55:18 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6DCF106564A for ; Sun, 25 Apr 2010 01:55:18 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx23.fluidhosting.com [204.14.89.6]) by mx1.freebsd.org (Postfix) with ESMTP id 636A78FC08 for ; Sun, 25 Apr 2010 01:55:18 +0000 (UTC) Received: (qmail 28524 invoked by uid 399); 25 Apr 2010 01:55:17 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 25 Apr 2010 01:55:17 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4BD3A104.4020703@FreeBSD.org> Date: Sat, 24 Apr 2010 18:55:16 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100330 Thunderbird/3.0.4 MIME-Version: 1.0 To: Bruce Cran References: <201004250154.07703.bruce@cran.org.uk> In-Reply-To: <201004250154.07703.bruce@cran.org.uk> X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: New IPv6 settings in rc.conf X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2010 01:55:18 -0000 On 04/24/10 17:54, Bruce Cran wrote: > I updated my router to the latest -CURRENT yesterday Did you run mergemaster after you upgraded? How old/what version of FreeBSD did you upgrade from? > and now I'm getting an > error on startup from ifconfig saying the the IPv6 addresses I've configured > are wrong ("bad value"). Can you please paste the exact error message? > The settings I've got in rc.conf are: > # IPv6 setup > ipv6_prefer="YES" This is no longer needed. > ipv6_gateway_enable="YES" > ipv6_defaultrouter="2001:abcd:abcd:abc::x" > > gif_interfaces="gif0 gif1" > gifconfig_gif0="a.b.c.d e.f.g.h" > gifconfig_gif1="a.b.c.d i.j.k.l" > ifconfig_gif0_ipv6="2001:abcd:abcd:abc::x abcd:abc:abcd:abc::x prefixlen 128" > ifconfig_gif1_ipv6="2a01:abcd:a:bc::x abcd:abc:x:ab::x prefixlen 128" > > # if_bridge doesn't have a link-local address by default, so add one > ifconfig_bridge0_ipv6="fe80::2%bridge0 prefixlen 64" It's likely that you need to add inet6 before fe80 there: ifconfig_bridge0_ipv6="inet6 fe80::2%bridge0 prefixlen 64" > ifconfig_bridge0_ipv6_alias0="2001:abcd:abcd:abcd::x" See the rc.conf man page on this one, this should probably be: ifconfig_bridge0_alias0="inet6 2001:abcd:abcd:abcd::x prefixlen 64" > I can manually run ifconfig once the systems running so I guess I've missed > out a required setting somewhere? If the above doesn't fix your problems, what ifconfig command line(s) work for you? hth, Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/