Hurricane Electric's IPv6 Tunnel Broker Forums

Advanced search  

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Pages: [1] 2 3

Author Topic: Problem with tunnel  (Read 16436 times)

Greg33

  • Newbie
  • *
  • Posts: 15
Problem with tunnel
« on: October 26, 2009, 11:18:53 AM »

Hi
I have problem with my tunnel. I try configure it on my router
based on FreeBSD (FreeBSD router.lan 7.2-RELEASE FreeBSD 7.2-RELEASE
#0).

I can't ping any ipv6 hosts, even my PoPv6 gateway.

If I try ping my gw there is no answer

ping6 2001:470:1f0a:a08::1 (my pop6 endpoint)
tcpdump -ni vr0 host 216.66.80.30
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vr0, link-type EN10MB (Ethernet), capture size 96 bytes

19:08:06.570521 IP 83.143.43.59 > 216.66.80.30: IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, echo request, seq 0, length 16
19:08:07.571406 IP 83.143.43.59 > 216.66.80.30: IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, echo request, seq 1, length 16
19:08:08.570709 IP 83.143.43.59 > 216.66.80.30: IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, echo request, seq 2, length 16
19:08:09.571052 IP 83.143.43.59 > 216.66.80.30: IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, echo request, seq 3, length 16
19:08:10.570393 IP 83.143.43.59 > 216.66.80.30: IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, echo request, seq 4, length 16
19:08:11.570734 IP 83.143.43.59 > 216.66.80.30: IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, echo request, seq 5, length 16
19:08:11.571641 IP 83.143.43.59 > 216.66.80.30: IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, neighbor solicitation[|icmp6]
19:08:12.571085 IP 83.143.43.59 > 216.66.80.30: IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, echo request, seq 6, length 16
19:08:12.571937 IP 83.143.43.59 > 216.66.80.30: IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, neighbor solicitation[|icmp6]
19:08:13.572342 IP 83.143.43.59 > 216.66.80.30: IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, neighbor solicitation[|icmp6]

tcpdump -ni gif0
tcpdump: WARNING: gif0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on gif0, link-type NULL (BSD loopback), capture size 96 bytes

19:08:06.570414 IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, echo request, seq 0, length 16
19:08:07.571357 IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, echo request, seq 1, length 16
19:08:08.570666 IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, echo request, seq 2, length 16
19:08:09.571008 IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, echo request, seq 3, length 16
19:08:10.570349 IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, echo request, seq 4, length 16
19:08:11.570692 IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, echo request, seq 5, length 16
19:08:11.571612 IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, neighbor solicitation, who has 2001:470:1f0a:a08::1, length 24
19:08:12.571039 IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, echo request, seq 6, length 16
19:08:12.571916 IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, neighbor solicitation, who has 2001:470:1f0a:a08::1, length 24
19:08:13.572298 IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, neighbor solicitation, who has 2001:470:1f0a:a08::1, length 24
19:08:35.871088 IP6 fe80::20d:b9ff:fe19:233c > ff02::1: ICMP6, router advertisement, length 48

ping6 ipv6.google.com

tcpdump -ni vr0 host 216.66.80.30
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vr0, link-type EN10MB (Ethernet), capture size 96 bytes

19:09:34.103962 IP 83.143.43.59 > 216.66.80.30: IP6 2001:470:1f0a:a08::2 > 2001:4860:a005::68: ICMP6, echo request, seq 2, length 16
19:09:35.104305 IP 83.143.43.59 > 216.66.80.30: IP6 2001:470:1f0a:a08::2 > 2001:4860:a005::68: ICMP6, echo request, seq 3, length 16
19:09:36.103645 IP 83.143.43.59 > 216.66.80.30: IP6 2001:470:1f0a:a08::2 > 2001:4860:a005::68: ICMP6, echo request, seq 4, length 16
19:09:37.104945 IP 83.143.43.59 > 216.66.80.30: IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, neighbor solicitation[|icmp6]
19:09:38.105239 IP 83.143.43.59 > 216.66.80.30: IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, neighbor solicitation[|icmp6]
19:09:39.105582 IP 83.143.43.59 > 216.66.80.30: IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, neighbor solicitation[|icmp6]

tcpdump -ni gif0
tcpdump: WARNING: gif0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode

19:09:34.103921 IP6 2001:470:1f0a:a08::2 > 2001:4860:a005::68: ICMP6, echo request, seq 2, length 16
19:09:35.104263 IP6 2001:470:1f0a:a08::2 > 2001:4860:a005::68: ICMP6, echo request, seq 3, length 16
19:09:36.103604 IP6 2001:470:1f0a:a08::2 > 2001:4860:a005::68: ICMP6, echo request, seq 4, length 16
19:09:37.104900 IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, neighbor solicitation, who has 2001:470:1f0a:a08::1, length 24
19:09:38.105200 IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, neighbor solicitation, who has 2001:470:1f0a:a08::1, length 24
19:09:39.105542 IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, neighbor solicitation, who has 2001:470:1f0a:a08::1, length 24


I try ping my ipv6 address from
http://www.subnetonline.com/pages/ipv6-network-tools/online-ipv6-ping.php

and tcpdump show
tcpdump -ni vr0 host 216.66.80.30
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on vr0, link-type EN10MB (Ethernet), capture size 96 bytes

18:58:39.676697 IP 216.66.80.30 > 83.143.43.59: IP6 2001:1af8:4200:b000:20c:29ff:fe6b:49d2 > 2001:470:1f0a:a08::2: ICMP6, echo request, seq 0, length 40
18:58:39.676872 IP 83.143.43.59 > 216.66.80.30: IP6 2001:470:1f0a:a08::2 > 2001:1af8:4200:b000:20c:29ff:fe6b:49d2: ICMP6, echo reply, seq 0, length 40
18:58:40.673743 IP 216.66.80.30 > 83.143.43.59: IP6 2001:1af8:4200:b000:20c:29ff:fe6b:49d2 > 2001:470:1f0a:a08::2: ICMP6, echo request, seq 1, length 40
18:58:40.673933 IP 83.143.43.59 > 216.66.80.30: IP6 2001:470:1f0a:a08::2 > 2001:1af8:4200:b000:20c:29ff:fe6b:49d2: ICMP6, echo reply, seq 1, length 40
18:58:41.672109 IP 216.66.80.30 > 83.143.43.59: IP6 2001:1af8:4200:b000:20c:29ff:fe6b:49d2 > 2001:470:1f0a:a08::2: ICMP6, echo request, seq 2, length 40
18:58:41.672299 IP 83.143.43.59 > 216.66.80.30: IP6 2001:470:1f0a:a08::2 > 2001:1af8:4200:b000:20c:29ff:fe6b:49d2: ICMP6, echo reply, seq 2, length 40
18:58:42.674293 IP 216.66.80.30 > 83.143.43.59: IP6 2001:1af8:4200:b000:20c:29ff:fe6b:49d2 > 2001:470:1f0a:a08::2: ICMP6, echo request, seq 3, length 40
18:58:42.674483 IP 83.143.43.59 > 216.66.80.30: IP6 2001:470:1f0a:a08::2 > 2001:1af8:4200:b000:20c:29ff:fe6b:49d2: ICMP6, echo reply, seq 3, length 40
18:58:44.675464 IP 83.143.43.59 > 216.66.80.30: IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, neighbor solicitation[|icmp6]
18:58:45.675298 IP 83.143.43.59 > 216.66.80.30: IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, neighbor solicitation[|icmp6]
18:58:46.675150 IP 83.143.43.59 > 216.66.80.30: IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, neighbor solicitation[|icmp6]

tcpdump -ni gif0
tcpdump: WARNING: gif0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on gif0, link-type NULL (BSD loopback), capture size 96 bytes

18:58:39.676732 IP6 2001:1af8:4200:b000:20c:29ff:fe6b:49d2 > 2001:470:1f0a:a08::2: ICMP6, echo request, seq 0, length 40
18:58:39.676842 IP6 2001:470:1f0a:a08::2 > 2001:1af8:4200:b000:20c:29ff:fe6b:49d2: ICMP6, echo reply, seq 0, length 40
18:58:40.673785 IP6 2001:1af8:4200:b000:20c:29ff:fe6b:49d2 > 2001:470:1f0a:a08::2: ICMP6, echo request, seq 1, length 40
18:58:40.673895 IP6 2001:470:1f0a:a08::2 > 2001:1af8:4200:b000:20c:29ff:fe6b:49d2: ICMP6, echo reply, seq 1, length 40
18:58:41.672151 IP6 2001:1af8:4200:b000:20c:29ff:fe6b:49d2 > 2001:470:1f0a:a08::2: ICMP6, echo request, seq 2, length 40
18:58:41.672262 IP6 2001:470:1f0a:a08::2 > 2001:1af8:4200:b000:20c:29ff:fe6b:49d2: ICMP6, echo reply, seq 2, length 40
18:58:42.674334 IP6 2001:1af8:4200:b000:20c:29ff:fe6b:49d2 > 2001:470:1f0a:a08::2: ICMP6, echo request, seq 3, length 40
18:58:42.674446 IP6 2001:470:1f0a:a08::2 > 2001:1af8:4200:b000:20c:29ff:fe6b:49d2: ICMP6, echo reply, seq 3, length 40
18:58:44.675421 IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, neighbor solicitation, who has 2001:470:1f0a:a08::1, length 24
18:58:45.675260 IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, neighbor solicitation, who has 2001:470:1f0a:a08::1, length 24
18:58:46.675106 IP6 2001:470:1f0a:a08::2 > 2001:470:1f0a:a08::1: ICMP6, neighbor solicitation, who has 2001:470:1f0a:a08::1, length 24


but the ping tool show:

IPv6 Ping Output:

PING 2001:470:1f0a:a08::2(2001:470:1f0a:a08::2) 32 data bytes
--- 2001:470:1f0a:a08::2 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 2999ms


Does anyone know what is going on ? :)
I disable any filter rules on pf, vr0 is my external interface with external IP.

