148 lines
4.1 KiB
Groff
148 lines
4.1 KiB
Groff
.\" Copyright (c) 1985, 1991, 1993
|
|
.\" The Regents of the University of California. All rights reserved.
|
|
.\"
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
.\" modification, are permitted provided that the following conditions
|
|
.\" are met:
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
.\" 3. All advertising materials mentioning features or use of this software
|
|
.\" must display the following acknowledgement:
|
|
.\" This product includes software developed by the University of
|
|
.\" California, Berkeley and its contributors.
|
|
.\" 4. Neither the name of the University nor the names of its contributors
|
|
.\" may be used to endorse or promote products derived from this software
|
|
.\" without specific prior written permission.
|
|
.\"
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
.\" SUCH DAMAGE.
|
|
.\"
|
|
.\" @(#)arp.8 8.1 (Berkeley) 6/6/93
|
|
.\" jpman %Id: arp.8,v 1.3 1997/07/22 16:36:26 horikawa Stab %
|
|
.\"
|
|
.Dd June 6, 1993
|
|
.Dt ARP 8
|
|
.Os BSD 4.3
|
|
.Sh ̾¾Î
|
|
.Nm arp
|
|
.Nd ¥¢¥É¥ì¥¹²ò·è¤Îɽ¼¨¤ÈÀ©¸æ
|
|
.Sh ½ñ¼°
|
|
.Nm arp
|
|
.Op Fl n
|
|
.Ar hostname
|
|
.Nm arp
|
|
.Op Fl n
|
|
.Fl a
|
|
.Nm arp
|
|
.Fl d Ar hostname
|
|
.Op Ar proxy
|
|
.Nm arp
|
|
.Fl d
|
|
.Fl a
|
|
.Nm arp
|
|
.Fl s Ar hostname ether_addr
|
|
.Op Ar temp
|
|
.Op Ar pub
|
|
.Nm arp
|
|
.Fl S Ar hostname ether_addr
|
|
.Op Ar temp
|
|
.Op Ar pub
|
|
.Nm arp
|
|
.Fl f Ar filename
|
|
.Sh ²òÀâ
|
|
.Nm
|
|
¥×¥í¥°¥é¥à¤Ï
|
|
¥¢¥É¥ì¥¹²ò·è¥×¥í¥È¥³¥ë
|
|
.Pq Xr arp 4
|
|
¤Ç»È¤ï¤ì¤ë¡¢¥¤¥ó¥¿¡¼¥Í¥Ã¥È¤«¤é¥¤¡¼¥µ¥Í¥Ã¥È¤Ø¤Î¥¢¥É¥ì¥¹ÊÑ´¹¥Æ¡¼¥Ö¥ë¤Î
|
|
ɽ¼¨¤ÈÊѹ¹¤ò¤·¤Þ¤¹¡£
|
|
¥Õ¥é¥°¤Ê¤·¤Î¾ì¹ç¡¢¥×¥í¥°¥é¥à¤Ï
|
|
.Ar hostname
|
|
¤Î¸½ºß¤Î
|
|
.Tn ARP
|
|
¥¨¥ó¥È¥ê¤òɽ¼¨¤·¤Þ¤¹¡£
|
|
¥Û¥¹¥È¤Ï̾Á°¤«¡¢¥¤¥ó¥¿¡¼¥Í¥Ã¥È¥É¥Ã¥Èɽµ¤Î¿ô»ú¤Ç»ØÄꤷ¤Þ¤¹¡£
|
|
.Pp
|
|
͸ú¤Ê¥ª¥×¥·¥ç¥ó:
|
|
.Bl -tag -width Ds
|
|
.It Fl a
|
|
¥×¥í¥°¥é¥à¤Ï¸½ºß¤Î
|
|
.Tn ARP
|
|
¥¨¥ó¥È¥ê¤òÁ´¤ÆÉ½¼¨¤â¤·¤¯¤Ï¾Ãµî¤·¤Þ¤¹¡£
|
|
.It Fl d
|
|
¥¹¡¼¥Ñ¥æ¡¼¥¶¤Ê¤é¤Ð
|
|
.Ar hostname
|
|
¤È¤¤¤¦¥Û¥¹¥È¤Î¥¨¥ó¥È¥ê¤ò¾Ãµî¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
|
|
.Fl a
|
|
¥Õ¥é¥°¤ÈÁȤ߹ç¤ï¤»¤ÆÁ´¥¨¥ó¥È¥ê¤ò¾Ãµî¤¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
|
|
.It Fl n
|
|
¥Í¥Ã¥È¥ï¡¼¥¯¥¢¥É¥ì¥¹¤ò¿ôÃͤÇɽ¼¨¤·¤Þ¤¹ (Ä̾ï
|
|
.Nm
|
|
¤Ï¥¢¥É¥ì¥¹¤ò¥·¥ó¥Ü¥ë¤Çɽ¼¨¤·¤è¤¦¤È¤·¤Þ¤¹)¡£
|
|
.It Fl s Ar hostname ether_addr
|
|
¥Û¥¹¥È
|
|
.Ar hostname
|
|
¥¤¡¼¥µ¥Í¥Ã¥È¥¢¥É¥ì¥¹
|
|
.Ar ether_addr
|
|
¤Î
|
|
.Tn ARP
|
|
¥¨¥ó¥È¥ê¤òºîÀ®¤·¤Þ¤¹¡£
|
|
¥¤¡¼¥µ¥Í¥Ã¥È¥¢¥É¥ì¥¹¤Ï¥³¥í¥ó¤Ç¶èÀڤä¿Ï»¤Ä¤Î 16 ¿Ê¥Ð¥¤¥È¤Çɽ¸½¤·¤Þ¤¹¡£
|
|
¥¨¥ó¥È¥ê¤Ï¡¢¸ì
|
|
.Ar temp
|
|
¤¬¥³¥Þ¥ó¥ÉÃæ¤Ë¤Ê¤¤¸Â¤ê±Êµ×Ū¤Ê¤â¤Î¤Ç¤¹¡£
|
|
¸ì
|
|
.Ar pub
|
|
¤¬¤¢¤ì¤Ð¡¢¥¨¥ó¥È¥ê¤Ï¡Ö¸øÉ½¡×¤µ¤ì¤Þ¤¹; ¤¹¤Ê¤ï¤Á¡¢¥·¥¹¥Æ¥à¤Ï
|
|
.Tn ARP
|
|
¥µ¡¼¥Ð¤È¤·¤ÆÆ°ºî¤·¡¢
|
|
.Ar hostname
|
|
¤ËÂФ¹¤ëÍ×µá¤Ë¡¢¤¿¤È¤¨¥Û¥¹¥È¥¢¥É¥ì¥¹¤¬¼«Ê¬¼«¿È¤Ç¤Ï¤Ê¤¤¤È¤·¤Æ¤â¡¢
|
|
ÊÖÅú¤·¤Þ¤¹¡£
|
|
¤³¤Î¾ì¹ç¡¢ether_addr ¤Ï ``auto'' ¤È»ØÄê²Äǽ¤Ç¤¹¡£
|
|
¤³¤ÎÍͤ˻ØÄꤷ¤¿¾ì¹ç¡¢
|
|
¼«¥Û¥¹¥È¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤ò¸¡ºº¤·¡¢
|
|
¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Î¤É¤ì¤«°ì¤Ä¤¬
|
|
»ØÄꤷ¤¿¥Û¥¹¥È¥¢¥É¥ì¥¹¤ÈƱ¤¸¥µ¥Ö¥Í¥Ã¥È¤Ë°¤¹¾ì¹ç¡¢
|
|
¤½¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Î ether_addr ¤ò»È¤¤¤Þ¤¹¡£
|
|
.It Fl S Ar hostname ether_addr
|
|
¤³¤Î¥Û¥¹¥È¤Ë´Ø¤¹¤ë¡¢¤¹¤Ç¤Ë¤¢¤ë arp ¥¨¥ó¥È¥ê¤¬ºÇ½é¤Ëºï½ü¤µ¤ì¤ë¤³¤È¤ò½ü¤¤¤Æ¡¢
|
|
.Fl s
|
|
¤ÈƱÍͤǤ¹¡£
|
|
.It Fl f
|
|
¥Õ¥¡¥¤¥ë
|
|
.Ar filename
|
|
¤òÆÉ¤ß¹þ¤ó¤Ç¡¢Ê£¿ô¤Î¥¨¥ó¥È¥ê¤ò
|
|
.Tn ARP
|
|
¥Æ¡¼¥Ö¥ë¤ËÀßÄꤷ¤Þ¤¹¡£
|
|
¥Õ¥¡¥¤¥ëÃæ¤Î¥¨¥ó¥È¥ê¤Ï
|
|
.Pp
|
|
.Bd -filled -offset indent -compact
|
|
.Ar hostname ether_addr
|
|
.Op Ar temp
|
|
.Op Ar pub
|
|
.Ed
|
|
.Pp
|
|
¤Î·Á¤Ë¤¹¤ë¤Ù¤¤Ç¤¹¡£¤³¤³¤Ç°ú¿ô¤Î°ÕÌ£¤Ï¾å¤ÇÍ¿¤¨¤é¤ì¤¿Ä̤ê¤Ç¤¹¡£
|
|
.El
|
|
.Sh ´ØÏ¢¹àÌÜ
|
|
.Xr inet 3 ,
|
|
.Xr arp 4 ,
|
|
.Xr ifconfig 8
|
|
.Sh Îò»Ë
|
|
.Nm
|
|
¥³¥Þ¥ó¥É¤Ï
|
|
.Bx 4.3
|
|
¤«¤éÅо줷¤Þ¤·¤¿¡£
|