FreeBSD ipv6 rc.conf settings issue

Steve Bertrand steve at
Thu Jan 7 15:59:17 UTC 2010

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=""
> 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 netmask"
ifconfig_re0_alias0="inet netmask"
ifconfig_re0_alias1="inet6 2607:f118::b6 prefixlen 64"
ifconfig_re0_alias2="inet6 2607:f118::b7 prefixlen 64"


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

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.


More information about the freebsd-questions mailing list