You are not logged in.

#1 2009-09-06 00:26:29

jeff777
Member
Registered: 2007-11-12
Posts: 16

ipv6 tunnel with radvd

I want to setup ipv6 routing on my Arch Linux router so that a laptop on my LAN can reach ipv6 hosts on the Internet through an ipv6 tunnel.  I've setup a tunnel with www.tunnelbroker.net and it appears to be working correctly.  I can ping6 ipv6 hosts on the Internet (like www.kame.net) from my Arch Linux router.  I've also installed radvd on the router.   My laptop gets a global ipv6 address on its NIC.

However, when I try to ping6 www.kame.net from my laptop, I do not receive any replies.  If I try to load an ipv6 web page on my laptop, it times out.  I've troubleshot using tcpdump.  I can see the traffic from my laptop and replies to my laptop on the ipv6 tunnel, but the reply traffic does not reach my laptop.

Has anyone gotten an ipv6 tunnel with radvd working?  Can anyone help me troubleshoot this?

Here are some details:

/etc/radvd/radvd.conf

interface eth0
{
    AdvSendAdvert on;
    prefix 2001:470:b:114::/64
    {
        AdvOnLink on;
        AdvAutonomous on;
    };
};

ifconfig eth0 on my laptop

eth0      Link encap:Ethernet  HWaddr 00:17:f2:ce:9c:72  
          inet addr:172.16.7.114  Bcast:172.16.7.255  Mask:255.255.255.0
          inet6 addr: 2001:470:b:114:217:f2ff:fece:9c72/64 Scope:Global
          inet6 addr: fe80::217:f2ff:fece:9c72/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:58402 errors:0 dropped:0 overruns:0 frame:0
          TX packets:50557 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:62121008 (62.1 MB)  TX bytes:5949683 (5.9 MB)
          Interrupt:16

ifconfig on my router

eth0      Link encap:Ethernet  HWaddr 00:1C:C0:1F:16:13  
          inet addr:172.16.7.1  Bcast:172.16.7.255  Mask:255.255.255.0
          inet6 addr: fe80::21c:c0ff:fe1f:1613/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8313 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7282 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:876628 (856.0 Kb)  TX bytes:4971925 (4.7 Mb)
          Interrupt:19 Base address:0x2000 

eth1      Link encap:Ethernet  HWaddr 00:00:E8:01:50:A5  
          inet addr:24.80.165.174  Bcast:255.255.255.255  Mask:255.255.252.0
          inet6 addr: fe80::200:e8ff:fe01:50a5/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:162337 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4292 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:14133945 (13.4 Mb)  TX bytes:547095 (534.2 Kb)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

sit0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet6 addr: ::172.16.7.1/96 Scope:Compat
          inet6 addr: ::24.80.165.174/96 Scope:Compat
          inet6 addr: ::127.0.0.1/96 Scope:Unknown
          UP RUNNING NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

sit1      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet6 addr: fe80::ac10:701/64 Scope:Link
          inet6 addr: 2001:470:a:114::2/64 Scope:Global
          inet6 addr: fe80::1850:a5ae/64 Scope:Link
          UP POINTOPOINT RUNNING NOARP  MTU:1480  Metric:1
          RX packets:137 errors:0 dropped:0 overruns:0 frame:0
          TX packets:322 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:14200 (13.8 Kb)  TX bytes:41320 (40.3 Kb)

tcpdump -i sit1 'icmp6' on my router while ping6ing www.kame.net from my laptop

tcpdump: WARNING: sit1: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on sit1, link-type RAW (Raw IP), capture size 96 bytes
17:10:37.890021 IP6 macbook.lanka.local > orange.kame.net: ICMP6, echo request, seq 11, length 64
17:10:38.064546 IP6 orange.kame.net > macbook.lanka.local: ICMP6, echo reply, seq 11, length 64
17:10:38.064577 IP6 fe80::1850:a5ae > orange.kame.net: ICMP6, redirect[|icmp6]
17:10:38.064595 IP6 orange.kame.net > macbook.lanka.local: ICMP6, echo reply, seq 11, length 64
17:10:38.898063 IP6 macbook.lanka.local > orange.kame.net: ICMP6, echo request, seq 12, length 64
17:10:39.072676 IP6 orange.kame.net > macbook.lanka.local: ICMP6, echo reply, seq 12, length 64
17:10:39.072699 IP6 fe80::1850:a5ae > orange.kame.net: ICMP6, redirect[|icmp6]
17:10:39.072718 IP6 orange.kame.net > macbook.lanka.local: ICMP6, echo reply, seq 12, length 64
17:10:39.906090 IP6 macbook.lanka.local > orange.kame.net: ICMP6, echo request, seq 13, length 64
17:10:40.080809 IP6 orange.kame.net > macbook.lanka.local: ICMP6, echo reply, seq 13, length 64
17:10:40.080831 IP6 fe80::1850:a5ae > orange.kame.net: ICMP6, redirect[|icmp6]
17:10:40.080847 IP6 orange.kame.net > macbook.lanka.local: ICMP6, echo reply, seq 13, length 64
17:10:40.914117 IP6 macbook.lanka.local > orange.kame.net: ICMP6, echo request, seq 14, length 64
17:10:41.087942 IP6 orange.kame.net > macbook.lanka.local: ICMP6, echo reply, seq 14, length 64
17:10:41.087966 IP6 fe80::1850:a5ae > orange.kame.net: ICMP6, redirect[|icmp6]
17:10:41.087981 IP6 orange.kame.net > macbook.lanka.local: ICMP6, echo reply, seq 14, length 64
17:10:41.922147 IP6 macbook.lanka.local > orange.kame.net: ICMP6, echo request, seq 15, length 64
17:10:42.102078 IP6 orange.kame.net > macbook.lanka.local: ICMP6, echo reply, seq 15, length 64
17:10:42.102102 IP6 fe80::1850:a5ae > orange.kame.net: ICMP6, redirect[|icmp6]
17:10:42.102119 IP6 orange.kame.net > macbook.lanka.local: ICMP6, echo reply, seq 15, length 64
17:10:42.930177 IP6 macbook.lanka.local > orange.kame.net: ICMP6, echo request, seq 16, length 64
17:10:43.105211 IP6 orange.kame.net > macbook.lanka.local: ICMP6, echo reply, seq 16, length 64
17:10:43.105234 IP6 fe80::1850:a5ae > orange.kame.net: ICMP6, redirect[|icmp6]
17:10:43.105250 IP6 orange.kame.net > macbook.lanka.local: ICMP6, echo reply, seq 16, length 64
^C
24 packets captured
24 packets received by filter
0 packets dropped by kernel

Offline

Board footer

Powered by FluxBB