Subject: Re: NetBSD NFS over UDP fragile?
To: Simon J. Gerraty <sjg@frodo.dn.itg.telecom.com.au>
From: Matt Ragan <matt@ibmoto.com>
List: current-users
Date: 09/14/1995 10:02:08
Simon J. Gerraty wrote:
>
>
>I have an NFS server with fddi and ethernet interfaces.
>At present [will be changed tonight], the hop count to this subnet is
>the same via le0 and nf0.  So occasionally the server updates his
>routing table to use the other interface....
>
>SunOS systems are not fussed at all, so I assume that when they send
>NFS requests to the ethernet address and get a reply from the fddi
>address they happily take it.
>
>The NetBSD (sparc-current 95-08-18) on the other hand does:
>
>12:49:38.32 144.136.188.252.11c > 144.136.48.60.801: 128 getattr [|nfs]
>12:49:38.32 144.136.188.165.801 > 144.136.188.252.11c: reply ok 96
>12:49:38.32 144.136.188.252 > 144.136.188.165: icmp: 144.136.188.252 udp port 1034 unreachable
>
>and of course it hangs...
>
>Anyone got a patch for this?  The router is being re-configured to add
>an extra hop to the ethernet interface, so that the fddi will be
>prefered, but it would be nice if NetBSD just coped with it.
>
>--sjg
>

I ran into the same problem last night trying to mount a machine that had
just had a 100Mbps Ethernet card installed in it.  The host's IP address
had been changed to the 100Mbps interface, with a secondary name added to
the 10Mbps, which happened to be on the same network that the NetBSD/sparc
box was on.  In all cases, the mount hangs when trying to mount the default
interface, but succeeds when mounting the other one (since the packets come
back from the server off that interface).  I had to get on the server and
add a default route for the NetBSD box out the interface it was mounting off
of to get the mount completed so that I could unmount it and remount it off
the other interface.

I'm running NetBSD 1.0A-950912, so unless it has been fixed in the past couple
of days, the problem is still there.  Has anyone done a send-pr on this one,
or should I put one in?

-- 
--------------------------------------------------------------------------
Matt Ragan  (matt@ibmoto.com)  Motorola/IBM Somerset PowerPC Design Center
Network Administrator          Systems/Network Engineering  (512) 795-7298
9737 Great Hills Trail         Austin, Tx  78759        FAX (512) 795-7519
--------------------------------------------------------------------------