Hurricane Electric's IPv6 Tunnel Broker Forums

Advanced search  

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Author Topic: Ubuntu 10.10 behind 2Wire 2700HG-D  (Read 3375 times)

Azendale

  • Newbie
  • *
  • Posts: 25
Ubuntu 10.10 behind 2Wire 2700HG-D
« on: November 05, 2010, 01:22:26 AM »

I'm trying to set up a /64 tunnel behind the NAT of a 2Wire 2700HG-D. I have tried using dmz which didn't help. I set up radvd and a static address on eth0 and that starts w/o complaint. I can ping the static address I assigned to eth0 (the radvd interface) and the tunnel endpoint address that ends in ::2. However, I cannot ping the other end of the tunnel or any outside ipv6 address.

I've also turned off the 2wire's firewalling for the Ubuntu computer, which made no difference.

/etc/network/interfaces:
Code: [Select]
auto lo
iface lo inet loopback

auto he-ipv6
iface he-ipv6 inet6 v4tunnel
     endpoint 216.218.226.238
     address  2001:470:a:30b::2
     netmask  64
     up ip -6 route add 2001:470:b:30b::/64 dev eth0
     up ip -6 route add 2000::/3 dev he-ipv6
     down ip -6 route flush dev he-ipv6
     down ip -6 route flush dev eth0


I also have the Nework  manager set up to get a static ip4 for eth0. The ipv6 settings for eth0 which I set in the network manager are
Address: 2001:470:b:30b::1
Prefix:64
Gateway:2001:470:b:30b::1
DNS servers: 2001:470:20:2

ifconfig:
Code: [Select]
eth0      Link encap:Ethernet  HWaddr 00:11:11:9e:58:57 
          inet addr:192.168.0.240  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::211:11ff:fe9e:5857/64 Scope:Link
          inet6 addr: 2001:470:b:30b::1/64 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:35644 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11029 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3868409 (3.8 MB)  TX bytes:6590506 (6.5 MB)

he-ipv6   Link encap:IPv6-in-IPv4 
          inet6 addr: fe80::c0a8:f0/64 Scope:Link
          inet6 addr: 2001:470:a:30b::2/64 Scope:Global
          UP POINTOPOINT RUNNING NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:1144 (1.1 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:9830 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9830 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7289951 (7.2 MB)  TX bytes:7289951 (7.2 MB)

Tunnel Details page
Code: [Select]
Global Tunnel ID: 80194 Local Tunnel ID: 779
Description:
Registration Date: Thu, Nov 4, 2010
IPv6 Tunnel Endpoints
Server IPv4 address: 216.218.226.238
Server IPv6 address: 2001:470:a:30b::1/64
Client IPv4 address: 174.25.114.197
Client IPv6 address: 2001:470:a:30b::2/64
Available DNS Resolvers
Anycasted IPv6 Caching Nameserver: 2001:470:20::2
Anycasted IPv4 Caching Nameserver: 74.82.42.42
Routed IPv6 Prefixes and rDNS Delegations
Routed /48: Allocate /48
Routed /64: 2001:470:b:30b::/64
RDNS Delegation NS1: none
RDNS Delegation NS2: none
RDNS Delegation NS3: none
RDNS Delegation NS4: none
RDNS Delegation NS5: none

ping6 2001:470:a:30b::1
Code: [Select]
PING 2001:470:a:30b::1(2001:470:a:30b::1) 56 data bytes
From 2001:470:a:30b::2 icmp_seq=2 Destination unreachable: Address unreachable
From 2001:470:a:30b::2 icmp_seq=3 Destination unreachable: Address unreachable
From 2001:470:a:30b::2 icmp_seq=4 Destination unreachable: Address unreachable
From 2001:470:a:30b::2 icmp_seq=5 Destination unreachable: Address unreachable
From 2001:470:a:30b::2 icmp_seq=6 Destination unreachable: Address unreachable
^C
--- 2001:470:a:30b::1 ping statistics ---
6 packets transmitted, 0 received, +5 errors, 100% packet loss, time 5038ms

ping6 2001:470:a:30b::2
Code: [Select]
PING 2001:470:a:30b::2(2001:470:a:30b::2) 56 data bytes
64 bytes from 2001:470:a:30b::2: icmp_seq=1 ttl=64 time=0.035 ms
64 bytes from 2001:470:a:30b::2: icmp_seq=2 ttl=64 time=0.038 ms
64 bytes from 2001:470:a:30b::2: icmp_seq=3 ttl=64 time=0.038 ms
64 bytes from 2001:470:a:30b::2: icmp_seq=4 ttl=64 time=0.040 ms
64 bytes from 2001:470:a:30b::2: icmp_seq=5 ttl=64 time=0.040 ms
64 bytes from 2001:470:a:30b::2: icmp_seq=6 ttl=64 time=0.041 ms
^C
--- 2001:470:a:30b::2 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 4996ms
rtt min/avg/max/mdev = 0.035/0.038/0.041/0.007 ms


ping6 2001:470:b:30b::1
Code: [Select]
PING 2001:470:b:30b::1(2001:470:b:30b::1) 56 data bytes
64 bytes from 2001:470:b:30b::1: icmp_seq=1 ttl=64 time=0.035 ms
64 bytes from 2001:470:b:30b::1: icmp_seq=2 ttl=64 time=0.039 ms
64 bytes from 2001:470:b:30b::1: icmp_seq=3 ttl=64 time=0.036 ms
64 bytes from 2001:470:b:30b::1: icmp_seq=4 ttl=64 time=0.039 ms
64 bytes from 2001:470:b:30b::1: icmp_seq=5 ttl=64 time=0.037 ms
64 bytes from 2001:470:b:30b::1: icmp_seq=6 ttl=64 time=0.039 ms
^C
--- 2001:470:b:30b::1 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 4996ms
rtt min/avg/max/mdev = 0.035/0.037/0.039/0.006 ms

If you need more information, let me know. Any help is greatly appreciated.
Thanks!
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2700
Re: Ubuntu 10.10 behind 2Wire 2700HG-D
« Reply #1 on: November 05, 2010, 07:09:28 AM »

Well, first off, it seems that you routing 2001::/3 out eth0 is a little redundant.  As long as your default route points where it needs to, that will take care of routing 2001::/3

Second, since you're behind a NAT, did you issue your commands with that in mind?  I assume you're running your tunnel on Ubuntu, so instead of using "174.25.114.197", you used "192.168.0.240"?
Logged