GetMadTools All guides Download Madconfig

MadToolsGuidesFind a device's IP address

Network guide

How to find the IP address of a device on your network

Short answer

If you know the device's name, run ping -4 name. If you know its MAC address (often on a sticker), ping the subnet and look it up with arp -a. If you know neither, check the router's client list or scan the network: a scanner shows every device with its IP, MAC, vendor and type, so you can spot the printer or camera by its brand.

First: your own IP address and subnet

Open Command Prompt and run:

ipconfig

Look at your network adapter. IPv4 Address is your PC (for example 192.168.1.25) and Default Gateway is usually the router (192.168.1.1). With a 255.255.255.0 subnet mask, every device on the same network has an address from 192.168.1.1 to 192.168.1.254. That is the range you will search.

Method 1: ask the device itself

Many devices will simply tell you:

Method 2: the router or firewall client list

Open the router's web page (the Default Gateway address in a browser) and look for DHCP clients, Connected devices or Client list. It shows the IP, MAC and often the name of every device that got its address from the router.

The catch: devices with a fixed (static) IP never ask the router for an address, so they are often missing. Printers, cameras, NVRs and switches are exactly the devices that tend to have static IPs.

Method 3: by name, with ping and nslookup

If you know the device's network name (a PC name, or a printer name such as HPLJ-RECEPTION):

ping -4 HPLJ-RECEPTION
nslookup HPLJ-RECEPTION

ping -4 shows the IPv4 address it reached. nslookup asks the DNS server, which in an office with a domain usually knows every PC. This only works when the name is registered somewhere, so many cameras and IoT devices won't answer by name.

Method 4: by MAC address, with arp -a

Most devices have their MAC address printed on a label (for example A4:5E:60:12:34:56). Windows only knows the MAC of devices it has talked to recently, so first ping the whole subnet in PowerShell (change 192.168.1 to your network):

1..254 | ForEach-Object { Test-Connection "192.168.1.$_" -Count 1 -TimeoutSeconds 1 -ErrorAction SilentlyContinue } | Out-Null

Then search the ARP table. Windows writes MAC addresses with dashes, in lower case for arp:

arp -a | findstr "a4-5e-60-12-34-56"

Or in PowerShell:

Get-NetNeighbor -LinkLayerAddress "A4-5E-60-12-34-56"

The line it returns has the device's IP. If nothing comes back, the device didn't answer and isn't in the table, which is common for devices that block ping. Test-Connection -TimeoutSeconds needs PowerShell 7; in Windows PowerShell 5.1 leave that parameter out.

Method 5: scan the network with Madconfig

When you don't know the name or the MAC, or you need the addresses of many devices at once, a network scanner is the quickest way:

  1. Download Madconfig (free, every feature for 5 days) and run it as administrator for the most complete results.
  2. Press Scan. In about a minute you get every device on the subnet with its IP, MAC, vendor and hostname. Madconfig uses ICMP, ARP, mDNS, NetBIOS and TCP probes together, so devices that ignore ping still show up.
  3. Type in the search box: a brand (HP, Hikvision, Ubiquiti), part of a MAC address, a name or a port. Devices are also sorted into types such as Firewall, Router, Camera, Computer, NAS and Printer.
  4. Click the device to see its open ports, or open its web panel directly.
Madconfig device list with IP address, MAC address, vendor and device type for every host
Madconfig lists every device with its IP, MAC, vendor and type. Search by brand to find the printer or camera.

If the device's IP keeps changing

A device that gets its address from DHCP can come back with a different IP after a restart. Two fixes:

Use these methods only on networks you own or are authorised to manage.

Find every device's IP in about a minute

Madconfig · free download · every feature for 5 days · Windows 10 / 11