54
Figure 22 Network diagram
The gateway binding feature on the master device takes effect if the DHCP address pool is bound to
a VSRP instance. If the address pool is applied to a VPN instance, the VPN instance must exist.
To bind the gateways to a common MAC address:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a DHCP address pool
and enter its view.
dhcp server ip-pool
pool-name
By default, no DHCP address
pool exists.
3.
Bind the gateways to the
device's MAC address.
gateway-list
ip-address
&<1-8>
export-route
By default, gateways are not
bound to any MAC address.
Advertising subnets assigned to clients
This feature enables the route management module to advertise subnets assigned to DHCP clients.
This feature achieves symmetric routing for traffic of the same host.
As shown in
, Router A and Router B act as both the DHCP 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 DHCP server to
advertise subnets assigned to clients. The upstream and downstream traffic of a RADIUS user will
pass through the same BRAS device.
Figure 23 Network diagram
The subnet advertising on the master device of a VSRP instance takes effect. If the address pool is
applied to a VPN instance, the VPN instance must exist.
...
Host B
Host A
Host C
Upstream traffic
Downstream traffic
Router A
DHCP server
BRAS
GE1/0/1
GE1/0/2
2.2.2.2/24
GE1/0/1
GE1/0/2
2.2.2.3/24
Router B
DHCP server
BRAS
Layer 2 switch
IP network
RADIUS server