- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to find MAC address ?
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
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
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
09-05-2006 03:22 AM
09-05-2006 03:22 AM
lanadmin or lanscan? Or something else?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 03:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 03:26 AM
09-05-2006 03:26 AM
Re: How to find MAC address ?
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
10/0/12/0 0x001083CFA5E5 0 UP lan0 snap0 1 ETHER Yes 11
9
The MAC address (0x001083CFA5E5 in this case) is listed under Station Address.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 03:27 AM
09-05-2006 03:27 AM
Re: How to find MAC address ?
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 03:28 AM
09-05-2006 03:28 AM
Re: How to find MAC address ?
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/0/0 0x00306E271BD2 0 UP lan0 snap0 1 ETHER Yes 119
0/4/0/0/6/0 0x0010837B0D34 2 UP lan2 snap2 2 ETHER Yes 119
0/4/0/0/7/0 0x0010837B0D35 3 UP lan3 snap3 3 ETHER Yes 119
0/2/0/0 0x00306EEA45AE 1 UP lan1 snap1 4 ETHER Yes 119
In the above, the STATION ADDRESS is the MAC ADDRESS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 03:28 AM
09-05-2006 03:28 AM
Re: How to find MAC address ?
# lanscan
Hardware Station Crd Hdw Net-Interface
Path Address In# State NamePPA
10/0/12/0 0x001083CFA5E5 0 UP lan0 snap0
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 03:29 AM
09-05-2006 03:29 AM
Re: How to find MAC address ?
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1026058
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 03:29 AM
09-05-2006 03:29 AM
Re: How to find MAC address ?
Just do `arp -a`. This is the easiest one.
Cheers
DK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 03:30 AM
09-05-2006 03:30 AM
Re: How to find MAC address ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 03:32 AM
09-05-2006 03:32 AM
Re: How to find MAC address ?
lanadmin also can be used but you have to go through menu and select which one you want to see. Also lanadmin used to check / set lan speed to 100FD /HD etc..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 03:35 AM
09-05-2006 03:35 AM
Re: How to find MAC address ?
I mean first ping the with IP adress of the server which you would like to know. And then run `arp -a`.
For Ex.
1) Ping xxx.xxx.xxx.xxx
2) arp -a
Cheers
DK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 03:37 AM
09-05-2006 03:37 AM
Re: How to find MAC address ?
This will give you the MAC addess for all the interfaces.
#lanscan -ia
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 04:04 AM
09-05-2006 04:04 AM
Re: How to find MAC address ?
From SAM ---> Networking and communication, select interface, then actions, then modify and it will show you the current mac address.
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 04:11 AM
09-05-2006 04:11 AM
Re: How to find MAC address ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 04:14 AM
09-05-2006 04:14 AM
Re: How to find MAC address ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 04:28 AM
09-05-2006 04:28 AM
Re: How to find MAC address ?
Interesting. My first query would have been to do:
# man -k lan
...and noted commands like 'lanadmin(1M)' 'lan*conf(1M)' and 'lanscan'. From there I would scan the corresponding manpages...
:-))
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 04:30 AM
09-05-2006 04:30 AM
Re: How to find MAC address ?
Yesi Patrick you are right. I was in the impression that, to find the other server MAC address from the local server. :-)
Cheers
DK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 04:42 AM
09-05-2006 04:42 AM
Re: How to find MAC address ?
# ping 1.2.3.4
PING 1.2.3.4 (1.2.3.4): 56 data bytes
64 bytes from 1.2.3.4: icmp_seq=0 ttl=255 time=1 ms
# arp -a |grep 1.2.3.4
1.2.3.4 at 08-e8-18-ef-c2-c3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 05:38 AM
09-05-2006 05:38 AM
Re: How to find MAC address ?
I need the equivalent of the Solaris command "ifconfig -a" which as you are aware displays MAC addresses for all interfaces.
Therefore, for me, it's a 2 or 3 step process, first I need to determine which interface I should be looking at (and how do I do that??) and then determine its MAC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 05:52 AM
09-05-2006 05:52 AM
Re: How to find MAC address ?
With regard to you last question, if you use:
# netstat -i
...the first field is the name of the interface. This name can be used in a subsequent 'lanscan' query:
# netstat -i|grep "$(hostname)"|cut -d" " -f1
...note output, and:
# lanscan|grep
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 05:53 AM
09-05-2006 05:53 AM
Re: How to find MAC address ?
# X=`netstat -i|grep $(hostname)|cut -d" " -f1`
# lanscan|grep ${X}
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 07:29 AM
09-05-2006 07:29 AM
Re: How to find MAC address ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2006 07:43 AM
09-05-2006 07:43 AM
Re: How to find MAC address ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2006 09:50 PM
09-10-2006 09:50 PM