arp

ARP(8)                     Linux Programmer's Manual                    ARP(8)



åå
       arp - ã·ã¹ãã ã® ARP ãã£ãã·ã¥ãæä½ãã

æ¸å¼
       arp [-vn] [-H type] [-i if] -a [hostname]

       arp [-v] [-i if] -d hostname [pub]

       arp [-v] [-H type] [-i if] -s hostname hw_addr [temp]

       arp [-v] [-H type] [-i if] -s hostname hw_addr [netmask nm] pub

       arp [-v] [-H type] [-i if] -Ds hostname ifa [netmask nm] pub

       arp [-vnD] [-H type] [-i if] -f filename


説æ
       arp ã¯ãã«ã¼ãã«ã® ARP ãã£ãã·ã¥ããã¾ãã¾ãªæ¹æ³ã§æä½ãããã¢ãã¬ã¹ã»ãã
       ãã³ã°ã®ã¨ã³ããªã¼ãã¯ãªã¢ããããæä½æ¥ã§ã¨ã³ããªã¼ãè¨å®ãããããã®
       ãã主è¦ãªãªãã·ã§ã³ã§ããããããã°ã« arp ãå©ç¨ãã¦ãARP ã‐
       ã£ãã·ã¥ãå®å¨ã«ãã³ããããã¨ãå¯è½ã§ããã

