Open main menu

OpenVZ Virtuozzo Containers Wiki β

Editing Man/arpsend.8

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 2: Line 2:
  
 
<p style="margin-left:11%; margin-top: 1em">arpsend &minus;
 
<p style="margin-left:11%; margin-top: 1em">arpsend &minus;
send ARP requests</p>
+
utility to send ARP requests.</p>
  
 
== SYNOPSIS ==
 
== SYNOPSIS ==
  
<table width="100%" border="0" rules="none" frame="void"
+
<p style="margin-left:11%; margin-top: 1em">arpsend &lt;
      cellspacing="0" cellpadding="0">
+
<b>-U -i&nbsp;</b><i>source_ip</i> |&nbsp;<b>-D
<tr valign="top" align="left">
+
-e&nbsp;</b><i>target_ip</i>
<td width="11%"></td>
+
[<b>-e&nbsp;</b><i>target_ip</i>]&nbsp;... &gt; [<b>-c</b>
<td width="11%">
+
<i>count</i>] [<b>-w</b> <i>timeout</i>]
 
+
<i>interface</i></p>
<p style="margin-top: 1em"><b>arpsend</b></p></td>
 
<td width="1%"></td>
 
<td width="77%">
 
 
 
<p style="margin-top: 1em"><b>-D
 
&minus;e&nbsp;</b><i>target_ip</i> [
 
<b>&minus;e&nbsp;</b><i>target_ip&nbsp;</i>...]
 
[<b>&minus;c&nbsp;</b><i>count</i>]
 
[<b>&minus;w&nbsp;</b><i>timeout</i>] <i>interface</i></p></td></tr>
 
<tr valign="top" align="left">
 
<td width="11%"></td>
 
<td width="11%">
 
 
 
<p style="margin-top: 1em"><b>arpsend</b></p></td>
 
<td width="1%"></td>
 
<td width="77%">
 
 
 
<p style="margin-top: 1em"><b>&minus;U
 
&minus;i&nbsp;</b><i>source_ip</i>
 
[<b>&minus;c&nbsp;</b><i>count</i>]
 
[<b>&minus;w&nbsp;</b><i>timeout</i>] <i>interface</i></p></td></tr>
 
</table>
 
  
 
== DESCRIPTION ==
 
== DESCRIPTION ==
Line 53: Line 31:
 
<td width="3%">
 
<td width="3%">
  
<p><b>&minus;D</b></p></td>
+
<p><b>-D</b></p></td>
 
<td width="8%"></td>
 
<td width="8%"></td>
 
<td width="78%">
 
<td width="78%">
Line 64: Line 42:
 
<td width="3%">
 
<td width="3%">
  
<p><b>&minus;U</b></p></td>
+
<p><b>-U</b></p></td>
 
<td width="8%"></td>
 
<td width="8%"></td>
 
<td width="78%">
 
<td width="78%">
Line 75: Line 53:
 
== OPTIONS ==
 
== OPTIONS ==
  
<p style="margin-left:11%; margin-top: 1em"><b>&minus;c&nbsp;count</b></p>
+
<p style="margin-left:11%; margin-top: 1em"><b>-c</b>
 +
<i>count</i></p>
  
 
<p style="margin-left:22%;">Number of packets to send.
 
<p style="margin-left:22%;">Number of packets to send.
 
Default is infinity.</p>
 
Default is infinity.</p>
  
<p style="margin-left:11%;"><b>&minus;w&nbsp;interval</b></p>
+
<p style="margin-left:11%;"><b>-w</b> <i>interval</i></p>
  
 
<p style="margin-left:22%;">Interval between packets, in
 
<p style="margin-left:22%;">Interval between packets, in
 
seconds. Default is 1 second.</p>
 
seconds. Default is 1 second.</p>
  
<p style="margin-left:11%;"><b>&minus;i&nbsp;source_ip_address</b></p>
+
<p style="margin-left:11%;"><b>-i</b>
 +
<i>source_ip_address</i></p>
  
 
<p style="margin-left:22%;">Set source IP address field in
 
<p style="margin-left:22%;">Set source IP address field in
 
ARP packet.</p>
 
ARP packet.</p>
  
<p style="margin-left:11%;"><b>&minus;e&nbsp;target_ip_address</b></p>
+
<p style="margin-left:11%;"><b>-e</b>
 +
<i>target_ip_address</i></p>
  
 
<p style="margin-left:22%;">Set target IP address field in
 
<p style="margin-left:22%;">Set target IP address field in
Line 97: Line 78:
 
call.</p>
 
call.</p>
  
== EXIT STATUS ==
+
== DIAGNOSTICS ==
  
 
<p style="margin-left:11%; margin-top: 1em"><b>arpsend</b>
 
<p style="margin-left:11%; margin-top: 1em"><b>arpsend</b>
Line 117: Line 98:
  
 
<p style="margin-left:11%; margin-top: 1em">To send request
 
<p style="margin-left:11%; margin-top: 1em">To send request
on interface <b>eth0</b> to detect any neighbour computers
+
on interface <i>eth0</i> to detect any neighbour computers
with IP <b>192.168.10.200</b>:</p>
+
with IP <i>192.168.10.200</i>: <tt><br>
 
+
arpsend -D -e 192.168.10.200 eth0</tt></p>
<pre style="margin-left:11%; margin-top: 1em">   arpsend -D -e 192.168.10.200 eth0</pre>
 
  
 
<p style="margin-left:11%; margin-top: 1em">To send request
 
<p style="margin-left:11%; margin-top: 1em">To send request
on interface <b>eth0</b> to update neighbours&rsquo; ARP
+
on interface <i>eth0</i> to update neighbours&rsquo; ARP
caches with IP <b>192.168.10.200</b>:</p>
+
caches with IP <i>192.168.10.200</i>: <tt><br>
 
+
arpsend -U -i 192.168.10.200 eth0</tt></p>
<pre style="margin-left:11%; margin-top: 1em">   arpsend -U -i 192.168.10.200 eth0</pre>
 
  
 
== NOTES ==
 
== NOTES ==
Line 133: Line 112:
 
use have to be arpable and not be loopback (i.e. <b>/sbin/ip
 
use have to be arpable and not be loopback (i.e. <b>/sbin/ip
 
link show</b> <i>interface</i> should show neither
 
link show</b> <i>interface</i> should show neither
<b>NOARP</b> nor <b>LOOPBACK</b> flags in interface
+
<b>NOARP</b> not <b>LOOPBACK</b> flags in interface
 
parameters).</p>
 
parameters).</p>
  

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)