Subject: kern/11337: NFS and Aliased IP address problems.
To: None <firstname.lastname@example.org>
From: None <email@example.com>
Date: 10/29/2000 19:30:11
>Synopsis: NFS causes problems with aliased IP addresses
>Arrival-Date: Sun Oct 29 19:30:00 PST 2000
>Originator: Nigel Reed
>Release: NetBSD 1.5_ALPHA2 snapshot.
System: NetBSD c643704-b 1.5_ALPHA2 NetBSD 1.5_ALPHA2 (WIBBLE) #4: Sun Oct 29 18:41:37 CST 2000 nigel@c643704-b:/usr/src/sys/arch/i386/compile/WIBBLE i386
When the system is configured as an NFS server, it seems to cause problems
with IP addressed which are aliased to a network card.
The kernel is built with NFSSERVER defined, /etc/default/rc.conf is
configured with rpcbind, nfs_server, lockd and statd. Once rebooted
the system was unable to ping its own aliased IP address. I turned
off all the options and rebooted then ran each one manually. I was
then able to being the local and remote IP addresses. I mounted a
filesystem on a remote machine and started using it. After a while
rpc stopped responding. I was again unable to ping the IP addresses.
Killing the lockd and statd seemed to fix it, so I'm guessing there
is a bug in one of these. However I started getting a problem when
pinging a remote machine
ping 192.168.1.2 would give me
ping: sendto: no buffer space
If I did ifconfig down de0 then ifconfig up de0 then I was able to
ping as normal. I'm pretty much convinced either lockd or statd is
Configure the system as above with an alias IP address.