Not everything with an IP address is a computer - I found none of these suggestions returned all active IP addresses - in fact most returned very few. My home network has a combination of wired and wireless devices and two routers, mobile phones, TV, PVR, Apple AirPort and probably a few things I have forgotten. I used the following to scan all addresses on the 192.168.1.xxx subnet:

for /L %i in (0,1,255) do ping -n 1 -w 250 192.168.1.%i>>ipaddress.txt

The resulting file ipaddress.txt contains the ping results for all addresses and I looked for those with "Received = 1" - currently 16 addresses returned a result - I only have 4 computers in the house - and they were not all on.

Answer from Clifford on Stack Exchange
🌐
Paessler
blog.paessler.com › how-to-see-all-ip-addresses-on-network-a-guide-for-it-professionals
How to see all IP addresses on network: A guide for IT professionals
September 5, 2025 - After running this "ping sweep", run arp -a again and you should see a much longer list of devices. Windows PowerShell is another powerful option with great networking capabilities: Press Win+X and select "Windows PowerShell" or "Windows PowerShell ...
Discussions

ip - List ALL devices on local network? - Stack Overflow
I want to generate a list of all devices on a local network. I have tried the command arp -a and it has listed some devices, but not all of them. The ifconfig command shows my IP address and MAC ad... More on stackoverflow.com
🌐 stackoverflow.com
List all IP devices in the network - cmd/powershell - Networking - Spiceworks Community
Hi spice community, Is there a tool or solution to list within cmd/powershell all ip devices in the local network? More on community.spiceworks.com
🌐 community.spiceworks.com
15
December 25, 2018
How to see all IP addresses on network?
Yes open ended questions to tech may seem futile, but open a cmd window [windows key + r] type cmd, and then type arp -a for a list of ip addresses on your current (and sometimes past) network address resolution table. More on learn.microsoft.com
🌐 learn.microsoft.com
4
88
August 14, 2014
How can I find IP and MAC addresses of devices on my network?
For clarity - are you checking for IPs on a router you OWN? More on reddit.com
🌐 r/Hacking_Tutorials
23
15
June 26, 2024
People also ask

How are IP addresses assigned?
There are two ways to find IP addresses on network systems. You can find them manually or you can use an IP scanner, which is designed to automatically find the IP addresses within a certain range. With a scanner such as SolarWinds IPAM, you can run automated scans to identify new devices and more easily manage IP addresses. The basic steps for manually creating a list of device IP addresses on a network include: Get to the command line by opening a terminal window. Type the right command for your system. On Linux, type the command “ifconfig” and press Return. On Windows, type the command “ipc
🌐
solarwinds.com
solarwinds.com › ip-address-manager › use-cases › find-ip-addresses
Find IP Address - Recover Available IP Addresses | SolarWinds
How does IPAM help with finding and recovering IP addresses?
While IP addresses assigned through both static and dynamic systems can be abandoned, DHCP server addresses are more often at the center of IP address recovery. This is because the leases on addresses are limited and new leases may result in old IP addresses being abandoned without notice. Though the same steps apply for finding IP addresses in both static and dynamic systems, people often ask how to check for free IP addresses in a DHCP server rather than asking about static servers. Easily finding available IP addresses can be streamlined using an IP discovery tool. The amount of manual work
🌐
solarwinds.com
solarwinds.com › ip-address-manager › use-cases › find-ip-addresses
Find IP Address - Recover Available IP Addresses | SolarWinds
Why is finding free IP addresses important?
There are two systems you can use to allocate IP addresses: static and dynamic. With a static IP address system, you assign a specific IP address to each device on your network. Since these addresses don’t expire and are completely specific to each device, you need to keep a record of all the addresses you assign to prevent IP conflicts. A dynamic IP address system is a widely used system and doesn’t require users to manually assign specific IP addresses. The dynamic system revolves around the use of the Dynamic Host Configuration Protocol (DHCP). In this system, whenever a new device connects
🌐
solarwinds.com
solarwinds.com › ip-address-manager › use-cases › find-ip-addresses
Find IP Address - Recover Available IP Addresses | SolarWinds
🌐
DNSstuff
dnsstuff.com › home › how to scan for ip address on a network? – ultimate guide & 6 best ip scanners
How to Scan for IP Address on a Network? – DNSstuff.com
January 22, 2026 - In other words, the “arp -a” command displays all active IP addresses connected to the local network. This list is incredibly informative, containing the IP addresses, MAC addresses, and allocation type (whether static or dynamic) for all ...
Top answer
1 of 3
26

arp -a will show you only MAC addresses that are stored in local ARP cache and your computer was connected to. When I'm trying to see every device in my local network I have to scan it. For example if you have 192.168.1.0/24 network you can do:

$ for i in `seq 1 254`; do
ping -c 1 -q 192.168.1.$i &
done

You will try to ping every computer in your network. Of course not every computer will answer for ping. This is why you can't rely on ping. Now you need to check ARP cache.

$ arp -a | grep 192.168.1. | grep ether

This command will show you ARP cache filtered only with computers that are in this network and that answered on ARP requests (in 99% cases it will be full list of devices in your network - just remember that ARP entry is not removed immediately when the device disconnects).

2 of 3
1

There are several ways to generate list of devices on a network however it depends on what resources you have available to use.

  • ping the possible list of devices
  • access the list of devices from your router
  • use a third party wire sniffing tool

Note that there are a number of reasons why a device may be on a network yet not "discoverable". For a Windows PC, Network discovery may be turned off. A firewall may be filtering out ICMP Echo requests or replying to ICMP Echo requests may be turned off.

Ping the network for devices - Windows OS

To generate a list with a Windows CMD .bat file to ping devices on the network, do the following.

Create a .bat file with a loop that uses the ping command to send a ping to each of the possible usable addresses on your network. I use the -a and -n 1 options on the ping command to send a single ping, -n 1, with a request to give me the hostname. After pinging the network you can then use the arp command to get a concise list using arp -a >con which will redirect the output to the console even when the .bat file is redirected to a file.

The following commands in a Windows .bat file seems to do the trick.

for /L %%i in (1,1,254) do (
ping -a -n 1 192.168.0.%%i 
)

arp -a >con

Next run the .bat file sending the output to a text file:

listdev.bat > listdev.txt

This will generate a text file with the results of the ping commands. It will look something like the following:

C:\Users\rcham>(ping -a -n 1 192.168.0.3  ) 

Pinging DESKTOP-GFSP7AC.xxxxxxxx.net [192.168.0.3] with 32 bytes of data:
Request timed out.

Ping statistics for 192.168.0.3:
    Packets: Sent = 1, Received = 0, Lost = 1 (100% loss),

C:\Users\rcham>(ping -a -n 1 192.168.0.4  ) 

Pinging rick-MS-7B98.xxxxxxxx.net [192.168.0.4] with 32 bytes of data:
Reply from 192.168.0.4: bytes=32 time=5ms TTL=64

Ping statistics for 192.168.0.4:
    Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 5ms, Maximum = 5ms, Average = 5ms

C:\Users\rcham>(ping -a -n 1 192.168.0.5  ) 

Pinging 192.168.0.5 with 32 bytes of data:
Reply from 192.168.0.148: Destination host unreachable.

Ping statistics for 192.168.0.5:
    Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),

C:\Users\rcham>(ping -a -n 1 192.168.0.6  ) 

Pinging 192.168.0.6 with 32 bytes of data:
Reply from 192.168.0.148: Destination host unreachable.

Ping statistics for 192.168.0.6:
    Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),

C:\Users\rcham>(ping -a -n 1 192.168.0.7  ) 

Pinging 192.168.0.7 with 32 bytes of data:
Reply from 192.168.0.148: Destination host unreachable.

Ping statistics for 192.168.0.7:
    Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),

C:\Users\rcham>(ping -a -n 1 192.168.0.8  ) 

Pinging SurfacePro-2.xxxxxxxx.net [192.168.0.8] with 32 bytes of data:
Reply from 192.168.0.148: Destination host unreachable.

Ping statistics for 192.168.0.8:
    Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),

C:\Users\rcham>(ping -a -n 1 192.168.0.9  ) 

Pinging starfive.xxxxxxxx.net [192.168.0.9] with 32 bytes of data:
Reply from 192.168.0.148: Destination host unreachable.

Ping statistics for 192.168.0.9:
    Packets: Sent = 1, Received = 1, Lost = 0 (0% loss),

Notice in the list above that there are differences in responses to the ping command.

  • response received
  • request timed out
  • reply of Destination host unreachable.

The first means that there was an operational device connected to the network with that IP address and the device was configured to reply to the ICMP Echo request of the ping command.