Best Regards
Greg

PS. config gif0 interface

ifconfig gif0
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1280
   tunnel inet 83.143.43.59 --> 216.66.80.30
   inet6 2001:470:1f0a:a08::2 --> 2001:470:1f0a:a08::1 prefixlen 128
   inet6 fe80::20d:b9ff:fe19:233c%gif0 prefixlen 64 scopeid 0x8
   inet6 2001:6a0:200:13d:20d:b9ff:fe19:233c prefixlen 64 autoconf

« Last Edit: October 26, 2009, 11:20:41 AM by Greg33 »
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2736
Re: Problem with tunnel
« Reply #1 on: October 26, 2009, 11:23:05 AM »

Can you post your routing table  ("netstat -nr") and the output of "ifconfig -a" ?
Logged

Greg33

  • Newbie
  • *
  • Posts: 15
Re: Problem with tunnel
« Reply #2 on: October 26, 2009, 11:27:06 AM »

of corse :)

Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default              83.143.43.1     UGS         0     4404    vr0
83.143.43.0/24   link#1             UC          0        0    vr0
83.143.43.1       00:1e:68:a9:d3:3f  UHLW        2        0    vr0   1199
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.1.0/24   link#2             UC          0        0    vr1
192.168.1.5       00:08:5d:11:36:45  UHLW        1      137    vr1   1027
192.168.2.0/24   link#3             UC          0        0    vr2
192.168.2.57      00:1e:ec:31:db:78  UHLW        1     6262    vr2    474
192.168.3.0/24   link#4             UC          0        0   ath0

Internet6:
Destination                       Gateway                       Flags      Netif Expire
::/96                             ::1                                 UGRS        lo0 =>
default                           2001:470:1f0a:a08::1       UGS        gif0
::1                                ::1                                 UHL         lo0
::ffff:0.0.0.0/96                 ::1                           UGRS        lo0
2001:470:1f0a:a08::1              link#8                        UHL        gif0
2001:470:1f0a:a08::2              link#8                        UHL         lo0
2001:6a0:200:13d::/64             link#8                        UC         gif0
2001:6a0:200:13d:20d:b9ff:fe19:233c link#8                        UHL         lo0
fe80::/10                         ::1                           UGRS        lo0
fe80::%vr0/64                     link#1                        UC          vr0
fe80::20d:b9ff:fe19:233c%vr0      00:0d:b9:19:23:3c             UHL         lo0
fe80::%vr1/64                     link#2                        UC          vr1
fe80::20d:b9ff:fe19:233d%vr1      00:0d:b9:19:23:3d             UHL         lo0
fe80::%vr2/64                     link#3                        UC          vr2
fe80::20d:b9ff:fe19:233e%vr2      00:0d:b9:19:23:3e             UHL         lo0
fe80::%ath0/64                    link#4                        UC         ath0
fe80::221:27ff:fecc:604f%ath0     00:21:27:cc:60:4f             UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#6                        UHL         lo0
fe80::%gif0/64                    link#8                        UC         gif0
fe80::20d:b9ff:fe19:233c%gif0     link#8                        UHL         lo0
ff01:1::/32                       link#1                        UC          vr0
ff01:2::/32                       link#2                        UC          vr1
ff01:3::/32                       link#3                        UC          vr2
ff01:4::/32                       link#4                        UC         ath0
ff01:6::/32                       ::1                           UC          lo0
ff01:8::/32                       link#8                        UC         gif0
ff02::/16                         ::1                           UGRS        lo0
ff02::%vr0/32                     link#1                        UC          vr0
ff02::%vr1/32                     link#2                        UC          vr1
ff02::%vr2/32                     link#3                        UC          vr2
ff02::%ath0/32                    link#4                        UC         ath0
ff02::%lo0/32                     ::1                           UC          lo0
ff02::%gif0/32                    link#8                        UC         gif0
Logged

Greg33

  • Newbie
  • *
  • Posts: 15
Re: Problem with tunnel
« Reply #3 on: October 26, 2009, 11:30:03 AM »

vr0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
   options=280b<RXCSUM,TXCSUM,VLAN_MTU,WOL_UCAST,WOL_MAGIC>
   ether 00:0d:b9:19:23:3c
   inet6 fe80::20d:b9ff:fe19:233c%vr0 prefixlen 64 scopeid 0x1
   inet 83.143.43.59 netmask 0xffffff00 broadcast 83.143.43.255
   media: Ethernet autoselect (100baseTX <full-duplex>)
   status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
   inet 127.0.0.1 netmask 0xff000000
pflog0: flags=141<UP,RUNNING,PROMISC> metric 0 mtu 33204
gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1280
   tunnel inet 83.143.43.59 --> 216.66.80.30
   inet6 2001:470:1f0a:a08::2 --> 2001:470:1f0a:a08::1 prefixlen 128
   inet6 fe80::20d:b9ff:fe19:233c%gif0 prefixlen 64 scopeid 0x8
   inet6 2001:6a0:200:13d:20d:b9ff:fe19:233c prefixlen 64 autoconf
« Last Edit: October 26, 2009, 01:25:39 PM by Greg33 »
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2736
Re: Problem with tunnel
« Reply #4 on: October 26, 2009, 11:31:38 AM »


What commands did you use to set up your tunnel?  (Those should be in /etc/inetd.conf)
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2736
Re: Problem with tunnel
« Reply #5 on: October 26, 2009, 11:34:04 AM »

Your tunnel interface seems to have a public IPv6 address assigned to it
Quote

gif0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1280
   tunnel inet 83.143.43.59 --> 216.66.80.30
   inet6 2001:470:1f0a:a08::2 --> 2001:470:1f0a:a08::1 prefixlen 128
   inet6 fe80::20d:b9ff:fe19:233c%gif0 prefixlen 64 scopeid 0x8
   inet6 2001:6a0:200:13d:20d:b9ff:fe19:233c prefixlen 64 autoconf

