How To Perform a Ping Sweep?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Open the command prompt or terminal window. On Windows, hit the Windows key, type in ‘cmd’ and hit enter. On Mac, open the Terminal application.
2. Ensure that you have administrative privileges. On Windows, right–click the Command Prompt icon and select “Run as administrator.”
3. To determine the IP address range to be pinged, use the ipconfig command. For example, if the output of the command is something like this:
IPv4 Address……....: 192.168.1.43
Subnet Mask……..…: 255.255.255.0
Default Gateway……..: 192.168.1.1
Then the IP address range is 192.168.1.1 – 192.168.1.254.
4. Use the ping command to send an echo request to each IP address within the range. The syntax is: ping <ip_address>. For example, to ping the first three IP addresses in the range mentioned above, type:
ping 192.168.1.1
ping 192.168.1.2
ping 192.168.1.3
5. If a device responds, you will see its IP address followed by bytes and time taken to respond. For example, a response will look something like this:
Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
This means that a device exists at the given IP address.