• Welcome to Hurricane Electric's IPv6 Tunnel Broker Forums.

Problem in setting up the tunnel

Started by gpant, January 24, 2010, 11:14:31 PM

Previous topic - Next topic

gpant

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

tunnel
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

jimb

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.

applemandesign

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 127.0.0.1 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
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
   inet 99.41.195.191 netmask 0xfffffc00 broadcast 99.41.195.255
   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>
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
   ether 00:11:24:9d:4b:3e
   media: autoselect (<unknown type>) status: inactive
   supported media: autoselect
fw0: flags=8822<BROADCAST,SMART,SIMPLEX,MULTICAST> mtu 4078
   lladdr 00:03:93:ff:fe:d1:c3:8e
   media: autoselect <full-duplex> status: inactive
   supported media: autoselect <full-duplex>
tap0: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
   ether 74:61:70:00:00:00
   closed
tun0: flags=8850<POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1500
   closed

Routing tables

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

Internet6:
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

cholzhauer

Quote
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

jimb

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.

cholzhauer

Oops, I meant 6to4, not teredo.

Thanks for the catch jimb