CN1585362A - Method for direct processing user IP address through local DHCP-SERVER - Google Patents

Method for direct processing user IP address through local DHCP-SERVER Download PDF

Info

Publication number
CN1585362A
CN1585362A CN 200410009144 CN200410009144A CN1585362A CN 1585362 A CN1585362 A CN 1585362A CN 200410009144 CN200410009144 CN 200410009144 CN 200410009144 A CN200410009144 A CN 200410009144A CN 1585362 A CN1585362 A CN 1585362A
Authority
CN
China
Prior art keywords
address
dhcp
server
dslam
user
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
CN 200410009144
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 CN 200410009144 priority Critical patent/CN1585362A/en
Publication of CN1585362A publication Critical patent/CN1585362A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The method includes following steps: the DHCP-SERVER is set in DSLAM, the PPPoE for user's authentication is set up for DSLAM; after the user of DSLAM accesses the DSLAM and passes the authentication, an address request message is built and is sent to the above DHCP-SEVER, the above DHCP-SEVER receives the above request message, then decides if the address in address pool has the address, if yes, a available address is allocated to user and an address ACK message is built and is sent to DSLAM, if not, the address allocation is failure, an address NAK message is built and sent to above DSLAM.

Description

Method by the direct process user IP of local DHCP-SERVER address
Technical field
The present invention relates to the method for a kind of user's distributing IP address, relate in particular to a kind of method by the direct process user IP of local DHCP-SERVER address.
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 modes such as ADSL, VDSL, Ethernet, and according to the operation needs of operator, these all modes all need broadband dialing and the process that authenticates.After authentication phase is finished, also need to carry out IP address assignment usually, purpose is that like this, the end user just can communicate for user side distributes an IP.And present most of IP-DSLAM (Digital SubscriberLine Access Multiplexer) 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 the three-tier switch of relative low price, thereby has reduced 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 DHCP (Dynamic Host ConfigurationProtocol) 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.
DHCP-SERVER is based on the DHCP agreement, and the process IP application IP addresses are based on the message driving mechanism, and the basic process of process IP application IP addresses is as follows: (1) receives certain user's DHCP-DISCOVER message; (2) judge whether this locality has IP to distribute; If find assignable IP, reply a DHCP-OFFER message; (3) receive user's DHCP-REQUEST message; (4) judge whether to distribute to the user,, reply a DHCP-ACK message as distributing; Then reply a DHCP-NAK as distributing.This shows that the IP assigning process of a success needs the mutual of four DHCP messages.The direct decline that this has caused the SERVER disposal ability causes bandwidth to reduce.
Summary of the invention
Connect the existing problem and shortage of user applies IP address approach at existing DSLAM, the present invention proposes a kind of method by the direct process user IP of local DHCP-SERVER address.
The present invention is achieved in that a kind of method by the direct process user IP of local DHCP-SERVER address, may further comprise the steps:
For in the DSLAM equipment DHCP-SERVER being set, be used for the PPPoE termination of authentification of user simultaneously for the DSLAM equipment disposition;
The user of DSLAM inserts described DSLAM and by after the authentication, begins to construct an address request, sends to described DHCP-SERVER;
After described DHCP-SERVER receives described request message, judge whether the address has the address in the address pool,, directly distribute to available address of user, and construct an address ACK message, send to described DSLAM if having; If do not have or the address assignment failure, then construct an address NAK message, send to described DSLAM.
Further, this method also comprises: DSLAM detects user offline or unusual the pressure rolled off the production line, and initiatively sends the address release message to DHCP-SERVER, and described DHCP-SERVER discharges this user's IP address after receiving the address release message.
Further, described address pool is a local pool.
The present invention is by configuration DHCP-SERVER in DSLAM and PPPoE termination.Here, the PPPoE termination is that the PPPoE message can terminate in this locality, and is corresponding with transparent transmission.Local DHCP-SERVER has been increased support and processing to PPPoE Address requests message, can analyze this request message, information extraction directly distributes an IP available then; Increased the ability of structure PPPoE address success with the message of failure, can be by sending the mode and the PPPoE module direct dialogue of message, make that the PPPoE user who is connected with DSLAM can be directly to DHCP-SERVER application and release address, with the application of IP address by in transferring to outward, reduce the application processing time, improved bandwidth.
Description of drawings
Below in conjunction with accompanying drawing, the present invention is made detailed description.
Fig. 1 is an application structure schematic diagram of the present invention.
Embodiment
As shown in Figure 1, application structure of the present invention is as figure, wherein: A:Radius Server server; B:Internet; C:L3 Switch is used to converge L2 Switch; D:L2 Switch; E:IP-DSLAM; F: user.And finish distribution to IP address by the built-in DHCP-SERVER of IP-DSLAM.
The present invention at first is DSLAM configuration DHCP-SERVER, being PPPoE user's distributing IP address of access by built-in DHCP-SERVER, but makes the application IP addresses inter-process.But behind the built-in DHCP-SERVER of DSLAM equipment, but run into a problem, that is exactly that PPPoE user at first will pass through the LCP stage, authentication is passed through then, enter ncp stage, application IP address, but because an IP is directly returned in the common requirement of PPPoE user, itself is the processing and the ability to accept of DHCP message not, causes directly carrying out with local DHCP-SERVER the message interaction of application IP addresses.Be the authentication of DSLAM configuration PPPoE termination again, and PPPoE and DHCP-SERVER are processed the expansion of ability, can handle the Address requests and the release message of same format.
After the PPPoE user who is connected with DSLAM starts, send authentication request to DSLAM, PPPoE termination authentication module in the DSLAM is handled PPPoE user's authentication request, authentification of user by and enter the NCP address negotiation stage after, construct an address request, comprise the recommended value of session identification and applied address and the configuration parameter of PPPoE, send to the DHCP-SERVER module.
Because DHCP-SERVER handles this special address request, according to local pool, if can distribute the address to give the user, directly distribute an IP available address, and construct an address ACK message, the session identification that comprises the IP of distribution and necessary configuration parameter, PPPoE sends to the PPPoE processing module of DSLAM; As distributing or distribute failure, construct an address NAK message, comprise the session identification of PPPoE, send to the PPPoE processing module.
The PPPoE processing module is received the address ACK message of the session identification of corresponding PPPoE, and ncp stage finishes, and can IP be set for the PPPoE user side, and the user just can normally surf the Net; Receive address NAK message, return failure result, and the notice user side.
When PPPoE user is normally rolled off the production line or detected unusual pressure and roll off the production line, initiatively send the address release message to DHCP-SERVER, comprising the session identification of IP address information and PPPoE.DHCP-SERVER handles this address release message, discharges this IP address, and this IP address just can be distributed to other user and use.

