Subject: ipv6 over ipv4 troubles
To: None <>
From: Nigel Reed <>
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 <> -----

Greets all.

I'm trying to configure the ipv6 over ipv4 tunnel using addresses from

Background, the kernel has gif and inet6 compiled into it.

bash-2.04# ifconfig gif0
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
default                       3ffe:b00:c18:1fff::4dd    UGS         0        2
    -  gif0
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 -> netmask 0xff000000
        inet6 3ffe:b00:c18:1fff::4dd -> 3ffe:b00:c18:1fff::4dc prefixlen 128

Everything looks OK, however when I try to ping (which people
have suggested I try...)

bash-2.04# ping6
PING6(56=40+8+8 bytes) 3ffe:b00:c18:1fff::4dd --> 3ffe:501:4819:2000:5054:ff:fed
ping6: sendmsg: Message too long
ping6: wrote 16 chars, ret=-1
ping6: sendmsg: Message too long
ping6: wrote 16 chars, ret=-1
--- ping6 statistics ---
2 packets transmitted, 0 packets received, 100% packet loss

Any ideas what I might be doing wrong here?



----- End forwarded message -----