Did you assign that?

Are you using VR0 for your network access?  I don't see an IPv6 address on there.
Logged

Greg33

  • Newbie
  • *
  • Posts: 15
Re: Problem with tunnel
« Reply #6 on: October 26, 2009, 11:40:32 AM »

Did you assign that?

Yes, I use this command
/sbin/ifconfig gif0 create
/sbin/ifconfig gif0 tunnel 83.143.43.59 216.66.80.30
/sbin/ifconfig gif0 inet6 2001:470:1f0a:a08::2 2001:470:1f0a:a08::1 prefixlen 128
/sbin/route -n add -inet6 default 2001:470:1f0a:a08::1
/sbin/ifconfig gif0 up

Are you using VR0 for your network access?  I don't see an IPv6 address on there.
Yes
Logged

snarked

  • Hero Member
  • *****
  • Posts: 777
Re: Problem with tunnel
« Reply #7 on: October 26, 2009, 11:42:14 AM »

Quote
tcpdump: WARNING: gif0: no IPv4 address assigned
It's already telling you what's wrong.  Some setups need to assign the IPv4 endpoint address to the 6to4 interface (with a /32 or 255.255.255.255 mask).
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2736
Re: Problem with tunnel
« Reply #8 on: October 26, 2009, 11:46:02 AM »

Try putting these commands in /etc/rc.conf and rebooting.

Code: [Select]
ipv6_network_interfaces="rv0 gif1 lo0"
ipv6_gateway_enable="YES
ipv6_prefix_rv0="2001:470:1f0a:a08::3"
gif_interfaces="gif1"
gifconfig_gif1="83.143.43.59 216.66.80.30"
ipv6_ifconfig_gif1="2001:470:1f0a:a08::2/64"
ipv6_defaultrouter="-interface gif1"

If you have a /48, pick a /64 to use for the "ipv6_prefix_rv0=..."
Logged

Greg33

  • Newbie
  • *
  • Posts: 15
Re: Problem with tunnel
« Reply #9 on: October 26, 2009, 12:01:47 PM »

vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
   options=280b<RXCSUM,TXCSUM,VLAN_MTU,WOL_UCAST,WOL_MAGIC>
   ether 00:0d:b9:19:23:3c
   inet6 fe80::20d:b9ff:fe19:233c%vr0 prefixlen 64 scopeid 0x1
   inet 83.143.43.59 netmask 0xffffff00 broadcast 83.143.43.255
   inet6 2001:470:1f0a:a08::3 prefixlen 64 anycast
   media: Ethernet autoselect (100baseTX <full-duplex>)
   status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
   inet 127.0.0.1 netmask 0xff000000
pflog0: flags=141<UP,RUNNING,PROMISC> metric 0 mtu 33204
gif1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1280
   tunnel inet 83.143.43.59 --> 216.66.80.30
   inet6 fe80::20d:b9ff:fe19:233c%gif1 prefixlen 64 scopeid 0x8
   inet6 2001:470:1f0a:a08::2 prefixlen 64
gif0: flags=8011<UP,POINTOPOINT,MULTICAST> metric 0 mtu 1280
   inet6 2001:470:1f0a:a08::2 --> 2001:470:1f0a:a08::1 prefixlen 128
   inet6 fe80::20d:b9ff:fe19:233c%gif0 prefixlen 64 scopeid 0x9