ãªãã·ã§ã³
       -v, --verbose
              åé·ã¢ã¼ãã§åä½ããä½ãèµ·ãã£ã¦ããããã¦ã¼ã¶ã¼ã«ç¥ãããã

       -n, --numeric
              ãã®ãªãã·ã§ã³ãæå®ããã¨ããã¹ãåããã¼ãåãã¦ã¼ã¶ã¼åã解決ããã«
              çªå·ã®ã¾ã¾è¡¨ç¤ºããã

       -H type, --hw-type type
              ARP ãã£ãã·ã¥ãè¨å®ãããèªã¿åºãããããã¨ããã¨ã³ããªã¼ã®ã©ã®ã¯ã©ã¹
              ã対象ã«ãã¦æ¬²ãããã arp ã«æå®ããããã®ãã©ã¡ã¼ã¿ã¯ãdefault ã§ã¯
              ether (ã¤ã¾ããIEEE 802.3 10Mbps Ethernet
              ã«å¯¾å¿ãããã¼ãã¦ã§ã¢ã»ã³ã¼ã 0x01) ã«è¨å®ããã¦ãããã»ãã«ããã¨ãã°
              ARCnet (arcnet) , PROnet (pronet) , AX.25 (ax25) , NET/ROM
              (netrom) ãªã©ã®ãããã¯ã¼ã¯æè¡ãæå®ã§ããã

       -a [hostname], --display [hostname]
              æå®ãããã¹ãã®ã¨ã³ããªã¼ã表示ããããã hostname ãæå®ããã¦ããªãå ´åã¯
              ãã¹ã¦ã® ã¨ã³ããªã¼ã表示ãããã

       -d hostname, --delete hostname
              æå®ããããã¹ãã®ã¨ã³ããªã¼ãã¹ã¦ãåé¤ãããããã¯ãä¾ãã°æå®ããã
              ãã¹ãããã¦ã³ããã¨ããªã©ã«ä½¿ããã¨ãã§ããã

       -D, --use-device
              ã¤ã³ã¿ã¼ãã§ã¼ã¹ ifa ã®ãã¼ãã¦ã§ã¢ã¢ãã¬ã¹ã使ãã

       -i If, --device If
              ã¤ã³ã¿ã¼ãã§ã¼ã¹ãé¸æãããARP ãã£ãã·ã¥ããã³ãããéããã®ã¤ã³ã¿ã¼
              ãã§ã¼ã¹ã«åè´ããã¨ã³ããªã¼ã®ã¿ãåºåããããæ°¸ç¶çã¾ãã¯ä¸æç㪠ARP
              ã¨ã³ããªã¼ãè¨å®ããå ´åã«ã¯ããã®ã¨ã³ããªã¼ã使ç¨ããããã¤ã¹ãæå®ã
              ããããã¤ã¹ãæå®ããªãã¨ãã«ã¼ãã«ã¯çµè·¯ãã¼ãã«ããããã¤ã¹ãæ¨éã ãã pub
              ã¨ã³ããªã¼ã®å ´åã¯ãããã«æå®ããã¤ã³ã¿ã¼ãã§ã¼ã¹ã¯ ARP è¦æ±ã«çãã¦
              ãããã¤ã³ã¿ã¼ãã§ã¼ã¹ã§ããã
              注: ãã㯠IP
              ãã±ãããçµè·¯å¶å¾¡(route)ãããã¤ã³ã¿ã¼ãã§ã¼ã¹ã¨ã¯ãç°ãªã£
              ã¦ããªããã°ãªããªãã

       -s hostname hw_addr, --set hostname hw_addr
              ARP ã¢ãã¬ã¹ã®ãããã³ã°ã»ã¨ã³ããªã¼ãæä½æ¥ã§è¨å®ããããã¹ã hostname
              ã«å¯¾ãããã¼ãã¦ã§ã¢ã»ã¢ãã¬ã¹ã hw_addr ã«è¨‐
              å®ãããããã¼ãã¦ã§ã¢ã»ã¢ãã¬ã¹ã®æ¸å¼ã¯ããã¼ãã¦ã§ã¢ã»ã¯ã©ã¹ã«ãã£
              ã¦ç°ãªãããã»ã¨ãã©ã®ã¯ã©ã¹ã§ã¯æ®éã®æ¸ãæ¹ã使ãããä¾ãã°ãethernet
              ã®ã¯ã©ã¹ã§ã¯ 16é²æ° 6ãã¤ãã§ãããã³ãã³ã§åå²ããã¦ããã代ç ARP ã®
              ã¨ã³ããªã¼ã追å ããã¨ã (ã¤ã¾ãã pub ãã©ã°ãæå®ããã¨ã) ã¯ã netmask
              ãæå®ããã¨ããµããããå¨ä½ã®ä»£ç ARP ãè¨å®ãããããããã¯ã¼ã¯å¨ä½ ã® routing
              ã«å¯¾ãã代ç ARP ã¯ãããããã³ã«ã¨ã¯ãããªãããæå¹ãªæ ãããã®ã§ãµãã¼ããã¦ããã
              temp ãã©ã°ãæå®ããªããã°ãè¨å®ããã¨ã³ããªã¼ã¯æ°¸ç¶çã¨ãªããARP ãã£ãã·ã¥
              ã«ãã®ã¾ã¾æ®ãããã

       -f filename, --file filename
              -s ãªãã·ã§ã³ã¨ä¼¼ã¦ãããããã®ãªãã·ã§ã³ã®å ´åãã¢ãã¬ã¹ã®æå ±ããã¡ã¤ã«
              filename ããä¸ãããããããã¯ãå¤æ°ã®ãã¹ãã«å¯¾ã㦠ARP ã¨ã³ããªã¼ãè¨å®ããª
              ããã°ãªããªãå ´åã«ä½¿ãããããã¼ã¿ãã¡ã¤ã«ã®ååã«ã¯ /etc/ethers
              ããã使ãããããããã¯å¬å¼ã®ãã®ã§ã¯ãªãã

              ãã¡ã¤ã«ã®æ¸å¼ã¯ç°¡åã§ããããã¹ãåã¨ãã¼ãã¦ã§ã¢ã»ã¢ãã¬ã¹ã¯ ASCII ãã‐
              ã¹ãã®ã¿ã§ããããã¹ãåã¨ãã¼ãã¦ã§ã¢ã»ã¢ãã¬ã¹ã®éã¯ç©ºç½ã§åºåã ãããå ãã¦ã
              pub, temp, netmask ãã©ã°ã使ããã¨ãã§ããã

       hostname ã¯ãããããããªãªãã§åºåãããåé²è¡¨è¨ã® IP address ã§ãããã

       ARP ãã£ãã·ã¥ã®å®å¨ãªã¨ã³ããªã¼ã«ã¯ã C
       ãã©ã°ãã¤ãããããã¾ããæ°¸ç¶çãªã¨ã³ããªã¼ã«ã¯ M ãã©ã°ããå¬é(pub)ã¨ã³ããªã¼ã«ã¯ P
       ãã©ã°ãã¤ããããã

ãã¡ã¤ã«
       /proc/net/arp
       /etc/networks
       /etc/hosts
       /etc/ethers

é¢é£é ç®
       rarp(8), route(8), ifconfig(8), netstat(8)

èè
       Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org> ã¾ããnet-tools ã®ç®¡
       çèã§ãã Bernd Eckenfels <net-tools@lina.inka.de> ãå¤æ°ã®æ¹è¯ãè¡ãªã£ ãã



net-tools                         15 May 1996                           ARP(8)