Subject: ipv6 over ipv4 troubles
To: None <current-users@netbsd.org>
From: Nigel Reed <nigel@nelgin.nu>
List: current-users
Date: 02/06/2001 15:51:19
I sent this to the netbsd-help list but haven't had a response yet
so I'm going to try here. I forgot to mention I'm running i386/1.5.1_ALPHA
----- Forwarded message from Nigel Reed <nigel@nelgin.nu> -----
Greets all.
I'm trying to configure the ipv6 over ipv4 tunnel using addresses from
www.freenet6.net
Background, the kernel has gif and inet6 compiled into it.
bash-2.04# ifconfig gif0 24.10.20.37 206.123.31.102
This configures the IP address to the tunnel
bash-2.04# ifconfig gif0 inet6 3ffe:b00:c18:1fff:0:0:0:4dd \
3ffe:b00:c18:1fff:0:0:0:4dc prefixlen 128 alias
This confiures the ip address as an alias
bash-2.04# route add -inet6 default 3ffe:b00:c18:1fff:0:0:0:4dd
Adds a route.
netstat -rn
[snip]
default 3ffe:b00:c18:1fff::4dd UGS 0 2
- gif0
[snip]
3ffe:b00:c18:1fff::4dc 3ffe:b00:c18:1fff::4dd UH 0 0
1280 gif0
3ffe:b00:c18:1fff::4dd ::1 UH 1 0
33228 lo0
bash-2.04# ifconfig gif0
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
inet 24.10.20.37 -> 206.123.31.102 netmask 0xff000000
inet6 3ffe:b00:c18:1fff::4dd -> 3ffe:b00:c18:1fff::4dc prefixlen 128
Everything looks OK, however when I try to ping www.kame.net (which people
have suggested I try...)
bash-2.04# ping6 www.kame.net
PING6(56=40+8+8 bytes) 3ffe:b00:c18:1fff::4dd --> 3ffe:501:4819:2000:5054:ff:fed
c:50d2
ping6: sendmsg: Message too long
ping6: wrote www.kame.net 16 chars, ret=-1
ping6: sendmsg: Message too long
ping6: wrote www.kame.net 16 chars, ret=-1
^C
--- www.kame.net ping6 statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
Any ideas what I might be doing wrong here?
Regards
Nigel
--
----- End forwarded message -----