The IA-PD option contatins the T1 and T2 values. The T1 represents the time at which prefix delegation client renews the IA_PD
prefix and lifetime values. It sends the renewal message to the server which is provided with the client's addresses and configuration
parameters to extend the lifetimes on the IA_PD prefix assigned to the client.
T2 represents the time at which the prefix delegation client tries to rebind. For example, contact any available DHCPv6 server
to extend the lifetime of IA_PD prefix. The rebind message is sent after a client receives no response to a renewal message.
Both T1 and T2 are time duration relative to the current time expressed in units of seconds.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| OPTION_IA_PD | option-length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| IAID (4 octets) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| T1 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| T2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
. .
. IA_PD-options .
. .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
On the DHCPv6 relay agent, the minimum allowed short lease value is 60 seconds. The T1 can be assigned with the configured
short lease value. T2 is derived from T1 as shown below.
T2 = minimum (2 * T1 * 0.8, DHCPv6 Server assigned T2 value) |
If the DHCPv6 server sets T1 and T2 to the value 0, the T1 and T2 calculation is determined by the client. In this case, T1
can be assigned with the configured short lease.
T2 shall be calculated as shown below.
Note
|
If the configured short lease value is greater than the server assigned T1 value then this feature will not be applied.
|
DHCPv6 relay agent uses timer wheel for handling the server assigned T1 and T2 values.