Internet6:
Destination                       Gateway                       Flags      Netif Expire
::/96                             ::1                           UGRS        lo0 =>
default                           gif1                          ULS        gif1
::1                               ::1                           UHL         lo0
::ffff:0.0.0.0/96                 ::1                           UGRS        lo0
2001:470:1f0a:a08::/64            link#1                        UC          vr0
2001:470:1f0a:a08::1              link#9                        UHL        gif0
2001:470:1f0a:a08::2              link#8                        UHL         lo0
2001:470:1f0a:a08::3              00:0d:b9:19:23:3c             UHL         lo0
fe80::/10                         ::1                           UGRS        lo0
fe80::%vr0/64                     link#1                        UC          vr0
fe80::20d:b9ff:fe19:233c%vr0      00:0d:b9:19:23:3c             UHL         lo0
fe80::%vr1/64                     link#2                        UC          vr1
fe80::20d:b9ff:fe19:233d%vr1      00:0d:b9:19:23:3d             UHL         lo0
fe80::%vr2/64                     link#3                        UC          vr2
fe80::20d:b9ff:fe19:233e%vr2      00:0d:b9:19:23:3e             UHL         lo0
fe80::%ath0/64                    link#4                        UC         ath0
fe80::221:27ff:fecc:604f%ath0     00:21:27:cc:60:4f             UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#6                        UHL         lo0
fe80::%gif1/64                    link#8                        UC         gif1
fe80::20d:b9ff:fe19:233c%gif1     link#8                        UHL         lo0
fe80::%gif0/64                    link#9                        UC         gif0
fe80::20d:b9ff:fe19:233c%gif0     link#9                        UHL         lo0
ff01:1::/32                       link#1                        UC          vr0
ff01:2::/32                       link#2                        UC          vr1
ff01:3::/32                       link#3                        UC          vr2
ff01:4::/32                       link#4                        UC         ath0
ff01:6::/32                       ::1                           UC          lo0
ff01:8::/32                       link#8                        UC         gif1
ff01:9::/32                       link#8                        UC         gif1
ff02::/16                         ::1                           UGRS        lo0
ff02::%vr0/32                     link#1                        UC          vr0
ff02::%vr1/32                     link#2                        UC          vr1
ff02::%vr2/32                     link#3                        UC          vr2
ff02::%ath0/32                    link#4                        UC         ath0
ff02::%lo0/32                     ::1                           UC          lo0
ff02::%gif1/32                    link#8                        UC         gif1
ff02::%gif0/32                    link#8                        UC         gif1

ping6 2001:470:1f0a:a08::1
PING6(56=40+8+8 bytes) 2001:470:1f0a:a08::2 --> 2001:470:1f0a:a08::1
ping6: sendmsg: Network is down
ping6: wrote 2001:470:1f0a:a08::1 16 chars, ret=-1
ping6: sendmsg: Network is down
ping6: wrote 2001:470:1f0a:a08::1 16 chars, ret=-1
ping6: sendmsg: Network is down
ping6: wrote 2001:470:1f0a:a08::1 16 chars, ret=-1
^C
--- 2001:470:1f0a:a08::1 ping6 statistics ---
3 packets transmitted, 0 packets received, 100.0% packet loss

« Last Edit: October 26, 2009, 01:26:02 PM by Greg33 »
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2736
Re: Problem with tunnel
« Reply #10 on: October 26, 2009, 12:05:06 PM »

You'll need to remove gif0
Logged

Greg33

  • Newbie
  • *
  • Posts: 15
Re: Problem with tunnel
« Reply #11 on: October 26, 2009, 12:14:20 PM »

gif1: flags=8151<UP,POINTOPOINT,RUNNING,PROMISC,MULTICAST> metric 0 mtu 1280
   tunnel inet 83.143.43.59 --> 216.66.80.30
   inet6 fe80::20d:b9ff:fe19:233c%gif1 prefixlen 64 scopeid 0x8
   inet6 2001:470:1f0a:a08::2 prefixlen 64


