From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,90fd1ae5a2edb263 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-10-31 02:15:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!server3.netnews.ja.net!jura.cc.ic.ac.uk!anahata.ma.ic.ac.uk!andy From: andy thomas Newsgroups: comp.unix.tru64 Subject: Re: Strange NFS problem - NOW FIXED! Date: Thu, 31 Oct 2002 10:07:45 +0000 Organization: Imperial College, London, UK Message-ID: References: Reply-To: andy.thomas@ic.ac.uk NNTP-Posting-Host: anahata.ma.ic.ac.uk Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: jura.cc.ic.ac.uk 1036058866 2589 155.198.192.57 (31 Oct 2002 10:07:46 GMT) X-Complaints-To: usenet@jura.cc.ic.ac.uk NNTP-Posting-Date: 31 Oct 2002 10:07:46 GMT X-X-Sender: andy@anahata.ma.ic.ac.uk In-Reply-To: Xref: archiver1.google.com comp.unix.tru64:9005 Yesterday I posted the message below but I've now found the problem and it's been fixed. I thought I'd describe the solution here in case others run into the same problem in the future. There appears to be a bug in the ifconfig that ships with DU 4.0D so that if an interface is configured with primary IP address, netmask and alias IP all on one line, what actually happens is that the IP addresses are configured correctly but the broadcast addresses for both are the same as the alias IP address. So if I use the netsetup script to set the tu0 interface up, it places the following line into /.etc/rc.config: IFCONFIG_0="155.198.192.7 netmask 255.255.255.0 alias 155.198.192.59" and at boot-up, the broadcast address is actually set to 155.198.192.59 instead of 155.198.192.255. This obviously affected correct operation of RPC UDP calls from other subnets (eg, 155.198.190.0/24) - Linux NFS uses UDP while DU and Solaris appear to use TCP for RPC - but I'm not too sure of the mechanisms involved or what exactly failed. Manually reconfiguring the correct broadcast addresses after boot time and running '/usr/sbin/rcinet restart' didn't fix the problem as far as the portmapper was concerned but removing the alias argument from the interface configuration in /etc/rc.config and rebooting got everything working again. A separate script in /sbin/rc3.d now runs towards the end of the boot process (after everything else has been set up and has stabilised) to assign the IP alias to the tu0 interface: /usr/sbin/ifconfig tu0 alias 155.198.192.59/24 Andy > We have an Alpha server running DU 4.0D which exports user's home > directories via NFS to various other Unix and Linux machines both on its > own subnet and on other subnets. This has worked well for years but > yesterday morning, in readiness for a network upgrade, RIP and proxy ARP > were turned off on the router feeding these subnets. We do not run gated > or routed and use a single static route so this should not have made any > difference. > > Now we have the odd situation of NFS working fine where the client is on > the same subnet, but Linux machines on other subnets can't see the nfsd > UDP service. Attempts to actuially mount the NFS volume casues the > client to hang. But Unix clients on other subnets (eg D Unix, Solaris) > have no problems mounting NFS volumes. > > Here's the output of rpcinfo from a Digital Unix machine on a different > subnet: > > rpcinfo -u geometry nfs 2 > program 100003 version 2 ready and waiting > > rpcinfo -t geometry nfs 2 > program 100003 version 2 ready and waiting > > but from any Linux box we get: > > rpcinfo -u geometry nfs 2 > rpcinfo: RPC: Timed out > program 100003 version 2 is not available > > rpcinfo -t geometry nfs 2 > program 100003 version 2 ready and waiting > > > It doesn't matter if we probe NFS version 3, we get the same result. And > other UDP services like NIS (this server is also a NIS master) check out > fine with both Unix & Linux: > > (from the Linux box on a remote subnet): > > rpcinfo -t geometry ypserv 2 > program 100004 version 2 ready and waiting > > Now, it can't be a Linux issue as several dozen SuSE, Red Hat and Debian > Linux systems can't all be misconfigured, and Linux clients mount fine on the > local subnet where the server is. And it all worked before. Also, these Linux > clients on remote subnets mount NFS exports from other DU servers on the same > subnet. > > So there's got to be something odd about this particular server. The only > thing different about this server compared with others on the same subnet > is that it has two IP addresses (one is an alias on the default tu0 > interface). > > Does anyone have any ideas? > > Thanks in advance, > > Andy > > # include