Advertising subnets assigned to clients

This feature enables the route management module to advertise subnets assigned to DHCPv6 clients. This feature achieves symmetric routing for traffic of the same host.

As shown in Figure 95, Router A and Router B act as both the DHCPv6 server and the BRAS device. The BRAS devices send accounting packets to the RADIUS server. To enable the BRAS devices to collect correct accounting information for each RADIUS user, configure the DHCPv6 server to advertise subnets assigned to clients. The upstream and downstream traffic of a RADIUS user will pass through the same BRAS device.

Figure 95: Network diagram

The subnet advertising on the master device takes effect if the DHCPv6 address pool is bound to a VSRP instance. If the address pool is applied to a VPN instance, the VPN instance must exist.

To configure the subnet advertisement feature:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Create an address pool and enter its view.

ipv6 dhcp pool pool-name

By default, no DHCPv6 address pools exist.

3. Advertise the subnet assigned to DHCPv6 clients.

network { prefix/prefix-length | prefix prefix-number [ sub-prefix/sub-prefix-length ] } [ preferred-lifetime preferred-lifetime valid-lifetime valid-lifetime ] export-route

By default, the subnet assigned to DHCPv6 clients is not advertised.