unfortunately, still the same :( as the first post
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2736
Re: Problem with tunnel
« Reply #12 on: October 26, 2009, 12:25:58 PM »

Can you repost the routing table
Logged

Greg33

  • Newbie
  • *
  • Posts: 15
Re: Problem with tunnel
« Reply #13 on: October 26, 2009, 12:33:03 PM »

Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            83.143.43.1        UGS         0      194    vr0
83.143.43.0/24     link#1             UC          0        0    vr0
83.143.43.1        00:1e:68:a9:d3:3f  UHLW        2        0    vr0   1198
127.0.0.1          127.0.0.1          UH          0        0    lo0
192.168.1.0/24     link#2             UC          0        0    vr1
192.168.2.0/24     link#3             UC          0        0    vr2
192.168.2.57       00:1e:ec:31:db:78  UHLW        1      277    vr2   1160
192.168.3.0/24     link#4             UC          0        0   ath0

Internet6:
Destination                       Gateway                       Flags      Netif Expire
::/96                             ::1                           UGRS        lo0 =>
default                           gif1                          ULS        gif1
::1                               ::1                           UHL         lo0
::ffff:0.0.0.0/96                 ::1                           UGRS        lo0
2001:470:1f0a:a08::/64            link#1                        UC          vr0
2001:470:1f0a:a08::2              link#8                        UHL         lo0
2001:470:1f0a:a08::3              00:0d:b9:19:23:3c             UHL         lo0
fe80::/10                         ::1                           UGRS        lo0
fe80::%vr0/64                     link#1                        UC          vr0
fe80::20d:b9ff:fe19:233c%vr0      00:0d:b9:19:23:3c             UHL         lo0
fe80::%vr1/64                     link#2                        UC          vr1
fe80::20d:b9ff:fe19:233d%vr1      00:0d:b9:19:23:3d             UHL         lo0
fe80::%vr2/64                     link#3                        UC          vr2
fe80::20d:b9ff:fe19:233e%vr2      00:0d:b9:19:23:3e             UHL         lo0
fe80::%ath0/64                    link#4                        UC         ath0
fe80::221:27ff:fecc:604f%ath0     00:21:27:cc:60:4f             UHL         lo0
fe80::%lo0/64                     fe80::1%lo0                   U           lo0
fe80::1%lo0                       link#6                        UHL         lo0
fe80::%gif1/64                    link#8                        UC         gif1
fe80::20d:b9ff:fe19:233c%gif1     link#8                        UHL         lo0
ff01:1::/32                       link#1                        UC          vr0
ff01:2::/32                       link#2                        UC          vr1
ff01:3::/32                       link#3                        UC          vr2
ff01:4::/32                       link#4                        UC         ath0
ff01:6::/32                       ::1                           UC          lo0
ff01:8::/32                       link#8                        UC         gif1
ff02::/16                         ::1                           UGRS        lo0
ff02::%vr0/32                     link#1                        UC          vr0
ff02::%vr1/32                     link#2                        UC          vr1
ff02::%vr2/32                     link#3                        UC          vr2
ff02::%ath0/32                    link#4                        UC         ath0
ff02::%lo0/32                     ::1                           UC          lo0
ff02::%gif1/32                    link#8                        UC         gif1


vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
   options=280b<RXCSUM,TXCSUM,VLAN_MTU,WOL_UCAST,WOL_MAGIC>
   ether 00:0d:b9:19:23:3c
   inet6 fe80::20d:b9ff:fe19:233c%vr0 prefixlen 64 scopeid 0x1
   inet 83.143.43.59 netmask 0xffffff00 broadcast 83.143.43.255
   inet6 2001:470:1f0a:a08::3 prefixlen 64 anycast
   media: Ethernet autoselect (100baseTX <full-duplex>)
   status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x6
   inet 127.0.0.1 netmask 0xff000000
pflog0: flags=141<UP,RUNNING,PROMISC> metric 0 mtu 33204
gif1: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1280
   tunnel inet 83.143.43.59 --> 216.66.80.30
   inet6 fe80::20d:b9ff:fe19:233c%gif1 prefixlen 64 scopeid 0x8
   inet6 2001:470:1f0a:a08::2 prefixlen 64

« Last Edit: October 26, 2009, 01:26:30 PM by Greg33 »
Logged

cholzhauer

  • Hero Member
  • *****
  • Posts: 2736
Re: Problem with tunnel
« Reply #14 on: October 26, 2009, 12:38:44 PM »

You're routing traffic destined for the tunnel out your local interface instead of the tunnel

Quote
2001:470:1f0a:a08::/64            link#1                        UC          vr0

It should be routed out gif1
Logged
Pages: [1] 2 3