Subject: NFS and ifaliases
To: None <misc@openbsd.org>
From: Nino Margetic <nino@cng.fr>
List: port-pmax
Date: 12/11/2000 14:36:29
Hi,

Can someone tell me if this is normal, and if it is normal, why is it so.

Scenario:

NFS server has primary IP address and a number of IP aliases
NFS client has a single IP address

Case A: If the NFS client attempts to mount the exported filesystem from
the NFS server via the primary IP address of the NFS server everything
works as expected.

Case B:
if the NFS client attempts to mount the exported filesystem via an ALIASED
IP - the client hangs.

On the server one can see:

testip.cng.fr -> nfs.cng.fr   NFS C GETATTR3 FH=8FCD
margaux.cng.fr -> testip.cng.fr NFS R GETATTR3 OK
testip.cng.fr -> margaux.cng.fr ICMP Destination unreachable (Bad port)
testip.cng.fr -> nfs.cng.fr   NFS C GETATTR3 FH=8FCD (retransmit)
margaux.cng.fr -> testip.cng.fr NFS R GETATTR3 OK
testip.cng.fr -> margaux.cng.fr ICMP Destination unreachable (Bad port)
testip.cng.fr -> nfs.cng.fr   NFS C GETATTR3 FH=8FCD (retransmit)
margaux.cng.fr -> testip.cng.fr NFS R GETATTR3 OK
testip.cng.fr -> margaux.cng.fr ICMP Destination unreachable (Bad port)

where margaux.cng.fr is the primary IP address of the NFS server,
nfs.cng.fr is an IP alias of margaux and testip.cng.fr is the NFS client.

margaux is a Sun Solaris 7, testip is a OpenBSD/i386 2.8.

I can see the same problem on a different network where NFS server is
NetBSD/alpha 1.4.3 and NFS client is NetBSD 1.4.x and 1.5.

Linux or Solaris NFS clients do NOT have this problem.

Could this be a problem in the NFS client code on the xBSD platform???

--Nino