Ok, I finally figured it out.
The line to forward ipv6 must be before you setup the tunnel on the router...
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
This MUST be done before the tunnel is setup on openwrt Kamikaze 7.09.
This works fine now.
So how did you fix that? Did you move the echo 1 > /proc/sys/net/ipv6/conf/all/forwarding from the /etc/init.d/radvd script to the beginning of your tunnel script?
What's the working order for setting up the tunnel, starting radvd, etc.?
I have a similar problem as you, but
I can ping from the router and the LAN but any attempt to access IPv6 web sites times out.
My /etc/rc.d now looks like this:
lrwxrwxrwx 1 root root 19 Sep 9 2008 S40network -> /etc/init.d/network
lrwxrwxrwx 1 root root 20 Sep 9 2008 S45firewall -> /etc/init.d/firewall
lrwxrwxrwx 1 root root 23 Jan 1 2000 S47wlmacfilter -> /etc/init.d/wlmacfilter
lrwxrwxrwx 1 root root 22 Jan 1 2000 S48tunhe-ipv6 -> /etc/init.d/tunhe-ipv6
lrwxrwxrwx 1 root root 17 Jan 1 2000 S49radvd -> /etc/init.d/radvd
and I copied echo 1 > /proc/sys/net/ipv6/conf/all/forwarding to the beginning of my tunnel script.
#!/bin/sh /etc/rc.common
LOCALIP=x.x.x.x
POPIP=x.x.x.x
LOCTUN=2001:0db8:1234:4::2
REMTUN=2001:0db8:1234:4::1
START=48
start() {
echo -n "Starting TunnelBroker.net IPv6 tunnel: "
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
ip tunnel add he-ipv6 mode sit local $LOCALIP remote $POPIP
ip link set he-ipv6 up
#ip link set mtu 1280 dev he-ipv6
#ip tunnel change he-ipv6 ttl 64
ip -6 addr add $LOCTUN/64 dev he-ipv6
ip -6 ro add default via $REMTUN dev he-ipv6
#ip -f inet6 addr
echo "Done."
}
stop() {
echo -n "Stopping TunnelBroker.net IPv6 tunnel: "
ip link set he-ipv6 down
ip tunnel del he-ipv6
echo "Done."
}
restart() {
stop
start
}
But, I still get sketchy routing/connectivity.
Also in all my configurations of radvd, I have "AdvRouterAddr" set to on.
I also added this setting to my /etc/radvd.conf and now my default router shows up as the non-link-local address. I still have sketchy IPv6 performance however.