SUMMARY: Forcing NFS to use 2nd NIC

From: Tru64 User (tru64user@yahoo.com)
Date: Fri Jan 24 2003 - 09:12:49 EST


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 <tru64user@yahoo.com> 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



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:05 EDT