Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2012 17:49:34 +0100
From:      John Hawkes-Reed <hirez@libeljournal.com>
To:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   IPv6 default route. Can't see the wood for the trees.
Message-ID:  <503BA51E.4030103@libeljournal.com>

next in thread | raw e-mail | index | archive | help
I'm sure this is a FAQ, but I've been staring at it too long to spot the 
obvious.

BSD-box (9.1-PRE) is acting as default router/NAT gateway for local LAN. 
IP4 works.

IP6 rig, per the setup on tunnelbroker.net, appears to work on the BSD box.

However, while LAN clients (XP, OSX) manage to acquire addresses with 
the right prefix, the autoconfigured default route is a link-local 
address. Some bits of the internet think that's ok. Other bits don't.

Trying to ping6/traceroute6 out to (say) Google works on the BSD box, 
but not on the clients.

Do I need to be running a routing daemon, or is there some ip6 
handwaving I'm missing?

rc.conf:

(I'm not convinced that obfuscating the addresses is worth the confusion)

ipv6_gateway_enable="YES"
ip6addrctl_verbose="YES"
rtadvd_enable="YES"
rtadvd_interfaces="rl0"
ipv6_cpe_wanif="pcn0"
ipv6_defaultrouter="2001:470:1f0a:b5a::1"
gif_interfaces="gif0"
gifconfig_gif0="192.168.1.100 216.66.80.30"
ifconfig_gif0_ipv6="inet6 2001:470:1f0a:b5a::2 2001:470:1f0a:b5a::1 
prefixlen 128"
ifconfig_pcn0_ipv6="inet6 2001:470:1f0b:b5a::4 prefixlen 64"
ifconfig_rl0_ipv6="inet6  2001:470:1f0b:b5a::3 prefixlen 64 -accept_rtadv"

-- 
JH-R



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?503BA51E.4030103>