From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Tru64 User Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Forcing NFS to use 2nd NIC Date: Fri, 24 Jan 2003 06:12:49 -0800 (PST) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <20030124141249.43459.qmail@web40904.mail.yahoo.com> References: <20030123183930.31878.qmail@web40903.mail.yahoo.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1043417532 18999 80.91.224.249 (24 Jan 2003 14:12:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 24 Jan 2003 14:12:12 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18c4YN-0004t7-00 for ; Fri, 24 Jan 2003 15:11:31 +0100 Original-Received: (qmail 21628 invoked by uid 5); 24 Jan 2003 14:12:56 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 21619 invoked by uid 49493); 24 Jan 2003 14:12:56 -0000 Original-Received: from tru64user@yahoo.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-2.8/5.0):. Processed in 0.454816 secs); 24 Jan 2003 14:12:56 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 24 Jan 2003 14:12:55 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0H9800ISO25HY3@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 24 Jan 2003 09:12:54 -0500 (EST) Original-Received: from web40904.mail.yahoo.com (web40904.mail.yahoo.com [66.218.78.201]) by emroute3.ornl.gov (PMDF V6.2 #30669) with SMTP id <0H9800MAQ25DON@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Fri, 24 Jan 2003 09:12:50 -0500 (EST) Original-Received: from [128.183.106.140] by web40904.mail.yahoo.com via HTTP; Fri, 24 Jan 2003 06:12:49 -0800 (PST) In-reply-to: <20030123183930.31878.qmail@web40903.mail.yahoo.com> Original-To: tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:3063 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3063 Lots of ideas on this one, it seems Toni Harbaugh-Blackford nailed it......from his suggestion, I added a static route on BOX1 as such:: route add -host BOX2 our_gateway_adr -dev tu1 tu1 is BOX1_NIC2. So now all comm btwn box1&2 is nailed on NIC2, and NFS mounts are getting a better performance now! ******Toni's Suggestion************* Are both the interfaces on BOX1 on the same subnet? Is BOX2 on the same subnet with BOX1? [Yes] The only way to get around this is to set the routing so that all outgoing connections from BOX1 to BOX2 go through BOX1_nic2. The best way to do this (without affecting anything else) is with a static route. The arguments to the 'route' command depend on the ip addresses of the interfaces in question. *************************************** Many thanks to others who responded with different ideas to try, they are namely::James Sainsbury Copeland KCK, Rich jay nash Eubank, Chris O'Brien, Pat For others future references, I will include some troubleshooting steps suggested: We just disabled the embedded nic (tu0) on our as600s. eg ifconfig tu0 down ifconfig tu0 delete ifconfig tu1 alias old_tu0_ipaddress (made permanent by editing /etc/rc.config and /etc/inet.local.) I think your nvram params for nic card are not set to FastFD( you can check using: consvar -g ewa0_mode (for interface nic1) consvar -g ewb0_mode (for interface nic2) If not then try to set it to FastFD (full duplex 100mbps, as i think both nic cards are same but not set properly for 100mbps), you can set them at bootprompt: >> set ewa0_mode FastFD put both interfaces in both system hosts file with diffrerent names, and then mount the explicit interface you desire. _Thanks, Richard --- Tru64 User wrote: > Hi All, > > I confirmed that one NIC is running at 10speed, and > seems not capable of 100!! [ vmunix: tu0: DEC TULIP > (10Mbps) Ethernet Interface, DECchip 21040: > Revision: > 2.3]. This tru64 box(BOX1) has 2 NICS, other is > 100speed. > > I have to mount filesystems from another tru64box > (BOX2), but the nfs mounts have to go thru BOX1_nic2 > > What i tried:: On BOX2, I exported the file systems > to > only BOX1_nic2. > when i try to mount BOX2:/filesystem, i get:: > Can't access BOX2:/filesystem, permission denied. > > More Info::All NICS are on the same local LAN, so no > routing issues. > Conclusion:: Mount requests only go out thru the > primary interface, in this case, BOX1_nic1, which is > a > slow 10speed NIC!! > > Question:: How can this be overcomed? (I Read again > and again manpages of mountd, mount, nfs, nfsd, > portmap....to no avail) > > _Thanks in advance.... > > Richard > > ===== > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up > now. > http://mailplus.yahoo.com ===== __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com