All tools

Home Network & IoT

DHCP lease table auditing

Review DHCP leases to find unknown devices and sticky squatters.

beginner
Router
Linux
Reconnaissance
Defense

Authorized testing only. Practice on systems you own, isolated labs, or targets with written permission. Unauthorized access is illegal.

When

Weekly home hygiene or after guests leave.

How

Export lease list; compare to known inventory; reserve/static known devices; block unknowns.

Why

Routers already track who joined — use that data.

Commands & usage

# Router UI: LAN → DHCP clients / leases
cat /var/lib/misc/dnsmasq.leases  # common on OpenWrt/Pi-hole
cat /var/lib/dhcp/dhcpd.leases

Commands are educational examples. Adapt hosts, paths, and rates to your authorized scope.

Tags

home-network
dhcp
inventory
essential

Related in Home Network & IoT