How-toNetworking

Scan your LAN from a computer on the network

Technical Terrence · for the office and home

Intro

A LAN scan is a list of the devices that are on your local network right now: phones, computers, printers, cameras, access points, and the router itself. You run it from a computer that is already on that network. You do it to inventory what you have, to find a device’s address, or to notice something you don’t recognize.

This website cannot do that scan for you. The Network Dashboard is honest about the limit: the speed test, DNS, Whois, Ping, and Open Ports tools run from Cloudflare’s network, not from your PC. They never see the printer in the closet or the phone on your Wi-Fi. The LAN Scanner card is a how-to, not a scanner, for that reason.

This guide walks through practical ways to build the list from a machine on the LAN: the router’s DHCP client table, built-in commands (arp, ping, and neighbors), and common local tools (Nmap, Angry IP Scanner, and Advanced IP Scanner). It also covers how to read an IP address, a MAC address and its vendor prefix, a hostname, and what to do when a device is unfamiliar.

A public website and a Cloudflare Worker on the internet, separated from a private LAN behind a router. The website cannot see devices on the LAN.

Only scan a network you own or have permission to scan

Only run these steps on a network you own, or on one where the owner has given you permission to scan. That includes the office and home networks you are responsible for, and a lab you have set up on purpose.

Do not scan a coffee-shop Wi-Fi, a hotel network, a neighbor’s router, or an employer’s network “just to see what’s there” unless you have been asked to. A discovery scan is traffic on someone else’s network. In many places that can be a policy violation or against the law, even if you never try to log in to anything.

Stay on the subnet you are actually connected to, unless you have permission and a reason to go further. This guide is a device list, not a vulnerability scan. You do not need to port-scan every host to find out what is on the LAN.

Why a website can’t scan your LAN

Three separate limits add up to the same result:

  1. The dashboard tools are not on your LAN. When you use Ping or Open Ports here, the check starts from a Cloudflare Worker. The far end sees a Cloudflare address, not yours. Your router’s private addresses (the usual 192.168.x.x, 10.x.x.x, or 172.16–31.x.x ranges) are not reachable from that Worker, and the Worker cannot ask your router for its DHCP list.
  2. A web page can’t do the kind of discovery a LAN scan needs. Listing devices on an Ethernet or Wi-Fi segment usually means ARP (or IPv6 Neighbor Discovery), ICMP pings, or similar low-level probes. A page in your browser does not get raw sockets, so JavaScript cannot send those probes to every address on the subnet the way Nmap or arp can.
  3. Browsers also restrict what a public site can even request on a private address. That is a separate security control (local / private network access in modern browsers). It is meant to stop a random website from poking at your router or a printer. It is not a scanner, and it does not replace one.

The Ping card on this dashboard is a TCP reachability check from Cloudflare, not an ICMP ping from your PC. Open Ports is a short TCP check of common ports, also from Cloudflare, and is not a vulnerability scan. Neither one is a LAN inventory.

So the scan has to run on a computer that is already plugged in or joined to the Wi-Fi.

A laptop on the LAN talking to the router for its DHCP list and to nearby devices with ARP and ping, while the website stays on the internet side.

What you need

Item What it’s for
A computer already on the LAN Wired is a little more predictable; Wi-Fi is fine. Use a machine you administer.
The network’s address range You’ll get this from ipconfig, ifconfig, or ip addr, or from the router’s LAN settings. Don’t guess a range that belongs to someone else.
The router or firewall login (if you have it) The DHCP client table is often the clearest first list.
Optional: a scanner app Nmap (Windows, macOS, Linux), Angry IP Scanner (Windows, macOS, Linux), or Advanced IP Scanner (Windows). Download only from the maker’s official site.

Nice to have: a simple inventory (a spreadsheet or notes) of the devices you expect, and a switch or controller that can show its own client or CAM list if you already use one.

Find your own address and subnet first

Before you scan, confirm you are on the network you think you are.

Windows (Command Prompt or PowerShell):

ipconfig

Look at the adapter that is actually in use (Ethernet or Wi-Fi, not a disconnected one). Note IPv4 Address, Subnet Mask, and Default Gateway. The gateway is usually the router or firewall.

macOS:

ifconfig

Or, in a Terminal, ipconfig getifaddr en0 (Wi-Fi is often en0; a USB or dock Ethernet adapter may be a different name). The default gateway is in netstat -nr or in System Settings.

