Subject: kern/11337: NFS and Aliased IP address problems.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <nigel@nelgin.nu>
List: netbsd-bugs
Date: 10/29/2000 19:30:11
>Number:         11337
>Category:       kern
>Synopsis:       NFS causes problems with aliased IP addresses
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 29 19:30:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Nigel Reed
>Release:        NetBSD 1.5_ALPHA2 snapshot.
>Organization:

>Environment:
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


>Description:
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
the culprit.
>How-To-Repeat:
Configure the system as above with an alias IP address.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: