--arp-type (ICMP Type)
This option specifies which type of ARP messages should be
<type> can be supplied in
two different ways. You can use the
numbers assigned by IANA
--arp-type 1 for ARP Request), or you can use
one of the mnemonics from the section called “ARP Types”.
--arp-sender-mac (Sender MAC address)
This option sets the Sender Hardware Address field of the ARP header.
Although ARP supports many types of link layer addresses, currently
Nping only supports MAC addresses.
<mac> must be specified using the
traditional MAC notation (e.g.
00:0a:8a:32:f4:ae). You can also use
hyphens as separators (e.g.
--arp-sender-ip (Sender IP address)
This option sets the Sender IP field of the ARP header.
<addr> can be given as an IPv4 address or a
--arp-target-mac (target MAC address)
This option sets the Target Hardware Address field of the ARP header.
--arp-target-ip (target ip address)
This option sets the Target IP field of the ARP header.
These identifiers may be used as mnemonics for the ARP type numbers given
ARP Request (type 1). ARP requests are used to translate network
layer addresses (normally IP addresses) to link layer addresses
(usually MAC addresses). Basically, and ARP request is a
broadcasted message that asks the host in the same network
segment that has a given IP address to provide its MAC address.
ARP Reply (type 2). An ARP reply is a message that a host sends in
response to an ARP request to provide its link layer address.
RARP Requests (type 3). RARP requests are used to translate a
link layer address (normally a MAC address) to a network layer
address (usually an IP address). Basically a RARP request is a
broadcasted message sent by a host that wants to know his own IP
address because it doesn't have any. It was the first protocol
designed to solve the bootstrapping problem. However, RARP is now
obsolete and DHCP is used instead. For more information about
RARP Reply (type 4). A RARP reply is a message sent in response
to a RARP request to provide an IP address to the host that sent
the RARP request in the first place.
Dynamic RARP Request (type 5). Dynamic RARP is an extension to
RARP used to obtain or assign a network layer address from a
fixed link layer address. DRARP was used mainly in Sun
Microsystems platforms in the late 90's but now it's no longer
for more information.
Dynamic RARP Reply (type 6). A DRARP reply is a message sent in
response to a RARP request to provide network layer address.
DRARP Error (type 7). DRARP Error messages are usually sent in
response to DRARP requests to inform of some error. In DRARP
Error messages, the Target Protocol Address field is used to
carry an error code (usually in the first byte). The error code
is intended to tell why no target protocol address is being
returned. For more information see RFC 1931.
Inverse ARP Request (type 8). InARP requests are used to
translate a link layer address to a network layer address. It is
similar to RARP request but in this case, the sender of the InARP
request wants to know the network layer address of another node,
not its own address. InARP is mainly used in Frame Relay and ATM
networks. For more information see
Inverse ARP Reply (type 9). InARP reply messages are sent in
response to InARP requests to provide the network layer address
associated with the host that has a given link layer address.
ARP NAK (type 10). ARP NAK messages are an extension to the
ATMARP protocol and they are used to improve the robustness of
the ATMARP server mechanism. With ARP NAK, a client can determine
the difference between a catastrophic server failure and an
ATMARP table lookup failure. See
for more information.