Linux:

ip addr
ip route

The default route points at the gateway.

A common home or small-office LAN looks like 192.168.1.0/24 (addresses 192.168.1.1 through 192.168.1.254) or 192.168.0.0/24. Yours may differ. Use the values from the computer, not an example from this page, when you type a range.

If the address starts with 169.254., the computer did not get a real IPv4 address from DHCP. Fix that first; a scan from a link-local address will not show the office or home LAN you care about. See My network is down.

For network engineers: ipconfig / ip addr also shows IPv6. This guide’s examples are IPv4 because that’s what most small DHCP tables and consumer scanners list first. An IPv6-only or dual-stack host can be on the LAN and still be missing from an IPv4-only pass. On Windows, Get-NetIPConfiguration and Get-NetNeighbor are the PowerShell equivalents of the classic commands.

An example ipconfig result with the IPv4 address, subnet mask, and default gateway labeled. The numbers are an example.

Start with the router’s DHCP client table

If you can log in to the router, firewall, or mesh app, start there. DHCP is how most phones and PCs get an address. The client or lease table is a list the network already keeps.

  1. In a browser, open the default gateway you just wrote down (for example, http://192.168.1.1). Use the login for that device, not a guess at a default password from the internet if the password has been changed.
  2. Look for a page named something like Attached Devices, DHCP Clients, Client List, LAN, or Network Map. Names vary by maker and by firmware. There is no single menu path that works on every router.
  3. Write down, or export if the page allows it: the IP address, MAC address, hostname (if shown), and how the address was given (DHCP or reserved/static), plus the last-seen time if there is one.

On a UniFi network the same idea lives under the Network application’s client list. On a Cisco Meraki network it lives under Network-wide > Monitor > Clients. Those products have their own walkthroughs: UniFi training and Cisco Meraki Training.

The DHCP table is useful, and it is incomplete on purpose:

  • A device with a static address that never used DHCP may not appear.
  • A lease can linger after a device has left, or drop off quickly, depending on the lease time.
  • A hostname is whatever the device offered, or nothing. “iPhone” is not a unique ID.
  • Guest or IoT VLANs are separate networks. A scan or a DHCP list on the main LAN will not show devices that only live on those VLANs, and you should not jump to those networks unless you are supposed to be there.

Still, it is the right first list. Compare later scan results against it instead of treating either source as perfect.

An example router client list with columns for hostname, IP, MAC, and lease or reservation. Not a real brand screenshot.

Built-in commands: ping and ARP

Every common desktop OS can show the addresses it already knows, and can try to reach a range of addresses.

See what your computer already knows

ARP (Address Resolution Protocol) is how an IPv4 host on Ethernet or Wi-Fi maps an IP address to a MAC (hardware) address on the local segment. The table only fills in for addresses this computer has recently tried to reach. It is not a complete map of the LAN by itself.

Windows:

arp -a

In PowerShell, a modern equivalent is:

Get-NetNeighbor

macOS and Linux:

arp -a

On Linux you can also use:

ip neigh

You will usually see the gateway and a few recently used devices. Empty or short is normal if you just booted the computer.

A simple ping sweep, then ARP again

Ping asks one address whether it is willing to answer an ICMP echo. Many devices reply. Some (phones, locked-down PCs, printers) are set not to. A missed reply does not always mean the address is empty.

A ping sweep is just pinging each usable address in your subnet, then reading ARP again. The sweep often prompts devices to answer ARP even when they ignore ping, so arp -a is longer afterward.

Use your network prefix from ipconfig or ip addr, not a copied example.

Windows Command Prompt (example for a 192.168.1.0/24 LAN; change the first three octets to match yours):

for /L %i in (1,1,254) do @ping -n 1 -w 200 192.168.1.%i

Then run arp -a again. Adding | find "TTL=" after the ping command is a common way to print only the replies, not the timeouts.

macOS or Linux (same idea; -c 1 sends one ping, and the example prefix must be changed to match yours):

for i in $(seq 1 254); do ping -c 1 -W 1 192.168.1.$i; done

Then arp -a or ip neigh.

This is slow, and it is noisy enough that you should only do it on a network you are allowed to test. For a quicker, clearer list, use one of the tools below. Nmap’s local discovery uses ARP on the Ethernet or Wi-Fi segment and usually finds more than ICMP alone.

For network engineers: On a stretched L2 domain this is fine. Across a router, ARP will only ever show the gateway MAC for remote subnets; you need a scan sourced on that subnet, or the remote router’s DHCP / ARP table. IPv6 uses Neighbor Discovery, not ARP; arp -a will not list those neighbors.

Nmap: a ping scan (-sn)

Nmap is a widely used network scanner. For a device list, you want host discovery only, not a port scan.

Download it from the official Nmap download page. After it is installed, open a terminal (on Windows, Command Prompt or PowerShell; a regular user can run a basic local discovery, though some features need elevation).

List the live hosts on your subnet (change the range to match yours):

nmap -sn 192.168.1.0/24

-sn means no port scan: Nmap does host discovery and prints the addresses that responded. On a local Ethernet or Wi-Fi network, Nmap uses ARP (and IPv6 Neighbor Discovery) for those local targets by default, which is why this often beats a plain ping loop. Off the local segment, it uses a mix of probes (ICMP and TCP) instead.

Read the output for:

  • The IP address
  • A hostname, if reverse DNS found one
  • A MAC address and a vendor name, when you are on the local segment and Nmap could see the MAC

If a name looks like it belongs to a different organization than the network you meant to scan, stop and check the range. Nmap’s own documentation treats a list of unexpected names as a reason to pause.

Do not jump to a default port scan (nmap without -sn) just to “get more info.” That is a different, heavier test. This guide stops at discovery.

An example nmap host-discovery result with a few hosts, IP addresses, MAC addresses, and vendor labels.

Angry IP Scanner and Advanced IP Scanner

If you prefer a window you can click, two common free tools are enough for this job. Install them from the official sites only.

Angry IP Scanner (Windows, macOS, Linux)

Angry IP Scanner pings a range of addresses and can look up extra details for the ones that respond.

  1. Install or run it from angryip.org.
  2. Leave the feeder on IP Range (or pick Advanced if you want CIDR). Set the start and end to your subnet, for example 192.168.1.1 to 192.168.1.254.
  3. Under Tools > Select fetchers, keep IP and Ping, and add Hostname and MAC address if they are not already selected. MAC lookup only makes sense on the local network.
  4. Click Start.

In the results, blue is an alive host (it answered a ping), red is a dead or silent address, and green means the host had an open port in the ports you asked it to check. A red line is not proof the address is unused: some firewalls drop ping. If you only want a device list, you do not have to enable a port fetcher.

You can export the list (CSV, TXT, or XML) from the export options when you want a record.

Advanced IP Scanner (Windows)

Advanced IP Scanner is a Windows scanner from Famatech.

  1. Install or run it from the official site.
  2. Enter the IP range, or use the IP button on the toolbar to fill in the range for the adapter you are on. A Class C button, when present, snaps the range to .0–.255 of the prefix you already entered.
  3. Click Scan.

When it finishes, you get a list of responding computers and devices with IP address, name, MAC address, and often a manufacturer derived from the MAC prefix. The official help also describes favorites, and remote-control features that talk to Famatech’s Radmin product. You do not need those for an inventory. This guide uses the scan list only.

An example scanner results table with IP, hostname, MAC, and vendor columns, plus a short color key. Not a product screenshot.

How to read the results

Every method is trying to answer the same four questions.

IP address

This is the address on this LAN (or VLAN). Note whether it came from DHCP, a reservation, or a static setting. Two devices should not share one IPv4 address; if a scan and the DHCP table disagree, start there. Addresses in 169.254.0.0/16 are link-local and mean DHCP failed on that host, not that you found a mysterious new network.

MAC address, and the vendor prefix (OUI)

The MAC is the hardware address of the interface on this segment. The first part is an OUI (Organizationally Unique Identifier) assigned to a vendor by IEEE. Scanner apps often show a vendor name automatically. You can also look the prefix up in the IEEE Registration Authority public listing (use the MA-L registry for a typical 24-bit prefix; some assignments use longer MA-M or MA-S blocks).

A vendor name is a clue, not a proof of the exact model. “Apple” might be a phone, a laptop, or an Apple TV. “Espressif” or a similar chip-maker name often means a small IoT board, not a PC.

Private or randomized Wi-Fi MACs (a common phone and laptop privacy setting) will not match the device maker in a useful way, and the address can change. Don’t treat a changing MAC as a new physical device until you have checked that setting.

Hostname

A name is convenient when it is real (reception-pc, warehouse-printer). It is often missing, generic (android-xxx, iPhone), or stale. Trust it less than the IP and MAC, and do not assume a friendly name means the device is yours.

Last seen, and what’s missing

A DHCP lease or a controller client list may show a last-seen time. A scan only shows what answered now. Phones that are asleep, printers that are powered off, and devices on another VLAN will not look the same in both places. That gap is normal. The interesting case is a device that is up now and is not in your inventory at all.

One example scan row with the IP, MAC and vendor prefix, hostname, and vendor called out. A randomized MAC may not match the maker.

Spotting a device you don’t recognize

Unknown is not the same as malicious. New phones, a guest laptop, a smart plug, a vendor’s test device, and a second access point all show up as “unfamiliar” the first time.

Work through it in order:

  1. Match it to the DHCP table and to anything you already keep as an inventory. Same MAC, same reservation, or a name you recognize? You’re done.
  2. Use the vendor prefix and the switch port or Wi-Fi AP, if you have them. A MAC that shows up on a known wall jack is probably the device in that room. See From the demarc to your desk.
  3. Ask around before you unplug anything in an office. “Is this new printer supposed to be here?” saves a lot of guesswork.
  4. Check guest and IoT SSIDs you already operate, if the device might belong there rather than on the main LAN.
  5. If it still doesn’t belong, isolate it (a guest VLAN, a disabled switch port, or the router’s client block, depending on the gear you have) and then investigate. Don’t factory-reset a shared router as a first move. If the whole network is actually down, that’s a different path: My network is down.

Keep a short written inventory after the first clean scan: name, IP, MAC, where it lives, and who owns it. The next unknown row is much easier to judge.

Final checklist

  • You are scanning a LAN you own or have permission to scan, and you stayed on the intended subnet (and VLAN).
  • You confirmed this computer’s address, mask, and gateway with ipconfig, ifconfig, or ip addr — and you are not on a 169.254. address.
  • You pulled the router’s (or UniFi / Meraki) DHCP or client list and kept it as the first reference.
  • You built or refreshed a device list from ARP after a short ping sweep, and/or from nmap -sn, Angry IP Scanner, or Advanced IP Scanner.
  • For each interesting row you recorded the IP, MAC, vendor prefix or name, and hostname, and you did not treat a randomized MAC as a hard identity.
  • Unfamiliar devices were compared to the inventory and the DHCP table before anyone unplugged or blocked them.
  • This was a discovery pass, not a port scan of a network you were not asked to test.

Still stuck?

If a device you can see in the room never appears in DHCP, ARP, or a scanner, message me with the computer OS you scanned from, the subnet (not the router’s admin password), whether you used the DHCP table, and what ipconfig or ip addr shows for the scanner PC. Chat with Technical Terrence

Last updated: November 23, 2026

Sources checked

Router and firewall DHCP page names vary by vendor and firmware. This guide does not treat one consumer router’s menu as a universal path.

Not fully verified

  • Exact DHCP menu names. “Attached Devices,” “DHCP Clients,” and similar labels are common, not a standard. Always follow the device’s own help or label.
  • Ping sweep timing and filters. -w 200 (Windows) and -W 1 (typical Linux/macOS) are practical starting values, not a requirement. Some devices answer slowly; some never answer ICMP and still show up in ARP or Nmap’s local ARP discovery.
  • PowerShell Test-Connection as a sweep. The classic for /L ping loop is shown because it is widely used and the ping flags are documented. Equivalent PowerShell one-liners vary by Windows version, so they are not treated as a single official command in the body.
  • Angry IP Scanner colors and fetcher names come from the project’s own documentation and getting-started text. The UI can change with a release; use Tools > Select fetchers if the menu label differs slightly.
  • Advanced IP Scanner columns. Official help describes scanning a range (or filling it with the IP button) and getting a list of computers. Manufacturer and share-related columns can depend on the version and the options under Settings. This guide only relies on IP, name, and MAC.
  • Browser local-network restrictions. Chromium and other browsers have tightened what a public website can request on private addresses, and the exact policy name has changed over time. The body leads with the stronger, stable limits: the dashboard runs on Cloudflare, and a web page cannot send ARP or ICMP.
  • IEEE OUI vs randomized MACs. Vendor lookup is accurate only for an assigned prefix. Privacy MAC features on phones and laptops are real and common; behavior varies by OS and is not verified here for every vendor.

Related tools