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 ã«æå®ããã
              ãã®ãã©ã¡ã¼ã¿ã¯ãããã©ã«ãã§ã¯ 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 ãã£ãã·ã¥ããã³ãããéã
              æå®ãããã¤ã³ã¿ã¼ãã§ã¼ã¹ã«åè´ããã¨ã³ããªã¼ã®ã¿ãåºåãããã permanent ARP
              ã¨ã³ããªã¼ãã¾ã㯠temp ARP ã¨ã³ããªã¼ãè¨‐
              å®ããå ´åã«ã¯ããã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ã¯ ãã®ã¨ã³ããªã¼ã¨é¢é£ä»ããããã
              ãã®ãªãã·ã§ã³ã使ããªãã¨ã ã«ã¼ãã«ã¯çµè·¯ãã¼ãã«ããããã¤ã¹ãæ¨éããã pub
              ã¨ã³ããªã¼ã®å ´åã¯ãããã«æå®ããã¤ã³ã¿ã¼ãã§ã¼ã¹ã¯ ARP è¦æ±ã«ç‐
              ãã¦ãããã¤ã³ã¿ã¼ãã§ã¼ã¹ã§ããã
              注: ãã㯠IP ãã¼ã¿ã°ã©ã ã®çµè·¯å¶å¾¡ãè¡ãªãã¤ã³ã¿ã¼ãã§ã¼ã¹ã¨ã¯ã
              ç°ãªã£ã¦ããªããã°ãªããªãã

       -s hostname hw_addr, --set hostname hw_addr
              ARP ã¢ãã¬ã¹ã®ãããã³ã°ã»ã¨ã³ããªã¼ãæä½æ¥ã§è¨å®ããã ãã¹ã hostname
              ã«å¯¾ãããã¼ãã¦ã§ã¢ã»ã¢ãã¬ã¹ã¯ hw_addr ã«è¨‐
              å®ãããããã¼ãã¦ã§ã¢ã»ã¢ãã¬ã¹ã®æ¸å¼ã¯ã
              ãã¼ãã¦ã§ã¢ã»ã¯ã©ã¹ã«ãã£ã¦ç°ãªããã
              ã»ã¨ãã©ã®ã¯ã©ã¹ã§ã¯æ®éã®æ¸ãæ¹ã使ããã ä¾ãã°ãethernet ã®ã¯ã©ã¹ã§ã¯
              16 é²æ° 6 ãã¤ãã§ããã ã³ãã³ã§åå²ããã¦ããã 代ç ARP
              ã®ã¨ã³ããªã¼ã追å ããã¨ã (ã¤ã¾ãã pub ãã©ã°ãæå®ããã¨ã) ã¯ã netmask
              ãæå®ããã¨ããµããããå¨ä½ã®ä»£ç ARP ãè¨å®ãããã ããã¯ãã風ç¿ã§ã¯ãªããã
              æå¹ãªæããã£ãã®ã§å¤ãã«ã¼ãã«ã§ã¯ãµãã¼ããã¦ããã temp
              ãã©ã°ãæå®ããªããã°ãè¨å®ããã¨ã³ããªã¼ã¯æ°¸ç¶çã¨ãªãã ARP ã‐
              ã£ãã·ã¥ã«ãã®ã¾ã¾æ®ãããã
              注: ã«ã¼ãã« 2.2.0 ããããµããããå¨ä½ã« ARP ã¨ã³ããªã¼ãã»ãããããã¨ã¯
              åºæ¥ãªããªã£ã¦ããã ãã®ä»£ãããLinux ã§ã¯ãçµè·¯ãåå¨ããã©ã¯ã¼ãããã¦ããã°ã
              èªåçã«ä»£ç arp ãããã 詳細㯠arp(7) ãåç§ãããã¨ã

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

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

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

       äºææ§ã®ããã®ç¹å¥ãªã±ã¼ã¹ã¨ãã¦ã
       ãã¹ãåã¨ãã¼ãã¦ã§ã¢ã»ã¢ãã¬ã¹ã®é çªãå¥ãæãããã¨ãã§ããã

       ARP ãã£ãã·ã¥ã®å®å¨ãªã¨ã³ããªã¼ã«ã¯ã C ãã©ã°ãã¤ãããããã¾ããæ°¸ç¶ç
       (permanent) ãªã¨ã³ããªã¼ã«ã¯ 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                         5 Jan 1999                            ARP(8)