Operating System - HP-UX
1827283 Members
3639 Online
109717 Solutions
New Discussion

Re: why does hpux use card X instead of card Y for nfs?

 
SOLVED
Go to solution
Steve Post
Trusted Contributor

why does hpux use card X instead of card Y for nfs?

I have two computers with 2 lan cards
BoxA
lan1-hostA1
lan2-hostA2
BoxB
lan1-hostB1
lan2-hostB2

I have a filesytem on boxA called /dirA.
I want to nfs boxA:/dirA to boxB:/nfs_dirA.

I run from BoxB " mount -F nfs boxA:/dirA /nfs_dirA"
BoxA sees an NFS request from BoxB.

Question: 1. Why does BoxB use lan2 (hostB2) for the nfs mount?

PS: I know about subnets. Assume all 4 lan cards are on the same subnet and I'm not changing that. Not going there.

I had a earlier question on this. But my last question had too many pieces. It was not answering THIS part. So, here is ONE question.

I hope this makes it easier.
6 REPLIES 6
John Payne_2
Honored Contributor
Solution

Re: why does hpux use card X instead of card Y for nfs?

The way I understand having more than 1 lan card on the same subnet is that you take what you get...

Is it possible to go to boxA and edit /etc/hosts to say boxB lan2(hostB1) and force the nfs mount that way?

John
Spoon!!!!
Steve Post
Trusted Contributor

Re: why does hpux use card X instead of card Y for nfs?

now now now.....
This happened on the last question. It went off the deep end. I have one question. No side trips. No solutions. Just an answer to a question.

My question remains:
Why does BoxB use lan2 (hostB2) for the nfs mount?
Patrick Wallek
Honored Contributor

Re: why does hpux use card X instead of card Y for nfs?

Because you have both NICs on the same subnet. Since both NICs are on the same subnet the traffic will go out either one. As far as I know, with this setup, there isn't a way to force it to use one NIC over the other.
Steve Post
Trusted Contributor

Re: why does hpux use card X instead of card Y for nfs?

Thanks.
Steve
John Payne_2
Honored Contributor

Re: why does hpux use card X instead of card Y for nfs?

Steve, sorry about that. Just read:

"The way I understand having more than 1 lan card on the same subnet is that you take what you get..."

N/A for this.

John
Spoon!!!!
Tim Sanko
Trusted Contributor

Re: why does hpux use card X instead of card Y for nfs?

As a lazy guy, I place in the DNS an entry for BOZO

161.184.78.15 BOZO_78 BOZO
161.184.78.16 BOZO_78_16 BOZO

when I mount it for NFS I use the BOZO_78. I also export it to CLOWN_54 in the similar manner.