Prefix Delegation Server configuration

Prefix Delegation Server configuration

Prefix Delegation Server configuration
Prefix Delegation Server configuration
2025-07-25 05:15:30 - last edited 3 weeks ago
Tags: #Routing #IPv6 #Prefix Delegation Server
Model: ER7406  
Hardware Version: V1
Firmware Version: 1.2.0 Build 20250218 Rel.17499

I am trying to understand how to properly configure the IPv6 Prefix Delegation Server in my ER7406 so that I can have a multi-layered tree-style internal network.

 

My Configuration

 

My ISP offers IPv6 support and a /56 delegated prefix. I wish to split this into subnets and offer smaller prefixes to child routers connected to my LAN. What is the supported configuration for this scenario? Right now I have set things up thusly:

 

WAN:

Type: Dynamic IP (SLAAC+Stateless DHCP)

IPv6 Address: 2001:db8:8000:1A:<SLAAC-based stuffix>/64

Advanced:

Prefix Delegation: Enable

Prefix Delegation Size: 62

 

LAN:

Type: SLAAC+Stateless DHCP

Prefix: Get from Prefix Delegation

IPv6 Prefix ID (0-3): 1

Address Prefix: 2001:db8:1241:0901::/64

 

Prefix Delegation Server:

Prefix Delegation: Enable

<multiple entries allowed>

Prefix: 2001:db8:1241:0900::/56

Prefix Length: 62

Prefix ID (0-63): 1

New Prefix: 2001:db8:1241:0904::/62

Link-local Address: FE80::<EUI>

DUID: <a couple hex digits>

<another entry>

Prefix: 2001:db8:1241:0900::/56

Prefix Length: 62

Prefix ID (0-63): 2

New Prefix: 2001:db8:1241:0908::/62

etc.

 

Questions

 

LAN configuration is based on the prefix size requested, not the prefix size given?

I requested a /62, and the LAN configuration page reflects that by allowing me 64-62=2 bits for choosing an ID (0-3). But the actual prefix is /56, not /62.

 

Only one place to specify prefix size?

The only place to specify the size of the delegated prefix is in the WAN configuration page. This is the size of the prefix that is requested from the ISP. Why can I not also specify a separate prefix size in the Prefix Delegation Server, so that I can control the size of the subnets distinctly from the size of the prefix that the subnets will be carved out from? Right now I am lucky in that the ISP is (correctly) treating my requested size as a hint and choosing to give me something larger. If they gave me exactly what I asked for, I would not have any way to split it up into subnets when configuring the Prefix Delegation Server.

 

Overlap between LAN and Delegation Server?

If I configure the prefix hint on the WAN page to be /56 to match what the ISP offers, then on the LAN page my only option for the IPv6 Prefix ID is 0. But if I then also enable the prefix delegation server and configure a delegated prefix, my only option for delegated subnets is exactly the size that I requested in the WAN page, namely /56. That means the Prefix Delegation Server is offering the entire delegated prefix to a child router, which leaves none of the subnet available for the LAN itself. Is this correct? How would there not be IP address conflicts between the LAN and the child router?

 

When adding an entry to the Prefix Delegation Server, it allows me to set a Prefix ID for the new prefix, and it correctly calculates the difference between the size hint and the actual size so it knows that I have six bits available for a subnet ID (0-63). So I do not understand why there is no way to control the subnet size other than changing the WAN size hint.

 

Link-local Address?

When adding an entry to the Prefix Delegation Server, it has a field for me to enter the link-local address. What should this field be? I expect it should be the link-local address of the LAN so it can serve as the default gateway for the child router, but then why do I need to type it in manually? Why is it not auto-populated, or even just inserted automatically like the calculated New Prefix and other fields that are dictated by the router itself? Should I be leaving the field blank? Should I be using the string "::" or some other placeholder to trigger an automatic value? Should it be some other value entirely?

 

DUID?

When adding an entry to the Prefix Delegation Server, it has a field for a DUID. Is this a unique identifier for the entry, or is it supposed to be the DUID of a child router that comes in a solicitation?

  1      
  1      
#1
Options
1 Accepted Solution
Re:Prefix Delegation Server configuration-Solution
3 weeks ago - last edited 3 weeks ago

I got the solution!

 

I filed a ticket with TP-Link support, and they gave me the answer. As it turns out, the Link-local Address must be the address of the client, not the router! So once I calculated the appropriate link-local address and DUID-LL for the child, the Prefix Delegation Server did exactly what I expected it to do.

 

DUID: 00:03:00:01:<MAC address of child router>

Link-local Address: FE80::<EUI-64 of child router>

 

