We use cookies on our website to ensure we provide you with the best experience on our website. By using our website, you agree to the use of cookies for analytics and personalized content.This website uses cookies. More Information
It seems like your browser didn't download the required fonts. Please revise your security settings and try again.
Barracuda CloudGen Firewall

How to Retrieve the DUID from the IPv6 Lease File

  • Last updated on

In some cases, your ISP may require the DUID to configure your IPv6 WAN access. The DUID is stored on the firewall in /var/phion/preserve/boxnet/DHCPv6 in the file dhclient<n>.leases, where <n> stands for the number of the DHCP interface. When creating a PAR file, these lease files are not archived. Although these configuration files are recreated by the DHCPv6 client on its first restart after re-installing or restoring the firewall from a backup, the original DUID information must be restored manually into these files.

How to Retrieve the DUID from the Original IPv6 Lease File

Create a backup of your DUID after the first successful DHCPv6 connection to your Internet provider.

  1. Log into your firewall via SSH.
  2. Enter cd /var/phion/preserve/boxnet/DHCPv6
  3. Locate the configuration file dhclient<n>.leases for the interface, where <n> stands for the number of the DHCP interface. For example: dhclient1.leases.
    locate_files_in_folder.png
  4. Enter less dhclient<n>.leases to list the content of the DHCPv6 file. Note: <n>  stands for the number of the DHCP interface.
    file_content_duid.png
Last updated on