- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to display mac address in HP-UX
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2006 04:35 PM
тАО05-09-2006 04:35 PM
Guys,
What command I should use in HP to find out the mac address of the adapter, I need to create an entry in the DNS for the HP machine and need the mac address in order to do that?
Thanks,
Raf
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2006 04:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2006 04:43 PM
тАО05-09-2006 04:43 PM
Re: How to display mac address in HP-UX
You can use # arp -a
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2006 04:45 PM
тАО05-09-2006 04:45 PM
Re: How to display mac address in HP-UX
is showing MAC address only,
# lanscan -v
gives a lot of information.
see
# man lanscan
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2006 04:47 PM
тАО05-09-2006 04:47 PM
Re: How to display mac address in HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2006 05:24 PM
тАО05-09-2006 05:24 PM
Re: How to display mac address in HP-UX
Guys,
arp -a didn't work, however lanscan worked but It listed the mac address in HEX as you said, now how do I convert HEX into normal so I can give it to network guys to put in DNS???
Thanks for the quick responses guys...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2006 05:31 PM
тАО05-09-2006 05:31 PM
Re: How to display mac address in HP-UX
arp $(hostname)
or
arp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2006 05:48 PM
тАО05-09-2006 05:48 PM
Re: How to display mac address in HP-UX
>arp -a didn't work, however lanscan worked but It listed the mac address in HEX as you said, now how do I convert HEX into normal so I can give it to network guys to put in DNS???
How about this ?
# lanscan |awk '{print $2}'|grep -v Station|grep -v Address
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2006 06:34 PM
тАО05-09-2006 06:34 PM
Re: How to display mac address in HP-UX
Hi Guys,
Thanks for the help, when i ran
'arp hostname' the command displayed the following
"hostname, ipaddress --no entry"
It didn't display the mac address..
# lanscan |awk '{print $2}'|grep -v Station|grep -v Address
The above command displayed the mac address in HEX again ie 0x00108303390F..
I have given the mac address in HEX to network guys to put in DNS...but it would be good know if i can resolve this to a normal mac address from HEX...Please let me know if there is any other way...I will assign points anyway because everyone helped.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2006 06:39 PM
тАО05-09-2006 06:39 PM
Re: How to display mac address in HP-UX
You will never find a MAC address that is not hex. The only difference you will see is upper-case versus lower case, and differences in the seperator(s)
00108303390F = 00.10.83.03.39.0f = 00:10:83:03:39:0F
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2006 06:41 PM
тАО05-09-2006 06:41 PM
Re: How to display mac address in HP-UX
Mac address is HEX all the way. Take a look at Wikipedia definition.
http://en.wikipedia.org/wiki/MAC_address
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2006 07:16 PM
тАО05-09-2006 07:16 PM
Re: How to display mac address in HP-UX
Thanks for your help guys, I was actually comparing that with AIX as in AIX its not in HEX....This problem has been resolved..
Thanks team........
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2006 09:29 PM
тАО05-10-2006 09:29 PM
Re: How to display mac address in HP-UX
mac - level (lower then ping),
you can do this
[root@oradb1:]/root<>>> lanscan -a
0x080009D790C2
0x080009D790C4
0x0060B0588A2A
[root@oradb1:]/root<>>> linkloop 0x080009D790C2
Link connectivity to LAN station: 0x080009D790C2
-- OK
[root@oradb1:]/root<>>>
[root@oradb1:]/root<>>> linkloop 0x080009D790C4
Link connectivity to LAN station: 0x080009D790C4
-- OK
[root@oradb1:]/root<>>>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2006 10:08 PM
тАО05-10-2006 10:08 PM
Re: How to display mac address in HP-UX
Every bit follows a definition, e.g. bit 45 to 24 is the Organisation Unique Identifier.
You can search on IEEE for it
http://standards.ieee.org/regauth/oui/index.shtml
example:
08-00-09 from MAC 0x080009D790C2 (see above)
gives you
08-00-09 (hex) HEWLETT PACKARD
080009 (base 16) HEWLETT PACKARD
ENTERPRISE SYSTEMS TECH.CENTER
11000 WOLFE ROAD
CUPERTINO CA 95014
UNITED STATES
IBM has 00-09-6B ;-))
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2006 04:03 PM
тАО05-11-2006 04:03 PM
Re: How to display mac address in HP-UX
#lanscan
tienna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2006 11:54 PM
тАО05-13-2006 11:54 PM
Re: How to display mac address in HP-UX
Thanks for the detailed info guys, I have learned something new. My problem has already been resolved..I will assign points
Cheers
Raf