CN1437360A - Method for the point-to-point protocol log-on user to obtain Internet protocol address - Google Patents
Method for the point-to-point protocol log-on user to obtain Internet protocol address Download PDFInfo
- Publication number
- CN1437360A CN1437360A CN02103925A CN02103925A CN1437360A CN 1437360 A CN1437360 A CN 1437360A CN 02103925 A CN02103925 A CN 02103925A CN 02103925 A CN02103925 A CN 02103925A CN 1437360 A CN1437360 A CN 1437360A
- Authority
- CN
- China
- Prior art keywords
- address
- user
- message
- dhcp
- point
- 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.)
- Granted
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
A method to obtain Internet protocol address by the User on the network through point to point protocol includes sending internal information message of distributing IP address request to DHCP junction module which simulates out IP address request message in DHCP form for the User as per abovesaid message and to send it to DHCP server which distributes on IP address according to the received content of IP address request message and to give out additional information of the address, informing the IP address and additional information to the user through DHCP junction module. The method can make the User on network through PPP and VLAN obtain IP address through DHCP server.
Description
Technical field
The present invention relates to the method that a kind of Internet user obtains Internet protocol (IP) address, relate in particular to a kind of user by the PPP(Point-to-Point Protocol) online obtains IP from DHCP (DHCP) server method.
Background technology
At present, the mode of obtaining the IP address of the user by PPP online has two kinds: a kind of user of being passes through the authentication back and is composed to an IP address by access server; Another kind is after the user authenticates access service (RADIUS) authentication by remote subscriber, give IP address of user by radius server, perhaps being indicated by network access server distributing IP address (NAS-Alloc-IP) in authenticating by message by radius server, is that the user distributes an IP address by access server then.Access server manages by local ip pool the management of IP address resource, if by radius server distributing IP address, then the IP address resource is managed by disposing an address pool by radius server.
Some present network access equipments are used for convenience, are set to the form that can allow PPP and Virtual Local Area Network to insert simultaneously; Obtain the IP address by the VLAN Internet user by DHCP, the IP address pool is managed by Dynamic Host Configuration Protocol server; And obtain the IP address by the user of PPP online by DHCP (DHCP) as can be seen, and provide the IP address pool of IP address to manage by Dynamic Host Configuration Protocol server to the Internet user by above-mentioned prior art; Just make two kinds of different Internet users' IP address assignment not carry out unified management in this case, the disunity of IP address is managed, and then has the hidden danger of IP address conflict; Can't make simultaneously numerous users dynamically share same address pool, in addition, can not satisfy the demand of Internet Service Provider the unified management of Internet resources.
Summary of the invention
The purpose of this invention is to provide the method that a kind of user by the point-to-point protocol online obtains Internet protocol address, make user also can obtain the IP address by DHCP by the PPP online.
The object of the present invention is achieved like this: the method by the user of point-to-point protocol online obtains Internet protocol address comprises:
(1) by the user of ppp protocol online,, sends the inside story message of distributing IP Address requests to the DHCP relay module by system by behind the network authentication;
(2) the DHCP relay module simulates the IP Address requests message of DHCP form according to above-mentioned message for this user, and sends to Dynamic Host Configuration Protocol server;
(3) Dynamic Host Configuration Protocol server distributes an IP address according to the IP Address requests message content of receiving, and provides the additional messages of this address, and the DHCP relay module is returned in this IP address and additional messages;
(4) the DHCP relay module sends to system with IP address and additional messages, distributes to this user's IP address under the DHCP relay module records simultaneously;
(5) system is packaged in above-mentioned IP address and additional messages in internet control protocol (ipcp) the stage message of PPP, and notice is by the user of PPP online.
The IP Address requests message of described DHCP form comprises: Internet user's port information, gateway address.
Described step (3) is to be finished by following process:
(31) the IP Address requests message sent according to the DHCP relay module of Dynamic Host Configuration Protocol server distributes an IP address for the user;
(32) the above-mentioned IP address is sent to the DHCP relay module, the DHCP relay module sends a DHCP message of confirming this IP address according to this IP address to Dynamic Host Configuration Protocol server;
(33) Dynamic Host Configuration Protocol server returns an affirmation (ACK) relay messages to the DHCP relay module after receiving above-mentioned message, and message content is the additional information of user's IP address and this IP address.
Described Dynamic Host Configuration Protocol server is that address pool comprises a plurality of network segments by address pool management IP address, and network segment handle is gateway ip address and mask.
Such scheme provided by the present invention can make the user by the PPP online also can obtain the IP address by Dynamic Host Configuration Protocol server, thereby make user who passes through the PPP online who uses consolidated network access device access network and the user who surfs the Net by VLAN, can obtain the IP address by Dynamic Host Configuration Protocol server, be convenient to the unified management of IP address pool, realized the unified distribution of IP address, the unified recovery, the IP addresses centralized has been prevented effectively the generation of IP address conflict situation.Unified management and distributing IP address can also provide more convenience to the management of Internet resources for the Internet Service Provider.
Description of drawings
Fig. 1 obtains the flow chart of IP address for the user by the PPP online from Dynamic Host Configuration Protocol server;
Fig. 2 obtains the sequential chart of IP address for the user by the PPP online from Dynamic Host Configuration Protocol server.
Embodiment
User by the PPP online provided by the invention is described below from the embodiment that Dynamic Host Configuration Protocol server obtains the method for IP address:
Step 1: by user's logging in network of PPP online, with the PPP processing module link that connects, the PPP processing module is for finishing the functional module of ppp protocol service in network access server, and the user by the PPP online is called the PPP client;
Step 2:PPP client sends authentication request packet to the PPP processing module, is carrying user's information such as user name, password in the message, authentication request packet be used for user's request by authentication and obtain the IP address become can accesses network the Internet user;
Step 3:PPP processing module sends to the authentication module of access server with above-mentioned authentication request packet affix user's information such as the expection network segment, and authentication module is used for according to user's information the user being authenticated, to determine whether the user is legal;
Step 4: after authentication module authentication is passed through, the inside story of distributing IP Address requests is sent to the DHCP relay module, inside story comprises information such as the residing network segment of user;
The message conversion that the DHCP relay module is used for that authentication module is sent becomes to meet the message of DHCP form, and the also responsible simultaneously needs that Dynamic Host Configuration Protocol server is returned send to the message that converts PPP user side form by the user's of PPP online message to;
Step 5:DHCP trunk module is intended the IP Address requests message about this user's DHCP form according to above-mentioned inside story module, and this message is sent to Dynamic Host Configuration Protocol server, and the request Dynamic Host Configuration Protocol server distributes an IP address for this user;
Step 6:DHCP server responds above-mentioned message, from address pool, distribute an IP address according to the residing network segment of user for the user, and the message that will carry this IP address returns the DHCP relay module, also need to reject the address of the illegal and conflict in the corresponding network segment during for user's distributing IP address, give user, then this of refusing user's time request if can not find suitable IP address assignment;
Dynamic Host Configuration Protocol server can be an external server, and the DHCP relay module is by dhcp server ip address and its exchange message;
Dynamic Host Configuration Protocol server also can be a built-in services device, and the DHCP relay module is by the address 127.0.0.1 of ring certainly and its exchange message of Dynamic Host Configuration Protocol server;
The address pool of described Dynamic Host Configuration Protocol server can comprise a plurality of network segments, network segment handle is that gateway ip address or routed ip address add mask, also can be only with gateway ip address or routed ip address as network segment handle, in the message of Dynamic Host Configuration Protocol server request distributing IP address, it may be noted that user's gateway ip address or routed ip address, so that Dynamic Host Configuration Protocol server can find the corresponding network segment with this user, and in this network segment this user's distributing IP address;
Step 7:DHCP trunk module returns an IP Address Confirmation request message to Dynamic Host Configuration Protocol server after receiving the message of the above-mentioned IP of carrying address, confirms that the user accepts this IP address;
After step 8:DHCP server is received IP Address Confirmation request message, send one to the DHCP relay module and confirm to distribute the message of this IP address to this user, the additional information that is comprising IP address and this IP address in the message is as information such as rental period of this IP address, domain name systems;
The rental period of IP address has defined the effective storage life of this IP address, and the user for by the PPP online can be set to infinitely in the IP address rental period;
Step 9:DHCP trunk module sends to above-mentioned IP address and additional messages message the authentication module of access server, simultaneously, distribute to this user's IP address under the DHCP relay module records, and with user name, port information and this IP address binding, so that management system and administrative staff inquire about, the management ip address distribution condition;
Step 10: the data message that authentication module will authenticate by reaching IP forms such as IP address sends to the PPP processing module;
Step 11:PPP processing module will authenticate the message informing user who passes through;
Step 12: the user receives by after the authentication message, to the request of PPP processing module transmission based on internet control protocol (ipcp);
Step 13:PPP processing module is confirmed this request, and the information such as user's IP address, domain name system of will distributing to be encapsulated in ipcp message in notify the user.
Equally, the Internet user needs to discharge employed IP address in its accesses network process after surfing the Net and finishing, the process and the said process that discharge the IP address are similar, also are the release that goes out exchange message realization IP address between corresponding message and Dynamic Host Configuration Protocol server by the DHCP relay module simulation.
By the specific embodiment of the invention described above as can be seen, user by the PPP online becomes possibility by Dynamic Host Configuration Protocol server distributing IP address, thereby the management of IP address in the network access equipment that allows simultaneously to insert with PPP and VLAN mode can be united, two kinds of network access users can dynamically be shared same address pool, have made things convenient for the management of IP address.
Claims (4)
1, a kind of user by the point-to-point protocol online obtains the method for Internet protocol address, comprising:
(1) by the user of ppp protocol online,, sends the inside story message of distributing IP Address requests to the DHCP relay module by system by behind the network authentication;
(2) the DHCP relay module simulates the IP Address requests message of DHCP form according to above-mentioned message for this user, and sends to Dynamic Host Configuration Protocol server;
(3) Dynamic Host Configuration Protocol server distributes an IP address according to the IP Address requests message content of receiving, and provides the additional messages of this address, and the DHCP relay module is returned in this IP address and additional messages;
(4) the DHCP relay module sends to system with IP address and additional messages, distributes to this user's IP address under the DHCP relay module records simultaneously;
(5) system is packaged in above-mentioned IP address and additional messages in internet control protocol (ipcp) the stage message of PPP, and notice is by the user of PPP online.
2, the user by the point-to-point protocol online according to claim 1 obtains the method for Internet protocol address, it is characterized in that the IP Address requests message of described DHCP form comprises: Internet user's port information, gateway address.
3, the user by the point-to-point protocol online according to claim 1 and 2 obtains the method for Internet protocol address, it is characterized in that described step (3) is to be finished by following process:
(31) the IP Address requests message sent according to the DHCP relay module of Dynamic Host Configuration Protocol server distributes an IP address for the user;
(32) the above-mentioned IP address is sent to the DHCP relay module, the DHCP relay module sends a DHCP message of confirming this IP address according to this IP address to Dynamic Host Configuration Protocol server;
(33) Dynamic Host Configuration Protocol server returns an affirmation (ACK) relay messages to the DHCP relay module after receiving above-mentioned message, and message content is the additional information of user's IP address and this IP address.
4, the user by the point-to-point protocol online according to claim 1 obtains the method for Internet protocol address, it is characterized in that described Dynamic Host Configuration Protocol server is by address pool management IP address, address pool comprises a plurality of network segments, and network segment handle is gateway ip address and mask.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB021039259A CN1184776C (en) | 2002-02-07 | 2002-02-07 | Method for the point-to-point protocol log-on user to obtain Internet protocol address |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB021039259A CN1184776C (en) | 2002-02-07 | 2002-02-07 | Method for the point-to-point protocol log-on user to obtain Internet protocol address |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1437360A true CN1437360A (en) | 2003-08-20 |
CN1184776C CN1184776C (en) | 2005-01-12 |
Family
ID=27627943
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB021039259A Expired - Fee Related CN1184776C (en) | 2002-02-07 | 2002-02-07 | Method for the point-to-point protocol log-on user to obtain Internet protocol address |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1184776C (en) |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100334855C (en) * | 2004-08-17 | 2007-08-29 | 杭州华为三康技术有限公司 | Method to allocate protocol relay address table and server address pool for synchronization dynamic host machine |
CN100362820C (en) * | 2003-08-29 | 2008-01-16 | 华为技术有限公司 | Method and system for bearing PPP proxy server with Ethernet |
CN100426816C (en) * | 2006-11-13 | 2008-10-15 | 华为技术有限公司 | Method and system for sending DHCP message and obtaining configuration information by PPP line |
CN100442735C (en) * | 2005-06-30 | 2008-12-10 | 华为技术有限公司 | Dynamic configuration insertion terminal realizing method |
CN1845554B (en) * | 2005-12-06 | 2010-05-05 | 华为技术有限公司 | Control method for dynamically distributing IP address in 3G network |
CN1761263B (en) * | 2004-10-14 | 2010-05-26 | 国际商业机器公司 | System and method for avoiding a network address collision |
CN1889572B (en) * | 2006-07-27 | 2010-06-09 | 杭州华三通信技术有限公司 | Internet protocol address distributing method and dynamic main machine configuration protocol relay |
CN101873320A (en) * | 2010-06-17 | 2010-10-27 | 杭州华三通信技术有限公司 | Client information verification method based on DHCPv6 relay and device thereof |
CN1980253B (en) * | 2005-12-06 | 2010-12-08 | 华为技术有限公司 | Method an system for obtaining otherplace network DHCPv6 server information |
WO2010142201A1 (en) * | 2009-06-11 | 2010-12-16 | 华为技术有限公司 | Method for obtaining ip address of dynamic host configuration protocol version 6 server, dynamic host configuration protocol version 6 server and dynamic host configuration protocol version 6 communication system |
CN101951417A (en) * | 2010-09-21 | 2011-01-19 | 北京星网锐捷网络技术有限公司 | Method, system and trunk equipment for assigning multiple server addresses |
CN1549546B (en) * | 2003-05-09 | 2011-06-22 | 中兴通讯股份有限公司 | Apparatus and method for realizing PPPOE user dynamic obtaining IP address utilizing DHCP protocol |
CN101577738B (en) * | 2009-06-25 | 2011-08-31 | 杭州华三通信技术有限公司 | Address distribution method and equipment thereof |
CN102257772A (en) * | 2010-06-07 | 2011-11-23 | 华为技术有限公司 | Method, device and system for service configuration |
CN101304363B (en) * | 2007-05-12 | 2011-12-07 | 华为技术有限公司 | Method for managing conversation connection as well as apparatus and system |
CN102281333A (en) * | 2010-06-11 | 2011-12-14 | 中兴通讯股份有限公司 | Method and system for avoiding IP address conflict, DHCP server and DHCP client |
WO2012163007A1 (en) * | 2011-10-17 | 2012-12-06 | 华为技术有限公司 | Method for solving internet protocol address allocation conflict and related device and system thereof |
CN101335700B (en) * | 2007-06-25 | 2013-04-24 | 华为技术有限公司 | Address acquiring method, signaling routing method, communication system and related apparatus |
JP2018007057A (en) * | 2016-07-04 | 2018-01-11 | エイチ・シー・ネットワークス株式会社 | Server device and network system |
CN111092961A (en) * | 2019-11-15 | 2020-05-01 | 中国电子科技集团公司第三十研究所 | Method for realizing IP address negotiation based on PPP protocol |
CN112532767A (en) * | 2020-12-17 | 2021-03-19 | 安徽皖通邮电股份有限公司 | Rapid management system based on OTN channel |
-
2002
- 2002-02-07 CN CNB021039259A patent/CN1184776C/en not_active Expired - Fee Related
Cited By (28)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1549546B (en) * | 2003-05-09 | 2011-06-22 | 中兴通讯股份有限公司 | Apparatus and method for realizing PPPOE user dynamic obtaining IP address utilizing DHCP protocol |
CN100362820C (en) * | 2003-08-29 | 2008-01-16 | 华为技术有限公司 | Method and system for bearing PPP proxy server with Ethernet |
CN100334855C (en) * | 2004-08-17 | 2007-08-29 | 杭州华为三康技术有限公司 | Method to allocate protocol relay address table and server address pool for synchronization dynamic host machine |
CN1761263B (en) * | 2004-10-14 | 2010-05-26 | 国际商业机器公司 | System and method for avoiding a network address collision |
CN100442735C (en) * | 2005-06-30 | 2008-12-10 | 华为技术有限公司 | Dynamic configuration insertion terminal realizing method |
CN1980253B (en) * | 2005-12-06 | 2010-12-08 | 华为技术有限公司 | Method an system for obtaining otherplace network DHCPv6 server information |
CN1845554B (en) * | 2005-12-06 | 2010-05-05 | 华为技术有限公司 | Control method for dynamically distributing IP address in 3G network |
CN1889572B (en) * | 2006-07-27 | 2010-06-09 | 杭州华三通信技术有限公司 | Internet protocol address distributing method and dynamic main machine configuration protocol relay |
CN100426816C (en) * | 2006-11-13 | 2008-10-15 | 华为技术有限公司 | Method and system for sending DHCP message and obtaining configuration information by PPP line |
CN101304363B (en) * | 2007-05-12 | 2011-12-07 | 华为技术有限公司 | Method for managing conversation connection as well as apparatus and system |
CN101335700B (en) * | 2007-06-25 | 2013-04-24 | 华为技术有限公司 | Address acquiring method, signaling routing method, communication system and related apparatus |
WO2010142201A1 (en) * | 2009-06-11 | 2010-12-16 | 华为技术有限公司 | Method for obtaining ip address of dynamic host configuration protocol version 6 server, dynamic host configuration protocol version 6 server and dynamic host configuration protocol version 6 communication system |
US9148401B2 (en) | 2009-06-11 | 2015-09-29 | Huawei Technologies Co., Ltd. | Method for obtaining IP address of DHCPV6 server, DHCPV6 server, and DHCPV6 communication system |
CN101577738B (en) * | 2009-06-25 | 2011-08-31 | 杭州华三通信技术有限公司 | Address distribution method and equipment thereof |
US9495327B2 (en) | 2010-06-07 | 2016-11-15 | Huawei Technologies Co., Ltd. | Service configuration method, device and system |
CN102257772A (en) * | 2010-06-07 | 2011-11-23 | 华为技术有限公司 | Method, device and system for service configuration |
WO2011153679A1 (en) * | 2010-06-07 | 2011-12-15 | 华为技术有限公司 | Method, device and system for service configuration |
CN102257772B (en) * | 2010-06-07 | 2013-10-02 | 华为技术有限公司 | Method, device and system for service configuration |
CN102281333B (en) * | 2010-06-11 | 2015-06-03 | 中兴通讯股份有限公司 | Method and system for avoiding IP address conflict, DHCP server and DHCP client |
WO2011153886A1 (en) * | 2010-06-11 | 2011-12-15 | 中兴通讯股份有限公司 | Method, system and dynamic host configuration protocol server, client terminal for avoiding internet protocol address conflict |
CN102281333A (en) * | 2010-06-11 | 2011-12-14 | 中兴通讯股份有限公司 | Method and system for avoiding IP address conflict, DHCP server and DHCP client |
CN101873320A (en) * | 2010-06-17 | 2010-10-27 | 杭州华三通信技术有限公司 | Client information verification method based on DHCPv6 relay and device thereof |
CN101951417A (en) * | 2010-09-21 | 2011-01-19 | 北京星网锐捷网络技术有限公司 | Method, system and trunk equipment for assigning multiple server addresses |
WO2012163007A1 (en) * | 2011-10-17 | 2012-12-06 | 华为技术有限公司 | Method for solving internet protocol address allocation conflict and related device and system thereof |
JP2018007057A (en) * | 2016-07-04 | 2018-01-11 | エイチ・シー・ネットワークス株式会社 | Server device and network system |
CN111092961A (en) * | 2019-11-15 | 2020-05-01 | 中国电子科技集团公司第三十研究所 | Method for realizing IP address negotiation based on PPP protocol |
CN111092961B (en) * | 2019-11-15 | 2021-12-17 | 中国电子科技集团公司第三十研究所 | Method for realizing IP address negotiation based on PPP protocol |
CN112532767A (en) * | 2020-12-17 | 2021-03-19 | 安徽皖通邮电股份有限公司 | Rapid management system based on OTN channel |
Also Published As
Publication number | Publication date |
---|---|
CN1184776C (en) | 2005-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1184776C (en) | Method for the point-to-point protocol log-on user to obtain Internet protocol address | |
CN101110847B (en) | Method, device and system for obtaining medium access control address | |
EP1876754B1 (en) | Method system and server for implementing dhcp address security allocation | |
US7313611B1 (en) | Automated provisioning system | |
CN1199418C (en) | Secured session sequencing proxy system and method therefor | |
CN101141492B (en) | Method and system for implementing DHCP address safety allocation | |
CN103039038B (en) | Method and system for efficient use of a telecommunication network and the connection between the telecommunications network and a customer premises equipment | |
CN1889577A (en) | IP address distributing method based on DHCP extended attribute | |
CN101043331A (en) | System and method for distributing address for network equipment | |
CN1252961C (en) | Method for authenticating group broadcast service | |
CN1918885A (en) | System and method for user authorization access management at the local administrative domain during the connection of a user to an ip network | |
US20080192751A1 (en) | Method and system for service provision | |
CN101056178A (en) | A method and system for controlling the user network access right | |
CN1859409A (en) | Method and system for improving network dynamic host configuration DHCP safety | |
CN1441569A (en) | Concentrated network equipment managing method | |
CN1859440A (en) | Method for distributing service based on terminal mark | |
CN101227481A (en) | Apparatus and method of IP access based on DHCP protocol | |
CN1713629A (en) | Realization of user login name and IP address binding | |
CN1458761A (en) | Broadband network access method | |
US7656794B2 (en) | Method and apparatus for authenticated quality of service reservation | |
CN101471939B (en) | Multitime user authentication method for fusion business system with SOA architecture | |
JP4028421B2 (en) | Voice communication gate device address management method, management device, and program | |
CN1783780A (en) | Method and device for realizing domain authorization and network authority authorization | |
CN1489341A (en) | Method and service device for allocating local network resource to terminal according to types of terminal | |
CN1505345A (en) | A method for accessing user forced access identification server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20050112 Termination date: 20150207 |
|
EXPY | Termination of patent right or utility model |