Suddenly my wireless router (Archer C7 v1) can get a delegated prefix that is a subnet of the delegated prefix provided by the upstream (the ISP). IPv6 now works flawlessly for wireless clients through two layers of routers doing prefix delegation. The ER7406 does, in fact, support subnetting.

 

In other words, @Clive_A is a liar.

 

The one thing I still think is not quite right is the Prefix Delegation Server entries not having an editable entry for prefix length. But that can only be fixed by making a code change to the ER7406 configuration web-based utility (standalone mode). And my use-case works, so there is no need to continue this thread.

Recommended Solution
  0  
  0  
#12
Options
11 Reply
Re:Prefix Delegation Server configuration
2025-07-25 05:22:19 - last edited 2025-07-25 05:22:38

One more question I forgot to include: I see this message in the router's logs. Is it just a notice, or indicative of a problem?

 

Prefix Delegation Size incompatible with ISP: Dynamic IPv6 acquirement succeeded. (IPv6=<null>, Gateway=<null>, DNS=<null>.)

  1  
  1  
#3
Options
Re:Prefix Delegation Server configuration
2025-07-28 02:31:17

  @Silnith 

We don't support the idea you have in this description for further splitting the /56 PD. 

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced. ● I don't provide ETA for any products/features. No comment.
  0  
  0  
#4
Options
Re:Prefix Delegation Server configuration
2025-07-28 20:01:08

How could that possibly be true? If subnetting was not intented to be supported, then the Prefix Delegation Server configuration would only allow a single entry for specifying a delegated prefix. But it was explicitly designed to allow multiple entries for delegated subnets, clearly indicating intent to allow multiple delegated prefixes. That means subnetting. After all, subnetting is the very foundation of IPv6 routing, so an IPv6 gateway that does not support subnetting would fail the most basic definition of the term.

 

My current configuration has 4 delegated prefixes, and each one has an ID that the configuration page allows to be specified based on the difference between the received prefix (/56) and the delegated prefix (/62). Therefore we know that the ER7406 is aware of the difference, and that the configuration tool is calculating the difference and explicitly offering those bits for selecting a subnet. That is intentional and it is supporting the feature you claim is not supported. The facts countradict your statement.

  1  
  1  
#5
Options
Re:Prefix Delegation Server configuration
2025-07-29 19:57:15
Let me bring this back to focus. Here are specific questions.
 
What is the purpose of the Prefix Delegation Server? It is a separate configuration from the LAN configuration. The LAN handles IPv6 configuration mechanism as well as IP address ranges. What is the Prefix Delegation Server supposed to provide?
 
When adding an entry to the Prefix Delegation Server, the prefix received from the ISP is pre-populated and not editable. This prefix is also used for configuring the LAN. How are address conficts handled? How should this be configured according to the intended usage by TP-Link?
 
When adding an entry to the Prefix Delegation Server, the Link-local Address must be entered by the user. What value should this field contain? Should multiple entries use the same value, or different values?
 
When adding an entry to the Prefix Delegation Server, the DUID field must be entered by the user. What value should this field contain? Should multiple entries use the same value, or different values? Should the value match a DUID of another host somewhere, and if so what host? Is the entered DUID used during solicitation requests to the ISP, or is it used in some other way?
 
Could somebody please address the specific, concrete questions listed here?
  1  
  1  
#6
Options
Re:Prefix Delegation Server configuration
2025-07-30 02:21:55

  @Silnith 

Silnith wrote

Let me bring this back to focus. Here are specific questions.
 
What is the purpose of the Prefix Delegation Server? It is a separate configuration from the LAN configuration. The LAN handles IPv6 configuration mechanism as well as IP address ranges. What is the Prefix Delegation Server supposed to provide?
 
When adding an entry to the Prefix Delegation Server, the prefix received from the ISP is pre-populated and not editable. This prefix is also used for configuring the LAN. How are address conficts handled? How should this be configured according to the intended usage by TP-Link?
 
When adding an entry to the Prefix Delegation Server, the Link-local Address must be entered by the user. What value should this field contain? Should multiple entries use the same value, or different values?
 
When adding an entry to the Prefix Delegation Server, the DUID field must be entered by the user. What value should this field contain? Should multiple entries use the same value, or different values? Should the value match a DUID of another host somewhere, and if so what host? Is the entered DUID used during solicitation requests to the ISP, or is it used in some other way?
 
Could somebody please address the specific, concrete questions listed here?

We receive the PD from the ISP(when the ISP modem is set to v6 bridge or passthrough), and become the only PD-able DHCPv6 server in a local network.

If your modem router has replaced the Omada router, then your IPv6 would not work properly because our router is not the one that assign the PD to the hosts in the network. So, usually, the modem is set to bridge mode. 

 

PD is never editable from your side. It is an ISP's duty. 

 

If you use the Omada gear as the only PD in your IPv6 network, then the LAN config should be SLAAC+Stateless DHCP mode. 

If you need it to work, you set it to Get from Prefix Delegation so it gets the PD from the ISP and further subnets and distributes the IPv6 IP. 

 

I don't think we need to fill out the DUID on our devices.

 

You should consult with your ISP regarding the feature we don't support. I am not seeing that Link Local is required on our device when configuring IPv6. 

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced. ● I don't provide ETA for any products/features. No comment.
  0  
  0  
#7
Options
Re:Prefix Delegation Server configuration
2025-07-31 09:36:44

Since we seem to be unable to communicate clearly, I am including screenshots to explain precisely what I am trying to understand.

 

Here is my WAN configuration page (censored):

As you can see, I am requesting a /62 from my ISP. I have confirmed with my ISP that they received the PD request with a DUID that matches my 00:03:...:A2:C2, and they responded by providing a /56, which conforms with the relevant RFCs. The prefix provided is 2001:db8:1241:0900::/56.

 

Here is my LAN configuration page. You can see it has two sections. One is for the local LAN, which services hosts connected to the direct link. The other is for a feature labeled "Prefix Delegation Server". It is on the same page, but it is a separate configuration from the LAN itself.

My current experiment with subnetting has four distinct entries for the Prefix Delegation Server. The "Add" and "Delete" buttons allow creating an arbitrary number of distinct entries, so clearly this is by design and consistent with TP-Link's intended usage of this feature.

 

Here is the expanded LAN configuration page.

As you can see, it is allocating addresses for ordinary hosts connected to the LAN from the prefix provided by the ISP. However, it is using the /56 provided but when allowing me to specify the IPv6 Prefix ID, it assumes the provided prefix is exactly what was requested on the WAN page (/62), when the actual prefix is larger (/56). That is why it only allows me to select a value in the range 0-3 (2 bits), which it uses to calculate the 2001:db8:1241:0903::/64 address pool for the LAN.

 

Hosts connected to the LAN have full IPv6 connectivity, so that part is working fine.

 

Here is the page for editing one of the several entries in the Prefix Delegation Server.

You can clearly see which fields are editable, and which are not. It allows me to select the WAN that received a delegated prefix, and it correctly populates the 2001:db8:1241:0900::/56 prefix that my ISP provided. Every single entry in the Prefix Delegation Server is using this exact same delegated prefix, which is the expected behavior if this server is here to support subnetting as is normal for IPv6 networks that consist of more than one physical link. Furthermore, the Prefix ID that it requires me to enter must take a value in the range 0-63, which is consistent with the 6 bits available between the /56 that the ISP provided and the /62 that the entry is configuring to be offered to routers (not hosts, routers) that exist on the LAN. Put simply, the only logical conclusion is that this is for subnetting, and child routers on the LAN will fetch prefixes from the ER7406 and use them for child links (such as wireless). Notice that the New Prefix (not editable since it is calculated by the ER7406) puts the Prefix ID entered in the six bits not covered by the /62, so the entries have values such as 2001:db8:1241:0904::/62 and 2001:db8:1241:0908::/62, etc. Furthermore, when I set my WAN to request a /56 and then add an entry to the Prefix Delegation Server on the LAN page, the only value allowed for the Prefix ID (in the delegation server entry) is 0, and the New Prefix ends up being 2001:db8:1241:0900::/56.

 

What is not explained is what I need to enter for the user-editable Link-local Address and DUID. They are required to have values, but there is no explanation for what the values should be. The Link-local Address does accept the value "::", but since I have not yet gotten my wireless router to solicit and receive a prefix from my ER7406, I have no way to test whether this value is correct or not. I have tried entering the DUID from my wireless router in the DUID field, and I have tried making up new values, but so far none of my experiments have yielded positive results.

 

Questions

What is the intended purpose of the Prefix Delegation Server? It is included as a standard feature of the router, how is it intended to be used?

 

Overlap?

What happens if I configure an entry in the Prefix Delegation Server that uses the Prefix ID of 0, which overlaps with the address space of the LAN? I am guessing addresses in the conflicting range would become unroutable. (This is why my entries begin with Prefix ID of 1, keeping the delegated subnets distinct from the LAN link.)

 

Link-local Address?

