How to ping multiple IP address in a range of IP address
Issue
How 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








도움이 필요하신가요?
제품 선택기
애플리케이션에 적합한 제품과 액세서리를 빠르고 쉽게 찾을 수 있습니다.
견적 받기
영업 관련하여 온라인으로 문의하시면 전문가가 연락드립니다.
구매처
해당 지역의 가장 가까운 슈나이더 일렉트릭 대리점을 쉽게 찾을 수 있습니다.
지원 센터
한 곳에서 모든 요구 사항에 대한 지원 리소스를 찾아보십시오.