ä»åã¯ãLANå ã§å©ç¨ããã¦ããIPã¢ãã¬ã¹ã調ã¹ãæ¹æ³ã«ã¤ãã¦ãã¾ã¨ãã¦ã¿ãã ç°å¢ã«ãã£ã¦ã¯ä½¿ç¨ããã¦ããOSãè¤æ°ããå ´åããã(ã¨ãããããã®æ¹ãå¤ã)ã®ã§ãLinuxã¨Windowsã§åãã¦è¨è¼ããã 1.Linuxã®å ´å 1-1.ping + arpã§èª¿ã¹ã åºæ¬çãªã³ãã³ãããã¤ã³ã¹ãã¼ã«ããã¦ããªãç°å¢ã§ã¯ããã¯ãpingã¨arpã³ãã³ããçµã¿åãããæ¹æ³ãè¯ãå©ç¨ãããã ããã 以ä¸ã®ããã«forã³ãã³ãã¨çµã¿åããã¦å®è¡ãããã¨ã§ãIPã¢ãã¬ã¹ã¨ããã«å¯¾å¿ããMACã¢ãã¬ã¹ãåå¾ãããã¨ãåºæ¥ãã for a in `seq 1 254`; do ping -c 1 -w 0.5 対象ã»ã°ã¡ã³ã(第ï¼ãªã¯ãããã¾ã§).$a > /dev/null && arp -a 対象ã»ã°ã¡ã³ã(第ï¼ãªã¯ãããã¾ã§).$a | grep ether; done test@ubuntu
{{#tags}}- {{label}}
{{/tags}}