Operating System - HP-UX
1834495 Members
2866 Online
110067 Solutions
New Discussion

Re: Determine core NIC address on PA-RISC server

 
Tom Wolf_3
Valued Contributor

Determine core NIC address on PA-RISC server

Hello all.
Does anyone know how to determine the MAC address of the core lan card on a PA-RISC HP-UX 11.11 server that's configured to use APA without rebooting the machine?

I know if you interrupt the boot process and select the Service Menu and then choose LanAddress this will display the core LAN station address but I'd like to do this without rebooting the server.

Is anyone aware of a way to get the same information on an HP-UX 11.11 server running Auto Port Aggregation (APA)?

Thanks in advance.
5 REPLIES 5
Michal Kapalka (mikap)
Honored Contributor

Re: Determine core NIC address on PA-RISC server

hi,

lanscan -qa you will get wich LAN interface is bind to wich agregation lan

lanadmin ==> lan ==> ppa ( change to your bindet lans ) ==> display ==> Station Address ( it should be the MAC adress of fysical lan card )

hope it helps

mikap

Andrew Rutter
Honored Contributor

Re: Determine core NIC address on PA-RISC server

hi,

its most likely lan0 as the initail PPA number so you could also just use lanadmin commands at command prompt

#lanadmin -a 0

will display station address(mac)

change 0 for whatever PPA you want to look at

Andy
Hakki Aydin Ucar
Honored Contributor

Re: Determine core NIC address on PA-RISC server

arp

check

man arp for details.
Alzhy
Honored Contributor

Re: Determine core NIC address on PA-RISC server

To find out what are the CORE Lan NICs on your system:

root# ioscan -kfnC lan|grep -i core
lan 0 0/0/0/1/0 igelan CLAIMED INTERFACE HP A7109-60001 PCI 1000Base-T Core
lan 8 1/0/0/1/0 igelan CLAIMED INTERFACE HP A7109-60001 PCI 1000Base-T Core

So lanPPA lan0 and lan8 are your Core LAN NICs.


And to find the MAC-Address (aka Station Address):

root# lanadmin -a 0
Station Address = 0x0017a476984b

root# lanadmin -a 8
Station Address = 0x0017a476983a


Hope this Helps.
Hakuna Matata.
Alzhy
Honored Contributor

Re: Determine core NIC address on PA-RISC server

Your question is somewhat unclear as it seems you also want to find out what interfaces constitute your APA interface.

So here it is:

root# netstat -ian
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan0 1500 180.234.56.0 180.234.56.48 13 0 13 0 0
lo0 4136 127.0.0.0 127.0.0.1 10824942 0 10824942 0 0
lan900 1500 180.234.133.0 180.234.133.43 2008000997 0 212565217 0 0

So you'll see your APA interface is lan900.

What LAn NICS make up that lan900 APA interface?

root# lanscan -q

0
3
5
6
900 1 2
901
902


And you'll see lan900 has lan1 and lan2 as its component NICs. Use lanadmin -a to find out the MAC Addersses.


Hope this helps again
Hakuna Matata.