Hurricane Electric's IPv6 Tunnel Broker Forums Specific Topics => Questions & Answers => Topic started by: gpant on January 24, 2010, 11:14:31 PM

Title: Problem in setting up the tunnel
Post by: gpant on January 24, 2010, 11:14:31 PM
Hi, I have setup my tunnel but I seem to have problems with it, I cant pass any traffic over it.

ip -6 route
fe80::/64 dev eth0  proto kernel  metric 256  mtu 1500 advmss 1440 hoplimit 4294967295
default dev he-ipv6  metric 1  mtu 1480 advmss 1420 hoplimit 4294967295

he-ipv6   Link encap:IPv6-in-IPv4
          inet6 addr: 2001:470:mpla:mpla::2/64 Scope:Global
          inet6 addr: fe80::4f6b:4005/128 Scope:Link
          UP POINTOPOINT RUNNING NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:577 dropped:0 overruns:0 carrier:577
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

I cant even ping the other end of the tunnel
ping6 2001:470:mpla:mpla::1
PING 2001:470:mpla:mpla::1(2001:470:mpla:mpla::1) 56 data bytes
From 2001:470:mpla:mpla::2 icmp_seq=1 Destination unreachable: Address unreachable

any help would be appreciated
Title: Re: Problem in setting up the tunnel
Post by: jimb on January 25, 2010, 01:58:41 AM
This isn't really enough information.  ifconfig -a and netstat -rn would help.  as would ip -6 addr and ip addr and ip tun.

The most common problem is people using their public IP on an IPv6 router behind a NAT.  If you're behind a NAT router, use the actual address of your router instead and let your NAT device NAT it.
Title: Re: Problem in setting up the tunnel
Post by: applemandesign on February 25, 2010, 08:42:11 AM
i too am having problems getting it to work :

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
   inet netmask 0xff000000
   inet6 ::1 prefixlen 128
   inet6 fdf1:9715:7571:7979:203:93ff:fed1:c38e prefixlen 128
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=1<UP> mtu 1280
   inet6 2002:6329:c3bf:1::1 prefixlen 16
   inet netmask 0xfffffc00 broadcast
   inet6 fe80::203:93ff:fed1:c38e%en0 prefixlen 64 scopeid 0x4
   ether 00:03:93:d1:c3:8e
   media: autoselect (100baseTX <full-duplex>) status: active
   supported media: none autoselect 10baseT/UTP <half-duplex> 10baseT/UTP <full-duplex> 10baseT/UTP <full-duplex,flow-control> 10baseT/UTP <full-duplex,hw-loopback> 100baseTX <half-duplex> 100baseTX <full-duplex> 100baseTX <full-duplex,flow-control> 100baseTX <full-duplex,hw-loopback> 1000baseT <full-duplex> 1000baseT <full-duplex,flow-control> 1000baseT <full-duplex,hw-loopback>
   ether 00:11:24:9d:4b:3e
   media: autoselect (<unknown type>) status: inactive
   supported media: autoselect
   lladdr 00:03:93:ff:fe:d1:c3:8e
   media: autoselect <full-duplex> status: inactive
   supported media: autoselect <full-duplex>
   ether 74:61:70:00:00:00

Routing tables

Destination        Gateway            Flags    Refs      Use  Netif Expire
default          UGSc        8      100    en0
99.41.192/22       link#4             UCS         5        0    en0        0:23:51:e3:53:79   UHLW        6        0    en0   1190          UHS         1     2816    lo0      ff:ff:ff:ff:ff:ff  UHLWb       2       10    en0
127                UCS         0        0    lo0          UH          3      984    lo0
169.254            link#4             UCS         0        0    en0

Destination                             Gateway                         Flags      Netif Expire
default                                 2002:c058:6301::                UGSc       stf0
::1                                     link#1                          UHL         lo0
2002::/16                               2002:6329:c3bf:1::1             Uc         stf0
2002:6329:c3bf:1::1                     link#3                          UHL         lo0
fdf1:9715:7571:7979:203:93ff:fed1:c38e  link#1                          UHL         lo0
fe80::%lo0/64                           fe80::1%lo0                     Uc          lo0
fe80::1%lo0                             link#1                          UHL         lo0
fe80::%en0/64                           link#4                          UC          en0
fe80::203:93ff:fed1:c38e%en0            0:3:93:d1:c3:8e                 UHL         lo0
ff01::/32                               ::1                             U           lo0
ff02::/32                               fe80::1%lo0                     UC          lo0
Title: Re: Problem in setting up the tunnel
Post by: cholzhauer on February 25, 2010, 11:08:58 AM
inet6 fdf1:9715:7571:7979:203:93ff:fed1:c38e prefixlen 128

where did you get that fdf1 address?

Your stf0 interface has a teredo address

Are you trying to use an HE tunnel?  I would disable teredo and fix your fdf1 address on lo0
Title: Re: Problem in setting up the tunnel
Post by: jimb on February 25, 2010, 12:45:06 PM
Looks like you're still running 6to4.  You need to set up the HE tunnel on your GIF interfaces.  Should work like *BSD since it's MacOS.
Title: Re: Problem in setting up the tunnel
Post by: cholzhauer on February 25, 2010, 12:56:53 PM
Oops, I meant 6to4, not teredo.

Thanks for the catch jimb