October 17, 2012

HP-UX: how to get MAC & network adapter association

Posted in HP-UX at 4:04 pm by alessiodini

In my new job, i’m playing a little bit with HP-UX. I want to learn much as possible about it! 😉
In these days i have a 10.20 version ( very old version) where i can test some basic command. Today i’m learning about network via SAM/lan* commands. My first question was: “How get the MAC address for every adapter? It’s possible to have ordererd info like & ” ?
Looking into lanscan man page i found two interesting options:

# lanscan -i -a
0x001083352E8C lan0

Done! Network interface lan0 has MAC address 00:10:83:35:2E:8C

cool 😉



  1. amedar said,

    I think you have observed some very interesting points , regards for the post.

    • alessiodini said,

      thank you :))

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: