CN100442735C - Dynamic configuration insertion terminal realizing method - Google Patents
Dynamic configuration insertion terminal realizing method Download PDFInfo
- Publication number
- CN100442735C CN100442735C CNB2005100816167A CN200510081616A CN100442735C CN 100442735 C CN100442735 C CN 100442735C CN B2005100816167 A CNB2005100816167 A CN B2005100816167A CN 200510081616 A CN200510081616 A CN 200510081616A CN 100442735 C CN100442735 C CN 100442735C
- Authority
- CN
- China
- Prior art keywords
- access terminal
- access
- dhcp server
- address
- service equipment
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000003780 insertion Methods 0.000 title 1
- 230000037431 insertion Effects 0.000 title 1
- 230000004044 response Effects 0.000 claims description 8
- OYYYPYWQLRODNN-UHFFFAOYSA-N [hydroxy(3-methylbut-3-enoxy)phosphoryl]methylphosphonic acid Chemical compound CC(=C)CCOP(O)(=O)CP(O)(O)=O OYYYPYWQLRODNN-UHFFFAOYSA-N 0.000 claims description 7
- 238000004891 communication Methods 0.000 claims description 6
- 238000012546 transfer Methods 0.000 claims description 2
- 230000008569 process Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A method for dynamically configuring access terminal includes sending DHCP server address information to access terminal by access service device when access terminal is switched in network through access service device, then obtaining configuration parameter from DHCP server by access terminal according to DHCP server address.
Description
Technical Field
The invention relates to the technical field of network communication, in particular to a method for realizing dynamic configuration of an access terminal.
Background
With the development of broadband access technology, more and more services are developed based on broadband IP networks. Generally, in order to open a service, a user terminal needs to configure some relevant configuration parameters, such as an IP address, a gateway address, a DNS (domain name system) server address, and the like, on the terminal in advance.
Before using a service, a user terminal needs to access a network, and there are two general access methods: PPP (point-to-point protocol) and DHCP (dynamic host configuration protocol).
For PPP access, as shown in fig. 1, the user terminal is connected to a PPP server through an access network, where the PPP server may be an RAS (remote access server), a BRAS (broadband remote access server), an ER (edge router), and the like, and the PPP server is used to terminate the PPP protocol and forward the IP data packet of the user terminal to the core network.
At present, in order to ensure that the user terminal can acquire the configuration parameter information, a manual configuration mode is adopted for implementation. The method specifically comprises the following steps: before opening the service, the operator or the user configures the required relevant configuration parameters on the terminal by a manual configuration method.
Obviously, if manually configured by the operator, the workload of the operator will increase greatly, thus increasing its operating costs; if the configuration is performed by the user, the configuration process has a high requirement on the user operation capability, so that the situation of configuration errors is very easy to occur, and the timely opening of the service is influenced.
Another currently adopted configuration method for relevant configuration parameters of an access terminal is as follows: PPP is only used as a link layer channel, and IP address and other configuration parameter information are allocated by a DHCP server.
The method can realize the dynamic configuration of the configuration parameter information, but the realization of the scheme needs to define a way of PPP bearing DHCP, so that the existing network equipment is greatly changed, namely the software and hardware of the equipment need to be upgraded.
Disclosure of Invention
In view of the above problems in the prior art, an object of the present invention is to provide a method for dynamically configuring an access terminal, which does not need to define a method for PPP to carry DHCP, and only needs to make a small software change on a network device. Therefore, the access terminal can conveniently and dynamically acquire the relevant configuration parameter information.
The purpose of the invention is realized by the following technical scheme:
an implementation method for dynamically configuring an access terminal includes:
A. when an access terminal accesses a network through access service equipment and negotiates network layer parameters with the access service equipment, sending a message requesting network layer parameters to the access service equipment, and after receiving the message, the access service equipment loads an IP address of the access terminal and address information of a Dynamic Host Configuration Protocol (DHCP) server into a response message and sends the response message to the access terminal;
B. and the access terminal acquires the configuration parameter information of the access terminal from a DHCP server according to the address of the DHCP server.
The access service equipment comprises:
a broadband access server or an edge router.
The method further comprises, before performing step a 1:
after the access terminal accesses the network, firstly, the access terminal negotiates link layer parameters with the access service equipment and establishes a corresponding communication link.
The step A comprises the following steps:
the access service equipment sends the address information of the DHCP server to the access terminal through an internet control protocol IPCP message.
The method further comprises, before performing step a 1:
configuring a DHCP server address in the access service equipment;
or,
and configuring the address of the DHCP server in the remote equipment, and remotely acquiring the address information of the DHCP server from the remote equipment by the access service equipment.
The step B comprises the following steps:
b1, the access terminal sends a request message for obtaining the configuration parameters of the access terminal to the DHCP server according to the address of the DHCP server;
b2, after receiving the request message, the DHCP server loads the corresponding configuration parameter information in the configuration parameter response message and sends it to the access terminal.
The access terminal is as follows: the point-to-point protocol PPP accesses the terminal.
The PPP is as follows:
a point-to-point protocol based on ethernet PPPoE or a point-to-point protocol based on asynchronous transfer mode PPPoA.
It can be seen from the above technical solutions that the present invention provides a method for dynamically acquiring configuration parameters for a terminal based on a PPP access mode, and the method can reduce the configuration workload in the service issuing process and save the operation cost of an operator.
Meanwhile, the invention has less modification to network equipment and less influence on the network.
Drawings
FIG. 1 is a schematic diagram of a PPP access network networking;
FIG. 2 is a schematic process diagram of the method of the present invention;
fig. 3 is a flow chart of the method of the present invention.
Detailed Description
The core of the invention is that the access service equipment (access server or edge router) actively issues the DHCP server address to the access terminal, and the access terminal acquires the corresponding configuration parameter information from the DHCP server according to the DHCP server address, thereby saving the trouble of manually configuring the corresponding parameters for the user terminal and effectively reducing the configuration workload aiming at the user terminal.
The method of the invention is shown in figure 2 and comprises the following steps:
step 21: the negotiation of link layer parameters is completed between the user terminal and the access service equipment (ER/BRAS) through LCP stage, and a communication link is established;
step 22: the ER/BRAS issues the IP address of the terminal and the address of the DHCP server to an access terminal, namely a user terminal, through an NCP stage;
step 23: the user terminal sends a request message (unicast) for acquiring the related configuration parameter information to the DHCP server;
step 24: and the DHCP server receives the request message and then issues the corresponding configuration parameter information to the user terminal.
Through the above process, the corresponding user terminal completes the process of automatically and dynamically acquiring the relevant configuration parameter information, and can develop the corresponding service.
For a further understanding of the present invention, the following detailed description of the method according to the present invention will be given with reference to the accompanying drawings.
As shown in fig. 3, the method of the present invention specifically includes:
step 31: configuring a DHCP server address on the access service equipment;
the access service device may specifically include: a broadband access server BRAS or an edge router ER;
the DHCP server address can be configured in the remote equipment, and at the moment, the access server needs to remotely acquire the DHCP server address information from the remote equipment;
taking PPP access as an example, the DHCP server address parameter may be configured on the PPP server (such as BRAS and ER), or may be configured in another server, and acquired by the PPP server through some protocols.
Step 32: when the access terminal accesses the network through the access service equipment, the access service equipment can send the address information of the DHCP server to the access terminal in the stage of negotiating the network layer parameters with the access service equipment;
still taking PPP access as an example, the method includes two phases of LCP (link control protocol) negotiation and NCP (network control protocol) negotiation: in LCP stage, PPP access terminal and server consult link layer parameter, establish communication link; in the NCP stage, the PPP access terminal and the server negotiate network layer parameters, and for the application based on the IP, the IPCP can be used for configuring relevant parameters of the IP protocol for the terminal;
therefore, the specific processing procedure of this step may include:
step 321: a user terminal is powered on, a PPP access request is initiated, and after the user terminal is accessed to a network, the user terminal firstly negotiates link layer parameters with an access server (namely a PPP server) through an LCP protocol, and establishes a corresponding communication link;
step 322: an IPCP request message, namely a message for requesting network layer parameters, is sent to a PPP server at an access terminal, and IP layer parameters including an IP address and a DHCP server address are negotiated;
step 323: the PPP server receives the message and then sends the network layer parameter (IP address) and the DHCP server address loaded in the IPCP response message to the access terminal;
specifically, the IPCP protocol may be extended to implement automatic configuration of the DHCP server address, and the extension field content is: configuration options (IPCP configuration options) carry the DHCP server address through this field;
step 33: after the access terminal acquires the address of the DHCP server, the access terminal can utilize the address of the DHCP server to send a configuration parameter request message to the DHCP server and apply for relevant configuration parameter information from the DHCP server;
step 34: after receiving the request message, the DHCP server issues a relevant configuration parameter information parameter response message to the access terminal.
In the present invention, for the PPP access terminal supporting the above extension, the adopted PPP protocol may be carried on different underlying protocols, such as PPPoE (PPP carried over ethernet), PPPoA (PPP based on ATM), and so on.
In summary, the present invention provides a method for dynamically acquiring configuration parameters for an access terminal in PPP access mode, which has little impact on network devices, can reduce the configuration workload during service delivery, and save the operation cost.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (8)
1. An implementation method for dynamically configuring an access terminal, comprising:
A. when an access terminal accesses a network through access service equipment and negotiates network layer parameters with the access service equipment, sending a message requesting network layer parameters to the access service equipment, and after receiving the message, the access service equipment loads an IP address of the access terminal and address information of a Dynamic Host Configuration Protocol (DHCP) server into a response message and sends the response message to the access terminal;
B. and the access terminal acquires the configuration parameter information of the access terminal from a DHCP server according to the address of the DHCP server.
2. The method as claimed in claim 1, wherein the access service device comprises:
a broadband access server or an edge router.
3. The method of claim 1, further comprising, before performing step a:
after the access terminal accesses the network, firstly, the access terminal negotiates link layer parameters with the access service equipment and establishes a corresponding communication link.
4. The method of claim 1, wherein step a comprises:
and the access service equipment sends the IP address of the access terminal and the address information of the DHCP server to the access terminal through an internet control protocol IPCP message.
5. The method of claim 1, further comprising, before performing step a:
configuring a DHCP server address in the access service equipment;
or,
and configuring the address of the DHCP server in the remote equipment, and remotely acquiring the address information of the DHCP server from the remote equipment by the access service equipment.
6. The method for implementing dynamically configurable access terminal according to any of claims 1 to 5, wherein said step B comprises:
b1, the access terminal sends a request message for obtaining the configuration parameters of the access terminal to the DHCP server according to the address of the DHCP server;
b2, after receiving the request message, the DHCP server loads the corresponding configuration parameter information in the configuration parameter response message and sends it to the access terminal.
7. The method of claim 6, wherein the access terminal is: the point-to-point protocol PPP accesses the terminal.
8. The method of claim 7, wherein the PPP is:
a point-to-point protocol based on ethernet PPPoE or a point-to-point protocol based on asynchronous transfer mode PPPoA.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100816167A CN100442735C (en) | 2005-06-30 | 2005-06-30 | Dynamic configuration insertion terminal realizing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100816167A CN100442735C (en) | 2005-06-30 | 2005-06-30 | Dynamic configuration insertion terminal realizing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1889487A CN1889487A (en) | 2007-01-03 |
CN100442735C true CN100442735C (en) | 2008-12-10 |
Family
ID=37578746
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100816167A Active CN100442735C (en) | 2005-06-30 | 2005-06-30 | Dynamic configuration insertion terminal realizing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100442735C (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101447887B (en) * | 2007-11-27 | 2012-06-27 | 华为技术有限公司 | Method for user on-line notification and device thereof |
CN106789165A (en) * | 2016-11-28 | 2017-05-31 | 上海斐讯数据通信技术有限公司 | The network configuration system and method for a kind of batch cloud terminal device |
CN112291079B (en) * | 2017-03-28 | 2021-10-26 | 华为技术有限公司 | Network service configuration method and network management equipment |
CN114697965B (en) * | 2020-12-30 | 2024-02-20 | 展讯半导体(南京)有限公司 | Configuration method and device of access equipment, storage medium, access equipment and server |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001050292A1 (en) * | 1999-12-30 | 2001-07-12 | Next Level Communications | Proxy methods for ip address assignment and universal access mechanism |
CN1437360A (en) * | 2002-02-07 | 2003-08-20 | 华为技术有限公司 | Method for the point-to-point protocol log-on user to obtain Internet protocol address |
CN1482806A (en) * | 2002-09-13 | 2004-03-17 | 深圳市中兴通讯股份有限公司 | Method for supporting asymmetrie digital subscriber line access in embedded operating system |
CN1549546A (en) * | 2003-05-09 | 2004-11-24 | 中兴通讯股份有限公司 | Apparatus and method for realizing PPPOE user dynamic obtaining IP address utilizing DHCP protocol |
CN1567887A (en) * | 2003-07-07 | 2005-01-19 | 华为技术有限公司 | Method for triggering user IP address assignment |
-
2005
- 2005-06-30 CN CNB2005100816167A patent/CN100442735C/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001050292A1 (en) * | 1999-12-30 | 2001-07-12 | Next Level Communications | Proxy methods for ip address assignment and universal access mechanism |
CN1437360A (en) * | 2002-02-07 | 2003-08-20 | 华为技术有限公司 | Method for the point-to-point protocol log-on user to obtain Internet protocol address |
CN1482806A (en) * | 2002-09-13 | 2004-03-17 | 深圳市中兴通讯股份有限公司 | Method for supporting asymmetrie digital subscriber line access in embedded operating system |
CN1549546A (en) * | 2003-05-09 | 2004-11-24 | 中兴通讯股份有限公司 | Apparatus and method for realizing PPPOE user dynamic obtaining IP address utilizing DHCP protocol |
CN1567887A (en) * | 2003-07-07 | 2005-01-19 | 华为技术有限公司 | Method for triggering user IP address assignment |
Also Published As
Publication number | Publication date |
---|---|
CN1889487A (en) | 2007-01-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101418351B1 (en) | Method and device for identifying and selecting an interface to access a network | |
KR100424650B1 (en) | PPPoA SPOOFING IN POINT-TO-POINT PROTOCOL OVER ATM USING AN xDSL MODEM | |
US20010036192A1 (en) | Home-networking | |
EP2536092A1 (en) | Method and device for port mapping, and communications system | |
US20040059821A1 (en) | Method and system for a point to point protocol-bridge operating mode in network communication system | |
US20030174714A1 (en) | Zero-installation PPP-Bridge setup for lan-to-wan connectivity | |
EP1791322B1 (en) | A method and system for automatically distributing the service to the ppp access terminal | |
WO2012034456A1 (en) | Method for obtaining dns and tunnel gateway device | |
WO2008058453A1 (en) | Method and system of transmitting dhcp message through ppp link and of obtaining configuration information | |
CN100561969C (en) | A kind of broad band access method based on PPPoE | |
WO2017088101A1 (en) | Network access information acquiring method, and router | |
EP1871052A1 (en) | Ppp access terminal,access service device and a method of the terminal obtaining the server address of the provider | |
CA2470804A1 (en) | Architecture for emulating an ethernet network interface card | |
CN101188628B (en) | Method, system, network device for distributing service information | |
CN100442735C (en) | Dynamic configuration insertion terminal realizing method | |
CN101938386B (en) | Session monitoring method and service node device | |
KR100590875B1 (en) | xDSL modem and system including DHCP spoofing server, and PPPoE method for connecting internet using the same | |
CN102624707A (en) | Method and system for negotiating internet protocol version 6 (IPv6) information | |
WO2009024064A1 (en) | Method of client accessing to third-party server, device and its system using the same | |
Cisco | Configuring SLIP and PPP | |
TWI311417B (en) | Network apparatus and nat configuration method | |
WO2016082454A1 (en) | Renegotiation processing method and device | |
JP2002101127A (en) | Ppp connection control system | |
TWI262672B (en) | Remote computer booting method based on wake on LAN | |
US20240039763A1 (en) | Separate pfcp session model for network access by residential gateways |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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 |