1819682 Members
3934 Online
109605 Solutions
New Discussion юеВ

ping mac address

 
Michal Suskiewicz_1
Occasional Contributor

ping mac address

Hi,
Does anybody know of command or tool for HPUX11 that can ping device using its MAC address?
Regards
Michal
4 REPLIES 4
Paula J Frazer-Campbell
Honored Contributor

Re: ping mac address

hi

See man arp.

It may help.


Paula
If you can spell SysAdmin then you is one - anon
Printaporn_1
Esteemed Contributor

Re: ping mac address

Hi,

Does you mean linkloop command ?
enjoy any little thing in my life
Ceesjan van Hattum
Esteemed Contributor

Re: ping mac address

Use lanscan to get the MAC-adresses of each network card.
Then use linkloop:

lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
13/0/0 0x0000BC13103F 0 UP lan0 snap0 1 ETHER Yes 52
13/0/1 0x0000BC131040 1 UP lan1 snap1 2 ETHER Yes 52
13/0/2 0x0000BC130FEC 2 UP lan2 snap2 3 ETHER Yes 52

linkloop 0x0000BC13103F
Link connectivity to LAN station: 0x0000BC13103F
-- OK

But beware: linkloop can only applied on the local host.
linkloop is DATALINK-layer of the OSI model. A 'ping' is NETWORK-layer.

Regards,
Ceesjan
Mark van Hassel
Respected Contributor

Re: ping mac address

Hi,

Linkloop checks whether two interfaces are on the same LAN.
linkloop -i [PPA] -v [MAC]
where MAC is the MAC address which can be off a remote node.

So this only works when the two interfaces are on the same subnet, when on a different subnet you'll get an error.

I dont think arp will work either.

The surest sign that life exists elsewhere in the universe is that none of it has tried to contact us