Claims (3)

1, a kind of method by the direct process user IP of local DHCP-SERVER address may further comprise the steps:
For in the DSLAM equipment DHCP-SERVER being set, be used for the PPPoE termination of authentification of user simultaneously for the DSLAM equipment disposition;
The user of DSLAM inserts described DSLAM and by after the authentication, begins to construct an address request, sends to described DHCP-SERVER;
After described DHCP-SERVER receives described request message, judge whether the address has the address in the address pool,, directly distribute to available address of user, and construct an address ACK message, send to described DSLAM if having; If do not have or the address assignment failure, then construct an address NAK message, send to described DSLAM.
2, the method by the direct process user IP of local DHCP-SERVER address as claimed in claim 1, it is characterized in that, this method also comprises: DSLAM detects user offline or unusual the pressure rolled off the production line, initiatively send the address release message to DHCP-SERVER, described DHCP-SERVER discharges this user's IP address after receiving the address release message.
3, the method by the direct process user IP of local DHCP-SERVER address as claimed in claim 1 or 2 is characterized in that, described address pool is a local pool.
CN 200410009144 2004-05-28 2004-05-28 Method for direct processing user IP address through local DHCP-SERVER Pending CN1585362A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410009144 CN1585362A (en) 2004-05-28 2004-05-28 Method for direct processing user IP address through local DHCP-SERVER

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410009144 CN1585362A (en) 2004-05-28 2004-05-28 Method for direct processing user IP address through local DHCP-SERVER

Publications (1)

Publication Number Publication Date
CN1585362A true CN1585362A (en) 2005-02-23

Family

ID=34600212

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410009144 Pending CN1585362A (en) 2004-05-28 2004-05-28 Method for direct processing user IP address through local DHCP-SERVER

Country Status (1)

Country Link
CN (1) CN1585362A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083670B (en) * 2006-06-02 2010-09-29 鸿富锦精密工业(深圳)有限公司 Address distributing system and method
US8433807B2 (en) 2007-11-16 2013-04-30 Huawei Technologies Co., Ltd. Method, system, and apparatus for processing access prompt information
CN106255089A (en) * 2016-08-26 2016-12-21 杭州迪普科技有限公司 A kind of method and apparatus of radio three layer roaming

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083670B (en) * 2006-06-02 2010-09-29 鸿富锦精密工业(深圳)有限公司 Address distributing system and method
US8433807B2 (en) 2007-11-16 2013-04-30 Huawei Technologies Co., Ltd. Method, system, and apparatus for processing access prompt information
CN106255089A (en) * 2016-08-26 2016-12-21 杭州迪普科技有限公司 A kind of method and apparatus of radio three layer roaming
CN106255089B (en) * 2016-08-26 2019-09-17 杭州迪普科技股份有限公司 A kind of method and apparatus of radio three layer roaming

Similar Documents

Publication Publication Date Title
CN101287017B (en) Active IP address allocating method and system
EP1876754A1 (en) Method system and server for implementing dhcp address security allocation
CN101242417A (en) An IP reservation method and access server for access users
CN1466341A (en) Method for preventing IP address deceit in dynamic address distribution
CN1549546B (en) Apparatus and method for realizing PPPOE user dynamic obtaining IP address utilizing DHCP protocol
CN1184776C (en) Method for the point-to-point protocol log-on user to obtain Internet protocol address
CN1859441A (en) Method for distributing service based on terminal physical position
CN102647456A (en) Method and system for building desktop cloud
CN1564978A (en) Personal computer upgrade
CN101184099B (en) Second IP address assignment method based on dynamic host machine configuration protocol access authentication
CN1126349C (en) Method for locating IP and Addresses to host distination terminals on the internet on request by a source terminal
CN101227356A (en) Equipment, system and method for network access based on dynamic state host computer collocation protocol
CN100349433C (en) Method of distributing switchin-in address for user terminal
CN102469168A (en) Method for setting network address
EP0830772A1 (en) Apparatus and method for providing unique identifiers to remote dial-in network clients
CN1215686C (en) Method of distruting network protocol address of distributed wideband connecting-in authenticated node users
CN101022425B (en) ISCSI-based storage resource distributing method
CN1571350A (en) A method for triggering user terminal online via data message
KR100333632B1 (en) Method and system for connecting an internet server based on a dynamic ip address
CN1553350A (en) Dynamic master configurating method
CN1585362A (en) Method for direct processing user IP address through local DHCP-SERVER
CN103607333A (en) Local area network port proxy method for port proxy server
CN1561072A (en) Method for sharing user IP address pool
CN101588357B (en) Router and method for indentifying user identity applying same
CN1487697A (en) IP address distributing management method for wideband access equipment

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