Subject: 6to4 tunneling problems
To: None <tech-net@netbsd.org>
From: Matthias Scheler <tron@zhadum.de>
List: tech-net
Date: 02/09/2003 01:46:21
Hello,
after the problem with tunnels over pppoe(4) should be fixed I'm playing
with stf(4) again. Here is my interface setup:
pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1460
inet 213.146.112.12 -> 195.62.99.234 netmask 0xff000000
inet6 fe80::2d0:b7ff:feb9:48d1%pppoe0 -> :: prefixlen 64 scopeid 0x10
stf0: flags=1<UP> mtu 1280
inet6 2002:d592:700c::1 prefixlen 16
Experiments showed that the next 6to4 relay router is "ipv6-lab-gw.cisco.com"
(128.107.240.254) so I tried to use it as default gateway like this:
route add -inet6 default 2002:806b:f0fe::
The routing table looks like this afterwards:
Routing tables
Internet6:
Destination Gateway Flags Refs Use Mtu Interface
:: localhost UGRS 0 0 33220 lo0 =>
:: localhost UGRS 0 0 33220 lo0 =>
default 2002:806b:f0fe:: UGS 0 2 1280 stf0
localhost localhost UH 12 25 33220 lo0
::127.0.0.0 localhost UGRS 0 0 33220 lo0
::224.0.0.0 localhost UGRS 0 0 33220 lo0
::255.0.0.0 localhost UGRS 0 0 33220 lo0
::ffff:0.0.0.0 localhost UGRS 0 0 33220 lo0
2002:: localhost UGRS 0 0 33220 lo0 =>
2002:: 2002:d592:700c::1 U 1 0 1280 stf0
2002:7f00:: localhost UGRS 0 0 33220 lo0
2002:d592:700c::1 localhost UH 0 0 33220 lo0
2002:e000:: localhost UGRS 0 0 33220 lo0
2002:ff00:: localhost UGRS 0 0 33220 lo0
fe80:: localhost UGRS 0 0 33220 lo0
fe80::%fxp0 link#1 UC 0 0 - fxp0
fe80::%fxp1 link#2 UC 0 0 - fxp1
fe80::%lo0 fe80::1%lo0 U 0 0 33220 lo0
fe80::%pppoe0 fe80::2d0:b7ff:feb UC 0 0 - pppoe0
fe80::2d0:b7ff:feb localhost UH 0 0 33220 lo0
fec0:: localhost UGRS 0 0 33220 lo0
ff01:: localhost U 0 0 33220 lo0
ff02::%fxp0 link#1 UC 0 0 - fxp0
ff02::%fxp1 link#2 UC 0 0 - fxp1
ff02::%lo0 fe80::1%lo0 UC 0 0 33220 lo0
ff02::%pppoe0 fe80::2d0:b7ff:feb UC 0 0 - pppoe0
But when I try to use the IPv6 connectivity it doesn't work:
ping6 ftp.netbsd.org
PING6(56=40+8+8 bytes) 2002:d592:700c::1 --> 2001:4f8:4:b:2e0:81ff:fe21:6563
^C
--- ftp.netbsd.org ping6 statistics ---
1 packets transmitted, 0 packets received, 100% packet loss
Here is the "tcpdump" output:
01:37:54.783820 PPPoE [ses 0x1ea4] 213.146.112.12 > 128.107.240.254: 2002:d592:700c::1 > 2001:4f8:4:b:2e0:81ff:fe21:6563: icmp6: echo request
01:37:55.026903 PPPoE [ses 0x1ea4] 128.107.240.254 > 213.146.112.12: 2001:4f8:4:b:2e0:81ff:fe21:6563 > 2002:d592:700c::1: icmp6: echo reply
It looks fine for me. Does anybody know what's going wrong here?
Kind regards
--
Matthias Scheler http://scheler.de/~matthias/