×

UniFi Video will reach end-of-support on December 31st, 2020.

For more information, please refer to the official community notice.

UniFi - UDM/USG: Configuring DHCPv6-PD and Static IPv6 Addressing

Overview

Readers will learn how to configure DHCPv6-PD or static IPv6 addresses on the UDM and USG models.

NOTES & REQUIREMENTS:
  • Applicable to the latest firmware on the UDM and USG models.
  • Obtain the necessary information from your ISP, such as the DHCPv6-PD size, before following the steps from this article.
  • The DHCPv6-PD feature only works if the ISP supports Prefix Delegation.

Table of Contents

  1. Introduction
  2. Configuring DHCPv6 Prefix Delegation (DHCPv6-PD)
  3. Configuring Static IPv6 Addresses
  4. Related Articles

Introduction

Depending on the configuration of the ISP, the UDM/USG can either use DHCPv6-PD (Prefix Delegation) or Static IPv6 addresses to provide IPv6 connectivity to the clients on the LAN. In both setups, the information regarding the connection type and its values is provided by the ISP. For example, the ISP can provide the following information if the connection type is DHCPv6-PD:

Connection Type: DHCPv6
Prefix Delegation Size: 56

And the following information if the connection type is static:

Connection Type: Static
WAN (Transit) IPv6 Address: 2001:db8::1/64 (WAN)
LAN Network Range:
2001:db8:1::/64 (LAN)
Primary DNS Server: 2001:db8::2
Secondary DNS Server: 2001:db8::3

Configuring DHCPv6 Prefix Delegation (DHCPv6-PD)

GUI: Access the UniFi Controller Web UI.

Follow the steps below to configure the DHCPv6-PD feature on the UDM/USG models:

UDM DHCPv6-PD
USG DHCPv6-PD

Follow the steps below when using the New Web UI:

1. Navigate to the  settings.png  Settings > Internet > WAN Networks section.

2. Set the IPv6 Connection Type to Using DHCPv6 and add the prefix delegation size obtained from your ISP. For example when using /56:

IPv6 Connection Type: Using DHCPv6
Prefix Delegation Size: 56

dhcpv6-wan.png

3. Apply the settings.

4. Navigate to the  settings.png  Settings > Networks > Local Networks section and edit or create the required LAN network.

5. Set the IPv6 Connection Type to Prefix Delegation and fill in the other information:

IPv6 Interface Type: Prefix Delegation
IPv6 RA: Checked
IPv6 RA Priority: High
DHCPv6 Range > Start: ::2
DHCPv6 Range > Stop: ::7d1
DHCPv6/RDNSS DNS Control: Auto
DHCPv6/RDNSS Name Server > DNS Server 1: <customizable>
DHCPv6/RDNSS Name Server > DNS Server 2: <customizable>

dhcpv6-lan-udm.png

6. Apply the changes.

Follow the steps below when using the Classic Web UI:

1. Navigate to the  settings.png  Settings > Networks section and edit the WAN network.

2. Set the IPv6 Connection Type to Using DHCPv6 and add the prefix delegation size obtain from your ISP. For example when using /56:

IPv6 Connection Type: Using DHCPv6
Prefix Delegation Size: 56

3. Apply the settings.

4. Navigate to the  settings.png  Settings > Networks section and edit or create the required LAN network.

5. Expand the Configure IPv6 Network section and fill in the necessary information:

IPv6 Interface Type: Prefix Delegation
IPv6 Prefix Delegation Interface: WAN or WAN2
IPv6 RA: Checked
IPv6 RA Priority: High
DHCPv6 Range: ::2 to ::7d1
DHCPv6/RDNSS DNS Control: Auto
DHCPv6/RDNSS Name Server > DNS Server 1: <customizable>
DHCPv6/RDNSS Name Server > DNS Server 2: <customizable>

Follow the steps below when using the New Web UI:

1. Navigate to the  settings.png  Settings > Internet > WAN Networks section.

2. Set the IPv6 Connection Type to Using DHCPv6 and add the prefix delegation size obtained from your ISP. For example when using /56:

