Hurricane Electric's IPv6 Tunnel Broker Forums

Advanced search  

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Author Topic: can't get tunnel to work with freebsd =[  (Read 5745 times)

snhmib

  • Newbie
  • *
  • Posts: 3
can't get tunnel to work with freebsd =[
« on: January 11, 2009, 06:22:14 AM »

Hello, i wanted to try out ipv6 so i signed up, but i'm having a few problems getting it to work!

I tried a few different servers, but i'm having the same trouble with each of them,
these are the tunnel info i got:
Server IPv4 address: 216.66.80.30
Server IPv6 address: 2001:0470:1f0a:137a::1/64
Client IPv4 address: 85.145.96.121
Client IPv6 address: 2001:0470:1f0a:137a::2/64

i'm behind a nat/router, i can try to put it in bridged mode later (when nobody else is home),
but that shouldn't make a difference right?

I followed the configuration steps and now it looks like this:
Code: [Select]
#ifconfig
nfe0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
        ether 60:50:40:30:20:10
        inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
        media: Ethernet autoselect (100baseTX <full-duplex,flag0,flag1>)
        status: active
nfe1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=19b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
        ether 88:aa:99:bb:dd:ee
        media: Ethernet autoselect (none)
        status: no carrier
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
gif0: flags=8050<POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1280
        tunnel inet 192.168.1.10 --> 216.66.80.30
        inet6 2001:470:1f0a:137a::2 --> 2001:470:1f0a:137a::1 prefixlen 128
Code: [Select]
#netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.1.1        UGS         0     3599   nfe0
127.0.0.1          127.0.0.1          UH          0     4168    lo0
192.168.1.0/24     link#1             UC          0        0   nfe0
192.168.1.1        00:19:4b:fc:27:18  UHLW        2       20   nfe0    136

Internet6:
Destination                       Gateway                       Flags      Netif Expire
default                           2001:470:1f0a:137a::1         UGS        gif0
::1                               ::1                           UHL         lo0
2001:470:1f0a:137a::1             link#4                        UHL        gif0
2001:470:1f0a:137a::2             link#4                        UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#3                        UHL         lo0
ff01:3::/32                       fe80::1%lo0                   UC          lo0
ff01:4::/32                       link#4                        UC         gif0
ff02::%lo0/32                     fe80::1%lo0                   UC          lo0
ff02::%gif0/32                    link#4                        UC         gif0

now i can ping6 myself (duh) but not the other end of the tunnel  :'(
tcpdump shows this:
Code: [Select]
15:20:47.848135 IP 192.168.1.10 > tserv6.fra1.ipv6.he.net: IP6 snhmib-1-pt.tunnel.tserv6.fra1.ipv6.he.net > snhmib-1.tunnel.tserv6.fra1.ipv6.he.net: ICMP6, neighbor solicitation[|icmp6]
15:20:47.848172 IP 192.168.1.10 > tserv6.fra1.ipv6.he.net: IP6 snhmib-1-pt.tunnel.tserv6.fra1.ipv6.he.net > snhmib-1.tunnel.tserv6.fra1.ipv6.he.net: ICMP6, echo request, seq 5, length 16
15:20:48.848150 IP 192.168.1.10 > tserv6.fra1.ipv6.he.net: IP6 snhmib-1-pt.tunnel.tserv6.fra1.ipv6.he.net > snhmib-1.tunnel.tserv6.fra1.ipv6.he.net: ICMP6, neighbor solicitation[|icmp6]
15:20:48.848225 IP 192.168.1.10 > tserv6.fra1.ipv6.he.net: IP6 snhmib-1-pt.tunnel.tserv6.fra1.ipv6.he.net > snhmib-1.tunnel.tserv6.fra1.ipv6.he.net: ICMP6, echo request, seq 6, length 16
15:20:49.848157 IP 192.168.1.10 > tserv6.fra1.ipv6.he.net: IP6 snhmib-1-pt.tunnel.tserv6.fra1.ipv6.he.net > snhmib-1.tunnel.tserv6.fra1.ipv6.he.net: ICMP6, neighbor solicitation[|icmp6]
15:20:49.848201 IP 192.168.1.10 > tserv6.fra1.ipv6.he.net: IP6 snhmib-1-pt.tunnel.tserv6.fra1.ipv6.he.net > snhmib-1.tunnel.tserv6.fra1.ipv6.he.net: ICMP6, echo request, seq 7, length 16
15:20:50.848190 IP 192.168.1.10 > tserv6.fra1.ipv6.he.net: IP6 snhmib-1-pt.tunnel.tserv6.fra1.ipv6.he.net > snhmib-1.tunnel.tserv6.fra1.ipv6.he.net: ICMP6, echo request, seq 8, length 16
15:20:51.848197 IP 192.168.1.10 > tserv6.fra1.ipv6.he.net: IP6 snhmib-1-pt.tunnel.tserv6.fra1.ipv6.he.net > snhmib-1.tunnel.tserv6.fra1.ipv6.he.net: ICMP6, echo request, seq 9, length 16

What could be wrong?
Logged

kriteknetworks

  • Sr. Member
  • ****
  • Posts: 260
    • aRDy Music
Re: can't get tunnel to work with freebsd =[
« Reply #1 on: January 11, 2009, 07:11:25 AM »

is your freebsd box' IP 85.145.96.121?
Logged

snhmib

  • Newbie
  • *
  • Posts: 3
Re: can't get tunnel to work with freebsd =[
« Reply #2 on: January 11, 2009, 07:22:37 AM »

it's the ip of the gateway (modemnat-thing)
Logged

piojan

  • Jr. Member
  • **
  • Posts: 85
Re: can't get tunnel to work with freebsd =[
« Reply #3 on: January 11, 2009, 08:09:19 AM »

is your gateway (192.168.1.1=85.145.96.121) permiting (redirecting/forwarding) protocol 41?

PJ
Logged

snhmib

  • Newbie
  • *
  • Posts: 3
Re: can't get tunnel to work with freebsd =[
« Reply #4 on: January 11, 2009, 09:28:59 PM »

i didn't think of that! It seems it isn't capable of doing that (it's an orange livebox?). at least the web interface show it's supposed to accept all protocols  :'(
i put it in bridge mode and everything works like a charm! i guess i'll give myself a nice replacement for it as a late christmas present, been meaning to do that for ages  ;D

thanks alot for the quick help btw!
Logged