Comment 3 for bug 1470343

Revision history for this message
Gordon Mckeown (thefluffyone) wrote :

A workaround, provided you don't require the source MAC address to be correct for the executing machine:

nmap -sU -p 67 --script=dhcp-discover --script-args=randomize_mac=true <target-server>

Depending on your use case, an alternative could be to use the broadcast DHCP script:

nmap --script=broadcast-dhcp-discover