1855688 Members
3451 Online
104103 Solutions
New Discussion

ID LAN cards

 
SOLVED
Go to solution

ID LAN cards

Hi, I have just started supporting two rp7410 with service guard and lan consoles. I have been tasked with moving the machine to a new location and wondered. How can id lan cards to lan addresses? I.E Is there anyway I can light up a LAN card to id the cable it is connected to or the LAN address it is configured to. My machine has 7 cards
Which does not kill you only makes you stronger
17 REPLIES 17
Jeff Schussele
Honored Contributor
Solution

Re: ID LAN cards

Hi Robert,

Use a combination of

lanscan
This gets you all the NICs including lanX ID & MACs & HW addresses

and

netstat -in

This will relate the lanX to the IP & only NICs with IPs will be in use. Then relate the HW address to the NIC to the IP.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!

Re: ID LAN cards

That is good news but how do ID the actual card on the back of the machine the hardware address?
Which does not kill you only makes you stronger
Jeff Schussele
Honored Contributor

Re: ID LAN cards

Cards starting from the far left looking at the back start with HW address 0/0..... towards the center. Starting from the far right towards center start with 1/0.... And go up from there as you approach the center. IF you have quad port cards then you'll see in the address 4,5,6 or 7 about six positions into the HW address & those correspond to ports 1,2,3 or 4 on the card itself.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Alzhy
Honored Contributor

Re: ID LAN cards

"ioscan -kfnC lan" will show you your lan cards with its HW/Addresses.

lanadmin will show you which lan instance maps to which IP address.


"rad -q" will show you which PCI Slot tha HW address of each lan card maps..

HTH.


Hakuna Matata.
Alzhy
Honored Contributor

Re: ID LAN cards

And robert I assume this boxen runs 11i? "rad -q" I think is only available on 11i systems...
Hakuna Matata.
Jeff Schussele
Honored Contributor

Re: ID LAN cards

Yep - I neglected rad -q didn't I Nelson?

Robert that's the ticket for determining slot. In a rad -q output the last two digits in the first column denote chassis-slot & that is labeled on the back.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Jeff Schussele
Honored Contributor

Re: ID LAN cards

Almost has to be 11i - HP ONLY supports 11i on cell-based systems, Nelson.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Alzhy
Honored Contributor

Re: ID LAN cards

Oh right I forgot... rp7410 is a 2 Cell system and it runs "officially" only 11i. Nice solid boxen - Sun V880/480 Killer IMHO .. hope this does not get censored- ;^)

This boxen is what convinced me HP has got more to offer than Sun as it demonstrates HP's complete Partitioning Continuum -- hard partitions, to vPars to processor sets. One can have theorethically up to 4+ vPars on this box... in additionto 2 hard partitions - nPars.

Hakuna Matata.

Re: ID LAN cards

I am running 11 not 11i, so cannot use rad -q. What can I do instead?
Which does not kill you only makes you stronger
Jeff Schussele
Honored Contributor

Re: ID LAN cards

Robert,

Attached is a rad -q from one of my rp7410s.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Alzhy
Honored Contributor

Re: ID LAN cards

There you go, just follow Jeff's rad -q output....

You might want upgrading to 11i.. you have here an "officially unupported" configuration..
Hakuna Matata.

Re: ID LAN cards

Sorry my machine is a N4000, really sorry guys just got toke over the server today
Which does not kill you only makes you stronger
Jeff Schussele
Honored Contributor

Re: ID LAN cards

OK - here's a rad -q from an N4000

Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Alzhy
Honored Contributor

Re: ID LAN cards

In that case here's rad -q on an N4000..
Hakuna Matata.

Re: ID LAN cards

rad -q does not work on 11 on a N4000?
Which does not kill you only makes you stronger
Alzhy
Honored Contributor

Re: ID LAN cards

I believe rad -q only works on 11i.
Hakuna Matata.

Re: ID LAN cards

Hi my machine is running under hpux 11
Which does not kill you only makes you stronger