1arpsend(8)                        Containers                        arpsend(8)
2
3
4

NAME

6       arpsend - send ARP requests
7

SYNOPSIS

9       arpsend -D -e target_ip [ -e target_ip ...]  [-c count] [-w timeout]
10               interface
11
12       arpsend -U -i source_ip [-c count] [-w timeout] interface
13

DESCRIPTION

15       Utility arpsend sends ARP packets on  device  interface  to  detect  or
16       update neighbours' ARP caches with a given IP.
17

COMMANDS

19       Run utility with one of the following commands:
20
21       -D     Send  broadcast ARP request to detect neighbours with target_ip.
22              You have to specify target_ip (-e option).
23
24       -U     Send broadcast ARP request to update neighbours' ARP caches with
25              source_ip. You have to specify source_ip (-i option).
26

OPTIONS

28       -c count
29              Number of packets to send. Default is infinity.
30
31       -w interval
32              Interval between packets, in seconds. Default is 1 second.
33
34       -i source_ip_address
35              Set source IP address field in ARP packet.
36
37       -e target_ip_address
38              Set  target  IP  address  field in ARP packet. Note that you can
39              specify -e option multiple times to detect many IP addresses  in
40              one utility call.
41

EXIT STATUS

43       arpsend  returns  0 upon successful execution. If something goes wrong,
44       it returns an appropriate error code.
45
46       1    EXC_USAGE
47              Usage error
48
49       2    EXC_SYSTEM
50              System error
51
52       3    EXC_RECV
53              ARP reply was received
54

EXAMPLES

56       To send request on interface eth0 to  detect  any  neighbour  computers
57       with IP 192.168.10.200:
58
59          arpsend -D -e 192.168.10.200 eth0
60
61       To send request on interface eth0 to update neighbours' ARP caches with
62       IP 192.168.10.200:
63
64          arpsend -U -i 192.168.10.200 eth0
65

NOTES

67       Interface you use  have  to  be  arpable  and  not  be  loopback  (i.e.
68       /sbin/ip  link  show  interface  should show neither NOARP nor LOOPBACK
69       flags in interface parameters).
70

SEE ALSO

72       vzctl(8).
73

LICENSE

75       Copyright (C) 2000-2011, Parallels, Inc. Licensed under GNU GPL.
76
77
78
79OpenVZ                            18 Mar 2012                       arpsend(8)
Impressum