The current contents of the DHCPv6 lease database and related information are viewable at Status > DHCPv6 leases.
The page contains multiple sections with information about leases.
This section of the page lists DHCPv6 client leases and their properties, including:
- IPv6 Address
IPv6 address assigned to the client by DHCP, or static mapping address.
The Interface Association Identifier (IAID) for a client interface.
The IAID is meant to be unique per interface on the device.
Due to variances in DHCPv6 clients between operating systems and manufacturers some clients do not send an IAID.
The DHCP Unique Identifier (DUID) of this client.
The DUID is meant to be unique per device.
IPv6 hosts are identified by a combination of the IAID and DUID.
Due to variances in DHCPv6 clients between operating systems and manufacturers some DUID values are sized differently than others.
- MAC Address
The client MAC address, if known.
Installing the NMAP package activates a feature which allows the page to also display the manufacturer associated with the MAC address, if it is known. Note that this is not effective in some cases, such as for virtual machines which use randomly generated MAC addresses or for wireless clients which utilize privacy features that alter their MAC addresses.
The hostname (if known) from static leases.
DHCPv6 does not obtain hostnames from clients dynamically like DHCPv4, so this field is only populated from static mapping entries.
The beginning and end times of the DHCP lease.
For static mappings the page prints
n/aas static mapping leases do not have a start or end time, and they do not expire.
Whether or not the machine is currently “online” as indicated by the contents of the NDP table.
If a system shows online, then it has recently tried to communicate to or through this firewall.
A host marked as offline may be powered on and working but it has not attempted communication to or through the firewall recently.
- Lease Type
The type of lease assigned to this client, which can be one of:
This lease entry is from a static mapping entry.
A current lease from an active client.
A lease which has expired because a client did not renew it before its expiration time.
This list only contains information on leases handed out by DHCPv6. If a client assigns itself an address some other way (e.g. SLAAC) it cannot be listed on this page.
The search box filters the contents of the Leases table based on keyword matching.
Enter a search string or UNIX regular expression into the box and click Search to filter the list to only matching records.
By default the search looks at text from all fields in the lease record, but this can be limited to specific fields using the drop-down list.
Add static mapping¶
To create a static mapping from a dynamic lease, click the to the right of the lease. This pre-fills the DUID of the client into the Edit static mapping screen.
Edit static mapping¶
Entries for existing static mappings have the icon which takes the user to the page to edit that specific entry.
Delete a lease¶
While viewing the leases, an expired or inactive lease may be manually deleted by clicking at the end of its line. This option is not available for active or static leases, only for offline or expired leases.
When Prefix Delegation is enabled, the bottom of the page lists delegated prefixes and their routing.
Entries for each delegated prefix include the following information:
- IPv6 Prefix
The IPv6 prefix and length which the firewall has delegated to a DHCPv6 client.
- Routed To
The IPv6 address to which the firewall is routing the IPv6 prefix.
The target address will match one of the leases in the list at the top of the screen.
The IAID+DUID combination will match one of the leases in the list at the top of the screen and identifies the host to which the firewall is routing this prefix.
The start and end time of this delegation. If the client renews its delegation request, the times will update accordingly.
The status of the delegation, which can be one of:
A current delegation to an active client.
A delegation which has expired because a client did not renew it before its expiration time.
View inactive leases¶
By default the page lists active and static leases. Clicking Show all configured leases makes the page display all leases, including inactive and expired leases.
To reduce the view back to normal, click Show active and static leases only.
Clear DHCP Leases¶
The Clear all DHCPv6 leases button stops the DHCPv6 daemon, removes the entire lease database, and then starts the daemon again.
This does not remove static DHCPv6 mappings, only dynamic leases.