Discussion:
ping MAC address
(too old to reply)
Achim Stumpf
2008-09-25 12:10:08 UTC
Permalink
Hi,

I have looked around, and I have found on the net that once arping could ping mac addresses, but it turns out that it is not possible anymore with newer version of arping.

Does anyone know a tool which is able to ping a mac address?

arping:

# arping 00:0D:60:D4:4B:52
arping: unknown host 00:0D:60:D4:4B:52

I just want a tool to test if my host is able to contact another host via mac address, without the need of an ip. And yes, they are on the same subnet without a router.


Thanks,

Achim
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Ron Johnson
2008-09-25 13:10:11 UTC
Permalink
Post by Achim Stumpf
Hi,
I have looked around, and I have found on the net that once arping could
ping mac addresses, but it turns out that it is not possible anymore
with newer version of arping.
Does anyone know a tool which is able to ping a mac address?
# arping 00:0D:60:D4:4B:52
arping: unknown host 00:0D:60:D4:4B:52
Works for me on Sid.

# arping -h
ARPing 2.08, by Thomas Habets <***@habets.pp.se>
[snip]

# arping -R -c 5 00:1E:E5:7A:5E:07
00:1e:e5:7a:5e:07
00:1e:e5:7a:5e:07
00:1e:e5:7a:5e:07
00:1e:e5:7a:5e:07
00:1e:e5:7a:5e:07
--
Ron Johnson, Jr.
Jefferson LA USA

"Do not bite at the bait of pleasure till you know there is no
hook beneath it." -- Thomas Jefferson
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Achim Stumpf
2008-10-07 14:30:19 UTC
Permalink
Post by Ron Johnson
Post by Achim Stumpf
Hi,
I have looked around, and I have found on the net that once arping
could ping mac addresses, but it turns out that it is not possible
anymore with newer version of arping.
Does anyone know a tool which is able to ping a mac address?
# arping 00:0D:60:D4:4B:52
arping: unknown host 00:0D:60:D4:4B:52
Works for me on Sid.
# arping -h
[snip]
# arping -R -c 5 00:1E:E5:7A:5E:07
00:1e:e5:7a:5e:07
00:1e:e5:7a:5e:07
00:1e:e5:7a:5e:07
00:1e:e5:7a:5e:07
00:1e:e5:7a:5e:07
On etch this does not work. Does anyone know what's the story with arping on etch?

Options on etch:

# arping
Usage: arping [-fqbDUAV] [-c count] [-w timeout] [-I device] [-s source] destination
-f : quit on first reply
-q : be quiet
-b : keep broadcasting, don't go unicast
-D : duplicate address detection mode
-U : Unsolicited ARP mode, update your neighbours
-A : ARP answer mode, update your neighbours
-V : print version and exit
-c count : how many packets to send
-w timeout : how long to wait for a reply
-I device : which ethernet device to use (eth0)
-s source : source ip address
destination : ask for what ip address


The destination is supposed to be an ip...

Achim
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Gilles Mocellin
2008-10-07 17:30:15 UTC
Permalink
[...]
Post by Achim Stumpf
On etch this does not work. Does anyone know what's the story with arping on etch?
# arping
Usage: arping [-fqbDUAV] [-c count] [-w timeout] [-I device] [-s source]
destination -f : quit on first reply
[...]
Attention !
There is two different packages for arping : arping and iputils-arping.

I had problems with redhat-cluster-suite and IP Failover when I had the wrong
package here... It uses arping to inform the switchs of the IP failover.
Paulo Silva
2008-10-07 21:40:18 UTC
Permalink
Post by Gilles Mocellin
[...]
Post by Achim Stumpf
On etch this does not work. Does anyone know what's the story with arping on etch?
# arping
Usage: arping [-fqbDUAV] [-c count] [-w timeout] [-I device] [-s source]
destination -f : quit on first reply
[...]
Attention !
There is two different packages for arping : arping and iputils-arping.
I had problems with redhat-cluster-suite and IP Failover when I had the wrong
package here... It uses arping to inform the switchs of the IP failover.
Wikipedia[1] explains the difference between those 2. There is a arping
in Linux iproute2 package (debian package iputils-arping) that doesn't
handles MAC address and there is another implementation using libnet and
libpcap that does (debian package arping).

[1] http://en.wikipedia.org/wiki/Arping
--
Paulo Silva <***@gmail.com>
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Loading...