Patent ID: 9614810
Date: 2017-04-04
CPC Classifications: H04L

Claim:
1. An address allocation processing method, comprising: receiving, by a first Broadband Remote Access Server (BRAS) which has a DHCP server function, a Dynamic Host Configuration Protocol (DHCP) relay packet sent by a second BRAS which has the DHCP server function when a state of the second BRAS is changed from a slave state into a master state in a dual-device hot backup scene, wherein the DHCP relay packet comprises a gateway IP address and source IP address-based response information; parsing, by the first BRAS, the DHCP relay packet, acquiring the gateway IP address, and allocating an idle IP address from an acquired address pool matching the gateway IP address; encapsulating, by the first BRAS, a source IP address in the DHCP relay packet into a destination IP address in a response packet according to the source IP address-based response information, and sending the idle IP address carried in the encapsulated response packet to the second BRAS.