Skip to content

Instantly share code, notes, and snippets.

View joaoportela's full-sized avatar

João Paulo dos Santos Portela joaoportela

View GitHub Profile

Broadcast DHCP Request

Broadcast a DHCP request (using NMAP). Usefull to check if:

  • You have multiple DHCP servers in your network.
  • DHCP servers are responding with expected values (DNS servers, IP range, etc).

Uses a fixed MAC address, which means it does not exaust the IP pool.

Uses NMap script broadcast-dhcp-discover: