58
Binding gateways to a common MAC address
This feature enables DHCP clients of different types to obtain different gateway IP addresses but the
same MAC address. In addition to assigning gateway IP addresses to the clients, the DHCP server
adds the gateway IP addresses and server's MAC address to the address management module. The
ARP module can use the entries to reply ARP requests from the clients.
As shown in Figure 22, the DHCP
server is configured on the access device that provides access for
clients of different service types, such as broadband, IP TV, and IP telephone. The clients of different
types obtain IP addresses on different subnets. For the clients to access the network, the access
interface typically has no IP address configured. You must bind the gateways to a MAC address
when specifying gateways for the DHCP clients.
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-64>
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 Figure 23, Ro
uter 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.
...