What value or values are acceptable for a delegated subnet's Link-local Address? Does the value "::" mean something special, such as to auto-populate the MAC address of the LAN interface on the ER7406? Do I need to manually enter in the LAN link-local address, beginning with FE80::...?

 

DUID?

What values are acceptable for the DUID of an entry in the prefix delegation server? Should individual entries match the DUID of child routers (such as a wireless router)? Should they be new, unique values? The configuration page says that the entered values can be as short as 2 or as long as 256 hexadecimal numbers, but if they need to match DUIDs received in soliciation requests, then they should be of the same length as standard DUIDs, right?

 

Prefix Length?

Why does the Prefix Delegation Server have no way to specify the Prefix Length of entries? Right now it simply uses the value as entered for the WAN, which seems like a bug. If the PD server in the ER7406 is intended to only offer the exact prefix received on the WAN interface, then it would not be possible to configure more than one entry for the Prefix Delegation Server. Since the interface allows having multiple entries (as demonstrated by the bright green "Add" button), the only logical conclusion is that this is designed for subnetting, which means entries here should always have a longer prefix than the one requested by the WAN.

 

Please help.

  1  
  1  
#8
Options
Re:Prefix Delegation Server configuration
2025-08-05 02:46:37

 

Clive_A wrote

If you use the Omada gear as the only PD in your IPv6 network, then the LAN config should be SLAAC+Stateless DHCP mode. 

If you need it to work, you set it to Get from Prefix Delegation so it gets the PD from the ISP and further subnets and distributes the IPv6 IP.

 

This is what I am trying to do. How do I control the behavior of the part you call "futher subnets and distributes the IPv6 IP"?

 

Clive_A wrote

I don't think we need to fill out the DUID on our devices.

 

I am not seeing that Link Local is required on our device when configuring IPv6. 

 

I have shown screenshots demonstrating that DUID and Link-local Address are required to be filled out. You can confirm this yourself using the emulators on this very website.

 

What values should they be set to?

  0  
  0  
#9
Options
Re:Prefix Delegation Server configuration
2025-08-05 03:14:50

  @Silnith 

Silnith wrote

 

Clive_A wrote

If you use the Omada gear as the only PD in your IPv6 network, then the LAN config should be SLAAC+Stateless DHCP mode. 

If you need it to work, you set it to Get from Prefix Delegation so it gets the PD from the ISP and further subnets and distributes the IPv6 IP.

 

This is what I am trying to do. How do I control the behavior of the part you call "futher subnets and distributes the IPv6 IP"?

 

Clive_A wrote

I don't think we need to fill out the DUID on our devices.

 

I am not seeing that Link Local is required on our device when configuring IPv6. 

 

I have shown screenshots demonstrating that DUID and Link-local Address are required to be filled out. You can confirm this yourself using the emulators on this very website.

 

What values should they be set to?

I have said that it does NOT support the idea in your original post to VLAN subnetting the IPv6.

 

The system does not support that. It only supports the getting the PD and auto distribute the v6. 

 

I was using the controller mode where the DUID and Link Local are not an option to config. It is auto configured. So, you can try the controller mode. 

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced. ● I don't provide ETA for any products/features. No comment.
  0  
  0  
#10
Options
Re:Prefix Delegation Server configuration
2025-08-05 19:23:21

  @Clive_A, I am clearly using standalone mode, there is no controller. I have shown screenshots demonstrating that there is a prefix delegation server, and explained that the only possible purpose of that server is to support the feature you claim is not supported.

 

Is your favorite color black? Is there a human that I can talk to?

  0  
  0  
#11
Options
Re:Prefix Delegation Server configuration-Solution
3 weeks ago - last edited 3 weeks ago

I got the solution!

 

I filed a ticket with TP-Link support, and they gave me the answer. As it turns out, the Link-local Address must be the address of the client, not the router! So once I calculated the appropriate link-local address and DUID-LL for the child, the Prefix Delegation Server did exactly what I expected it to do.

 

DUID: 00:03:00:01:<MAC address of child router>

Link-local Address: FE80::<EUI-64 of child router>

 

Suddenly my wireless router (Archer C7 v1) can get a delegated prefix that is a subnet of the delegated prefix provided by the upstream (the ISP). IPv6 now works flawlessly for wireless clients through two layers of routers doing prefix delegation. The ER7406 does, in fact, support subnetting.

 

In other words, @Clive_A is a liar.

 

The one thing I still think is not quite right is the Prefix Delegation Server entries not having an editable entry for prefix length. But that can only be fixed by making a code change to the ER7406 configuration web-based utility (standalone mode). And my use-case works, so there is no need to continue this thread.

Recommended Solution
  0  
  0  
#12
Options