The second means that there may be a device connected to the network with that IP address however the device may be configured to ignore ICMP Echo requests or it is powered off and can't reply. There may be other possible causes but these two are the most common in a small network.

The third means the router didn't have a way to send the ICMP Echo request to the designated IP address so the request wasn't sent.

For the difference between the two last responses with more details see the post ping response "Request timed out." vs "Destination Host unreachable"

Find elsewhere
🌐
Spiceworks
community.spiceworks.com › hardware & infrastructure › networking
List all IP devices in the network - cmd/powershell - Networking - Spiceworks Community
December 25, 2018 - Hi spice community, Is there a tool or solution to list within cmd/powershell all ip devices in the local network?
🌐
SolarWinds
solarwinds.com › resources › it-glossary › network-device-identification
How to Identify Devices on a Network - IT Glossary | SolarWinds
It will display the subnet mask, the default gateway, and the IPv4 address of your computer. For Linux and macOS: Enter the "ifconfig" command to view all the network settings. Type the command "arp -a" to view the list of all IP addresses connected to your network.
🌐
SolarWinds
solarwinds.com › ip-address-manager › use-cases › find-ip-addresses
Find IP Address - Recover Available IP Addresses | SolarWinds
With IPAM’s automated scans, you can monitor your DHCP address pools and receive alerts when they exceed utilization thresholds. This allows you to proactively examine the subnet or scope and find unused addresses to reclaim. ... SolarWinds IP Address Manager makes it easy to find active IP addresses on your network.
🌐
Comodo
blog.comodo.com › home › master your network: checking your ip address in cmd
Check IP Address in CMD on Windows Easily
November 19, 2025 - The most common and complete command for viewing your device’s IP address is: ... Simply type the command and press Enter. CMD will output a list of all network adapters.
🌐
CellStream
cellstream.com › home › network/ip commands for windows users
Network/IP Commands for Windows Users - CellStream, Inc.
January 9, 2025 - Useful for troubleshooting and gathering detailed network settings. Run ipconfig or ipconfig /all to understand the network setup and diagnose potential configuration issues. ... Releases the current DHCP-assigned IP address for a network adapter.
🌐
Cornick
help.c5k.info › 56526-wireless-networking › ipconfig
Network Identification - Cornick
To find the IP range on a network, or to find available IP addresses, follow the steps below. This is useful if you are unsure what the network details are, or if you have requested pre-programming. When pre-programming devices, we require these details. 1. Connect a Windows PC / Laptop, open the start menu and type cmd...
🌐
Microsoft Learn
learn.microsoft.com › en-us › troubleshoot › windows-server › networking › change-ip-address-network-adapter
Change IP address of a network adapter - Windows Server | Microsoft Learn
February 12, 2026 - Contact the network administrator to obtain a list of valid IP addresses for your network. In the Subnet mask box, type the subnet mask for your network. In the Default gateway box, type the IP address of the computer or device on your network that connects your network to another network or to the Internet.
🌐
Chron.com
smallbusiness.chron.com › ping-ip-addresses-lan-68381.html
How to Ping All IP Addresses on Your LAN | Small Business - Chron.com
November 21, 2017 - Use the DOS "FOR" command to create a loop from one to 254, the range of valid IP addresses on a 192.168.1.0 network. Type: ... Follow the FOR loop by the ping command to execute on each iteration. For example, on the same line, type: ... Press "Enter" to ping the devices on your network.
🌐
DNS Checker
dnschecker.org › online-traceroute.php
Traceroute Online - Tracert Tracks Full Path of IP Packet or Domain
Type in “cmd” and then hit “OK.” This initiates a command prompt, or you can access it directly. Type in “tracert [hostname]” and press Enter. Note: The term “hostname” is a domain, website address, or IP address of a server, ...
🌐
University of North Carolina
med.unc.edu › home › self help guides › operating systems › finding the host name, ip address or physical address of your machine
Finding the Host Name, IP Address or Physical Address of your machine | Information Technology
January 30, 2024 - The wireless card information will ... lower left of your screen. Type “cmd” and hit Enter. A black and white window will open where you will type ipconfig /all and press enter....
🌐
eUKhost
eukhost.com › home › how to check your ip address with cmd in windows
How to Check Your IP Address Using CMD in Windows
October 29, 2025 - Use ipconfig /all for detailed information, including MAC address and DNS servers. Managing network settings and troubleshooting connectivity on Windows?