Last reviewed against v0.9.0
source:
internal/tools/dhcp_tools.go DHCP tools
Walk a switch over SNMP for active DHCP leases. Find the IP a MAC currently holds. Scope utilization for SNMP-discoverable DHCP servers.
Three operations against switches that expose DHCP info via SNMP:
| Operation | Use case |
|---|---|
| List active leases | Walk a switch, dump every (MAC, IP, port) triplet in its table |
| Find IP by MAC | Search across saved switches for a specific MAC |
| Scope utilization | Read DHCP-MIB on a server to graph free vs. assigned |
Tier-gated to Pro+.