Script broadcast-dhcp6-discover

Script types: prerule
Categories: broadcast, safe

Script Summary

Sends a DHCPv6 request (Solicit) to the DHCPv6 multicast address, parses the response, then extracts and prints the address along with any options returned by the server.

The script requires Nmap to be run in privileged mode as it binds the socket to a privileged port (udp/546).

See also:

Example Usage

nmap -6 --script broadcast-dhcp6-discover

Script Output

| broadcast-dhcp6-discover:
|   Interface: en0
|     Message type: Advertise
|     Transaction id: 74401
|     Options
|       Client identifier: MAC: 68:AB:CD:EF:AB:CD; Time: 2012-01-24 20:36:48
|       Server identifier: MAC: 08:FE:DC:BA:98:76; Time: 2012-01-20 11:44:58
|       Non-temporary Address: 2001:db8:1:2:0:0:0:1000
|       DNS Servers: 2001:db8:0:0:0:0:0:35
|       Domain Search:,
|_      NTP Servers: 2001:db8:1111:0:0:0:0:123, 2001:db8:1111:0:0:0:0:124



  • Patrik Karlsson

License: Same as Nmap--See