Operating System - HP-UX
1833864 Members
2067 Online
110063 Solutions
New Discussion

Re: knowing the Mac address

 
SOLVED
Go to solution
Hector Hernandez_1
New Member

knowing the Mac address

I want to know if is possible to view or identify the mac address of a client in hpux

for example when a pc is connect with telnet in my server hpux, i can see the ip address but i can not the mac address, if some person know about it, please let me know.
9 REPLIES 9
RAC_1
Honored Contributor
Solution

Re: knowing the Mac address

Check following

arp -a and look for the pc ip address. Along with that you will get mac address.

man arp for details.
There is no substitute to HARDWORK
Sundar_7
Honored Contributor

Re: knowing the Mac address

Hector,

If the client is in the same IP subnet as the server, then you can refer the arp cache.

# arp -a | grep

But not sure if you can find out the MAC address of the client from a different subnet.

- Sundar
Learn What to do ,How to do and more importantly When to do ?
Rick Garland
Honored Contributor

Re: knowing the Mac address

Can issue the 'lanscan' command. The command is in /usr/sbin/lanscan
doug mielke
Respected Contributor

Re: knowing the Mac address

also lanadmin, display will list it for each interface.
Sundar_7
Honored Contributor

Re: knowing the Mac address

Rick/Doug - I believe Hector is looking for the mac address of the CLIENTS, not the UX Server itself.
Learn What to do ,How to do and more importantly When to do ?
Rick Garland
Honored Contributor

Re: knowing the Mac address

OK, if looking for the client MAC, go with Sundar.

doug mielke
Respected Contributor

Re: knowing the Mac address

oops. If the client is on the local segment, then arp -a is the way. sorry.
Sanjay_6
Honored Contributor

Re: knowing the Mac address

Hi,

you can use the nettl command to monitor your network. this is like a sniffer. the only problem is that the log could be quite big and difficult to read.

Here is a link on how to enable and disable nettl for a short duration to check things out.

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000065257494

The itrc doc id is PU94120417254.

Hope this helps.

Regds
Hector Hernandez_1
New Member

Re: knowing the Mac address

Thanks all for your help