Address allocation processing method, device and system

A technology for allocating processing and addresses, which is applied in the field of communication and can solve problems such as waste of IP addresses

CN102025798AActive Publication Date: 2011-04-20HUAWEI TECH CO LTD
3 Cites 32 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2011-04-20

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides an address allocation processing method, device and system. The method comprises the following steps: a first BRAS (broadband remote access server) receives a DHCP (dynamic host configuration protocol) relay message sent by the a second BRAS, wherein the DHCP relay message comprises a gateway IP (internet protocol) address and response information based on a source IP address; the first BRAS analyzes the DHCP relay message to obtain the gateway IP address, and allocates an idle IP address from the obtained address pool which is matched with the gateway IP address; and the first BRAS encapsulates the source IP address in the DHCP relay message in a target IP address in a response message based on the response information of the source IP address, loads the idle IP address in the encapsulated response message, and sends the encapsulated response message loaded with the idle IP address to the second BRAS. By the address allocation processing method, device and system provided by the invention, the address waste phenomenon existing in the process that a BRAS adopts a built-in DHCP server to allocate IP addresses under a double-machine hot backup scene in the prior art is eliminated.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The embodiments of the present invention relate to the field of communication technologies, and in particular, to an address allocation processing method, device, and system. Background technique

[0002] There are three ways to assign the Internet Protocol (abbreviation: IP) address between the networks of access devices: the first way is that the broadband access server (Broadband Remote Access Server; abbreviation: BRAS) has a built-in dynamic host configuration protocol. (Dynamic Host Configuration Protocol; abbreviation: DHCP) server (server) assigns IP addresses, and the BRAS also has built-in IP address management functions, etc.; the second method is that the BRAS is equipped with an external DHCP server to assign IP addresses, and the BRAS acts as a DHCP relay , and maintain the user's address renewal information, so as to release the control and forwarding resources of the access device when the user actively releases the address or does not ...

Examples

Embodiment Construction

[0034] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0035] figure 2 It is a flowchart of an embodiment of the address allocation processing method of the present invention, such as figure 2 As shown, the method of the present embodiment includes:

[0036] 101. The first BRAS receives a DHCP relay (relay) message sent by a second BRAS server, where the DHCP relay message includes a gateway IP ad...