Hurricane Electric's IPv6 Tunnel Broker Forums

General IPv6 Topics => IPv6 on Routing Platforms => Topic started by: evaq on January 11, 2015, 06:44:55 AM

Title: [SOLVED] Openwrt: no IPv6 mtr from LAN to Internet
Post by: evaq on January 11, 2015, 06:44:55 AM
Hi,

I've set up my OpenWrt Barrier Breaker with HE / Tunnelbroker IPv6.

Things that work:

From the Openwrt CLI I can "ping6 ipv6.google.com". I can ping6 the Openwrt from an Internet device
RADVD is working; my Linux laptop receives the correct prefix.
From my laptop, "ip -6 route show" shows:
$ ip -6 route show
2001:470:XXXX:100c::/64 dev wlan0  proto kernel  metric 256  expires 86301sec
fe80::/64 dev wlan0  proto kernel  metric 256
default via fe80::c24a:ff:fe2c:dcbc dev wlan0  proto static  metric 1
default via fe80::c24a:ff:fe2c:dcbc dev wlan0  proto ra  metric 1024  expires 1701sec

fe80::c24a:ff:fe2c:dcbc indeed is the IPv6 address of the OpenWrt, which I can ping6 from my laptop

So far, so good  :)

However, from my laptop I can't reach IPv6 Internet at all:

sander@flappie:~$ mtr -nrc2 ipv6.google.com
Start: Sun Jan 11 15:37:36 2015
HOST: flappie                     Loss%   Snt   Last   Avg  Best  Wrst StDev


I'm really surprised there is even no first hop.

On the Openwrt:

root@OpenWrt:~# route -A inet6
Kernel IPv6 routing table
Destination                                 Next Hop                                Flags Metric Ref    Use Iface
::/0                                        ::                                      U     1024   0        2 6in4-henet
::/0                                        ::                                      U     1024   0        2 6in4-henet
2001:470:XXXX-1:100c::/64                     ::                                      U     256    0        0 6in4-henet
2001:470:XXXX:100c:3471:bfcb:753:6040/128   ::                                      UC    0      1589       0 6in4-henet
2001:470:XXXX:100c:3471:bfcb:753:6040/128   ::                                      UC    0      19120       0 6in4-henet
2001:470:XXXX:100c:a2f3:c1ff:fe08:d5e4/128  ::                                      UC    0      195       0 6in4-henet
2001:470:XXXX:100c:a2f3:c1ff:fe08:d5e4/128  ::                                      UC    0      2594       0 6in4-henet
fe80::1af4:6aff:fe9c:ced4/128               ::                                      UC    0      12       0 br-lan 
fe80::/64                                   ::                                      U     256    0        0 eth0   
fe80::/64                                   ::                                      U     256    0        0 eth0.2 
fe80::/64                                   ::                                      U     256    0        1 br-lan 
fe80::/64                                   ::                                      U     256    0        0 wlan0   
::1/128                                     ::                                      U     0      0        1 lo     
2001:470:XXXX-1:100c::/128                    ::                                      U     0      0        1 lo     
2001:470:XXXX-1:100c::2/128                   ::                                      U     0      3603       1 lo 
fe80::/128                                  ::                                      U     0      0        1 lo     
fe80::/128                                  ::                                      U     0      0        1 lo     
fe80::/128                                  ::                                      U     0      0        1 lo     
fe80::/128                                  ::                                      U     0      0        1 lo     
fe80::3e2d:688b/128                         ::                                      U     0      0        1 lo     
fe80::c24a:ff:fe2c:dcbc/128                 ::                                      U     0      0        1 lo     
fe80::c24a:ff:fe2c:dcbc/128                 ::                                      U     0      918       1 lo     
fe80::c24a:ff:fe2c:dcbc/128                 ::                                      U     0      0        1 lo     
fe80::c24a:ff:fe2c:dcbd/128                 ::                                      U     0      0        1 lo     
ff02::1/128                                 ::                                      UC    0      1        0 br-lan 
ff02::c/128                                 ::                                      UC    0      4032       0 br-lan 
ff00::/8                                    ::                                      U     256    0        0 eth0   
ff00::/8                                    ::                                      U     256    0        0 eth0.2 
ff00::/8                                    ::                                      U     256    0        2 br-lan 
ff00::/8                                    ::                                      U     256    0        0 6in4-henet
ff00::/8                                    ::                                      U     256    0        0 wlan0   

   

Hmmm ... does the OpenWrt where to send 2001:470:XXX:100c: traffic to? It should go to the LAN



Tips how to solve this?
Title: Re: Openwrt: no IPv6 mtr from LAN to Internet
Post by: evaq on January 11, 2015, 07:06:39 AM
Ah, solved it!!!

In Luci, under Interfaces -> HENET I had to fill out "IPv6 routed prefix" ("This is the prefix routed to you by the tunnel broker for use by clients").

Now my laptop has IPv6 connectivity!