{}

브랜드

Impact-Company-Logo-English Black-01-177x54

슈나이더 일렉트릭 코리아 웹사이트에 방문해 주셔서 감사합니다.

슈나이더 일렉트릭 코리아 웹사이트 방문자 분들 모두 환영합니다.

FAQ 검색

How to ping multiple IP address in a range of IP address

Article available in these languages: Czech

Issue
User wants to ping multiple IP address

Product
Any requiring communication with IP address

Environment
Command Prompt

Cause
User wants to ping multiple IP address with one command

Resolution
Run the following command
for /L %z in (1,1,254) do @ping 10.0.0.%z -w 10 -n 1 | find "Reply"

Change the IP address after the ping command to reflect your networks IP range. The above command will ping each address between 10.0.0.1 and 10.0.0.254 and return the IP address that replay to the ping

edit: The -w 10 makes it only wait 10 ms for a reply before moving on. If your network is slow you will have to up this value or take it out all together.

슈나이더 일렉트릭 Korea