CN101272403B - Method, system and device for implementing DHCP user service wholesale - Google Patents
Method, system and device for implementing DHCP user service wholesale Download PDFInfo
- Publication number
- CN101272403B CN101272403B CN2008100974658A CN200810097465A CN101272403B CN 101272403 B CN101272403 B CN 101272403B CN 2008100974658 A CN2008100974658 A CN 2008100974658A CN 200810097465 A CN200810097465 A CN 200810097465A CN 101272403 B CN101272403 B CN 101272403B
- Authority
- CN
- China
- Prior art keywords
- dhcp
- terminal
- request message
- conversation request
- tunnel
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4633—Interconnection of networks using encapsulation techniques, e.g. tunneling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
- H04L61/5014—Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention discloses a method for realizing a wholesale of a DHCP user service, a system and equipment. The method of the invention comprises the steps of receiving data messages transmitted by a terminal, carrying out an L2TPv3 packaging for the data message, acquiring an L2TPv3 tunnel corresponding to the terminal, transmitting the packaged date message to L2TP network service LNS equipment through a corresponding L2TPv3 tunnel, receiving a response message sent by the LNS equipment through L2TPv3 tunnel and transmitting the response message which is packaged to the terminal. By adopting the embodiment of the method for realizing a wholesale of a DHCP user service,, the message of the terminal can be mapped to the L2TPv3 tunnel and transmitted to the remote LNS equipment through the L2TPv3 tunnel, the interaction with network can be realized through the LNS equipment, thereby realizing the wholesale of the DHCP user service. In the embodiment of the, method for realizing a wholesale of a DHCP user service the L2TPv3 tunnel can be established in a common IP network, thus having the advantages of simple technique and low networking cost, etc.
Description
Technical field
The present invention relates to communication technical field, relate in particular to method, system and the equipment of a kind of realization DHCP (Dynamic DostConfiguration Protocol, DHCP) user service wholesale.
Background technology
Broadband access network can be divided into NSP (Network Service Provider, Internet Service Provider) network and ISP (Internet Service Provider, ISP) network according to attaching relation.The NSP network generally is by operator's construction, administers and maintains, and functions such as high speed access, traffic aggregation, strategy execution are provided for the user.
Business is wholesale to be the technology that a kind of ISP of promotion separates with NSP, and ISP manages and the ownership by the network of renting NSP, the business that the user uses ISP to provide; NSP by follow-up accounting checking, guarantees income separately to the passage that ISP provides transfer of data.Business is wholesale is generally undertaken by the two layer tunnel technology, user's message is sent to distal end I SP network by two layer tunnel, access, authentication, mandate and other user management strategy by the ISP process user utilize the tunnel to carry out professional isolation, transmission, wholesale by NSP.
Define IP Session (IP session) in the prior art, comprised PPP (Point to Point Protocol, point-to-point protocol) Session and DHCP Session.Generally pass through L2TPv2 (Layer2Tunneling Protocol version 2 for the PPP terminal, 2 layer tunnel protocol version 2s) tunnel realizes that the user is wholesale, on distal end I SP, carry out access authentication of user, address assignment and service management, at LAC (L2TP Access Concentrator as the NSP Internet resources, L2TP Access Concentrator) can user data be mapped to L2TP Tunnel according to user's domain-name information on the equipment, the transparent distal end I SP equipment that is sent to.And for the DHCP terminal, general by VPLS (Virtual Private LAN Services, the private virtual lan business) PW of network (Pseudo Wire, pseudo-line) to carry out business wholesale for pipeline, intermediate equipment need be supported MPLS (Multiple Protocol Label Switch, multiprotocol label switching).
Fig. 1 utilizes the VPLS network to realize the wholesale network diagram of static traffic in the prior art.Utilize the wholesale DHCP access of VPLS network user's concrete steps as follows: (1) is at convergence-level Layer 2 switch PE (Provider Edge, the carrier network edge) goes up configure user and insert Option60 and VSI (Virtual Switch Instance in VLAN or the DHCP protocol massages, virtual switch instance) corresponding relation, receive user's two layer message from the Access Network side joint, send into the PW pipeline of corresponding VSI; (2) this user's two layer message encapsulation back is sent to the far-end PE equipment that links the ISP network by this PW pipeline, two-layer label at far-end PE equipment termination PW pipeline, recover original user's two layer message, give BNG (Broad Network Gateway, wideband network gateway) and handle; (3) BNG carries out station address distribution and access control.Simultaneously, on the NSP network, utilize each VPN to provide transmission channel, isolate the user data traffic of different I SP by VPN for each ISP.
The inventor finds that above-mentioned implementation depends on PW pipeline that the MPLS network sets up and carries out wholesalely in realizing process of the present invention, networking cost is very high; And undertaken by the VPLS network that professional to be usually directed to VPLS when wholesale cross-domain, complicated technology realization.
Summary of the invention
Embodiments of the invention provide a kind of method, system and equipment of the DHCP of realization user service wholesale, are used for the professional wholesale of easy realization DHCP user.
For achieving the above object, embodiments of the invention provide a kind of method of the DHCP of realization user service wholesale, comprising:
The DHCP conversation request message that receiving terminal sends carries out the L2TPv3 encapsulation with described DHCP conversation request message;
Obtain the L2TPv3 tunnel corresponding, and the DHCP conversation request message after the described encapsulation is sent to L2TP network server device LNS by corresponding L2TPv3 tunnel with described terminal;
Receive the DHCP conversation request message response message that described LNS sends by the L2TPv3 tunnel;
Described DHCP conversation request message response message is carried out sending to described terminal after the decapsulation.
Embodiments of the invention also provide a kind of L2TP visit concentrating equipment LAC, comprising:
Encapsulation unit when being used to receive the DHCP conversation request message of terminal transmission, carries out the L2TPv3 encapsulation with described DHCP conversation request message;
The tunnel acquiring unit is used to obtain the L2TPv3 tunnel of described terminal correspondence, and the DHCP conversation request message after the described encapsulation unit encapsulation is sent to L2TP network server device LNS by corresponding L2TPv3 tunnel;
The response message receiving element is used to receive the DHCP conversation request message response message that described LNS sends by the L2TPv3 tunnel;
Decapsulation unit, the DHCP conversation request message response message that is used for described response message receiving element is received carries out decapsulation.
Embodiments of the invention also provide a kind of L2TP Network Server LNS equipment, comprising:
Decapsulation unit is used for the DHCP conversation request message that receives is carried out the decapsulation of L2TPv3 tunnel;
Retransmission unit is used for searching routing table according to the purpose IP of DHCP conversation request message after the described decapsulation unit decapsulation, and described data message forwarding is arrived Dynamic Host Configuration Protocol server;
The tunnel acquiring unit when being used to receive the DHCP conversation request message response message that described Dynamic Host Configuration Protocol server sends, obtains the outgoing interface L2TPv3 tunnel in the main frame route of described terminal;
Encapsulation unit is used for the L2TPv3 tunnel that described response message carries out getting access to by described tunnel acquiring unit after two layers of information encapsulation and the L2TPv3 encapsulation is sent to LAC.
Embodiments of the invention also provide a kind of system of the DHCP of realization user service wholesale, comprise L2TP visit concentrating equipment LAC and L2TP Network Server LNS,
Described LAC when being used to receive the DHCP conversation request message of terminal transmission, carries out the L2TPv3 encapsulation with described DHCP conversation request message; And the DHCP conversation request message after the described encapsulation sent to L2TP network server device LNS by the L2TPv3 tunnel corresponding with terminal; Also be used to receive the DHCP conversation request message response message that described LNS sends by the L2TPv3 tunnel, and described DHCP conversation request message response message is carried out sending to described terminal after the decapsulation.
Described LNS is used for the message that receives from LAC is carried out the decapsulation of L2TPv3 tunnel, searches routing table according to the purpose IP of DHCP conversation request message after the decapsulation, and described DHCP conversation request message is forwarded to Dynamic Host Configuration Protocol server; When also being used to receive the DHCP conversation request message response message of Dynamic Host Configuration Protocol server transmission, described DHCP conversation request message response message is carried out sending to LAC by the described L2TPv3 tunnel that gets access to after two layers of information encapsulation and the L2TPv3 encapsulation.
Compared with prior art, embodiments of the invention have the following advantages:
By LAC equipment the message of terminal is mapped to the L2TPv3 tunnel, and is sent to far-end LNS equipment, realize mutual with network, thereby realized that DHCP user's is professional wholesale by this LNS equipment by the L2TPv3 tunnel.In the embodiments of the invention, the L2TPv3 tunnel can be based upon common IP network, has to realize advantages such as simple, that networking cost is low.
Description of drawings
Fig. 1 utilizes the VPLS network to realize the wholesale network diagram of static traffic in the prior art;
Fig. 2 is a flow chart of realizing the method for DHCP user service wholesale in the embodiments of the invention;
Fig. 3 is the network organizing schematic diagram in the embodiments of the invention;
Fig. 4 is to be the flow chart of terminal distribution address by the DHCP agreement in the embodiments of the invention;
Fig. 5 is the data forwarding flow chart during terminal access Internet network in the embodiments of the invention;
Fig. 6 is a LAC structural representation of realizing the DHCP user service wholesale in the embodiments of the invention;
Fig. 7 is another LAC structural representation of realizing the DHCP user service wholesale in the embodiments of the invention;
Fig. 8 is a LNS structural representation of realizing the DHCP user service wholesale in the embodiments of the invention.
Embodiment
Embodiments of the invention provide a kind of method of the DHCP of realization user service wholesale, as shown in Figure 2, may further comprise the steps:
When step s201, LAC receive the data message of terminal transmission, described data message is carried out the L2TPv3 encapsulation.
Step s202, LAC obtain the L2TPv3 tunnel corresponding with terminal, and the data message after will encapsulating sends to LNS (L2TP Network Server, L2TP Network Server) by corresponding L2TPv3 tunnel.
Step s203, LAC receive the response message that LNS sends by the L2TPv3 tunnel.
Step s204, LAC carry out response message to send to terminal after the decapsulation.
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described further.
The networking schematic diagram of DHCP user service wholesale as shown in Figure 3.
Behind the DHCP starting terminal, by the DHCP agreement be the terminal distribution address flow process as shown in Figure 4, may further comprise the steps:
Step s301, DHCP terminal send DHCP conversation request message, can carry Option 60 information in the message and show user domain information.
Step s302, AN (Access Network, access network) listen for user DHCP conversation request message adds physical circuit Option82 information in message.
The DHCP conversation request message that step s303, AN will carry Option 60 information and Option82 information sends to LAC.
Step s304, LAC authenticate to AAA (Access AuthenticationAuthorization inserts, authenticates, authorizes) server according to Option 82 information, then continue after authentication is passed through, and this step is optional.
Step s305, LAC enter the L2TPv3 tunnel according to Option60 with the dynamic mapping of the DHCP conversation request message of terminal, send to LNS.
Concrete, this L2TPv3 tunnel can staticly in advance be set up, and also can dynamically trigger foundation according to user conversation by LAC.LAC is according to the VLAN under terminal access interface and the terminal, and the DHCP message mapping of terminal is entered the L2TPv3 tunnel.Wherein the tunnel of no matter setting up for static state still dynamically triggers the tunnel of setting up, and VLAN under the access interface of terminal, the terminal and the corresponding relation between the L2TPv3 tunnel can be set up in advance.Session in the L2TPv3 tunnel dynamically triggers foundation by the DHCP session; LAC preserves Option 82, Option 60 information in the user conversation message, and the IP of terminal triggers and reaches the standard grade after being used for.
Step s306, LNS select Dynamic Host Configuration Protocol server and ask Dynamic Host Configuration Protocol server is DHCP terminal distribution address.
Concrete, after LNS receives the DHCP conversation request message that transmits by the L2TPv3 tunnel, the domain information of the DHCP terminal of carrying according to 60 options of the Option in the message at first, obtain the gateway address GiAddr corresponding with the DHCP terminal, according to Option 60 shunting of the DHCP conversation request message of terminal being relayed to different Dynamic Host Configuration Protocol server requests again is DHCP terminal distribution address; LNS writes down two layers of information (MAC Address, VLAN or QinQ information that the user inserts) of DHCP terminal simultaneously, is used for the encapsulation of follow-up DHCP protocol responses message (comprising DHCP OFFER message and DHCPAck message) and data message.
Step s307, Dynamic Host Configuration Protocol server are DHCP terminal distribution appropriate address pond network segment address according to GiAddr.
Step s308, LNS receive the dhcp response message that Dynamic Host Configuration Protocol server sends, i.e. corresponding information is write down in the address assignment of Dynamic Host Configuration Protocol server success.
Concrete, LNS is generated to the main frame route of user terminal, and (promptly the route of 32 bitmasks is carried out exact-match lookup according to the IP address of terminal, main frame route and network segment route correspondence, network segment route is to search according to the IP network section), the access interface of DHCP terminal is a L2TPv3 tunnel incoming interface; And two layers of information of record DHCP terminal are used to transmit the data message that sends to the DHCP terminal in the forwarding-table item of terminal.
Step s309, LAC receive the response message that LNS sends, and write down corresponding information.
Concrete, the binding relationship of LAC record L2TPv3 tunnel ID and session id, two layers of packaging information and DHCP terminal access interface is used to transmit the data message that sends to the DHCP terminal; The corresponding relation of the address of generation DHCP terminal and L2TPv3 tunnel ID, session id is used to transmit the message to the network side transmission that receives from the DHCP terminal; Response message with network side sends to the DHCP terminal by the cut-in convergent network then.
Step s310, DHCP terminal obtain the network side IP address allocated, can visit the Internet network.
After obtaining the network side addresses distributed, the data forwarding flow process during terminal access Internet network comprises the steps: as shown in Figure 5
Step s401, DHCP terminal send datagram to network side.
Step s402, LAC receive the data message that the DHCP terminal sends, and this Layer 2 data message is carried out the L2TPv3 encapsulation, and according to the source MAC and the source IP of DHCP terminal, the Layer 2 data message after the encapsulation are mapped to corresponding L2TPv3 tunnel send to LNS.
Step s403, LNS carry out the decapsulation of L2TPv3 tunnel, search routing table according to the purpose IP of data message, according to routing table with the data message forwarding of DHCP terminal destination device to the Internet network.
Step s404, LNS receive the response message of destination device to the transmission of DHCP terminal, at first search the main frame route that routing table obtains this DHCP terminal, and the outgoing interface of route is the L2TPv3 tunnel.Then LNS carries out two layers of information encapsulation with the response message of destination device transmission, carries out the L2TPv3 encapsulation afterwards again and sends to LAC.
The access interface that step s405, LAC find this DHCP terminal according to the ID and the session id in L2TPv3 tunnel, termination L2TPv3 tunnel encapsulation is transmitted the response message after the decapsulation and to be gone back from this interface.
Step s406, DHCP terminal receive the response message that destination device returns.
In addition, also store the gateway address of each user terminal correspondence on the LNS, when user terminal carries out the operation of ping address pool gateway, respond this ping operation by LNS.Mutual visit between the wholesale user of DHCP is also undertaken by LNS, and data message does not exchange on LAC; Concrete, there is routing table on the LNS, can transmit accordingly according to destination address and this routing table of data message, therefore, the message interaction between the wholesale user of DHCP can only be undertaken by LNS, and can not directly carry out mutual on LAC.
Utilize fault detect and the recovery measure of L2TPv3 as follows:
For the real-time perception user terminal inserts, the aggregation networks state, can survey by enable ARP (Address Resolution Protocol, address resolution protocol) at LAC.When detecting that user terminal is overtime to roll off the production line, LAC sends session teardown message and arrives LNS, LNS deletion user list item information; If the line status between certain moment LAC after user terminal rolls off the production line because of reasons such as line interruption are overtime and the user terminal recovers, when then LAC receives the data message of user terminal, find Option 82, Option 60 information of preservation by user terminal identification, simulation generates the DHCP protocol massages, send to LNS by the L2TPv3 tunnel, again applied address is set up user's list item, and this process is equal to the session of DHCP terminal initial and initiates to set up process.
LAC receives after the dhcp response message that LNS sends, and generates user's forwarding-table item, i.e. the binding relationship of L2TPv3 tunnel ID and session id, two layers of packaging information and access interface, thus user terminal can normally be visited the Internet network again.
If L2TP Tunnel Down falls, overtime if the last ARP detection of LAC does not have, after L2TPv3 tunnel up again, LAC wants to simulate transmission DHCP protocol massages and rebulids user's list item information by LNS equipment;
In addition, RADIUS (Remote Authentication Dial In User Service, the long-distance user dials in Verification System) support to expand about the L2TP attribute, RADIUS can issue tunnel type (64), L2TP group name (81), LAC source address (66), LNS address (67), tunnel name (90), tunnel-password (69), Tunnel Identifier name attributes such as (82), issue the L2TP Tunnel attribute by radius server, can realize LAC, LNS equipment zero configuration, thereby can pass through the server centered managing network device, make things convenient for network management.
When ISP expands the user and need dispose new address pool, need not change the configuration of the LAC that represent the NSP Internet resources, only need the configuration information on the change LNS equipment, user management is controlled by ISP fully, and DHCP user truly is wholesale in realization.
The method that provides by the embodiment of the invention is mapped to the L2TPv3 tunnel by LAC equipment with the message of terminal, and is sent to far-end LNS equipment by the L2TPv3 tunnel, realizes mutual with network by this LNS equipment, thereby has realized that DHCP user's is professional wholesale.In the embodiments of the invention, the L2TPv3 tunnel can be based upon common IP network, has to realize advantages such as simple, that networking cost is low.
Embodiments of the invention also provide a kind of system of the DHCP of realization user service wholesale, its configuration diagram as shown in Figure 3, wherein:
When LAC is used to receive the data message of terminal transmission, data message is carried out the L2TPv3 encapsulation; And the data message after will encapsulating sends to L2TP network server device LNS by the L2TPv3 tunnel corresponding with terminal; Also be used to receive the response message that LNS sends by the L2TPv3 tunnel, and response message is carried out sending to terminal after the decapsulation.
LNS is used for the message that receives from LAC is carried out the decapsulation of L2TPv3 tunnel, searches routing table according to the purpose IP of data message after the decapsulation, with data message forwarding to destination device; When also being used to receive response message, response message is carried out two layers of information encapsulation according to two layers of information of terminal, and carry out sending to LAC by the L2TPv3 tunnel that gets access to after the L2TPv3 encapsulation.
Concrete, the structure of LAC comprises as shown in Figure 6 in this system:
Response message receiving element 13 is used to receive the response message that LNS sends by the L2TPv3 tunnel;
This LAC also comprises:
The probe unit 18 that rolls off the production line is used to detect that terminal is overtime when rolling off the production line, and sends session teardown message to LNS;
Analog message transmitting element 19, when being used for receiving the data message of the overtime terminal that rolls off the production line once more, according to terminal information, simulation generates DHCP conversation request message, and sends to LNS by the L2TPv3 tunnel, is the terminal distribution address again.
Concrete, the structure of LNS comprises as shown in Figure 7 in this system:
Decapsulation unit 21 is used for the message that receives is carried out the decapsulation of L2TPv3 tunnel;
Retransmission unit 22 is used for searching routing table according to the purpose IP of data message after decapsulation unit 21 decapsulations, and data message forwarding is arrived destination device;
Tunnel acquiring unit 23 when being used to receive response message, obtains the outgoing interface L2TPv3 tunnel in the main frame route of terminal;
Encapsulation unit 24 be used for response message is carried out two layers of information encapsulation according to two layers of information of terminal, and the L2TPv3 tunnel that carries out getting access to by tunnel acquiring unit 23 after the L2TPv3 encapsulation sends to LAC.
This LAC also comprises:
The 3rd memory cell 25 is used in the main frame route for terminal distribution dhcp address process record terminal, and two layers of information of terminal, and offers tunnel acquiring unit 23 and encapsulation unit 24.
The system and the equipment that provide by the embodiment of the invention, by LAC equipment the message of terminal is mapped to the L2TPv3 tunnel, and be sent to far-end LNS equipment by the L2TPv3 tunnel, realize mutual with network by this LNS equipment, thereby realized that DHCP user's is professional wholesale.In the embodiments of the invention, the L2TPv3 tunnel can be based upon common IP network, has to realize advantages such as simple, that networking cost is low.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize based on such understanding by the mode that software adds necessary general hardware platform, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.
Claims (16)
1. a method that realizes the dynamic host configuration protocol DHCP user service wholesale is characterized in that, comprising:
The DHCP conversation request message that receiving terminal sends carries out the L2TPv3 encapsulation with described DHCP conversation request message;
Obtain the L2TPv3 tunnel corresponding, and the DHCP conversation request message after the described encapsulation is sent to L2TP network server device LNS by corresponding L2TPv3 tunnel with described terminal;
Receive the DHCP conversation request message response message that described LNS sends by the L2TPv3 tunnel;
Described DHCP conversation request message response message is carried out sending to described terminal after the decapsulation.
2. realize the method for DHCP user service wholesale according to claim 1, it is characterized in that, describedly obtain the L2TPv3 tunnel corresponding and specifically comprise with described terminal:
According to the address of described terminal, and, obtain the L2TPv3 tunnel corresponding with described terminal at corresponding relation for the address of the DHCP terminal that writes down in the described terminal distribution dhcp address process and L2TPv3 tunnel ID, session id.
3. realize the method for DHCP user service wholesale according to claim 1, it is characterized in that, described described DHCP conversation request message response message is carried out after the decapsulation sending to described terminal specifically comprise:
According to the ID in the L2TPv3 tunnel that sends described DHCP conversation request message response message and at corresponding relation for the ID in the L2TPv3 tunnel that writes down in the described terminal distribution dhcp address process and session id, two layers of packaging information and terminal access interface, obtain the access interface of described terminal, the DHCP conversation request message response message after the decapsulation is sent to described terminal by described access interface.
4. realize the method for DHCP user service wholesale according to claim 1, it is characterized in that, before the DHCP conversation request message response message of the described LNS of described reception by the transmission of L2TPv3 tunnel, also comprise:
Described LNS carries out the decapsulation of L2TPv3 tunnel to the DHCP conversation request message that receives, and searches routing table according to the purpose IP of DHCP conversation request message after the decapsulation, described DHCP conversation request message is forwarded to the Dynamic Host Configuration Protocol server of this DHCP conversation request message;
When described LNS receives the DHCP conversation request message response message that described Dynamic Host Configuration Protocol server sends, obtain the outgoing interface L2TPv3 tunnel in the main frame route of described terminal;
Described DHCP conversation request message response message is carried out two layers of information encapsulation to described LNS and L2TPv3 encapsulation back sends to L2TP visit concentrating equipment LAC by the described L2TPv3 tunnel that gets access to.
5. as realizing the method for DHCP user service wholesale as described in the claim 4, it is characterized in that described method comprises that also LNS be the main frame route that writes down described terminal in the described terminal distribution dhcp address process, and two layers of information of described terminal.
6. as realizing the method for DHCP user service wholesale as described in the claim 5, it is characterized in that, describedly specifically comprise for the process of described terminal distribution dhcp address:
Receive the DHCP conversation request message of described terminal;
According to the Option60 information in the DHCP conversation request message of described terminal, the mapping of the DHCP conversation request message of described terminal is entered the L2TPv3 tunnel concurrent deliver to described LNS;
Described LNS is according to the Option60 information of described terminal, and selecting Dynamic Host Configuration Protocol server and asking Dynamic Host Configuration Protocol server is described terminal distribution address;
Described LNS receives the address that Dynamic Host Configuration Protocol server is described terminal distribution, is generated to the main frame route of described terminal, and writes down two layers of information of described terminal, sends the address assignment success message to LAC; The access interface of terminal described in the described main frame route is a L2TPv3 tunnel incoming interface;
Described LAC receives the response message that LNS sends, the corresponding relation of record L2TPv3 tunnel ID and session id, two layers of packaging information and terminal access interface; And the corresponding relation of the record address of terminal and L2TPv3 tunnel ID, session id, send the address assignment success message to described terminal then.
7. as realizing the method for DHCP user service wholesale as described in the claim 6, it is characterized in that described LAC specifically comprises the step that the DHCP conversation request message mapping of described terminal enters the L2TPv3 tunnel:
According to the access interface of described terminal and the VLAN under the terminal, and the access interface of the terminal of setting up in advance, the VLAN under the terminal and the corresponding relation between the L2TPv3 tunnel, the DHCP conversation request message mapping of described terminal is entered corresponding L2TPv3 tunnel.
8. realize the method for DHCP user service wholesale according to claim 1, it is characterized in that, also comprise:
Detect when described terminal is overtime to roll off the production line, send session teardown message to described LNS, described LNS deletes the list item information of described terminal;
When receiving the data message of terminal once more, according to described terminal information, simulation generates DHCP conversation request message, and sends to described LNS by the L2TPv3 tunnel, is described terminal distribution address again.
9. a L2TP visit concentrating equipment LAC is characterized in that, comprising:
Encapsulation unit when being used to receive the DHCP conversation request message of terminal transmission, carries out the L2TPv3 encapsulation with described DHCP conversation request message;
The tunnel acquiring unit is used to obtain the L2TPv3 tunnel of described terminal correspondence, and the DHCP conversation request message after the described encapsulation unit encapsulation is sent to L2TP network server device LNS by corresponding L2TPv3 tunnel;
The response message receiving element is used to receive the DHCP conversation request message response message that described LNS sends by the L2TPv3 tunnel;
Decapsulation unit, the DHCP conversation request message response message that is used for described response message receiving element is received carries out decapsulation.
10. as LAC as described in the claim 9, it is characterized in that, also comprise:
First memory cell is used to store the corresponding relation of the address of DHCP terminal and L2TPv3 tunnel ID, session id; And described corresponding relation offered described tunnel acquiring unit.
11. as LAC as described in the claim 9, it is characterized in that, also comprise:
Second memory cell is used to store the corresponding relation of the ID in L2TPv3 tunnel and session id, two layers of packaging information and terminal access interface; And described corresponding relation offered described decapsulation unit.
12. as LAC as described in the claim 9, it is characterized in that, also comprise: the tunnel map unit, when being used to receive the DHCP conversation request message of terminal, according to the access interface of described terminal and the VLAN under the terminal, and the access interface of the terminal of setting up in advance, the VLAN under the terminal and the corresponding relation between the L2TPv3 tunnel, the DHCP conversation request message mapping of described terminal is entered corresponding L2TPv3 tunnel.
13. as LAC as described in the claim 9, it is characterized in that, also comprise:
The probe unit that rolls off the production line is used to detect that terminal is overtime when rolling off the production line, and sends session teardown message to LNS;
The analog message transmitting element, when being used for receiving the data message of the overtime terminal that rolls off the production line once more, according to described terminal information, simulation generates DHCP conversation request message, and sends to described LNS by the L2TPv3 tunnel, is described terminal distribution address again.
14. a L2TP Network Server LNS equipment is characterized in that, comprising:
Decapsulation unit is used for the DHCP conversation request message that receives is carried out the decapsulation of L2TPv3 tunnel;
Retransmission unit is used for searching routing table according to the purpose IP of DHCP conversation request message after the described decapsulation unit decapsulation, and described DHCP conversation request message is forwarded to Dynamic Host Configuration Protocol server;
The tunnel acquiring unit when being used to receive the DHCP conversation request message response message that described Dynamic Host Configuration Protocol server sends, obtains the outgoing interface L2TPv3 tunnel in the main frame route of described terminal;
Encapsulation unit is used for that described DHCP conversation request message response message is carried out two layers of information encapsulation and L2TPv3 encapsulation back sends to L2TP visit concentrating equipment LAC by the L2TPv3 tunnel that described tunnel acquiring unit gets access to.
15. as LNS as described in the claim 14, it is characterized in that, also comprise:
The 3rd memory cell is used in the main frame route for the described terminal of described terminal distribution dhcp address process record, and two layers of information of described terminal, and offers described tunnel acquiring unit and encapsulation unit.
16. a system that realizes the DHCP user service wholesale comprises L2TP visit concentrating equipment LAC and L2TP network server device LNS, it is characterized in that,
Described LAC when being used to receive the DHCP conversation request message of terminal transmission, carries out the L2TPv3 encapsulation with described DHCP conversation request message; And the DHCP conversation request message after the described encapsulation sent to L2TP network server device LNS by the L2TPv3 tunnel corresponding with terminal; Also be used to receive the DHCP conversation request message response message that described LNS sends by the L2TPv3 tunnel, and described DHCP conversation request message response message is carried out sending to described terminal after the decapsulation.
Described LNS is used for the message that receives from LAC is carried out the decapsulation of L2TPv3 tunnel, searches routing table according to the purpose IP of DHCP conversation request message after the decapsulation, and described DHCP conversation request message is forwarded to Dynamic Host Configuration Protocol server; When also being used to receive the DHCP conversation request message response message of Dynamic Host Configuration Protocol server transmission, described response message is carried out sending to LAC by the described L2TPv3 tunnel that gets access to after two layers of information encapsulation and the L2TPv3 encapsulation.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100974658A CN101272403B (en) | 2008-05-27 | 2008-05-27 | Method, system and device for implementing DHCP user service wholesale |
PCT/CN2009/071333 WO2009143729A1 (en) | 2008-05-27 | 2009-04-17 | Method, system and apparatus for realizing dhcp user service wholesale |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008100974658A CN101272403B (en) | 2008-05-27 | 2008-05-27 | Method, system and device for implementing DHCP user service wholesale |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101272403A CN101272403A (en) | 2008-09-24 |
CN101272403B true CN101272403B (en) | 2011-02-09 |
Family
ID=40006087
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008100974658A Expired - Fee Related CN101272403B (en) | 2008-05-27 | 2008-05-27 | Method, system and device for implementing DHCP user service wholesale |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101272403B (en) |
WO (1) | WO2009143729A1 (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101272403B (en) * | 2008-05-27 | 2011-02-09 | 华为技术有限公司 | Method, system and device for implementing DHCP user service wholesale |
CN101753525A (en) * | 2008-12-17 | 2010-06-23 | 华为技术有限公司 | Method, system and equipment for realizing the business wholesale of DHCP users |
CN102316030B (en) * | 2011-09-01 | 2014-04-09 | 杭州华三通信技术有限公司 | Method for realizing two-layer internetworking of data center and device |
CN103227773B (en) * | 2012-03-31 | 2016-05-11 | 杭州华三通信技术有限公司 | A kind of method and system thereof of setting up VPDN connection |
CN103781073B (en) * | 2012-10-26 | 2018-10-19 | 中兴通讯股份有限公司 | The cut-in method and system of mobile subscriber's fixed network |
CN103036761B (en) * | 2012-12-21 | 2015-08-05 | 浙江宇视科技有限公司 | A kind of tunnel server and client terminal device |
CN103595592B (en) * | 2013-11-29 | 2017-01-18 | 迈普通信技术股份有限公司 | Method and system for testing consistency of WAN (Wide Area Network) interface protocols |
CN106899705A (en) * | 2016-12-21 | 2017-06-27 | 新华三技术有限公司 | A kind of method and apparatus of station address distribution |
CN108600225B (en) * | 2018-04-25 | 2021-03-23 | 新华三技术有限公司 | Authentication method and device |
CN109889420B (en) * | 2019-01-29 | 2021-07-30 | 视联动力信息技术股份有限公司 | Service processing method and device |
CN114285900B (en) * | 2021-12-09 | 2023-10-03 | 中国联合网络通信集团有限公司 | Scheduling system, authentication method, scheduling method, device, server and medium |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100373896C (en) * | 2002-07-26 | 2008-03-05 | 中兴通讯股份有限公司 | Virtual special dialing network business data packet retransmission method |
JP4342966B2 (en) * | 2004-01-26 | 2009-10-14 | 株式会社日立コミュニケーションテクノロジー | Packet transfer device |
JP4425923B2 (en) * | 2004-10-01 | 2010-03-03 | 三菱電機株式会社 | Access service network system, access device, and access service providing method |
JP4401942B2 (en) * | 2004-12-08 | 2010-01-20 | 株式会社日立コミュニケーションテクノロジー | Packet transfer device and communication network |
CN100428739C (en) * | 2005-12-31 | 2008-10-22 | 华为技术有限公司 | Implementing method and system for support VPLS service on IP skeletal network |
CN101110847B (en) * | 2007-08-27 | 2011-06-08 | 华为技术有限公司 | Method, device and system for obtaining medium access control address |
CN101272403B (en) * | 2008-05-27 | 2011-02-09 | 华为技术有限公司 | Method, system and device for implementing DHCP user service wholesale |
-
2008
- 2008-05-27 CN CN2008100974658A patent/CN101272403B/en not_active Expired - Fee Related
-
2009
- 2009-04-17 WO PCT/CN2009/071333 patent/WO2009143729A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2009143729A1 (en) | 2009-12-03 |
CN101272403A (en) | 2008-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101272403B (en) | Method, system and device for implementing DHCP user service wholesale | |
CN106209643B (en) | Message forwarding method and device | |
CN103179228B (en) | Internet Protocol address analytic method and fringe node | |
CN102447752B (en) | Service access method, system and device based on layer 2 tunnel protocol (L2TP) | |
CN101427523B (en) | A business-binding method and device | |
CN104052666B (en) | The method and apparatus for realizing host routing reachable | |
US8416787B2 (en) | Method, system and apparatus for implementing L2VPN between autonomous systems | |
CN102932499B (en) | Method and device for learning media access control (MAC) addresses in virtual private lan service (VPLS) networks | |
CN101110745A (en) | Method, device and system for engaging second layer network and third layer network | |
CN102316028B (en) | Method and apparatus for sending internet protocol packet | |
WO2008092357A1 (en) | A method and device for establishing a pseudo wire tunnel and transmitting message using it | |
CN101511117B (en) | Two-layer cross-network segment communicating method, system and equipment | |
CN104168184A (en) | Message forwarding method and device | |
CN101753525A (en) | Method, system and equipment for realizing the business wholesale of DHCP users | |
CN103248720A (en) | Method and device for inquiring physical address | |
US20140032782A1 (en) | Method and apparatus for route selection of host in multihoming site | |
CN100428739C (en) | Implementing method and system for support VPLS service on IP skeletal network | |
CN107547340A (en) | A kind of message forwarding method and device | |
EP2822238B1 (en) | Method and device for establishing a pseudo wire | |
CN102571375B (en) | Multicast forwarding method and device as well as network device | |
CN103139075A (en) | Message transmission method and device | |
CN102904814B (en) | Data transmission method, source PE, object PE and data transmission system | |
CN103269300A (en) | Method and equipment for achieving heterogeneous network interconnection | |
EP1940085A1 (en) | Method and device for service binding | |
CN101478479B (en) | User access method, apparatus and system |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20110209 Termination date: 20170527 |
|
CF01 | Termination of patent right due to non-payment of annual fee |