Operating System - HP-UX
1827277 Members
1913 Online
109717 Solutions
New Discussion

pb with 4 NIC in station HP-UX 11

 
SOLVED
Go to solution
havard
Occasional Advisor

pb with 4 NIC in station HP-UX 11

Hi every readers forum!
We have a station with 4 NIC : the first one : lan0 is the embeded interface.
Lan1, lan2, lan3 are 3 NIC connected to a bus PCI.
We have some problems with lan1 lan2 and lan3. We can't "ping" their IP addresses from a another station. But we can "ping" them from our station.
we try lanadmin to see what problem we can have. We "reset" all NIC . But .... nothing .....
we try "lanscan" and "ifconfig" but nothing happen. No errors messages.
we try "linkloop" and have this message:
$ linkloop 0x.......
Link Connectivity to LAN station: 0x...........
error: get_msg2 getmsg failed, errno = 4
-- FAILED
frames sent : 1
frames received correctly : 0
reads that timed out : 1
$
"linkloop" give us this message for lan1, lan2, lan3 => NIC in the PCI bus.
"linkloop" is OK to lan0
We don't know what does it means.

Can you help us?

Thank,
Best Regards
5 REPLIES 5
melvyn burnard
Honored Contributor

Re: pb with 4 NIC in station HP-UX 11

How about some more info?
like output of:
lanscan
netstat -in
ifcong lan0 etc?

Also what OS?
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Bill McNAMARA_1
Honored Contributor

Re: pb with 4 NIC in station HP-UX 11

ioscan -fnkC lan

any cables connected?
netstat -nr

Later,
Bill
It works for me (tm)
Michael Steele_2
Honored Contributor

Re: pb with 4 NIC in station HP-UX 11

When linkloop fails there's usually a switch involved and the speed and duplex are conflicting. You'll need the MAC address of the switch port which should be seen in 'arp -a' or available from the network admin. Then start playing with the speed and duplex of both to see what works. Most of the time auto sense doesn't. Start at 100HD and work up.

lanadmin -X 100HD NMID/PPA

Then linkloop the port MAC on the switch.

linkloop xx:xx:xx:xx:xx:xx

This verifies the first two layers of the OSI model, ping doesn't come in until level 3 with ip addresses. Can't have an ip without a MAC.
Support Fatherhood - Stop Family Law
Ron Kinner
Honored Contributor
Solution

Re: pb with 4 NIC in station HP-UX 11

When you did your lanadmin did you change to the correct ppa for each LAN? Did lanadmin claim that each LAN was Up Up? Did you see packets going in and out? Did you see a lot of errors on the second page?

linkloop only works when the destination MAC is on the same LAN as the source and by default it uses lan0 as the source since it has no idea of where the destination MAC is located. You have to tell it which NIC to use with linkloop -i ppa MAC where ppa is probably 0-3. Did you do that?

Pinging an ip address located on the same PC as the ping usually does not even go out on the Ethernet so proves little. The PC realizes that it is pinging itself so it cheats and gives you an immediate reply.

One other problem I have seen with UNIX boxes with multiple LANs is that UNIX's idea of which NIC is which often differs from what you think it would be. It could be that what you think is LAN1 is actually LAN3 so that you have your wires crossed. A good way to be sure is to run lanadmin for the PPA of Lan1. You should see Up Up as the status. Unplug the cable you think goes to Lan1 and run lanadmin again for the same ppa. If it now says Up Down then you have the correct one. Otherwise you have the wrong one. Keep unplugging until you find the one which makes it go up down.

Ron
havard
Occasional Advisor

Re: pb with 4 NIC in station HP-UX 11

Thanks for your mail, they helped us.
our problem was : LAN 1 is actually LAN3 and we didn't connected the good NIC and NIC haven't good configuration. We saw the problem with lanadmin .

Thank for your help,

Best regards