Subject: Strange IPV6 problems with MVME167
To: None <tech-net@netbsd.org>
From: Nick Brok <nick@emse.nl>
List: tech-net
Date: 02/21/2003 06:44:35
Hi All,

I found that the MVME167 port of NetBSD has some problems with advertisements
in IPV6.
I verified it with other NetBSD platforms running the same NetBSD release (1.6).
The problem is as follows:

Getting an IPV6 address in autohost mode via rtsol generates a broadcast to
a router in the IPV6 network, the router answers to this sollicitation but the
MVME machine doesn't see anything. I and some friends thinks that IPV6
multicasts don't work correctly.
If I use a fixed IPV6 address I need to ping the IPV6 router once in an hour to
ensure that my machine is still in the IPV6 "arp" table.
If I don't ping I'll lose my IPV6 connectivity.....

Other (Sparc NetBSD 1.6) machines doesn't seem to have this strange problem.

This are some date of my system, taken from dmesg:
Motorola MVME-167: 33.0MHz MC68040 CPU+MMU+FPU, 4k+4k on-chip physical I/D
caches
total memory = 32768 KB
avail memory = 27492 KB
using 435 buffers containing 1740 KB of memory
mainbus0 (root)
// cutted some text
ie0 at pcctwo0 offset 0x4000 ipl 3 address 08:00:3e:23:86:5a, type onboard
osiop0 at pcctwo0 offset 0x5000 ipl 2: NCR53C710 rev 2, 66MHz, SCSI ID 7
scsibus0 at osiop0: 8 targets, 8 luns per target

We are thinking that the IPV6 problem is model specific... in the IE0 driver, we
couldn't find any clues... IPV4 multicasts works perfect... so I think it must
be in some IPV6 layers.
How is the experience on other M68K machines on IPV6?

We found that it's something with multicasts (IPV6 broadcasting, and arp)....
the machine sents a request but it doesn't recognize the answer from the other 
machines.

This is my IPV6 Setup:

/etc/ifconfig.ie0:

inet mvme68k netmask 0xffffff00
inet6 2001:610:1108:5011:a00:3eff:fe23:865a prefixlen 64 alias

(In /etc/defaults/rc.conf the IP6MODE variable is set to host)

When I try to get an IPV6 address via sollicitation I sent an IOCTL to put the
kernel in autohost mode. (I took it from the rc script.)

Some hints are welcome. ;-(

Greetings,

Nick Brok
--  
"Overhaast handelen heeft bijna nooit tot resultaten geleid." De Wijze uit
Amara's ervaringen: geheim van het observatorium.
Berliozlaan 1 NL5654 SM Eindhoven Nederland Email: nick@emse.nl
Tel: +31-40-2528917   Fax: +31-40-8441821