IPv6 Connection Type: Using DHCPv6
Prefix Delegation Size: 56

dhcpv6-wan.png

3. Apply the settings.

4. Navigate to the  settings.png  Settings > Networks > Local Networks section and edit or create the required LAN network.

5. Set the IPv6 Connection Type to Prefix Delegation and fill in the other information:

IPv6 Interface Type: Prefix Delegation
IPv6 Prefix ID: <customizable>
IPv6 Prefix Delegation Interface: WAN or WAN2
IPv6 RA: Checked
IPv6 RA Priority: High
IPv6 RA Valid Lifetime: 86400
IPv6 RA Preferred Lifetime: 14400
DHCPv6/RDNSS DNS Control: Auto
DHCPv6/RDNSS Name Server > DNS Server 1: <customizable>
DHCPv6/RDNSS Name Server > DNS Server 2: <customizable>
DHCPv6/RDNSS Name Server > DNS Server 3: <customizable>
DHCPv6/RDNSS Name Server > DNS Server 4: <customizable>

dhcpv6-lan-usg.png

6. Apply the changes.

Follow the steps below when using the Classic Web UI:

1. Navigate to the  settings.png  Settings > Networks section and edit the WAN network.

2. Set the IPv6 Connection Type to Using DHCPv6 and add the prefix delegation size obtained from your ISP. For example when using /56:

IPv6 Connection Type: Using DHCPv6
Prefix Delegation Size: 56

3. Apply the settings.

4. Navigate to the  settings.png  Settings > Networks > section and edit or create the required LAN network.

5. Expand the Configure IPv6 Network section and fill in the necessary information:

IPv6 Interface Type: Prefix Delegation
IPv6 Prefix Delegation Interface: WAN or WAN2
IPv6 Prefix ID: <customizable>
IPv6 RA: Checked
IPv6 RA Priority: High
IPv6 RA Valid Lifetime: 86400
IPv6 RA Preferred Lifetime: 14400
DHCPv6/RDNSS DNS Control: Auto
DHCPv6/RDNSS Name Server > DNS Server 1: <customizable>
DHCPv6/RDNSS Name Server > DNS Server 2: <customizable>
DHCPv6/RDNSS Name Server > DNS Server 3: <customizable>
DHCPv6/RDNSS Name Server > DNS Server 4: <customizable>

Configuring Static IPv6 Addresses

GUI: Access the UniFi Controller Web UI.

Follow the steps below to configure the Static IPv6 addresses on the WAN and LAN interface of the UDM/USG models:

UDM Static IPv6
USG Static IPv6

Follow the steps below when using the New Web UI:

1. Navigate to the  settings.png  Settings > Internet > WAN Networks section.

2. Set the IPv6 Connection Type to Static IP and add the information obtained from your ISP. For example:

IPv6 Connection Type: Static IP
IPv6 Address: 2001:db8::1
Prefix Length: 64
Router: 2001:db8::2

static-ipv6-wan.png

3. Apply the settings.

4. Navigate to the  settings.png  Settings > Networks > Local Networks section and edit or create the required LAN network.

5. Set the IPv6 Connection Type to Static and fill in the other information. For example:

IPv6 Interface Type: Static
IPv6 Gateway Subnet: 2001:db8:1::1/64
IPv6 RA:
Checked
IPv6 RA Priority: High
DHCPv6: Checked
DHCPv6 Range > Start: 2001:db8:1::2
DHCPv6 Range > Stop: 2001:db8:1::7d1
DHCPv6 Lease Time: 86400
DHCPv6/RDNSS DNS Control: Auto
DHCPv6/RDNSS Name Server > DNS Server 1: <customizable>
DHCPv6/RDNSS Name Server > DNS Server 2: <customizable>
DHCPv6/RDNSS Name Server > DNS Server 3: <customizable>
DHCPv6/RDNSS Name Server > DNS Server 4: <customizable>

static-ipv6-lan-udm.png

6. Apply the changes.

Follow the steps below when using the Classic Web UI:

1. Navigate to the  settings.png  Settings > Networks section and edit the WAN network.

