1836856 Members
2604 Online
110110 Solutions
New Discussion

Identifying lan

 
SOLVED
Go to solution
dictum9
Super Advisor

Identifying lan

How do I identify which lan is plugged to a specific port on the network card? Here is the output of lanscan and ioscan.


#:lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/1/2/0 0x001560048AA4 0 UP lan0 snap0 1 ETHER Yes 119
0/1/2/1 0x001560048AA5 1 UP lan1 snap1 2 ETHER Yes 119
0/2/1/0/6/0 0x0016353E10DD 2 UP lan2 snap2 3 ETHER Yes 119
0/4/2/0/6/0 0x0016353E10E5 3 UP lan3 snap3 4 ETHER Yes 119

#:ioscan -funC lan
Class I H/W Path Driver S/W State H/W Type Description
========================================================================
lan 0 0/1/2/0 iether CLAIMED INTERFACE HP AB352-60001 PCI/PCI-X 1000Base-T Dual-port Core
lan 1 0/1/2/1 iether CLAIMED INTERFACE HP AB352-60001 PCI/PCI-X 1000Base-T Dual-port Core
lan 2 0/2/1/0/6/0 igelan CLAIMED INTERFACE HP A9784-60002 PCI/PCI-X 1000Base-T FC/GigE Combo Adapter
lan 3 0/4/2/0/6/0 igelan CLAIMED INTERFACE HP A9784-60002 PCI/PCI-X 1000Base-T FC/GigE Combo Adapter
10 REPLIES 10
Mridul Shrivastava
Honored Contributor

Re: Identifying lan

There are three cards installed on the server. Need server model to know which slot refers to which card.
lan0 and lan1 would be in slot 0 and then lan 2 then lan3 this would be the sequence.
Lan 2 and lan3 is combo card so you may find some SCSI devices connected to it.
Time has a wonderful way of weeding out the trivial
Arunkumar.B
Trusted Contributor

Re: Identifying lan

Hi etc,

U can find by issuing the command

#lanadmin -x 1 (PPA number)

lan0 --- 0
lan1 --- 1
lan2 ----2
lan3 --- 3

it will show the speed if the cable is connected.otherwise it will say nolink

Cheers
Arunkumar.B
Necessity breaks iron
Arunvijai_4
Honored Contributor

Re: Identifying lan

Hi,

You can also get these information from "sam" and networking section.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
dictum9
Super Advisor

Re: Identifying lan

It's rx4640

What is the PPA number and where does it show up in the above output?
James R. Ferguson
Acclaimed Contributor

Re: Identifying lan

Hi:

The PPA number is part of 'lanscan's output.

Regards!

...JRF...
dictum9
Super Advisor

Re: Identifying lan


lanadmin -x doesn't really tell me anything, other than the link is up or down. It doesn't say what lan? this port is.

I am looking at a specific port and I cannot figure out if it's lan0, lan1, lan2 or lan3
Jeff_Traigle
Honored Contributor

Re: Identifying lan

Specifically, the PPA for lanadmin is the Card Instance # that is displayed in both ioscan and lanscan.
--
Jeff Traigle
Mridul Shrivastava
Honored Contributor
Solution

Re: Identifying lan

0/2/1 ---> PCI Slot 7 (7th From Left Slot)
0/4/2 ---> PCI Slot 4 (4th From Left Slot) - Shared with Slot 3
0/1/2/0 ---> PCI Slot 2 (2nd From Left Slot) - Core
0/1/2/1 ---> PCI Slot 2 (2nd From Left Slot) - Core
Time has a wonderful way of weeding out the trivial
Arunkumar.B
Trusted Contributor

Re: Identifying lan

Hi etc,

In Lanscan u will get the PPA

Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
1/0/8/1/0/6/0 0x001185EB732A 5 UP lan5 snap5 1 ETHER Yes 9
1/0/12/1/0/6/0 0x001185EB630C 7 UP lan7 snap7 2 ETHER Yes 9
1/0/3/1/0 0x001185AFD648 9 UP lan9 snap9 3 ETHER Yes 119

In ur server
0 - lan0
1 - lan1
2 - lan2
3 - lan3

Cheers
Arunkumar
Necessity breaks iron
Jeff_Traigle
Honored Contributor

Re: Identifying lan

You can use "netstat -in" to determine which IP addresses are configured on which interfaces.
--
Jeff Traigle