Date: Sat, 24 Apr 2010 18:55:16 -0700 From: Doug Barton <dougb@FreeBSD.org> To: Bruce Cran <bruce@cran.org.uk> Cc: freebsd-current@freebsd.org Subject: Re: New IPv6 settings in rc.conf Message-ID: <4BD3A104.4020703@FreeBSD.org> In-Reply-To: <201004250154.07703.bruce@cran.org.uk> References: <201004250154.07703.bruce@cran.org.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BD3A104.4020703>