2. Set the IPv6 Connection Type to Static IP and add the information obtained from your ISP. For example:

IPv6 Connection Type: Static IP
IPv6 Address: 2001:db8::1
Prefix Length: 64
Router: 2001:db8::2

3. Apply the settings.

4. Navigate to the  settings.png  Settings > Networks section and edit or create the required LAN network.

5. Expand the Configure IPv6 Network section and fill in the other information. For example:

IPv6 Interface Type: Static
IPv6 Gateway/Subnet: 2001:db8:1::1/64
IPv6 RA:
Checked
IPv6 RA Priority: High
DHCPv6: Checked
DHCPv6 Range: 2001:db8:1::2 to 2001:db8:1::7d1
DHCPv6 Lease Time: 86400
DHCPv6/RDNSS DNS Control: Auto
DHCPv6/RDNSS Name Server > DNS Server 1: <customizable>
DHCPv6/RDNSS Name Server > DNS Server 2: <customizable>
DHCPv6/RDNSS Name Server > DNS Server 3: <customizable>
DHCPv6/RDNSS Name Server > DNS Server 4: <customizable>

Follow the steps below when using the New Web UI:

1. Navigate to the  settings.png  Settings > Internet > WAN Networks section.

2. Set the IPv6 Connection Type to Static IP and add the information obtained from your ISP. For example:

IPv6 Connection Type: Static IP
IPv6 Address: 2001:db8::1
Prefix Length: 64
Router: 2001:db8::2

static-ipv6-wan.png

3. Apply the settings.

4. Navigate to the  settings.png  Settings > Networks > Local Networks section and edit or create the required LAN network.

5. Set the IPv6 Connection Type to Static and fill in the other information. For example:

IPv6 Interface Type: Static
IPv6 Gateway Subnet: 2001:db8:1::1/64
IPv6 RA:
Checked
IPv6 RA Priority: High
IPv6 RA Valid Lifetime: 86400
IPv6 RA Preferred Lifetime: 14400
DHCPv6: Checked
DHCPv6 Range > Start: 2001:db8:1::2
DHCPv6 Range > Stop: 2001:db8:1::7d1
DHCPv6 Lease Time: 86400
DHCPv6/RDNSS DNS Control: Auto
DHCPv6/RDNSS Name Server > DNS Server 1: <customizable>
DHCPv6/RDNSS Name Server > DNS Server 2: <customizable>
DHCPv6/RDNSS Name Server > DNS Server 3: <customizable>
DHCPv6/RDNSS Name Server > DNS Server 4: <customizable>

static-ipv6-lan-usg.png

6. Apply the changes.

Follow the steps below when using the Classic Web UI:

1. Navigate to the  settings.png  Settings > Networks section and edit the WAN network.

2. Set the IPv6 Connection Type to Static IP and add the information obtained from your ISP. For example:

IPv6 Connection Type: Static IP
IPv6 Address: 2001:db8::1
Prefix Length: 64
Router: 2001:db8::2

3. Apply the settings.

4. Navigate to the  settings.png  Settings > Networks section and edit or create the required LAN network.

5. Expand the Configure IPv6 Network section and fill in the other information. For example:

IPv6 Interface Type: Static
IPv6 Gateway/Subnet: 2001:db8:1::1/64
IPv6 RA:
Checked
IPv6 RA Priority: High
IPv6 RA Valid Lifetime: 86400
IPv6 RA Preferred Lifetime: 14400
DHCPv6: Checked
DHCPv6 Range: 2001:db8:1::2 to 2001:db8:1::7d1
DHCPv6 Lease Time: 86400
DHCPv6/RDNSS DNS Control: Auto
DHCPv6/RDNSS Name Server > DNS Server 1: <customizable>
DHCPv6/RDNSS Name Server > DNS Server 2: <customizable>
DHCPv6/RDNSS Name Server > DNS Server 3: <customizable>
DHCPv6/RDNSS Name Server > DNS Server 4: <customizable>

Related Articles

Intro to Networking - Dynamic Host Configuration Protocol (DHCP)

Was this article helpful?
36 out of 91 found this helpful