WO2012079474A1 - 地址分配处理方法、装置和系统 - Google Patents

地址分配处理方法、装置和系统 Download PDF

Info

Publication number
WO2012079474A1
WO2012079474A1 PCT/CN2011/083434 CN2011083434W WO2012079474A1 WO 2012079474 A1 WO2012079474 A1 WO 2012079474A1 CN 2011083434 W CN2011083434 W CN 2011083434W WO 2012079474 A1 WO2012079474 A1 WO 2012079474A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
broadband access
access server
bras
pool
Prior art date
Application number
PCT/CN2011/083434
Other languages
English (en)
French (fr)
Inventor
牛承光
赵志旺
钱国锋
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP11848552.3A priority Critical patent/EP2654268B1/en
Publication of WO2012079474A1 publication Critical patent/WO2012079474A1/zh
Priority to US13/911,835 priority patent/US9614810B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5061Pools of addresses

Definitions

  • the protocol Internet Protocol; IP address
  • the first way is that the Broadband Access Server (BRAS) has a built-in dynamic host.
  • the configuration protocol Dynamic Host Configuration Protocol; cartridge) server (server) assigns an IP address, the BRAS also has an IP address management function built in;
  • the second method is that the BRAS external DHCP server assigns an IP address, and the BRAS acts as a DHCP.
  • the third method is the remote authentication dial authentication system (Remote Authentication Dial) In User Service; nickname: RADIUS) server authorized IP address, BRAS does not need to have address management.
  • RADIUS Remote Authentication Dial
  • the BRAS built-in DHCP server is used to assign an IP address
  • the external DHCP server is assigned an IP address
  • the private line user uses a remote user dial-up authentication system (Remote Authentication Dial In User Service; nickname: RADIUS). The way these three ways.
  • FIG. 1 is a schematic diagram of a network structure of a dual-system hot backup deployment scenario in the prior art.
  • the network structure mainly includes: a first BRAS 11, two BRASs 12, and a first digital subscriber line access.
  • Multiplexer Digital Subscriber Line
  • the second DSLAM 16 the first aggregation switch (Switch) 13, the second Switch 14, and the core router (Core Router).
  • the state of the first BRAS 11 is a master state (Master)
  • the state of the second BRAS 12 is a standby state (Slave)
  • the first BRAS 11 and the second BRAS 12 have a built-in DHCP server, for example: the first BRAS 11
  • the possession address segment is 1.1.1.0/24; the second BRAS 12 has an owner address segment of 2.2.2.0/24.
  • the second BRAS 12 changes from the standby state to the primary state, so that the user newly coming online from the first DSLAM 15 side is assigned the IP address by the second BRAS 12 from the 2.2.2.0/24 segment.
  • the embodiment of the invention provides a method, a device and a system for processing an address, which are used to solve the defect that the BRAS uses the built-in DHCP server to allocate an IP address in the dual-system hot backup scenario.
  • An embodiment of the present invention provides an address allocation processing method, including:
  • the first broadband access server receives the dynamic host configuration protocol relay sent by the second broadband access server;
  • the dynamic host configuration protocol relay includes the gateway IP address and the response information according to the source IP address;
  • the first broadband access server parses the dynamic host configuration protocol relay packet, obtains the gateway IP address, and allocates an idle IP address from the obtained address pool matching the gateway IP address. ;
  • the first broadband access server responds to the information according to the source IP address, and the mobile
  • the source IP address of the host device protocol relay packet is encapsulated in the destination IP address of the response packet, and the idle IP address is carried in the encapsulated response packet and sent to the second broadband connection.
  • the server receives the information according to the source IP address, and the mobile
  • the source IP address of the host device protocol relay packet is encapsulated in the destination IP address of the response packet, and the idle IP address is carried in the encapsulated response packet and sent to the second broadband connection.
  • the embodiment of the invention further provides an address allocation processing method, including:
  • the second broadband access server receives the dynamic host configuration protocol request message sent by the terminal; the second broadband access server sends the dynamic host configuration protocol relay message to the first broadband access according to the dynamic host configuration protocol request message.
  • a server; the dynamic host configuration protocol relay message includes a gateway IP address and response information according to the source IP address;
  • the second broadband access server Receiving, by the second broadband access server, a response packet sent by the first broadband access server; the response packet includes a first broadband access server that is allocated from an address pool that matches the gateway IP address. Free IP address.
  • the embodiment of the invention provides a broadband access server, including:
  • a first receiving module configured to receive a dynamic host configuration protocol relay message sent by the second broadband access server;
  • the dynamic host configuration protocol relay message includes a gateway IP address and response information according to the source IP address;
  • a first allocation module configured to parse the dynamic host configuration protocol relay packet, obtain the gateway IP address, and allocate an idle IP address from the obtained address pool matching the gateway IP address;
  • the response packet sending module is configured to encapsulate the source IP address in the dynamic host device protocol relay packet in the destination IP address in the response packet according to the source IP address response information, and The idle IP address is carried in the encapsulated response message and sent to the second broadband access server.
  • the embodiment of the invention further provides a broadband access server, including:
  • Dynamic host configuration protocol relay The text includes the gateway IP address and the response information according to the source IP address;
  • a response packet receiving module configured to receive a response packet sent by the first broadband access server, where the response packet includes a first broadband access server that is allocated from an address pool that matches the gateway IP address. Free IP address.
  • An embodiment of the present invention provides an address allocation processing system, including a first broadband access server and a second broadband access server, where the first broadband access server is the broadband access server, and the second broadband Access to the above broadband access server.
  • the address allocation processing method, device, and system of the embodiment of the present invention receive the DHCP relay packet sent by the second BRAS through the first BRAS, and parse the DHCP relay packet to obtain the gateway IP address in the DHCP relay packet. And assigning an idle IP address to the obtained address pool matching the IP address of the gateway, and then, according to the response information of the source IP address in the DHCP relay packet, the source IP address in the DHCP relay packet is sealed.
  • the BRAS adopts There is a defect in the waste of the address when the built-in DHCP server allocates an IP address.
  • FIG. 1 is a schematic diagram of a network structure of a dual-system hot backup deployment scenario in the prior art
  • FIG. 2 is a flowchart of an embodiment of an address allocation processing method of the present invention
  • FIG. 3 is a flowchart of still another embodiment of an address allocation processing method of the present invention.
  • FIG. 5 is a schematic structural diagram of an embodiment of a BRAS according to the present invention
  • FIG. 6 is a schematic structural view of still another embodiment of a BRAS according to the present invention
  • Figure 7 is a schematic structural view of still another embodiment of the BRAS of the present invention.
  • Figure 8 is a schematic structural view of still another embodiment of the BRAS of the present invention.
  • FIG. 9 is a schematic structural diagram of an embodiment of an address allocation processing system according to the present invention.
  • FIG. 2 is a flowchart of an embodiment of an address allocation processing method according to the present invention. As shown in FIG. 2, the method in this embodiment includes:
  • the first BRAS receives a DHCP relay message sent by the second BRAS server, where the DHCP relay message includes a gateway IP address and response information according to the source IP address.
  • the first BRAS and the second BRAS have a DHCP server function and an IP address management function, and the first BRAS-managed network segment, that is, the first BRAS local address pool can be backed up in the first On the second BRAS, the second BRAS managed network segment, that is, the second BRAS local address, can also be backed up on the first BRAS.
  • the state of the first BRAS is the primary state
  • the state of the second BRAS is the standby state.
  • the state of the second BRAS changes from the standby state to the primary state.
  • the second BRAS receives the DHCP request message sent by the terminal, and generates a DHCP relay message according to the DHCP request message.
  • the DHCP relay request packet includes the gateway IP address and the response information according to the source IP address.
  • the gateway IP address is specifically a GIADDR field, and is used to notify the first BRAS.
  • the IP address of the network segment is required to be assigned.
  • the source IP address response message is used to notify the first BRAS that the source IP address in the DHCP relay packet is encapsulated in the destination IP address of the response packet when the response packet is encapsulated. In order to ensure that the first BRAS can send the response message to the second BRAS. It should be noted that when the second BRAS needs to send the response according to the source IP address in the sent DHCP relay message, the "resource information according to the source IP address" option may be inserted into the DHCP relay message, and the content is 1 .
  • the first BRAS parses the DHCP relay packet, obtains a gateway IP address, and allocates a free IP address from the obtained address pool matching the gateway IP address.
  • the first BRAS parses the DHCP relay packet, obtains the gateway IP address, and searches for a public network address pool that matches the IP address of the gateway, and obtains the public network address pool. A free IP address is assigned in the network address pool.
  • the first BRAS encapsulates the source IP address in the DHCP relay packet in the destination IP address in the response packet according to the source IP address response information, and carries the idle IP address in the encapsulated response packet. Sent to the second BRAS.
  • the second BRAS after receiving the response message, the second BRAS obtains the free IP address in the response message and allocates it to the terminal.
  • the first BRAS receives the DHCP relay packet sent by the second BRAS, and parses the DHCP relay packet to obtain the gateway IP address in the DHCP relay packet, and obtains the IP address from the gateway.
  • an idle IP address is assigned, and the source IP address in the DHCP relay packet is encapsulated in the destination IP address in response to the packet according to the source IP address in the DHCP relay packet.
  • the idle IP address is carried in the encapsulated response packet and sent to the second BRAS, thereby effectively solving the problem of the address waste in the BRAS using the built-in DHCP server to allocate the IP address in the dual-system hot backup scenario in the prior art. Defects in the phenomenon.
  • the DHCP relay packet may further include a virtual private network (Virtual Private Network). Name (name) information or broadcast address assignment information.
  • the terminal may also access the L3 VPN or access through a Point-to-Point Protocol Over Ethernet (PPPOE) dial-up request over Ethernet.
  • PPOE Point-to-Point Protocol Over Ethernet
  • the second BRAS sends a DHCP relay message, and the DHCP relay request message includes the VPN name information.
  • the VPN name is inserted in the DHCP relay request message.
  • the content is the name of the L3 VPN, and the name can be a string.
  • the DHCP relay message includes the broadcast address allocation information. Specifically, the broadcast is inserted into the DHCP relay request message.
  • the address allocation information "option" has a content of 1.
  • the server may find a private network address pool that matches the gateway IP address and the VPN name information, and obtain the private network address pool from the private network address pool. Get a free IP address.
  • the address pool matching the gateway IP address may be obtained according to the search, if the address pool includes both the idle broadcast address and the idle host.
  • an address and an idle network segment address are allocated, an idle host address or an idle network segment address may be allocated first, and an idle broadcast address may be allocated after the free host address and the free network segment address pool are allocated.
  • the first BRAS may choose to discard the DHCP relay message. Do not respond to the second BRAS.
  • FIG. 3 is a flowchart of still another embodiment of an address allocation processing method according to the present invention. As shown in FIG. 3, the method in this embodiment includes:
  • the second BRAS receives a DHCP request message sent by the terminal.
  • the state of the first BRAS is the primary state
  • the state of the second BRAS is the standby state.
  • the state of the second BRAS is from the standby state.
  • the second BRAS receives the DHCP request message sent by the terminal.
  • the second BRAS sends a DHCP relay message to the first BRAS according to the DHCP request message, where the DHCP relay message includes the gateway IP address and the response information according to the source IP address.
  • the second BRAS generates a DHCP relay message according to the DHCP request message.
  • the DHCP relay request packet includes the gateway IP address and the response information according to the source IP address.
  • the gateway IP address may be specifically a GIADDR field, which is used to notify the first BRAS which IP address in the network segment needs to be allocated;
  • the source IP address response information is used to notify the first BRAS that the source IP address in the DHCP relay packet is encapsulated in the destination IP address of the response packet when the response packet is encapsulated to ensure that the first BRAS can report the response.
  • the text is sent to the second BRAS.
  • the "response information according to the source IP address" option may be inserted into the DHCP relay request message, and the content thereof is 1.
  • the second BRAS receives the response message sent by the first BRAS, where the response message includes a free IP address allocated by the first BRAS from the address pool that matches the IP address of the gateway.
  • the first BRAS parses the DHCP relay packet, obtains the gateway IP address, and searches for a matching public network address pool, and obtains the public network address pool from the public network address pool. Assign a free IP address.
  • the source IP address in the DHCP relay packet is encapsulated in the destination IP address of the response packet, and the idle IP address is carried in the response.
  • the message is sent to the second BRAS, so that the second BRAS receives the response message sent by the first BRAS, and allocates the idle IP address in the response message to the terminal.
  • the second BRAS sends a DHCP relay message to the first BRAS according to the DHCP request message sent by the terminal, where the message includes the gateway IP address and the response information according to the source IP address, so that the first BRAS
  • the BRAS searches for an address pool that matches the IP address of the gateway, and allocates an idle IP address in the address pool.
  • the source IP address in the DHCP relay packet is encapsulated in the response packet according to the source IP address response information. Destination IP address, and The idle IP address is sent to the first BRAS in the response message, thereby effectively solving the defect that the BRAS uses the built-in DHCP server to allocate an IP address in the dual-system hot backup scenario in the prior art.
  • the DCHP relay message may further include VPN name information or broadcast address allocation information.
  • the method may further include: the second BRAS is in accordance with a pool of idle IP addresses allocated in the received response message, in the second
  • the allocation information of the idle IP address is recorded.
  • the bearer in order to ensure the address pool synchronization in the first BRAS and the second BRAS, when the first BRAS allocates an idle IP address in the local address pool of the first BRAS, the bearer is carrying the idle IP address.
  • the second BRAS records the allocation information of the free IP address in the local address pool of the first BRAS that is backed up on the second BRAS according to the free IP address.
  • the first BRAS management network segment that is, the local address pool of the first BRAS is 1.1.1.0/24
  • the gateway is 1.1.
  • the technical solution of the second BRAS management network segment that is, the local address pool of the second BRAS is 2.2.2.0/24, and the gateway is 2.2.2.1/24.
  • the technical solution of this embodiment is described in detail, as shown in FIG.
  • the method includes:
  • the second BRAS receives a DHCP request message sent by the terminal.
  • the implementation of 301 is similar to the implementation of 201 shown in FIG. 3, and details are not described herein again.
  • the access side of the first BRAS is normal, and when the network side fails, the state of the second BRAS is changed from the standby state to the primary state, and the state of the first BRAS is the standby state, and the second BRAS may each Sending a second heartbeat message to the first BRAS, and receiving the first heartbeat message sent by the first BRAS, to determine whether the first BRAS is No reachable.
  • the first BRAS sends the first heartbeat message to the second BRAS at the first predetermined time
  • the second BRAS sends the second heartbeat message to the first BRAS, where the first predetermined time may be ls .
  • the state of the first BRAS is recorded as unreachable.
  • the second BRAS receives the heartbeat message sent by the first BRAS again, the state of the first BRAS may be recorded as a reachable state.
  • the second BRAS determines whether the state of the first BRAS is unreachable. If it is determined that the state of the first BRAS is reachable, then executing 303. If it is determined that the state of the first BRAS is unreachable, executing 306.
  • the second BRAS sends a DHCP relay message to the first BRAS according to the DHCP request message, where the DHCP relay request message includes a gateway IP address, a response information according to the source IP address, and a broadcast address allocation information.
  • the management network segment 2.2.2.0/24 of the second BRAS is backed up on the first BRAS; and the management network segment 1.1.1.0/2 of the first BRAS is backed up on the second BRAS.
  • the second BRAS simulates the PPPOE terminal to send a DHCP request message to the second BRAS.
  • the second BRAS sends the gateway IP address and responds according to the source IP address.
  • the DHCP relay message of the information and broadcast address allocation information is sent to the first BRAS.
  • the gateway address can be represented by a GIADDR field, which is specifically 1.1.1.1.
  • the specific implementation manner of the DHCP relay packet including the broadcast address allocation information is: Inserting in the DHCP relay request packet "Broadcast address assignment information" option, whose content is 1.
  • the terminal can also access the public network or access the L3 VPN.
  • the second BRAS sends a DHCP relay message, and the DHCP relay message includes the VPN name information.
  • the "VPN name" option is inserted into the DHCP relay message, and its content is the name of the L3 VPN.
  • the name can be a string.
  • the second BRAS receives the response message sent by the first BRAS, where the response message includes an idle IP address that is allocated by the first BRAS from an address pool that matches the IP address of the gateway.
  • the first BRAS after receiving the DHCP relay message, the first BRAS searches for a matching public address pool according to the gateway IP address in the DHCP relay packet, for example, the network segment 1.1.1.0/24, and Assign a free IP address from the public address pool.
  • the DHCP relay message also includes the broadcast address allocation information, if the first BRAS allocates an address, if only the broadcast address remains in the address pool, the first BRAS can be allocated according to the broadcast address included in the option.
  • the idle broadcast IP address if there are not only broadcast addresses left in the address pool, but other host addresses remain, the first BRAS first selects the idle host address assignment, and the allocation information can be allocated according to the broadcast address until the idle host address is allocated. Assign an idle broadcast address.
  • the source IP address in the DHCP relay packet is encapsulated in the destination IP address in the response packet according to the source IP address response information, and the idle IP address is carried in the The response message is sent to the second BRAS, so that the second BRAS receives the response message sent by the first BRAS.
  • the second BRAS records the allocation information of the idle IP address in the local address pool of the first BRAS that is backed up on the second BRAS according to a free IP address allocated in the received response message, and ends.
  • the bearer is carrying the idle IP address.
  • the second BRAS may record the allocation information of the idle IP address in the local address pool of the first BRAS that is backed up on the second BRAS according to the free IP address.
  • the second BRAS allocates a free IP address according to the local address pool of the second BRAS or the local address pool of the first BRAS that is backed up on the second BRAS.
  • the second BRAS may allocate one according to the preset configuration rule according to the DHCP request message sent by the terminal.
  • the configuration rule is to first allocate a free IP address from the local address pool of the second BRAS, or first allocate a free IP address from the local address pool of the first BRAS that is backed up on the second BRA.
  • the second BRAS may send a second heartbeat message to the first BRAS, and the first BRAS may also send the first heartbeat message to the second BRAS, when the second BRAS does not receive the second BRAS.
  • the first heartbeat message sent by the first BRAS records that the state of the first BRAS is unreachable, and can allocate an idle IP address to the terminal through the address pool of the second BRAS or the address pool of the first BRAS.
  • the defect of the address waste phenomenon occurs when the BRAS uses the built-in DHCP server to allocate an IP address in the dual-system hot backup scenario in the prior art.
  • the method may further include:
  • the second BRAS receives the first heartbeat message sent by the first BRAS to the second BRAS;
  • the second BRAS sends the allocation information of the local address pool of the second BRAS and the allocation information of the local address pool of the first BRAS that is backed up on the second BRAS to the first BRAS for the first BRAS according to the local address pool of the second BRAS. Allocating information, updating the allocation information of the local address pool of the second BRAS backed up on the first BRAS, and updating the local address pool of the first BRAS according to the allocation information of the local address pool of the first BRAS backed up on the second BRAS Assign information.
  • the first BRAS may send the first heartbeat message to the second BRAS.
  • the second BRAS receives the first heartbeat message, and the first BRAS can be known to work normally.
  • the address allocation information in the local address pool of the second BRAS and the address allocation information of the local address pool of the first BRAS that are backed up on the second BRAS are respectively sent to the first BRAS for the first BRAS according to the received Updating the local address pool of the second BRAS, updating the local address pool of the second BRAS that is backed up on the first BRAS; and updating the locality of the first BRAS according to the allocation information of the local address pool of the first BRAS that is backed up on the second BRAS Address pool allocation information.
  • the first BRAS updates the allocation information of the own address pool and the first BRAS.
  • the first BRAS and the second BRAS both suspend access to the new terminal, and after the first BRAS and the second BRAS are updated, according to the active/standby decision protocol (for example, The Virtual Router Redundancy Protocol (VRRP) re-determines the primary and backup states of the first BRAS and the second BRAS.
  • the primary and secondary states of the first BRAS and the second BRAS may be determined according to priorities, user-specified switching times, and the like by using an active/standby decision protocol.
  • the first BRAS parses and obtains the gateway IP address, and if the search acquires the IP address of the gateway, If there is no free IP address in the address pool, the packet is discarded. If the second BRAS does not receive the response packet within the predetermined time, the second BRAS executes 307.
  • FIG. 5 is a schematic structural diagram of an embodiment of a BRAS according to the present invention.
  • the BRAS of this embodiment includes: a first receiving module 21, a first allocating module 22, and a response message sending module 23.
  • the first receiving module 21 is configured to receive the DHCP relay packet sent by the second BRAS.
  • the DHCP relay packet includes the gateway IP address and the response information according to the source IP address.
  • the first allocation module 22 is configured to perform the DHCP relay packet.
  • the response message sending module 23 is configured to: in the DHCP relay message according to the response information according to the source IP address The source IP address is encapsulated in the destination IP address in the response packet, and the idle IP address is carried in the encapsulated response message and sent to the second BRAS.
  • the BRAS of this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 2, and the principle is similar, and details are not described herein again.
  • the first BRAS receives the DHCP relay packet sent by the second BRAS, and parses the DHCP relay packet to obtain the gateway IP address in the DHCP relay packet, and obtains the IP address from the gateway.
  • an idle IP address is assigned, and the source IP address in the DHCP relay packet is encapsulated in the destination IP address in response to the packet according to the source IP address in the DHCP relay packet.
  • the idle IP The address is carried in the encapsulated response packet and sent to the second BRAS, thereby effectively solving the defect that the BRAS uses the built-in DHCP server to allocate an IP address in the dual-system hot backup scenario in the prior art.
  • the first allocation module 22 is specifically configured to parse the DCHP relay packet, and extract the gateway IP address and the VPN name information. And assign a free IP address from the address pool obtained by matching the gateway IP address and VPN name information.
  • the address pool can be a private network address pool.
  • the first allocation module 22 may be configured to parse the DHCP relay packet, obtain the gateway IP address, and obtain an address pool that matches the gateway IP address. When there is only a free broadcast address in the address pool matching the gateway IP address in a BRAS, an idle broadcast IP address is allocated.
  • FIG. 6 is a schematic structural diagram of still another embodiment of the BRAS of the present invention. As shown in FIG. 6, the BRAS of this embodiment may further include: a second receiving module 24 and an allocation information updating module 25, based on the foregoing embodiments.
  • the second receiving module 24 is configured to receive the allocation information of the local address pool of the second BRAS sent by the second BRAS and the allocation information of the local address pool of the first BRAS that is backed up on the second BRAS; And updating the allocation information of the local address pool of the second BRAS backed up on the first BRAS according to the allocation information of the local address pool of the second BRAS, and according to the allocation of the local address pool of the first BRAS backed up on the second BRAS Information, update the allocation information of the local address pool of the first BRAS.
  • the second BRAS may send the second heartbeat message to the first BRAS, and the first BRAS may receive the second heartbeat message, and the first BRAS access side is faulty, and when the network side is normal, the first BRAS is sent.
  • a heartbeat detection message is sent to the second BRAS.
  • the second heartbeat message may be sent to the second BRAS, and the second BRAS sent by the second BRAS is received by the second receiving module 24.
  • FIG. 7 is a schematic structural diagram of still another embodiment of the BRAS of the present invention.
  • the BRAS of the embodiment includes: a request message receiving module 31, a sending module 32, and a response message receiving module 33.
  • the request message receiving module 31 is configured to receive a DHCP request message sent by the terminal;
  • the sending module 32 is configured to send a DHCP relay message to the first BRAS according to the DHCP request message;
  • the DHCP relay message includes a gateway IP address and according to the source IP address.
  • the response message receiving module 33 is configured to receive a response message sent by the first BRAS; the response message includes an idle IP address allocated by the first BRAS from an address pool matching the gateway IP address.
  • the BRAS of this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 3, and the principle is similar, and details are not described herein again.
  • the second BRAS sends a DHCP relay message to the first BRAS according to the DHCP request message sent by the terminal, where the message includes the gateway IP address and the response information according to the source IP address, so that the first BRAS
  • the BRAS searches for an address pool that matches the IP address of the gateway, and allocates an idle IP address in the address pool.
  • the source IP address in the DHCP relay packet is encapsulated in the response packet according to the source IP address response information.
  • the destination IP address, and the idle IP address is carried in the response message and sent to the first BRAS, thereby effectively solving the prior art in the dual-system hot backup scenario, when the BRAS uses the built-in DHCP server to allocate an IP address.
  • the defect of address waste waste.
  • FIG. 8 is a schematic structural diagram of still another embodiment of a BRAS according to the present invention.
  • the BRAS further includes: an allocation information recording module 34, a heartbeat message sending module 35, and an unreachable state record. Module 36 and second distribution module 37.
  • the allocation information recording module 34 is configured to allocate one according to the received response message.
  • the pool of idle IP addresses in the local address pool of the first BRAS that is backed up on the second BRAS, records the allocation information of the pool of free IP addresses;
  • the heartbeat packet sending module 35 is configured to use the first predetermined time to The first BRAS sends a second heartbeat message;
  • the unreachable state recording module 36 is configured to record that the state of the first BRAS is not ok if the heartbeat detection message sent by the first BRAS is not received within the second predetermined time. State.
  • the second allocation module 37 is configured to allocate an idle IP address according to the local address pool of the second BRAS or the local address pool of the first BRAS that is backed up on the second BRAS, if it is determined that the state of the first BRAS is unreachable.
  • the second BRAS may receive the first heartbeat message sent by the first BRAS, and send the allocation information in the local address pool of the second BRAS and the local address of the first BRAS that is backed up on the second BRAS to the first BRAS.
  • the allocation information of the pool for the first BRAS to update the allocation information of the local address pool of the second BRAS backed up on the first BRAS according to the allocation information of the local address pool of the second BRAS, and according to the first backup on the second BRAS
  • the allocation information of the local address pool of the BRAS is updated, and the allocation information of the local address pool of the first BRAS is updated.
  • the BRAS of this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 4, and the principle is similar, and details are not described herein again.
  • the first BRAS and the second BRAS may send a heartbeat message to the other party to determine whether the first BRAS link is faulty or the first BRAS itself fails.
  • the first BRAS may pass.
  • the address pool of the second BRAS itself or the address pool of the first BRAS is backed up, and an idle IP address is allocated to the terminal, thereby effectively solving the prior art in the dual-system hot backup scenario, the BRAS uses the built-in DHCP server to allocate an IP address. There is a defect in address waste.
  • FIG. 9 is a schematic structural diagram of an embodiment of an address allocation processing system according to the present invention.
  • the first BRAS 41 and the second BRAS 42 are included.
  • the first BRAS 41 may be as shown in FIG. 5 or FIG. BRAS, and can implement the technical solution of the embodiment of the method shown in FIG. 2
  • the second BRAS 42 can be the BRAS shown in FIG. 7 or FIG. 8, and can perform the implementation of the method shown in FIG. 3 or FIG.
  • the technical solution of the example will not be described here.
  • the second BRAS sends a DHCP relay message to the first BRAS according to the DHCP request message sent by the terminal, where the message includes the gateway IP address and the response information according to the source IP address, so that the first BRAS The address pool matching the IP address of the gateway is searched for, and an idle IP address in the address pool is allocated.
  • the first BRAS encapsulates the source IP address in the DHCP relay packet in the response packet according to the response information of the source IP address.
  • the destination IP address, and the idle IP address is carried in the response packet and sent to the second BRAS, thereby effectively solving the prior art in the dual-system hot backup scenario, when the BRAS uses the built-in DHCP server to allocate an IP address.
  • the defect of address waste waste.
  • the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The foregoing steps of the method embodiment; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Description

地址分配处理方法、 装置和系统
本申请要求于 2010 年 12 月 15 日提交中国专利局、 申请号为 201010591 072. X、 发明名称为 "地址分配处理方法、 装置和系统" 的中国 专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域 本发明实施例涉及通信技术领域, 尤其涉及一种地址分配处理方法、 装置和系统。 背景技术
接入设备的网络之间互连的协议( Internet Protocol; 筒称: IP )地址分 配有三种方式: 第一种方式是宽带接入服务器(Broadband Remote Access Server;筒称: BRAS )内置有动态主机配置协议( Dynamic Host Configuration Protocol; 筒称: DHCP )服务器(server )分配 IP地址, 该 BRAS还内置 有 IP地址管理功能等;第二种方式是 BRAS外置 DHCP server分配 IP地址, BRAS则作为 DHCP relay的角色, 并维护用户的地址续租信息, 以便在用 户主动释放地址或者不续租的情况下释放接入设备的控制和转发资源; 第 三种方式是远程用户拨号认证系统 ( Remote Authentication Dial In User Service; 筒称: RADIUS )服务器授权 IP地址, BRAS则无需具备地址管 理功能。 目前, 在大多数情况下, 主要采用 BRAS内置 DHCP server分配 IP地址、 外置 DHCP server分配 IP地址和专线用户采用远程用户拨号认证 系统( Remote Authentication Dial In User Service; 筒称: RADIUS ) 4受权 IP 的方式这三种方式。
当 BRAS内置 DHCP server分配 IP地址时, 图 1为现有技术中双机热 备份部署场景的网络结构示意图, 该网络结构主要包括: 第一 BRAS 11、 二 BRAS 12、 第一数字用户线路接入复用器 (Digital Subscriber Line
l Access Multiplexer; 筒称: DSLAM ) 15、 第二 DSLAM 16、 第一汇聚交换 机( Switch ) 13、 第二 Switch 14和核心路由器( Core Router; 筒称 CR ) 17。 其中, 第一 BRAS 11的状态为主状态 (Master ), 第二 BRAS 12的状态为 备用状态( Slave ), 且第一 BRAS 11和第二 BRAS 12内置有 DHCP server, 例如: 该第一 BRAS 11拥有地址段为 1.1.1.0/24; 第二 BRAS 12的拥有地 址段为 2.2.2.0/24。 当第一 BRAS 11正常工作时, 在第一 DSLAM 15侧有 100名用户上线, 则将从第一 BRAS 11上分配 100个 1.1.1.0/24段 IP地址。 当第一 BRAS 11节点故障时, 第二 BRAS 12由备用状态变为主状态, 从而 使得从第一 DSLAM 15侧新上线的用户由第二 BRAS 12从 2.2.2.0/24段分 配 IP地址。
在实现本发明过程中, 发明人发现现有技术中至少存在如下问题: 在 双机热备份场景下, 当第一 BRAS出现故障时, 将由第二 BRAS分配 IP地 址, 从而造成了第一 BRAS拥有的 1.1.1.0/24段内其余 IP地址得不到利用。 发明内容
本发明实施例提供一种地址分配处理方法、 装置和系统, 用以解决现 有技术中在双机热备份场景下, BRAS采用内置 DHCP server分配 IP地址 时存在地址浪费现象的缺陷。
本发明实施例提供一种地址分配处理方法, 包括:
第一宽带接入服务器接收第二宽带接入服务器发送的动态主机配置协 议中继 4艮文; 所述动态主机配置协议中继 4艮文包括网关 IP地址和按照源 IP 地址回应信息;
所述第一宽带接入服务器对所述动态主机配置协议中继报文进行解 析,获取所述网关 IP地址,并从获取的与所述网关 IP地址匹配的地址池中, 分配一个空闲 IP地址;
所述第一宽带接入服务器根据所述按照源 IP地址回应信息, 将所述动 态主机设备协议中继报文中的源 IP地址,封装在回应报文中的目的 IP地址 中, 并将所述空闲 IP地址携带在封装后的回应报文中发送给所述第二宽带 接入服务器。
本发明实施例还提供一种地址分配处理方法, 包括:
第二宽带接入服务器接收终端发送的动态主机配置协议请求消息; 所述第二宽带接入服务器根据所述动态主机配置协议请求消息, 发送 动态主机配置协议中继报文给第一宽带接入服务器; 所述动态主机配置协 议中继 4艮文包括网关 IP地址和按照源 IP地址回应信息;
所述第二宽带接入服务器接收所述第一宽带接入服务器发送的回应报 文; 所述回应报文包括第一宽带接入服务器从与所述网关 IP地址匹配的地 址池中分配的一个空闲 IP地址。
本发明实施例提供一种宽带接入服务器, 包括:
第一接收模块, 用于接收第二宽带接入服务器发送的动态主机配置协 议中继 4艮文; 所述动态主机配置协议中继 4艮文包括网关 IP地址和按照源 IP 地址回应信息;
第一分配模块, 用于对所述动态主机配置协议中继报文进行解析, 获 取所述网关 IP地址, 并从获取的与所述网关 IP地址匹配的地址池中, 分配 一个空闲 IP地址;
回应报文发送模块,用于根据所述按照源 IP地址回应信息,将所述动态 主机设备协议中继报文中的源 IP地址, 封装在回应报文中的目的 IP地址中, 并将所述空闲 IP地址携带在封装后的回应报文中发送给所述第二宽带接入 服务器。
本发明实施例还提供一种宽带接入服务器, 包括:
请求消息接收模块, 用于接收终端发送的动态主机配置协议请求消息; 发送模块, 用于根据所述动态主机配置协议请求消息, 发送动态主机 配置协议中继报文给第一宽带接入服务器; 所述动态主机配置协议中继报 文包括网关 IP地址和按照源 IP地址回应信息;
回应报文接收模块, 用于接收所述第一宽带接入服务器发送的回应报 文; 所述回应报文包括第一宽带接入服务器从与所述网关 IP地址匹配的地 址池中分配的一个空闲 IP地址。
本发明实施例提供一种地址分配处理系统, 包括第一宽带接入服务器 和第二宽带接入服务器, 其中, 所述第一宽带接入服务器为上述的宽带接 入服务器, 所述第二宽带接入服务器上述的宽带接入服务器。
本发明实施例的地址分配处理方法、 装置和系统, 通过第一 BRAS接收 第二 BRAS发送的 DHCP Relay报文, 并对该 DHCP Relay报文进行解析, 获 取 DHCP Relay报文中的网关 IP地址, 并从获取的与该网关 IP地址匹配的地 址池中, 分配一个空闲 IP地址, 再根据 DHCP Relay报文中的按照源 IP地址 回应信息, 将 DHCP Relay报文中的源 IP地址, 封转在回应报文中的目的 IP 地址中, 并将该空闲 IP地址携带在封装后的回应 4艮文中发送给第二 BRAS, 从而有效地解决了现有技术中在双机热备份场景下, BRAS采用内置 DHCP server分配 IP地址时存在地址浪费现象的缺陷。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对 实施例或现有技术描述中所需要使用的附图作一筒单地介绍, 显而易见地, 下面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1为现有技术中双机热备份部署场景的网络结构示意图;
图 2为本发明地址分配处理方法的一个实施例的流程图;
图 3为本发明地址分配处理方法的又一个实施例的流程图;
图 4为本发明地址分配处理方法的又一个实施例的流程图;
图 5为本发明 BRAS的一个实施例的结构示意图; 图 6为本发明 BRAS的又一个实施例的结构示意图;
图 7为本发明 BRAS的又一个实施例的结构示意图;
图 8为本发明 BRAS的又一个实施例的结构示意图;
图 9为本发明地址分配处理系统的一个实施例的结构示意图。
具体实施方式 为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本 发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提 下所获得的所有其他实施例, 都属于本发明保护的范围。
图 2为本发明地址分配处理方法的一个实施例的流程图, 如图 2所示, 本实施例的方法包括:
101、 第一 BRAS接收第二 BRAS服务器发送的 DHCP中继( relay )报 文, 该 DHCP relay报文包括网关 IP地址和按照源 IP地址回应信息。
在本实施例中, 在双机热备份场景中, 第一 BRAS和第二 BRAS具有 DHCP server功能和 IP地址管理功能,第一 BRAS管理的网段,即第一 BRAS 本地地址池可以备份在第二 BRAS 上, 第二 BRAS 管理的网段, 即第二 BRAS本地地址此也可以备份在第一 BRAS上。 同时, 第一 BRAS的状态 为主状态, 第二 BRAS的状态为备用状态。
当第一 BRAS的节点出现故障时, 第二 BRAS的状态由备用状态变为 主状态。 当有新的终端接入, 并发送 DHCP请求消息时, 第二 BRAS接收 该终端发送的 DHCP请求消息,并根据该 DHCP请求消息,生成 DHCP relay 报文。 其中, 该 DHCP relay请求报文包括网关 IP地址和按照源 IP地址回 应信息,具体的,该网关 IP地址具体为 GIADDR字段,用于通知第一 BRAS 需要分配哪个网段中的 IP 地址; 按照源 IP 地址回应信息用于通知第一 BRAS在封装回应报文时,需要将 DHCP relay报文中的源 IP地址封装在回 应报文中的目的 IP地址中, 以保证第一 BRAS能够将该回应报文发送给第 二 BRAS中。 需要说明的是, 当第二 BRAS需要在发送的 DHCP relay报文 中携带有按照源 IP地址回应信息时, 可以在 DHCP relay报文中插入"按照 源 IP地址回应信息 "option, 其内容为 1。
102、 第一 BRAS对 DHCP relay报文进行解析, 获取网关 IP地址, 并 从获取的与该网关 IP地址匹配的地址池中, 分配一个空闲 IP地址。
在本实施例中,第一 BRAS接收到 DHCP relay报文后,对该 DHCP relay 报文进行解析, 获取网关 IP地址, 并查找获取与该网关 IP地址匹配的公网 地址池, 并从该公网地址池中分配一个空闲 IP地址。
103、 第一 BRAS根据按照源 IP地址回应信息, 将 DHCP relay报文中 的源 IP地址, 封装在回应 ·^艮文中的目的 IP地址中, 并将空闲 IP地址携带 在封装后的回应报文中发送给第二 BRAS。
在本实施例中, 第二 BRAS接收到回应报文后, 获取回应报文中的空 闲 IP地址分配给终端。
在本实施例中, 通过第一 BRAS接收第二 BRAS发送的 DHCP Relay 报文, 并对该 DHCP Relay报文进行解析, 获取 DHCP Relay报文中的网关 IP地址, 并从获取的与该网关 IP地址匹配的地址池中, 分配一个空闲 IP 地址,再根据 DHCP Relay报文中的按照源 IP地址回应信息,将 DHCP Relay 艮文中的源 IP地址, 封装在回应 4艮文中的目的 IP地址中, 并将该空闲 IP 地址携带在封装后的回应报文中发送给第二 BRAS ,从而有效地解决了现有 技术中在双机热备份场景下, BRAS采用内置 DHCP server分配 IP地址时 存在地址浪费现象的缺陷。
进一步的,在本发明的另一个实施例中,在上述实施例的基础上, DHCP relay报文中还可以包括虚拟专用网络( Virtual Private Network;筒称: VPN ) 名称(name )信息或广播地址分配信息。
在本实施例中,终端可还可以接入到 L3 VPN或者通过以太网上点到点 连接协议( Point-to-Point Protocol Over Ethernet; 筒称: PPPOE )拨号请求 接入。 具体的, 当终端接入到 L3 VPN, 第二 BRAS在发送 DHCP relay报 文中,该 DHCP relay请求报文中包括 VPN name信息,具体的,在 DHCP relay 请求 4艮文中插入" VPN name'Option, 且其内容是 L3 VPN的名称, 该名称可 以为一字符串。 当终端通过 PPPOE拨号请求时, DHCP relay报文中包括广 播地址分配信息,具体的,在 DHCP relay请求报文中插入"广播地址分配信 息" option, 其内容为 1。
在本实施例中,当第一 BRAS接收到的 DHCP relay报文中还包括 VPN name信息时,可以查找获取与网关 IP地址和 VPN name信息匹配的私网地 址池, 并从该私网地址池中获取一个空闲 IP地址。 或者,
当第一 BRAS接收到的 DHCP relay报文中还包括广播地址分配信息 时, 可以根据查找获取与网关 IP地址匹配的地址池, 若该地址池中既包括 空闲的广播地址、 还包括空闲的主机地址和空闲的网段地址时, 可以先分 配一个空闲的主机地址或者空闲的网段地址, 直至空闲的主机地址和空闲 的网段地址池分配完之后, 可以分配一个空闲的广播地址。 还需要说明的 是, 当 DHCP relay报文中没有包括广播地址分配信息时, 若与网关 IP地址 匹配的地址池中只有空闲的广播地址时,第一 BRAS可以选择丟弃该 DHCP relay报文, 不做回应给第二 BRAS。
图 3为本发明地址分配处理方法的又一个实施例的流程图, 如图 3所 示, 本实施例的方法包括:
201、 第二 BRAS接收终端发送的 DHCP请求消息。
在本实施例中, 在双机热备份场景中, 第一 BRAS的状态为主状态, 第二 BRAS 的状态为备用状态, 当第一 BRAS 的节点出现故障时, 第二 BRAS的状态由备用状态变为主状态。 当有新的终端接入时,且发送 DHCP 请求消息时, 第二 BRAS接收该终端发送的 DHCP请求消息。
202、 第二 BRAS根据 DHCP请求消息, 发送 DHCP relay报文给第一 BRAS , 该 DHCP relay报文包括网关 IP地址和按照源 IP地址回应信息。
在本实施例中, 第二 BRAS根据该 DHCP请求消息, 生成 DHCP relay 报文。 其中, 该 DHCP relay请求报文包括网关 IP地址和按照源 IP地址回 应信息, 具体的, 该网关 IP地址可以具体为 GIADDR字段, 用于通知第一 BRAS需要分配哪个网段中的 IP地址;按照源 IP地址回应信息用于通知第 一 BRAS在封装回应报文时,需要将 DHCP relay报文中的源 IP地址封装在 回应报文中的目的 IP地址, 以保证第一 BRAS能够将该回应报文发送给第 二 BRAS中。 需要说明的是, 当第二 BRAS需要在发送的 DHCP relay报文 中携带有按照源 IP地址回应信息时,可以在 DHCP relay请求报文中插入"按 照源 IP地址回应信息" option, 其内容为 1。
203、 第二 BRAS接收第一 BRAS发送的回应报文, 该回应报文包括第 一 BRAS从与该网关 IP地址匹配的地址池中分配的一个空闲 IP地址。
在本实施例中,当第一 BRAS接收到 DHCP relay报文后,对 DHCP relay 艮文进行解析, 获取网关 IP地址, 并查找获取与之匹配的公网地址池, 并 从该公网地址池中分配一个空闲 IP地址。 在封装回应 4艮文, 才艮据按照源 IP 地址回应信息,将 DHCP relay报文中的源 IP地址,封装在回应报文中的目 的 IP地址上, 再将空闲 IP地址携带在该回应 4艮文中发送给第二 BRAS , 以 使得第二 BRAS接收到第一 BRAS发送的回应报文, 并将该回应报文中的 空闲 IP地址分配给终端。
在本实施例中, 通过第二 BRAS根据接收的终端发送的 DHCP请求消 息, 向第一 BRAS发送 DHCP relay报文, 该报文中包括网关 IP地址和按 照源 IP地址回应信息,以使得第一 BRAS查找与该网关 IP地址匹配的地址 池,并分配该地址池中的一个空闲 IP地址;再才艮据按照源 IP地址回应信息, 将 DHCP relay报文中的源 IP地址封装在回应报文中的目的 IP地址, 并将 空闲 IP地址携带在回应 4艮文中发送给第一 BRAS, 从而有效地解决了现有 技术中在双机热备份场景下, BRAS采用内置 DHCP server分配 IP地址时 存在地址浪费现象的缺陷。
进一步的, 在本发明的又一个实施例中, 该 DCHP relay报文中还可以 包括 VPN name信息或者广播地址分配信息。
更进一步的, 在本发明的又一个实施例中, 该方法还可以包括: 第二 BRAS根据接收的回应报文中分配的一个空闲 IP地址池, 在第二
BRAS上备份的第一 BRAS的本地地址池中, 记录该空闲 IP地址的分配信 息。
在本实施例中, 为了保证第一 BRAS和第二 BRAS中的地址池同步, 当第一 BRAS分配该第一 BRAS的本地地址池中的一个空闲 IP地址时,在 发送携带该空闲 IP地址的回应报文给第二 BRAS时,第二 BRAS根据该空 闲 IP地址, 在第二 BRAS上备份的第一 BRAS的本地地址池中, 记录该空 闲 IP地址的分配信息。
图 4为本发明地址分配处理方法的又一个实施例的流程图, 在本实施 例中, 以第一 BRAS管理网段, 即第一 BRAS的本地地址池为 1.1.1.0/24, 网关为 1.1.1.1 ; 第二 BRAS 管理网段, 即第二 BRAS 的本地地址池为 2.2.2.0/24, 网关为 2.2.2.1/24为例, 详细介绍本实施例的技术方案, 如图 4 所示, 该方法包括:
301、 第二 BRAS接收终端发送的 DHCP请求消息。
在本实施例中, 301的实现方式与图 3所示 201的实现方式类似, 在此 不再赘述。
另外, 在本实施例中, 第一 BRAS的接入侧正常, 网络侧出现故障时, 第二 BRAS的状态由备用状态变换成主状态, 第一 BRAS的状态为备用状 态, 第二 BRAS可以每隔第一预定时间, 向第一 BRAS发送第二心跳 4艮文, 同时, 通过接收第一 BRAS发送的第一心跳报文, 以判断第一 BRAS的是 否可达。
具体的, 第一 BRAS每隔第一预定时间向第二 BRAS发送第一心跳报 文的同时, 第二 BRAS向第一 BRAS发送第二心跳 4艮文, 其中, 该第一预 定时间可以为 ls。 另外, 针对第二 BRAS , 若在第二预定的时间, 例如: 3s, 没有接收到第一 BRAS发送的第一心跳报文, 则记录第一 BRAS的状 态为不可达状态。 当第二 BRAS再次接收到第一 BRAS发送的心跳报文, 则可以记录第一 BRAS的状态为可达状态。
302、 第二 BRAS判断第一 BRAS的状态是否不可达状态; 若判断出第 一 BRAS的状态为可达状态, 则执行 303; 若判断出第一 BRAS的状态为 不可达状态, 则执行 306。
303、 第二 BRAS根据 DHCP请求消息, 发送 DHCP relay报文给第一 BRAS ,该 DHCP relay请求报文包括网关 IP地址、按照源 IP地址回应信息 和广播地址分配信息。
在本实施例中,第一 BRAS上备份了第二 BRAS的管理网段 2.2.2.0/24; 第二 BRAS上备份了第一 BRAS的管理网段 1.1.1.0/2。 另夕卜, 本实施例的 终端通过 PPPOE拨号请求接入时, 第二 BRAS模拟 PPPOE终端向第二 BRAS发送 DHCP请求消息,具体的,第二 BRAS发送携带有网关 IP地址、 按照源 IP地址回应信息和广播地址分配信息的 DHCP relay报文给第一 BRAS。 其中, 该网关地址可以用 GIADDR字段表示, 其具体为 1.1.1.1 ; 该终端通过 PPPOE拨号请求时, DHCP relay报文中包括广播地址分配信息 的具体实现方式为: 在 DHCP relay 请求报文中插入"广播地址分配信 息" option, 其内容为 1。
需要说明的是,终端还可以接入公网或者接入 L3 VPNo当接入 L3 VPN 时,第二 BRAS在发送 DHCP relay报文中,该 DHCP relay报文中包括 VPN name信息, 具体的, 在 DHCP relay报文中插入" VPN name"option, 且其内 容是 L3 VPN的名称, 该名称可以为一字符串。 304、 第二 BRAS接收第一 BRAS发送的回应报文, 该回应报文包括第 一 BRAS从与网关 IP地址匹配的地址池中分配的一个空闲 IP地址。
在本实施例中, 当第一 BRAS接收到 DHCP relay报文后, 根据 DHCP relay 4艮文中的网关 IP 地址, 查找与之匹配的公网地址池, 例如: 网段 1.1.1.0/24, 并从该公网地址池中分配一个空闲 IP地址。 需要说明的是, 由 于 DHCP relay报文中还包括广播地址分配信息, 因此, 第一 BRAS在分配 地址时, 如果地址池中仅剩下广播地址, 则可以根据 option中包含的广播 地址分配, 分配该空闲广播 IP地址; 如果地址池中不仅剩下广播地址, 还 剩下其它主机地址, 则第一 BRAS首先选择空闲主机地址分配, 直至空闲 主机地址分配完后, 才可以根据广播地址分配信息, 分配空闲广播地址。
另外, 第一 BRAS在封装回应报文时, 需要根据按照源 IP地址回应信 息, 将 DHCP relay 4艮文中的源 IP地址封装在回应 4艮文中的目的 IP地址, 并将空闲 IP地址携带在该回应报文中发送给第二 BRAS,以使得第二 BRAS 接收到第一 BRAS发送的回应报文。
305、 第二 BRAS根据接收的回应报文中分配的一个空闲 IP地址, 在 第二 BRAS上备份的第一 BRAS的本地地址池中,记录该空闲 IP地址的分 配信息, 结束。
在本实施例中, 为了保证第一 BRAS和第二 BRAS中的地址池同步, 当第一 BRAS分配该第一 BRAS的本地地址池中的一个空闲 IP地址时,在 发送携带该空闲 IP地址的回应报文给第二 BRAS时,第二 BRAS可以根据 该空闲 IP地址, 在第二 BRAS上备份的第一 BRAS的本地地址池中, 记录 该空闲 IP地址的分配信息。
306、第二 BRAS根据第二 BRAS的本地地址池或者第二 BRAS上备份 的第一 BRAS的本地地址池, 分配一个空闲 IP地址。
在本实施例中, 当第一 BRAS 自身出现故障时, 第二 BRAS根据接收 的终端发送的 DHCP请求消息后, 可以根据预先设置的配置规则, 分配一 个空闲 IP地址, 具体的, 该配置规则为是先从第二 BRAS的本地地址池分 配一个空闲 IP地址, 或者先从第二 BRA上备份的第一 BRAS的本地地址 池分配一个空闲 IP地址的配置规则。
在本实施例中, 第二 BRAS可以向第一 BRAS发送第二心跳报文, 第 一 BRAS也可以向第二 BRAS发送第一心跳报文, 当第二 BRAS在第二预 定时间内没有接收到第一 BRAS发送的第一心跳报文, 则记录第一 BRAS 的状态为不可达状态, 可以通过第二 BRAS 自身的地址池或者备份第一 BRAS的地址池, 分配一个空闲 IP地址给终端, 从而有效地解决了现有技 术中在双机热备份场景下, BRAS采用内置 DHCP server分配 IP地址时存 在地址浪费现象的缺陷。
进一步的, 在上述实施例的基础上, 该方法还可以包括:
第二 BRAS接收第一 BRAS发送的第一心跳报文给第二 BRAS;
第二 BRAS向第一 BRAS发送第二 BRAS的本地地址池的分配信息和 第二 BRAS上备份的第一 BRAS的本地地址池的分配信息,以供第一 BRAS 根据第二 BRAS的本地地址池的分配信息, 更新第一 BRAS上备份的第二 BRAS的本地地址池的分配信息,并根据备份在第二 BRAS上的第一 BRAS 的本地地址池的分配信息, 更新第一 BRAS的本地地址池的分配信息。
在本实施例中, 当第一 BRAS再次正常工作时, 第一 BRAS可以向第 二 BRAS发送第一心跳报文.; 第二 BRAS接收到该第一心跳报文, 可以获 知第一 BRAS正常工作, 则可以将第二 BRAS的本地地址池中的地址分配 信息和第二 BRAS上备份的第一 BRAS的本地地址池的地址分配信息分别 发送给第一 BRAS, 以供第一 BRAS根据接收的第二 BRAS的本地地址池 的分配信息, 更新第一 BRAS上备份的第二 BRAS的本地地址池; 并根据 第二 BRAS上备份的第一 BRAS的本地地址池的分配信息,更新第一 BRAS 的本地地址池的分配信息。
需要说明的是,在第一 BRAS更新自身地址池的分配信息和第一 BRAS 上备份的第二 BRAS的本地地址池的分配信息时,第一 BRAS和第二 BRAS 都暂停接入新的终端, 在第一 BRAS和第二 BRAS更新完毕后, 可以根据 主备决策协议 (例如: 虚拟路由器冗余协议 ( Virtual Router Redundancy Protocol; 筒称: VRRP ) )重新确定第一 BRAS和第二 BRAS的主、 备状 态。 其中, 通过主备决策协议决策第一 BRAS和第二 BRAS的主、 备状态 可以根据优先级、 用户指定的切换时间等参数。
更进一步的, 在上述实施例的基础上, 当执行 304, 即第二 BRAS将 DHCP relay报文发送给第一 BRAS时, 第一 BRAS解析获取网关 IP地址, 若查找获取与该网关 IP地址匹配的地址池中没有空闲 IP地址时 ,则丟弃该 报文, 则第二 BRAS若在预定的时间内没有接收到回应报文, 则执行 307。
图 5为本发明 BRAS的一个实施例的结构示意图, 如图 5所示, 本实 施例的 BRAS包括: 第一接收模块 21、第一分配模块 22和回应报文发送模 块 23。 其中, 第一接收模块 21用于接收第二 BRAS发送的 DHCP relay报 文; 该 DHCP relay报文包括网关 IP地址和按照源 IP地址回应信息; 第一 分配模块 22用于对 DHCP relay报文进行解析, 获取网关 IP地址, 并从获 取的与该网关 IP地址匹配的地址池中, 分配一个空闲 IP地址; 回应报文发 送模块 23用于根据按照源 IP地址回应信息, 将 DHCP relay报文中的源 IP 地址,封装在回应 ·^艮文中的目的 IP地址中, 并将空闲 IP地址携带在封装后 的回应报文中发送给所述第二 BRAS。
本实施例的 BRAS可以用于执行图 2所示的方法实施例的技术方案, 其原理类似, 此处不再赘述。
在本实施例中, 通过第一 BRAS接收第二 BRAS发送的 DHCP Relay 报文, 并对该 DHCP Relay报文进行解析, 获取 DHCP Relay报文中的网关 IP地址, 并从获取的与该网关 IP地址匹配的地址池中, 分配一个空闲 IP 地址,再根据 DHCP Relay报文中的按照源 IP地址回应信息,将 DHCP Relay 艮文中的源 IP地址, 封装在回应 4艮文中的目的 IP地址中, 并将该空闲 IP 地址携带在封装后的回应报文中发送给第二 BRAS ,从而有效地解决了现有 技术中在双机热备份场景下, BRAS采用内置 DHCP server分配 IP地址时 存在地址浪费现象的缺陷。
进一步的,在本发明的另一个实施例中,当 DHCP relay报文中包括 VPN name信息时, 则第一分配模块 22具体用于将 DCHP relay报文进行解析, 袭取网关 IP地址和 VPN name信息, 并从获取的与该网关 IP地址和 VPN name信息匹配的地址池中, 分配一个空闲 IP地址。 具体的, 该地址池可以 为私网地址池。 或者,
当 DHCP relay报文中包括广播地址分配信息时, 则第一分配模块 22 可以具体用于对 DHCP relay报文进行解析,获取网关 IP地址, 并获取的与 网关 IP地址匹配的地址池,若第一 BRAS中与网关 IP地址匹配的地址池中 只有空闲广播地址时, 分配一个空闲的广播 IP地址。
图 6为本发明 BRAS的又一个实施例的结构示意图, 如图 6所示, 在 上述实施例的基础上, 本实施例的 BRAS还可以包括: 第二接收模块 24和 分配信息更新模块 25。
具体的,第二接收模块 24用于接收第二 BRAS发送的第二 BRAS的本 地地址池的分配信息和第二 BRAS上备份的第一 BRAS的本地地址池的分 配信息; 分配信息更新模块 25用于才艮据第二 BRAS的本地地址池的分配信 息, 更新第一 BRAS上备份的第二 BRAS的本地地址池的分配信息, 并根 据第二 BRAS 上备份的第一 BRAS 的本地地址池的分配信息, 更新第一 BRAS的本地地址池的分配信息。
在本实施例中, 第二 BRAS可以发送第二心跳报文给第一 BRAS, 第 一 BRAS可以接收该第二心跳报文, 并在第一 BRAS接入侧故障, 网络侧 正常时, 发送第一心跳检测报文给第二 BRAS。
另外, 若第一 BRAS的状态为再次可达时, 可以向第二 BRAS发送第 二心跳报文,并通过第二接收模块 24接收第二 BRAS发送的第二 BRAS的 本地地址池的分配信息和第二 BRAS上备份的第一 BRAS的本地地址池的 分配信息; 以供分配信息更新模块 25根据第二 BRAS的本地地址池的分配 信息, 更新第一 BRAS上备份的第二 BRAS的本地地址池的分配信息, 并 根据第二 BRAS上备份的第一 BRAS的本地地址池的分配信息, 更新第一 BRAS的本地地址池的分配信息。
图 7为本发明 BRAS的又一个实施例的结构示意图, 如图 7所示, 本 实施例的 BRAS包括:请求消息接收模块 31、发送模块 32和回应报文接收 模块 33。 其中, 请求消息接收模块 31用于接收终端发送的 DHCP请求消 息; 发送模块 32用于根据 DHCP请求消息, 发送 DHCP relay报文给第一 BRAS; 该 DHCP relay报文包括网关 IP地址和按照源 IP地址回应信息; 回 应报文接收模块 33用于接收第一 BRAS发送的回应报文; 该回应报文包括 第一 BRAS从与网关 IP地址匹配的地址池中分配的一个空闲 IP地址。
本实施例的 BRAS可以用于执行图 3所示的方法实施例的技术方案, 其原理类似, 此处不再赘述。
在本实施例中, 通过第二 BRAS根据接收的终端发送的 DHCP请求消 息, 向第一 BRAS发送 DHCP relay报文, 该报文中包括网关 IP地址和按 照源 IP地址回应信息,以使得第一 BRAS查找与该网关 IP地址匹配的地址 池,并分配该地址池中的一个空闲 IP地址;再才艮据按照源 IP地址回应信息, 将 DHCP relay报文中的源 IP地址封装在回应报文中的目的 IP地址, 并将 空闲 IP地址携带在回应 4艮文中发送给第一 BRAS, 从而有效地解决了现有 技术中在双机热备份场景下, BRAS采用内置 DHCP server分配 IP地址时 存在地址浪费现象的缺陷。
图 8为本发明 BRAS的又一个实施例的结构示意图, 如图 8所示, 在 上述实施例的基础上, BRAS还包括: 分配信息记录模块 34、 心跳报文发 送模块 35、 不可达状态记录模块 36和第二分配模块 37。
具体的, 分配信息记录模块 34用于根据接收的回应报文中的分配的一 个空闲 IP地址池,在第二 BRAS上备份的所述第一 BRAS的本地地址池中 , 记录该空闲 IP地址池的分配信息;心跳报文发送模块 35用于每隔第一预定 时间, 向第一 BRAS发送第二心跳报文; 不可达状态记录模块 36用于若判 断出在第二预定时间内, 没有接收到第一 BRAS发送的心跳检测报文, 则 记录第一 BRAS的状态为不可达状态。第二分配模块 37用于若判断出第一 BRAS 的状态为不可达状态, 则根据第二 BRAS 的本地地址池或者第二 BRAS上备份的第一 BRAS的本地地址池, 分配一个空闲 IP地址。
另夕卜, 第二 BRAS可以接收第一 BRAS发送的第一心跳报文, 并向第 一 BRAS发送第二 BRAS的本地地址池中的分配信息和第二 BRAS上备份 的第一 BRAS的本地地址池的分配信息, 以供第一 BRAS根据第二 BRAS 的本地地址池的分配信息, 更新第一 BRAS上备份的第二 BRAS的本地地 址池的分配信息, 并根据第二 BRAS上备份的第一 BRAS的本地地址池的 分配信息, 更新第一 BRAS的本地地址池的分配信息。
本实施例的 BRAS可以用于执行图 4所示的方法实施例的技术方案, 其原理类似, 此处不再赘述。
在本实施例中, 第一 BRAS和第二 BRAS可以通过向对方发送心跳报 文, 以判断第一 BRAS链路出现故障还是第一 BRAS 自身出现故障, 当第 一 BRAS 自身出现故障时, 可以通过第二 BRAS 自身的地址池或者备份第 一 BRAS的地址池, 分配一个空闲 IP地址给终端, 从而更加有效地解决了 现有技术中在双机热备份场景下, BRAS采用内置 DHCP server分配 IP地 址时存在地址浪费现象的缺陷。
图 9为本发明地址分配处理系统的一个实施例的结构示意图, 如图 9 所示, 包括第一 BRAS 41和第二 BRAS 42, 其中, 第一 BRAS 41可以为图 5或图 6所示的 BRAS ,并可以执行如图 2所示的方法的实施例的技术方案, 第二 BRAS 42可以为图 7或图 8所示的 BRAS , 并可以执行如图 3或图 4 所示的方法的实施例的技术方案, 此处不再赘述。 在本实施例中, 第二 BRAS根据接收的终端发送的 DHCP请求消息, 向第一 BRAS发送 DHCP relay报文, 该报文中包括网关 IP地址和按照源 IP地址回应信息, 以使得第一 BRAS查找与该网关 IP地址匹配的地址池, 并分配该地址池中的一个空闲 IP地址;第一 BRAS再根据按照源 IP地址回 应信息, 将 DHCP relay报文中的源 IP地址封装在回应报文中的目的 IP地 址, 并将空闲 IP地址携带在回应报文中发送给第二 BRAS , 从而有效地解 决了现有技术中在双机热备份场景下, BRAS采用内置 DHCP server分配 IP 地址时存在地址浪费现象的缺陷。
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成, 前述的程序可以存储于计算机可 读取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而 前述的存储介质包括: ROM、 RAM, 磁碟或者光盘等各种可以存储程序代 码的介质。
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修 改, 或者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不 使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims

权 利 要 求 书
1、 一种地址分配处理方法, 其特征在于, 包括:
第一宽带接入服务器接收第二宽带接入服务器发送的动态主机配置协 议中继 4艮文; 所述动态主机配置协议中继 4艮文包括网关 IP地址和按照源 IP 地址回应信息;
所述第一宽带接入服务器对所述动态主机配置协议中继报文进行解 析,获取所述网关 IP地址,并从获取的与所述网关 IP地址匹配的地址池中, 分配一个空闲 IP地址;
所述第一宽带接入服务器根据所述按照源 IP地址回应信息, 将所述动 态主机设备协议中继报文中的源 IP地址,封装在回应报文中的目的 IP地址 中, 并将所述空闲 IP地址携带在封装后的回应报文中发送给所述第二宽带 接入服务器。
2、 根据权利要求 1所述的地址分配处理方法, 其特征在于, 所述动态 主机配置协议中继报文还包括虚拟专用网络名称信息, 则所述第一宽带接 入服务器对所述动态主机配置协议中继报文进行解析, 获取所述网关 IP地 址,并从获取的与所述网关 IP地址匹配的地址池中,分配一个空闲 IP地址, 包括:
所述第一宽带接入服务器对所述动态主机配置协议中继报文进行解 析, 获取所述网关 IP地址和所述虚拟专用网络名称信息, 并从获取的与所 述网关 IP地址和所述虚拟专用网络名称信息对应的匹配的地址池中, 分配 一个空闲 IP地址。
3、 根据权利要求 1所述的地址分配处理方法, 其特征在于, 所述动态 主机配置协议中继报文还包括广播地址分配信息, 则所述从获取的与所述 网关 IP地址匹配的地址池中, 分配一个空闲 IP地址, 包括:
若所述第一宽带接入服务器中与所述网关 IP地址匹配的地址池中只有 空闲的广播地址时, 分配一个空闲的广播 IP地址。
4、 根据权利要求 3所述的地址分配处理方法, 其特征在于, 还包括: 所述第一宽带接入服务器接收第二宽带接入服务器发送的所述第二宽 带接入服务器的本地地址池的分配信息和所述第二宽带接入服务器上备份 的第一宽带接入服务器的本地地址池的分配信息;
所述第一宽带接入服务器根据所述第二宽带接入服务器的本地地址池 的分配信息, 更新所述第一宽带接入服务器上备份的所述第二宽带接入服 务器的本地地址池的分配信息, 并根据所述第二宽带接入服务器上备份的 第一宽带接入服务器的本地地址池的分配信息, 更新所述第一宽带接入服 务器的本地地址池的分配信息。
5、 一种地址分配处理方法, 其特征在于, 包括:
第二宽带接入服务器接收终端发送的动态主机配置协议请求消息; 所述第二宽带接入服务器根据所述动态主机配置协议请求消息, 发送 动态主机配置协议中继报文给第一宽带接入服务器; 所述动态主机配置协 议中继 4艮文包括网关 IP地址和按照源 IP地址回应信息;
所述第二宽带接入服务器接收所述第一宽带接入服务器发送的回应报 文; 所述回应报文包括第一宽带接入服务器从与所述网关 IP地址匹配的地 址池中分配的一个空闲 IP地址。
6、 根据权利要求 5所述的地址分配处理方法, 其特征在于, 还包括: 所述第二宽带接入服务器根据接收的所述回应报文中的分配的一个空 闲 IP地址, 在所述第二宽带接入服务器上备份的所述第一宽带接入服务器 的本地地址池中, 记录所述空闲 IP地址的分配信息。
7、 根据权利要求 6所述的地址分配处理方法, 其特征在于, 还包括: 所述第二宽带接入服务器每隔第一预定时间, 向所述第一宽带接入服 务器发送第二心跳报文;
所述第二宽带接入服务器若在第二预定时间内, 没有接收到所述第一 宽带接入服务器发送的第一心跳报文, 则记录所述第一宽带接入服务器的 状态为不可达状态。
8、 根据权利要求 7所述的地址分配处理方法, 其特征在于, 还包括: 所述第二宽带接入服务器若判断出所述第一宽带接入服务器的状态为 不可达状态, 则根据所述第二宽带接入服务器的本地地址池或者在所述第 二宽带接入服务器上备份的所述第一宽带接入服务器的本地地址池, 分配 一个空闲 IP地址。
9、 根据权利要求 8所述的地址分配处理方法, 其特征在于, 还包括: 所述第二宽带接入服务器接收所述第一宽带接入服务器发送的第一心 跳 4艮文:
所述第二宽带接入服务器向所述第一宽带接入服务器发送所述第二宽 带接入服务器的本地地址池的分配信息和所述第二宽带接入服务器上备份 的第一宽带接入服务器的本地地址池的分配信息, 以供所述第一宽带接入 服务器根据所述第二宽带接入服务器的本地地址池的分配信息, 更新所述 第一宽带接入服务器上备份的所述第二宽带接入服务器的本地地址池的分 配信息, 并根据所述第二宽带接入服务器上备份的第一宽带接入服务器的 本地地址池的分配信息, 更新所述第一宽带接入服务器的本地地址池的分 配信息。
10、 一种宽带接入服务器, 其特征在于, 包括:
第一接收模块, 用于接收第二宽带接入服务器发送的动态主机配置协 议中继 4艮文; 所述动态主机配置协议中继 4艮文包括网关 IP地址和按照源 IP 地址回应信息;
第一分配模块, 用于对所述动态主机配置协议中继报文进行解析, 获 取所述网关 IP地址, 并从获取的与所述网关 IP地址匹配的地址池中, 分配 一个空闲 IP地址;
回应报文发送模块, 用于根据所述按照源 IP地址回应信息, 将所述动 态主机设备协议中继报文中的源 IP地址,封装在回应报文中的目的 IP地址 中, 并将所述空闲 IP地址携带在封装后的回应报文中发送给所述第二宽带 接入服务器。
11、 根据权利要求 10所述的宽带接入服务器, 其特征在于, 还包括; 第二接收模块, 用于接收第二宽带接入服务器发送的所述第二宽带接 入服务器的本地地址池的分配信息和所述第二宽带接入服务器上备份的第 一宽带接入服务器的本地地址池的分配信息;
分配信息更新模块, 用于根据所述第二宽带接入服务器的本地地址池 的分配信息, 更新所述第一宽带接入服务器上备份的所述第二宽带接入服 务器的本地地址池的分配信息, 并根据所述第二宽带接入服务器上备份的 第一宽带接入服务器的本地地址池的分配信息, 更新所述第一宽带接入服 务器的本地地址池的分配信息。
12、 一种宽带接入服务器, 其特征在于, 包括:
请求消息接收模块, 用于接收终端发送的动态主机配置协议请求消息; 发送模块, 用于根据所述动态主机配置协议请求消息, 发送动态主机 配置协议中继报文给第一宽带接入服务器; 所述动态主机配置协议中继报 文包括网关 IP地址和按照源 IP地址回应信息;
回应报文接收模块, 用于接收所述第一宽带接入服务器发送的回应报 文; 所述回应报文包括第一宽带接入服务器从与所述网关 IP地址匹配的地 址池中分配的一个空闲 IP地址。
13、 根据权利要求 12所述的宽带接入服务器, 其特征在于, 还包括: 分配信息记录模块, 用于根据接收的所述回应报文中的分配的一个空 闲 IP地址池, 在所述第二宽带接入服务器上备份的所述第一宽带接入服务 器的本地地址池中, 记录所述空闲 IP地址池的分配信息。
14、 根据权利要求 13所述的宽带接入服务器, 其特征在于, 还包括: 心跳报文发送模块, 用于每隔第一预定时间, 向所述第一宽带接入服 务器发送第二心跳报文;
不可达状态记录模块, 用于若在第二预定时间内, 没有接收到所述第 一宽带接入服务器发送的第一心跳报文, 则记录所述第一宽带接入服务器 的状态为不可达状态。
15、 根据权利要求 14所述的宽带接入服务器, 其特征在于, 还包括: 第二分配模块, 用于若判断出所述第一宽带接入服务器的状态为不可 达状态, 则根据所述第二宽带接入服务器的本地地址池或者在所述第二宽 带接入服务器上备份的所述第一宽带接入服务器的本地地址池, 分配一个 空闲 IP地址。
16、 一种地址分配处理系统, 其特征在于, 包括第一宽带接入服务器 和第二宽带接入服务器, 其中, 所述第一宽带接入服务器为如权利要求 10 或 11任一所述的宽带接入服务器, 所述第二宽带接入服务器为如权利要求 12至 15任一所述的宽带接入服务器。
PCT/CN2011/083434 2010-12-15 2011-12-05 地址分配处理方法、装置和系统 WO2012079474A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP11848552.3A EP2654268B1 (en) 2010-12-15 2011-12-05 Address allocation processing method and apparatus
US13/911,835 US9614810B2 (en) 2010-12-15 2013-06-06 Address allocation processing method, apparatus and system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010591072XA CN102025798B (zh) 2010-12-15 2010-12-15 地址分配处理方法、装置和系统
CN201010591072.X 2010-12-15

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/911,835 Continuation US9614810B2 (en) 2010-12-15 2013-06-06 Address allocation processing method, apparatus and system

Publications (1)

Publication Number Publication Date
WO2012079474A1 true WO2012079474A1 (zh) 2012-06-21

Family

ID=43866640

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/083434 WO2012079474A1 (zh) 2010-12-15 2011-12-05 地址分配处理方法、装置和系统

Country Status (4)

Country Link
US (1) US9614810B2 (zh)
EP (1) EP2654268B1 (zh)
CN (1) CN102025798B (zh)
WO (1) WO2012079474A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917084A (zh) * 2012-10-22 2013-02-06 北京交通大学 胖树结构组网数据中心内部节点ip地址的自动分配方法
CN104348927A (zh) * 2013-07-31 2015-02-11 北京华为数字技术有限公司 地址段分配方法及设备
CN112367256A (zh) * 2020-10-15 2021-02-12 深信服科技股份有限公司 创建方法、设备及存储介质

Families Citing this family (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025528B (zh) * 2009-09-23 2013-12-18 中兴通讯股份有限公司 地址管理方法、装置和系统
CN102025798B (zh) 2010-12-15 2013-12-04 华为技术有限公司 地址分配处理方法、装置和系统
WO2013020267A1 (zh) * 2011-08-08 2013-02-14 华为数字技术有限公司 Ip地址分配方法和系统以及设备
US9407506B2 (en) * 2011-09-12 2016-08-02 Microsoft Technology Licensing, Llc Multi-entity management
CN102387222B (zh) * 2011-10-19 2014-08-06 中国联合网络通信集团有限公司 地址分配方法、装置及系统
CN109586972B (zh) * 2012-02-22 2021-01-29 华为技术有限公司 用户终端设备的接入方法、系统和宽带网络网关
CN105245638B (zh) * 2012-04-28 2019-06-21 华为技术有限公司 地址分配方法、设备和系统
US20140006568A1 (en) * 2012-06-28 2014-01-02 Alcatel-Lucent Canada, Inc. Prioritization based on ip pool and subnet by dhcp
WO2015090451A1 (en) * 2013-12-20 2015-06-25 Telefonaktiebolaget L M Ericsson (Publ) Allocation of resources during split brain conditions
CN103744809B (zh) * 2013-12-23 2016-10-05 天泽信息产业股份有限公司 基于vrrp的车辆信息管理系统双机热备方法
CN104320353B (zh) * 2014-11-19 2018-10-12 中国联合网络通信集团有限公司 一种用户地址管理的方法和装置
CN105991460B (zh) * 2015-03-02 2019-09-06 杭州迪普科技股份有限公司 流量负载转发方法、主控板、业务板及网络设备
CN104734952B (zh) * 2015-03-09 2018-07-24 新华三技术有限公司 一种数据报文转发方法以及装置
EP3349420B1 (en) * 2015-09-29 2022-02-23 Huawei Technologies Co., Ltd. Ip address allocation method, apparatus and system for master-slave type network
CN105939400B (zh) * 2015-12-24 2019-06-07 杭州迪普科技股份有限公司 一种PPPoE地址分配方法及装置
JP6690093B2 (ja) * 2016-08-10 2020-04-28 富士通株式会社 判定プログラム、通信装置、および、判定方法
WO2018039901A1 (zh) * 2016-08-30 2018-03-08 深圳前海达闼云端智能科技有限公司 用于ip地址分配的方法、装置、系统和计算机程序产品
CN106330571B (zh) * 2016-09-28 2019-09-17 新华三技术有限公司 一种故障处理方法及装置
US10454882B2 (en) * 2017-06-30 2019-10-22 Cisco Technology, Inc. DHCP in layer-3 overlay with anycast address support and network address transparency
US10887251B2 (en) * 2018-09-13 2021-01-05 International Business Machines Corporation Fault-tolerant architecture for packet capture
CN112217717A (zh) * 2020-08-31 2021-01-12 全讯汇聚网络科技(北京)有限公司 基于双机热备的网络切换方法及系统
CN115550319B (zh) * 2022-11-24 2023-03-28 新华三信息技术有限公司 一种地址分配方法及装置
CN116865932B (zh) * 2023-09-04 2023-12-05 国网江苏省电力有限公司无锡供电分公司 一种用于变电站基建的临时开关箱系统及其监控方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1455563A (zh) * 2003-06-19 2003-11-12 北京港湾网络有限公司 分散式宽带接入认证节点用户网际协议地址分配方法
WO2007074006A1 (fr) * 2005-12-29 2007-07-05 France Telecom Procédé d'affectation dynamique d'ensembles d'adresses par dhcp, entité de gestion, relais et programme d'ordinateur correspondants
US7827310B1 (en) * 2006-04-27 2010-11-02 Alcatel Lucent Host connectivity verification
CN102025798A (zh) * 2010-12-15 2011-04-20 华为技术有限公司 地址分配处理方法、装置和系统

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7051098B2 (en) * 2000-05-25 2006-05-23 United States Of America As Represented By The Secretary Of The Navy System for monitoring and reporting performance of hosts and applications and selectively configuring applications in a resource managed system
GB2363548A (en) * 2000-06-15 2001-12-19 Int Computers Ltd Computer systems, in particular virtual private networks
US7739394B2 (en) * 2003-07-29 2010-06-15 At&T Intellectual Property I, L.P. Bi-level addressing for internet protocol broadband access
GB2412754B (en) * 2004-03-30 2007-07-11 Hewlett Packard Development Co Provision of resource allocation information
EP1662752A1 (de) * 2004-11-26 2006-05-31 Siemens Schweiz AG Verfahren zur Konfigurierung eines Gerätes mit DHCP über PPPoE
WO2006118497A1 (en) * 2005-04-29 2006-11-09 Telefonaktiebolaget L M Ericsson (Publ) Operator shop selection
CN100407625C (zh) * 2005-04-29 2008-07-30 华为技术有限公司 一种根据终端类型进行业务发放的方法
CN1859437B (zh) * 2005-04-30 2010-11-10 华为技术有限公司 用户终端获取接入位置信息的方法及用户终端和相应设备
CN101547223B (zh) * 2008-03-26 2012-11-21 华为技术有限公司 地址配置方法、装置和系统
CN102055637B (zh) * 2009-11-03 2015-06-03 中兴通讯股份有限公司 宽带网络系统及其实现方法
US8560658B2 (en) * 2010-03-23 2013-10-15 Juniper Networks, Inc. Managing distributed address pools within network devices
US9173117B2 (en) * 2013-05-02 2015-10-27 Telefonaktiebolaget L M Ericsson (Publ) Enhancing a mobile backup channel to address a node failure in a wireline network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1455563A (zh) * 2003-06-19 2003-11-12 北京港湾网络有限公司 分散式宽带接入认证节点用户网际协议地址分配方法
WO2007074006A1 (fr) * 2005-12-29 2007-07-05 France Telecom Procédé d'affectation dynamique d'ensembles d'adresses par dhcp, entité de gestion, relais et programme d'ordinateur correspondants
US7827310B1 (en) * 2006-04-27 2010-11-02 Alcatel Lucent Host connectivity verification
CN102025798A (zh) * 2010-12-15 2011-04-20 华为技术有限公司 地址分配处理方法、装置和系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2654268A4 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917084A (zh) * 2012-10-22 2013-02-06 北京交通大学 胖树结构组网数据中心内部节点ip地址的自动分配方法
CN102917084B (zh) * 2012-10-22 2015-05-06 北京交通大学 胖树结构组网数据中心内部节点ip地址的自动分配方法
CN104348927A (zh) * 2013-07-31 2015-02-11 北京华为数字技术有限公司 地址段分配方法及设备
CN112367256A (zh) * 2020-10-15 2021-02-12 深信服科技股份有限公司 创建方法、设备及存储介质
CN112367256B (zh) * 2020-10-15 2022-09-30 深信服科技股份有限公司 创建方法、设备及存储介质

Also Published As

Publication number Publication date
EP2654268A4 (en) 2014-01-15
US20130326014A1 (en) 2013-12-05
CN102025798B (zh) 2013-12-04
EP2654268A1 (en) 2013-10-23
CN102025798A (zh) 2011-04-20
US9614810B2 (en) 2017-04-04
EP2654268B1 (en) 2018-02-07

Similar Documents

Publication Publication Date Title
WO2012079474A1 (zh) 地址分配处理方法、装置和系统
JP5331163B2 (ja) Ipアドレス割り当てシステム、dhcpサーバ及びipアドレス割り当て方法
US9917724B2 (en) Access method and system of customer premise equipment, and broadband network gateway
US8285875B2 (en) Synchronizing resource bindings within computer network
WO2013159641A1 (zh) 地址分配方法、设备和系统
WO2004084496A1 (fr) Procede de mise en oeuvre de la distribution de la charge dynamique par les passerelles
WO2012163007A1 (zh) 解决网际协议地址分配冲突的方法及相关设备和系统
JP6389956B2 (ja) ネットワークトラフィックを管理する方法およびシステム
WO2016121293A1 (ja) ネットワーク中継装置、ゲートウェイ冗長化システム、プログラム、および冗長化方法
WO2009030173A1 (fr) Procédé de traitement et dispositif pour la configuration de raccordement qinq
WO2012109849A1 (zh) Mac地址分配方法和设备
CN106713039B (zh) 以太网口的识别方法、装置及路由器
JP2008017254A (ja) ルータ装置
WO2013071765A1 (zh) 为用户终端分配ip地址的方法、装置和系统
WO2011144152A1 (zh) 信息提供方法及家庭网关、家庭网络系统
WO2011100907A2 (zh) 参数配置的方法和网元设备
JP6795043B2 (ja) ゲートウェイ装置、ネットワークアドレス変換装置、通信システム、通信方法、および、プログラム
WO2018161795A1 (zh) 一种路由优先级配置方法、设备以及控制器
WO2014034075A1 (ja) ネットワーク監視システム、通信装置、ネットワーク管理方法、及び、ネットワーク管理プログラム記憶媒体
JP2023528328A (ja) 室内ユニットと室外ユニットの間のマルチpdn実装方法及び記憶媒体
WO2020048177A1 (zh) 机顶盒管理方法、装置、设备及存储介质
WO2012162996A1 (zh) Ip地址获取方法及网络接入设备
WO2015014167A1 (zh) 一种处理原始ip报文的方法和相应装置
WO2014048248A1 (zh) Mac地址的控制方法及装置
CN111954102B (zh) 一种dhcpv6 pd场景下的路由控制方法与装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11848552

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE