WmZilla - Webmaster and Marketplace

The Next Generation Webmaster and Trade Forum

What is Arping?

LinkAkward

New member

0

0%

Status

Offline

Posts

32

Likes

0

Rep

0

Bits

170

3

Months of Service

0%
What is Arping?
Arping is a computer software tool used to discover computers on a computer network. The program performs tests and allows us to gather additional information related to a given IP address if that address is in use on the local network.

Arping functions similarly to the ping tool, inspecting hosts using ICMP. It is a routable protocol that operates at the third layer of the OSI model. Arping works at the second layer (or OSI model's link layer) using ARP to investigate hosts. Since ARP is not routed, it only operates within the local network. However, in networks using proxy ARP, issues can arise where responders may come from proxy servers or unknown destinations.

There are two popular implementations of arping. One is part of the Linux iproute2 package and is unable to resolve IP addresses to MAC addresses. The other arping implementation, written by Thomas Habets, can perform ping operations using both MAC and IP addresses, as well as adding additional features.

Having both arping implementations on the system simultaneously can lead to conflicts.

Example using the iproute2 arping application:

ARPING 192.168.39.120 from 192.168.39.1 eth0
Unicast reply from 192.168.39.120 [00:01:80:38:F7:4C] 0.810ms
Unicast reply from 192.168.39.120 [00:01:80:38:F7:4C] 0.607ms
Unicast reply from 192.168.39.120 [00:01:80:38:F7:4C] 0.602ms
Unicast reply from 192.168.39.120 [00:01:80:38:F7:4C] 0.606ms
Sent 4 probes (1 broadcast(s))
Received 4 response(s)

Example using Thomas Habets' arping application:

ARPING 192.168.16.96
60 bytes from 00:04:5a:4b:b6:ec (192.168.16.96): index=0 time=292.000 usec
60 bytes from 00:04:5a:4b:b6:ec (192.168.16.96): index=1 time=310.000 usec
60 bytes from 00:04:5a:4b:b6:ec (192.168.16.96): index=2 time=256.000 usec

--- 192.168.16.96 statistics ---
3 packets transmitted, 3 packets received, 0% unanswered (0 extra)
 

249

6,622

6,642

Top