[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN1561072A - Method for sharing user IP address pool - Google Patents

Method for sharing user IP address pool Download PDF

Info

Publication number
CN1561072A
CN1561072A CNA2004100391711A CN200410039171A CN1561072A CN 1561072 A CN1561072 A CN 1561072A CN A2004100391711 A CNA2004100391711 A CN A2004100391711A CN 200410039171 A CN200410039171 A CN 200410039171A CN 1561072 A CN1561072 A CN 1561072A
Authority
CN
China
Prior art keywords
address
dhcp
dslam
message
long
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CNA2004100391711A
Other languages
Chinese (zh)
Inventor
张丽军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Harbour Networks Holdings Ltd
Original Assignee
Harbour Networks Holdings Ltd
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 Harbour Networks Holdings Ltd filed Critical Harbour Networks Holdings Ltd
Priority to CNA2004100391711A priority Critical patent/CN1561072A/en
Publication of CN1561072A publication Critical patent/CN1561072A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

This invention provides a method for realizing share of user IP address pool among multiple IP-DSLAM by spreading DHCP first of all allocating virtual LAN between IP-DSLAM, setting up IP address share relations when re-starting IP-DSLAM devices, sending IP address bulletin reports definitely and processing the address application and release request among them. Any cut-in user of A or B of IP-SLAM device can get IP address(either A or B) to log-on-to-the net so long as there are addresses to be allocated in A or B address pools.

Description

Realize the method that share in the IP address pond
Affiliated technical field
The invention belongs to computer network communication field, be specifically related to a kind of by expanding the method that DHCP realizes that share in the IP address pond between many IP-DSLAM.
Background technology
Along with development of internet technology, broadband access has at present become a kind of leading user mode access.Broadband access generally comprises ADSL, VDSL, and modes such as Ethernet, according to the needs of operator's operation, these all modes all need broadband dialing and the process that authenticates.After authentication phase is finished, also need to carry out the IP address assignment process usually, purpose is that like this, the end user just can communicate for user side distributes an IP.And present most of IP-DSLAM has been integrated into basic authentication (as 802.1x authentication, PPPoE authentication and termination) and IP address assignment and management function on the DSLAM equipment and has realized.Like this, higher level equipment just can substitute the BRAS of traditional application model with a cheap three-tier switch, thereby reduces the construction cost of broadband access network significantly.
IP address assignment has multiple mode, mainly can be divided into two big classes: static IP distributes and dynamic IP is distributed; The static IP method of salary distribution is to specify an IP for user side in advance, after authentification of user passes through, just can communicate by letter at once; Do not have IP in advance and the dynamic IP method of salary distribution is a user side, after authentication is passed through,, obtain an IP, just can communicate by letter then by the IP address assignment process.For the dynamic IP method of salary distribution, modal is to utilize the DHCP agreement, and IP-DSLAM is IP address of user side dynamic assignment; When user side initiatively disconnected connection or abnormal broken line, IP-DSLAM can reclaim this IP, so that can be that other clients are distributed.DHCP is the expansion of BOOTP, is based on C/S model, and it provides the mechanism of a kind of dynamic assigned ip address and configuration parameter, and this is mainly used in the relatively place of difficulty of large network environment and configuration.DHCP has defined a kind of mechanism that can make the IP address use one section finite time, client's time limit in can redistribute this IP address.Dynamic Host Configuration Protocol server is client computer assigned ip address automatically, and its configuration parameter makes the compunication on the network become convenient and realized easily.DHCP can rent the IP address, and for the catenet that has many computers, it sometimes may be unnecessary that every computer has an IP address.Rental period is indefinite from 1 minute to 100 years, when the rental period to the time, server can use to this IP address assignment other machine.The client also can ask to use the network address and the corresponding configuration parameters of oneself liking.
At present, there is following defective in IP-DSLAM by DHCP agreement distributing IP: (1) address can not be shared, and causes waste; (2) address pool is disperseed, and is not easy management.Suppose that two IP-DSLAM device A and B are built-in with the IP address pool; The last user who connects of A can only distribute the address from the address pool of A like this, and the user of the last connection of B can only distribute the address from the address pool of B; In order to satisfy the needs that the full configuration user reaches the standard grade simultaneously, A and B must have a big address pool like this, can actually insert the user not for a long time, cause the waste of precious IP resource; If dispose a little address pool, the situation that the user can't surf the Net because can not get IP can occur again; Simultaneously,, cause the very big inconvenience of management, hindered the whole network planning of network manager and drawn because address pool is disperseed.
Summary of the invention
The present invention overcomes the deficiency of above-mentioned IP-DSLAM by DHCP agreement distributing IP address, provide a kind of and realize the method that share in the IP address pond between many IP-DSLAM by expansion DHCP, both can avoid causing the waste of IP address, can satisfy the needs of a large number of users communication again.
Technology contents of the present invention: a kind of method that realizes that the IP address pond is shared is characterized in that:
(1) VLAN that configuration of IP-the DSLAM equipment room communicates with one another;
(2) when IP-DSLAM equipment restarts, utilize the DHCP agreement of expansion to set up IP address shared relationship;
(3) restart procedure finishes, and utilizes the DHCP agreement of expansion regularly to send the address advertisement message, handles application IP addresses to each other and discharges request.
Described application IP addresses process can be:
(1) but judge whether this locality has the distributing IP address, if having, distribute earlier from this locality; If no, attempt from long-range distribution;
(2) if from long-range distribution, to long-range application IP request message, then long-range IP-DSLAM judges whether and can distribute, and returns the DHCP success message or the DHCP failure message of expansion.
Described address discharges application process and can be:
(1) judges whether this IP address can be distributed from this locality; If discharge from this locality; If not, attempt from long-range release;
(2) if this IP address from long-range distribution, discharges message to long-range release IP, then long-range IP-DSLAM discharges this IP.
The DHCP agreement of described expansion can comprise has expanded following type of message:
(1) is used for announcing mutually oneself dhcp-server information;
(2) be used to receive the other side's DHCP_HIPMP_TYPE_DISCOVER, respond;
When (3) being used for equipment and restarting, notify other equipment to carry out address response, keep synchronously;
(4) be used to receive the other side's DHCP_HIPMP_TYPE_REBOOT, respond;
(5) be used to notify () the generation or unusually of some incidents of other equipment;
(6) be used for sending IP application IP addresses to other equipment;
(7) be used for sending an IP application IP addresses success message (comprising IP common configuration information) to the other side DHCP_HIPMP_TYPE_REBOOT;
(8) be used for sending an IP application IP addresses failed message to the other side DHCP_HIPMP_TYPE_REBOOT;
(9) be used for sending an IP address release message to the other side DHCP_HIPMP_TYPE_REBOOT.
Step (2) can further comprise: each IP-DSLAM regularly announces state and the address pool information of oneself to other IP-DSLAM; Each IP-DSLAM learns the information of other IP-DSLAM, and regular update keeps information synchronization.
When abnormal conditions take place, after each IP DSLAM detects, take corresponding measure, notify other IP DSLAM to take corresponding measure in case of necessity.
Technique effect of the present invention: the IP-DSLAM of a plurality of built-in IP address pool is connected,, can realize that the address of IP address pool is shared by existing DHCP is carried out suitable expansion; For the access user of any A or B, as long as also have the address to distribute in the built-in address pond of A or B, he just can obtain IP (no matter at A, still B), thereby normally surfs the Net.Method provided by the invention, make IP DSLAM at any software and hardware cost (comprising CPU, internal memory) that does not need to increase equipment, do not change under the situation of original networking model, just can solve that the IP address be difficult for to be shared, fragment too much and the two big drawbacks that are difficult for of management.Like this, not only can finish the standard feature of DHCP agreement---give user's distributing IP address, the configuration information of return link layer, interface, IP layer and TCP layer, application layer, and finished standard DHCP agreement can not finish function---it can make the equipment of a plurality of built-in DHCP-server communicate mutually, finish that share the address and centralized management, ideally solved the BRAS function is incorporated into the IP address waste that the business board of IP-DSLAM brings and the problem of difficult management.
Description of drawings
Fig. 1 is that the address pool of IP-DSLAM of the present invention is shared the networking schematic diagram.
Embodiment
With reference to figure 1, wherein: A:Radius Server server; B:Internet; C:L3 Switch (converging L2 Switch); D:L2 Switch; E:IP-DSLAM; F: user.
The built-in DHCP-SERVER of IP DSLAM finishes the distribution to IP address.
The present invention has increased several new message formats and option type by DHCP is expanded, and has also increased the new message format and the treatment mechanism of option type simultaneously.
As expand following nine kinds of message formats:
1、DHCP_HIPMP_TYPE_DISCOVER
Be used for announcing mutually between A and B the dhcp-server information (mainly being pool and address utilization) of oneself;
2、DHCP_HIPMP_TYPE_DISCOVER_ACK
Be used for the DHCP_HIPMP_TYPE_DISCOVER that A or B receive the other side, respond;
3、DHCP_HIPMP_TYPE_REBOOT
When being used for A or B equipment reboot, notify other equipment (carry out address response, keep synchronously);
4、DHCP_HIPMP_TYPE_REBOOT_ACK
Be used for the DHCP_HIPMP_TYPE_REBOOT that A or B receive the other side, respond;
5、DHCP_HIPMP_TYPE_ERR_NOTIFY
Be used for the generation that A or B notify some incidents of the other side (or unusual);
6、DHCP_HIPMP_TYPE_IP_REQUEST
Be used for A or B and send an IP application to the other side;
7、DHCP_HIPMP_TYPE_IP_ACK
Be used for A or B and send an IP application success message (comprising IP common configuration information) to the other side;
8、DHCP_HIPMP_TYPE_IP_NAK
Be used for family A or B and send an IP application failed message to the other side;
9、DHCP_HIPMP_TYPE_IP_RELEASE
Be used for A or B and send an IP release message to the other side;
At first the configuration of IP DSLAM used vlan that communicates with one another makes IP DSLAM can accept and handle the DHCP message of expansion, finishes the IP address and shares; And owing to address pool can be shared, so can manage concentratedly to user's IP address.
When IP DSLAM restarts (or dhcp serves when restarting), broadcasting DHCP_HIPMP_TYPE_REBOOT message (discharges the ip of all this locality to long-range application, discharge the local long-range ip that offers), simultaneously, collect DHCP_HIPMP_TYPE_REBOOT_ACK, and record sends MAC and the IP of the dhcp-server of DHCP_HIPMP_TYPE_REBOOT_ACK; Can collect the DHCP_HIPMP_TYPE_DISCOVER message that these dhcp-server send later on.Share owing to finish the IP address, can keep information synchronization, according to the response of miscellaneous equipment, dynamic learning is to carrying out other IP DSLAM that share the address with it simultaneously.
The process that restarts finishes, and periodic broadcasting DHCP_HIPMP_TYPE_DISCOVER identifies all dhcp-server and do not participate in sharing; Receive DHCP_HIPMP_TYPE_DISCOVE_ACK simultaneously; Receive the DHCP_HIPMP_TYPE_DISCOVER_ACK of corresponding sequence number, just allow again.As receive the DHCP_HIPMP_TYPE_DISCOVER that certain dhcp-server sends, arrive the dhcp-server of this dhcp-server announcement and the information updating of pool local, this dhcp-server is designated participation shares, send DHCP_HIPMP_TYPE_DISCOVER_ACK then.Owing to send the address advertisement message termly, announce state and the address pool information of oneself, when being convenient to other IP DSLAM applied addresses, do decision-making treatment.
When receiving application IP addresses, from this locality application, there is not available address earlier as this locality, then the DHCP application message of structure expansion according to priority algorithm, is chosen suitable IP DSLAM, sends DHCP_HIPMP_TYPE_IP_REQUEST application message; Then receive the DHCP_HIPMP_TYPE_IP_ACK (carrying the configuration information of IP) of the IP DSLAM of application message, promptly distribute available address.And, overtime retransmission mechanism is arranged for preventing unusual generation.Behind the success applied address, applicant and supplier's co-registered information.
When receiving that the address discharges, judge whether and to discharge from this locality; So the IP address is from the IP DSLAM application of far-end, and then the DHCP of structure expansion discharges message, sends the DHCP_HIPMP_TYPE_IP_RELEASE message to corresponding IP DSLAM; After receiving this message, corresponding IP DSLAM discharges IP.After success discharges the address, applicant and supplier's together modify information.
In order changing, or to detect when unusual, to notify other equipment to take measures, keep the IP address synchronization, introduced event notification mechanism in configuration.When abnormal conditions took place, for example equipment restarted, and cancellation is shared, and shared again, when link is unusual, after each IP DSLAM detects, take corresponding measure, in case of necessity, notify other IP DSLAM, notified IP DSLAM also carries out necessary operation, keeps address synchronization.

Claims (6)

1. method that realizes that the IP address pond is shared is characterized in that:
(1) VLAN that configuration of IP-the DSLAM equipment room communicates with one another;
(2) when IP-DSLAM equipment restarts, expansion DHCP agreement is set up IP address shared relationship;
(3) restart procedure finishes, and regularly sends the address advertisement message, utilizes the DHCP protocol processes application IP addresses to each other of expansion and discharges request.
2. the method that share in realization IP address as claimed in claim 1 pond, it is characterized in that: described application IP addresses process is:
(1) but judge whether this locality has the distributing IP address, if having, distribute earlier from this locality; If no, attempt from long-range distribution;
(2) if from long-range distribution, structure is to the expansion DHCP request message of long-range application IP address, and then long-range IP-DSLAM judges whether and can distribute, and returns the DHCP success message or the DHCP failure message of expansion.
3. the method that share in realization IP address as claimed in claim 1 or 2 pond is characterized in that: described address discharges application process and is:
(1) judges whether this IP address can be distributed from this locality; If discharge from this locality; If not, attempt from long-range release;
(2) if the expansion DHCP that from long-range distribution, construct to long-range release IP address this IP address discharges message, then long-range IP-DSLAM discharges this IP.
4. the method that share in realization IP address as claimed in claim 1 pond, it is characterized in that: the DHCP agreement of described expansion comprises has expanded following type of message:
(1) is used for announcing mutually oneself dhcp-server information;
(2) be used to receive the other side's DHCP_HIPMP_TYPE_DISCOVER, respond;
When (3) being used for equipment and restarting, notify other equipment to carry out address response, keep synchronously;
(4) be used to receive the other side's DHCP_HIPMP_TYPE_REBOOT, respond;
(5) be used to notify () the generation or unusually of some incidents of other equipment;
(6) be used for sending IP application IP addresses to other equipment;
(7) be used for sending an IP application IP addresses success message, and comprise IP common configuration information to the other side DHCP_HIPMP_TYPE_REBOOT;
(8) be used for sending an IP application IP addresses failed message to the other side DHCP_HIPMP_TYPE_REBOOT;
(9) be used for sending an IP address release message to the other side DHCP_HIPMP_TYPE_REBOOT.
5. the method that share in realization IP address as claimed in claim 1 pond, it is characterized in that: step (2) further comprises: each IP-DSLAM regularly announces state and the address pool information of oneself to other IP-DSLAM; Each IP-DSLAM learns the information of other IP-DSLAM, and regular update keeps information synchronization.
6. the method that share in realization IP address as claimed in claim 1 pond is characterized in that: when abnormal conditions take place, after each IP DSLAM detects, take corresponding measure, notify other IP DSLAM to take corresponding measure in case of necessity.
CNA2004100391711A 2004-02-20 2004-02-20 Method for sharing user IP address pool Pending CN1561072A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2004100391711A CN1561072A (en) 2004-02-20 2004-02-20 Method for sharing user IP address pool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2004100391711A CN1561072A (en) 2004-02-20 2004-02-20 Method for sharing user IP address pool

Publications (1)

Publication Number Publication Date
CN1561072A true CN1561072A (en) 2005-01-05

Family

ID=34441284

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2004100391711A Pending CN1561072A (en) 2004-02-20 2004-02-20 Method for sharing user IP address pool

Country Status (1)

Country Link
CN (1) CN1561072A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741925A (en) * 2009-12-14 2010-06-16 中兴通讯股份有限公司 Method for allocating access addresses and access equipment
WO2011035588A1 (en) * 2009-09-23 2011-03-31 中兴通讯股份有限公司 Address distribution method, device and system thereof
CN102025475A (en) * 2009-09-23 2011-04-20 中兴通讯股份有限公司 Address allocation method, apparatus and system in hot backup scene
CN102263817A (en) * 2011-07-06 2011-11-30 南京联创科技集团股份有限公司 Method for realizing data access of DHCP (dynamic host configuration protocol) address base based on shared storage
CN102387222A (en) * 2011-10-19 2012-03-21 中国联合网络通信集团有限公司 Address distribution method, apparatus and system thereof
CN101155177B (en) * 2006-09-30 2012-05-30 深圳Tcl工业研究院有限公司 Shared protocol-based data channel sharing system and method
WO2014036885A1 (en) * 2012-09-07 2014-03-13 中兴通讯股份有限公司 Method, device and system for implementing address sharing
CN103856574A (en) * 2012-12-06 2014-06-11 中国电信股份有限公司 Method, device and system for controlling services
CN104243625A (en) * 2013-06-08 2014-12-24 中国移动通信集团河南有限公司 IP address distribution method and device
CN106331192A (en) * 2015-06-23 2017-01-11 中兴通讯股份有限公司 Network protocol IP address allocation method and device
CN116805916A (en) * 2023-08-23 2023-09-26 明阳时创(北京)科技有限公司 IPv 6-based remote local area network communication method and system

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155177B (en) * 2006-09-30 2012-05-30 深圳Tcl工业研究院有限公司 Shared protocol-based data channel sharing system and method
WO2011035588A1 (en) * 2009-09-23 2011-03-31 中兴通讯股份有限公司 Address distribution method, device and system thereof
CN102025475A (en) * 2009-09-23 2011-04-20 中兴通讯股份有限公司 Address allocation method, apparatus and system in hot backup scene
CN102025790A (en) * 2009-09-23 2011-04-20 中兴通讯股份有限公司 Address allocation method, device and system
CN102025790B (en) * 2009-09-23 2013-12-18 中兴通讯股份有限公司 Address allocation method, device and system
WO2011072566A1 (en) * 2009-12-14 2011-06-23 中兴通讯股份有限公司 Access address allocating method and access device thereof
CN101741925A (en) * 2009-12-14 2010-06-16 中兴通讯股份有限公司 Method for allocating access addresses and access equipment
CN102263817A (en) * 2011-07-06 2011-11-30 南京联创科技集团股份有限公司 Method for realizing data access of DHCP (dynamic host configuration protocol) address base based on shared storage
CN102263817B (en) * 2011-07-06 2013-09-18 南京联创科技集团股份有限公司 Method for realizing data access of DHCP (dynamic host configuration protocol) address base based on shared storage
CN102387222B (en) * 2011-10-19 2014-08-06 中国联合网络通信集团有限公司 Address distribution method, apparatus and system thereof
CN102387222A (en) * 2011-10-19 2012-03-21 中国联合网络通信集团有限公司 Address distribution method, apparatus and system thereof
WO2014036885A1 (en) * 2012-09-07 2014-03-13 中兴通讯股份有限公司 Method, device and system for implementing address sharing
CN103685586A (en) * 2012-09-07 2014-03-26 中兴通讯股份有限公司 Method, device and system for realizing address sharing
CN103685586B (en) * 2012-09-07 2018-09-04 中兴通讯股份有限公司 A kind of methods, devices and systems for realizing that address is shared
US10419392B2 (en) 2012-09-07 2019-09-17 Zte Corporation Method, device and system for implementing address sharing
CN103856574A (en) * 2012-12-06 2014-06-11 中国电信股份有限公司 Method, device and system for controlling services
CN103856574B (en) * 2012-12-06 2017-07-14 中国电信股份有限公司 Method, apparatus and system for control business
CN104243625A (en) * 2013-06-08 2014-12-24 中国移动通信集团河南有限公司 IP address distribution method and device
CN104243625B (en) * 2013-06-08 2017-11-03 中国移动通信集团河南有限公司 The distribution method and device of a kind of IP address
CN106331192A (en) * 2015-06-23 2017-01-11 中兴通讯股份有限公司 Network protocol IP address allocation method and device
CN106331192B (en) * 2015-06-23 2020-12-04 中兴通讯股份有限公司 Network protocol IP address allocation method and device
CN116805916A (en) * 2023-08-23 2023-09-26 明阳时创(北京)科技有限公司 IPv 6-based remote local area network communication method and system
CN116805916B (en) * 2023-08-23 2023-11-17 明阳时创(北京)科技有限公司 IPv 6-based remote local area network communication method and system

Similar Documents

Publication Publication Date Title
CN1213567C (en) Concentrated network equipment managing method
CN101123565B (en) P2P system and resource query method for this system
CN1750576A (en) Access management apparatus, program and remote start-up method of terminal device
CN1949784A (en) IP address requesting method for DHCP client by DHCP repeater
CN1855820A (en) Method for providing business according to its type
CN101068208A (en) Method, system and proxy equipment for dynamic distributing network address
CN1561072A (en) Method for sharing user IP address pool
CN1625153A (en) Vrrp technology keeping vr confidentiality
CN1859304A (en) Method for realizing neighbour discovery
CN1859409A (en) Method and system for improving network dynamic host configuration DHCP safety
CN1284094C (en) Distributed parallel scheduling wide band network server system
CN1909524A (en) Automatic configuration method and system for digital household terminal
CN1414740A (en) Centralized management method of local net exchange equipment
CN1845554A (en) Control method for dynamically distributing IP address in 3G network
CN1901474A (en) IP address distributing method and device
CN1705313A (en) IP communications system and IP address allocation method
CN1855916A (en) Method and system for realizing virtual IP protocol
CN1925497A (en) Binding method based on VID, MAC, IP and users
CN1852169A (en) Method and system for centralized management of multiple functional units
CN1487697A (en) IP address distributing management method for wideband access equipment
CN1416248A (en) Method for realizing switch in with mixed multiple users'types in Ethernet network switch in devices
WO2007041899A1 (en) A system and method of managing the dynamic adaptive distributed resource
CN1606305A (en) Method and apparatus for managing ip addresses and name mappings for wireless clients
CN1567887A (en) Method for triggering user IP address assignment
CN1585359A (en) Addressing section static batching distributing method between DSLAM apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication