Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Jan 2010 10:59:11 -0500
From:      Steve Bertrand <steve@ibctech.ca>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        Bogdan Webb <bogdan@pgn.ro>, freebsd-questions@freebsd.org
Subject:   Re: FreeBSD ipv6 rc.conf settings issue
Message-ID:  <4B4604CF.2040404@ibctech.ca>
In-Reply-To: <4B46021F.906@infracaninophile.co.uk>
References:  <c81e6afd1001070059h698fc0d2g629977802276c1b9@mail.gmail.com> <4B45F643.9000809@ibctech.ca> <4B46021F.906@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Seaman wrote:
> Steve Bertrand wrote:

> Funny.  My IPv6 config works like a charm, on both 7.2-STABLE and
> 8.0-STABLE.  Related config settings look like this:
> 
> gif_interfaces="gif0"
> gifconfig_gif0="81.187.76.162 81.187.81.6"
> 
> ipv6_ifconfig_gif0="2001:08b0:0151:0001::1/64"
> ipv6_prefix_de0="2001:08b0:0151:0001"
> 
> ipv6_enable="YES"
> ipv6_defaultrouter="-interface gif0"
> ipv6_default_interface="gif0"
> ipv6_gateway_enable="YES"
> 
> rtadvd_enable="YES"
> rtadvd_interfaces="de0"
> 
> This causes my machine to autoconfigure an IPv6 address on the ethernet
> i/f, plus provide rtadvd service to anything else wanting IPv6 connectivity
> on my home LAN.  IPv6 traffic from the home LAN is routed via the tunnel to
> the IPv6 tunnel handler provided by my ISP, but the only reason I need
> to do
> that is because IPv6 aware consumer broadband routers are kind of hard to
> obtain.

Hmmm. This config does not work:

ifconfig_re0="inet 208.70.104.210 netmask 255.255.255.192"
ifconfig_re0_alias0="inet 208.70.104.211 netmask 255.255.255.255"
ifconfig_re0_alias1="inet6 2607:f118::b6 prefixlen 64"
ifconfig_re0_alias2="inet6 2607:f118::b7 prefixlen 64"

defaultrouter="208.70.104.193"
ipv6_defaultrouter="2607:f118::1"

I've got native v6. The above particular box is one of only a couple
that have more than a single IP per protocol. The rest are generic, one
v4 and one v6 address.

Admittedly, I haven't spent much time at all on the issue, as my
solution is simply to not let the boxes go down :)

% uptime
10:52AM  up 727 days,  3:11, 6 users, load averages: 0.19, 0.19, 0.24

%uptime
10:54AM  up 549 days,  8:38, 1 user, load averages: 0.12, 0.16, 0.26

...seriously, all of my other FreeBSD boxes receive proper updates etc,
and the only time they are rebooted is when someone is at the console
(or right nearby) and can manually enter in the default route.

My FreeBSD routers running Quagga don't have this issue, presumably
because they're in the DFZ, and acquire all routing info dynamically.

Steve




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B4604CF.2040404>