CN102098201A - Method for realizing L2TP user access backup and network system - Google Patents

Method for realizing L2TP user access backup and network system Download PDF

Info

Publication number
CN102098201A
CN102098201A CN2009102469643A CN200910246964A CN102098201A CN 102098201 A CN102098201 A CN 102098201A CN 2009102469643 A CN2009102469643 A CN 2009102469643A CN 200910246964 A CN200910246964 A CN 200910246964A CN 102098201 A CN102098201 A CN 102098201A
Authority
CN
China
Prior art keywords
equipment
lac
standby
lac equipment
l2tp
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
Application number
CN2009102469643A
Other languages
Chinese (zh)
Other versions
CN102098201B (en
Inventor
袁博
范亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN200910246964.3A priority Critical patent/CN102098201B/en
Publication of CN102098201A publication Critical patent/CN102098201A/en
Application granted granted Critical
Publication of CN102098201B publication Critical patent/CN102098201B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method for realizing layer 2 tunneling protocol (L2TP) user access backup and a network system. The method is used in a system in which a user is connected to L2TP access concentrator (LAC) equipment through an access network and then is connected to L2TP network server (LNS) equipment through an L2TP tunnel. The method comprises the following steps of: establishing a message channel between primary LAC equipment and standby LAC equipment; backing up L2TP access information on the primary LAC equipment to the standby LAC equipment; when a primary LAC equipment failure or a downlink link failure of the primary LAC equipment is detected, performing primary-standby switching between the primary LAC equipment and the standby LAC equipment; releasing an L2TP tunnel LAC end address-carrying routing to an upper layer network, releasing a port switching message to a lower layer network, forwarding user uplink traffic to the LNS equipment through the L2TP tunnel according to backup information, and transmitting user downlink traffic transmitted by the LNS equipment through the L2TP tunnel to the lower layer network by using the standby LAC equipment. The method can realize cross-LAC equipment real-time backup of an L2TP user and realize uninterrupted transmission of a user service when an LAC node or a downlink fails.

Description

A kind of L2TP of realization user inserts the method and the network system of backup
Technical field
The present invention relates to data communication field, relate in particular to method and network system that a kind of L2TP of realization user inserts backup.
Background technology
Along with the number of broadband customers that SN (Service Node, service node) is inserted is more and more, the broadband user is more and more higher to the high reliability request in broadband, and therefore, Carrier Requirements is also more and more higher to the access of user ID.
The existing user ID technology of using is two-node cluster hot backup, this technology makes AN (Access Node, access node) adopts the two SN of two up accesses, a SN is a host apparatus, a SN is a stand-by equipment, the access interface of main usefulness SN and the backup port of standby SN are corresponding one by one, active and standbyly adopt VRRP (Virtual Router Redundancy Protocol with SN, Virtual Router Redundancy Protocol) and BFD (Bidirectional Forwarding Detection, two-way forwarding detect) technology come switching state.
Main be synchronized to standby SN with SN inserting user profile, when standby SN received the main user profile of transmitting with SN, standby SN horse back was issued to interface module with this user profile in the mode of subscriber's meter.When main access interface with SN inserts user's link failure or main during with SN complete machine fault down, standby SN switches to the main SN that use, the customer flow switching, and flow is transmitted from standby SN.
L2TP (Layer 2 Tunneling Protocol, Layer 2 Tunneling Protocol) technology is a kind of use VPN (Virtual Private Network very widely, Virtual Private Network) technology, the user at first is connected to LAC (L2TP Access Concentrator by access network, L2TP Access Concentrator) equipment, be connected on LNS (L2TP Network Server, the L2TP Network Server) equipment of far-end by L2TP Tunnel again.LAC and LNS have subscriber management function, and wherein LNS manages all L2TP users of this VPN correspondence concentratedly.
Prior art is not supported L2TP user's access backup, reason is that L2TP user's management is present on LAC and the LNS simultaneously, and between LAC and LNS, there are L2TP Tunnel and l2tp session, if the L2TP user ID between support equipment, must consider factors such as LAC, LNS, L2TP Tunnel, l2tp session, realize relative complex.
Summary of the invention
The technical problem to be solved in the present invention provides method and the network system that a kind of L2TP of realization user inserts backup, realizes that L2TP user strides LAC equipment and backs up in realtime, and that realizes customer service under LAC node or the downlink failure situation does not interrupt transmission.
In order to address the above problem, the invention provides and a kind ofly realize that Layer 2 Tunneling Protocol (L2TP) user inserts the method for backup, be applied to the user and be connected to L2TP Access Concentrator (LAC) equipment by access network, be connected to the system of L2TP Network Server (LNS) equipment again by L2TP Tunnel, comprise:
Between the master is with LAC equipment and standby LAC equipment, set up message channel, backup on the standby LAC equipment with the L2TP access information on the LAC equipment main;
Main during when detecting with LAC equipment fault or main downlink failure with LAC equipment, mainly carry out active and standby switching with LAC equipment and standby LAC equipment;
Standby LAC equipment carries L2TP Tunnel LAC end address route to the upper layer network issue, and the port of layer network issue downwards switches message, information according to backup is forwarded to LNS equipment with the user uplink flow by L2TP Tunnel, and user's downlink traffic that LNS equipment is sent by L2TP Tunnel mails to lower floor's network.
Further, said method has following characteristics: the L2TP access information of described backup comprises: user profile, L2TP Tunnel information and the l2tp session information corresponding with this user profile.
Further, said method has following characteristics: described detecting main is specially with LAC equipment fault or main downlink failure with LAC equipment: by bidirectional transmission detecting protocol or ether Operations,Administration And Maintenance (OAM) protocol detection to the main downlink failure of using LAC equipment with LAC equipment fault or master.
Further, said method has following characteristics: described master carries out active and standby switching with LAC equipment and standby LAC equipment and is specially:
The master carries out active and standby switching with LAC equipment and standby LAC equipment by Virtual Router Redundancy Protocol or multimachine frame link aggregation protocols.
Further, said method has following characteristics: also comprise:
Carry out in the process of active and standby switching with LAC equipment and standby LAC equipment described master, the master issues standby LAC equipment with LAC equipment with the user's downlink traffic that receives.
Further, said method has following characteristics: also comprise:
After described master carried out active and standby switching with LAC equipment and standby LAC equipment, the handshake message that standby LAC equipment utilization LNS equipment sends generated the handshake message and the LNS equipment of local terminal LAC equipment and shakes hands.
Further, said method has following characteristics: the L2TP access information of described backup also comprises: the main handshake message that sends with LAC equipment on each L2TP Tunnel;
After described master carried out active and standby switching with LAC equipment and standby LAC equipment, the handshake message of the described backup of standby LAC equipment utilization generated the handshake message and the LNS equipment of local terminal LAC equipment and shakes hands.
Further, said method has following characteristics: described will lead to backup on the standby LAC equipment with the L2TP access information on the LAC equipment comprise:
With main information back-up with the different user on the LAC equipment or user's group to different standby LAC equipment.
Further, said method has following characteristics: described will lead to backup on the standby LAC equipment with the L2TP access information on the LAC equipment also comprise:
With the difference master with the information back-up of the similar user on the LAC equipment or user's group to same standby LAC equipment.
Further, said method has following characteristics: described will lead to backup on the standby LAC equipment with the L2TP access information on the LAC equipment also comprise:
Use the information back-ups of the user on the LAC equipment to same standby LAC equipment many masters.
Further, said method has following characteristics: also comprise:
Described main carry out active and standby switching with LAC equipment and standby LAC equipment after, main when recovering with LAC equipment fault or main downlink failure with LAC equipment when detecting, the master carries out active and standby switching once more with LAC equipment and standby LAC equipment.
Further, said method has following characteristics: also comprise:
After described master carries out active and standby switching with LAC equipment and standby LAC equipment, main when detecting with LAC equipment fault or main downlink failure recovery with LAC equipment, and when detecting the downlink failure of standby LAC equipment fault or standby LAC equipment, the master carries out active and standby switching once more with LAC equipment and standby LAC equipment.
The present invention also provides a kind of network system, and the user is connected to L2TP Access Concentrator (LAC) equipment by access network, is connected to L2TP Network Server (LNS) equipment by L2TP Tunnel again, wherein,
The master uses LAC equipment, is used for setting up message channel with standby LAC equipment, and the L2TP access information is backuped on the standby LAC equipment; When detect described main during with LAC equipment fault or described main downlink failure with LAC equipment and standby LAC equipment carry out active and standby switching;
Standby LAC equipment, be used for carrying L2TP Tunnel LAC end address route to the upper layer network issue, and the port of layer network issue downwards switches message, information according to backup is forwarded to LNS equipment with the user uplink flow by L2TP Tunnel, and user's downlink traffic that LNS equipment is sent by L2TP Tunnel mails to lower floor's network.
Further, above-mentioned network system has following characteristics: the L2TP access information of described backup comprises: user profile, L2TP Tunnel information and the l2tp session information corresponding with this user profile.
Further, above-mentioned network system has following characteristics:
Describedly main use LAC equipment, also be used for the user's downlink traffic that receives being issued standby LAC equipment in the process of carrying out active and standby switching with standby LAC equipment.
Further, above-mentioned network system has following characteristics:
Described standby LAC equipment also is used for after the master carries out active and standby switching with LAC equipment and standby LAC equipment, and the handshake message that utilizes LNS equipment to send generates the handshake message and the LNS equipment of local terminal LAC equipment and shakes hands.
Further, above-mentioned network system has following characteristics: the L2TP access information of described backup also comprises: the main handshake message that sends with LAC equipment on each L2TP Tunnel;
Described standby LAC equipment also is used for after the master carries out active and standby switching with LAC equipment and standby LAC equipment, utilizes the handshake message and the LNS equipment of the handshake message generation local terminal LAC equipment of described backup to shake hands.
Further, above-mentioned network system has following characteristics: comprise many described standby LAC equipment,
Describedly main use LAC equipment, the information back-up that is used for different user or user are organized is to different standby LAC equipment.
Further, above-mentioned network system has following characteristics: comprise many described main LAC equipment of using,
Describedly main use LAC equipment, the information back-up that is used for the difference master is organized with similar user on the LAC equipment or user is to same standby LAC equipment.
Further, above-mentioned network system has following characteristics: comprise many described main LAC equipment of using,
Many described main uses LAC equipment, is used for information back-up with the user to same standby LAC equipment.
To sum up, realization L2TP user provided by the invention inserts the method and the network system of backup, realize that L2TP user strides LAC equipment and backs up in realtime, that realizes customer service under LAC node or the downlink failure situation does not interrupt transmission, when the fault of guaranteeing LAC equipment and down link thereof does not influence L2TP user's regular traffic, L2TP user and LNS equipment also perception less than the generation and the recovery of fault.
Description of drawings
Fig. 1 is the schematic diagram of the network system of the embodiment of the invention;
Fig. 2 is the realization L2TP user's of the embodiment of the invention the flow chart of method of access backup.
Embodiment
Core concept of the present invention is when striding LAC device backup L2TP user profile, the L2TP Tunnel and the l2tp session information of backup user correspondence, simultaneously when LAC node or link failure, standby LAC issue L2TP Tunnel address route, and restart L2TP HELLO handshake procedure, make the LNS perception less than the active and standby switching of LAC equipment under failure condition.
Below in conjunction with drawings and Examples technical scheme of the present invention is described in detail.
Fig. 1 is the schematic diagram of the network system of the embodiment of the invention, and as shown in Figure 1, the user is connected to LAC equipment by access network (being lower floor's network), is connected to LNS equipment by L2TP Tunnel again, can dispose many main LAC equipment and the standby LAC equipment of Duo Tai used.
In order to realize L2TP user's access backup, can adopt in the following method, as shown in Figure 2, comprise step:
S11, elect active and standby LAC equipment after, main with LAC equipment issue LAC end address route, standby LAC equipment suppresses issue LAC end address route;
S12, set up message channel between with LAC equipment and standby LAC equipment, the L2TP access information is backuped on the standby LAC equipment main;
Particularly, it can be main using on information back-up to a standby LAC equipment of LAC equipment with the user, also can be one main with LAC equipment with the information back-up of different user or user's group to different standby LAC equipment, also can be many main with the LAC equipment with the information back-up of similar user or user's group to same standby LAC equipment, also can be that many masters backup to all user profile on same the standby LAC equipment with LAC equipment.
Wherein, the L2TP access information of backup comprises: online user's user profile, L2TP Tunnel information and the l2tp session information corresponding with this user profile.Described L2TP Tunnel information and l2tp session information are tunnel Taoist monastic name (Tunnel ID) and session number (Session ID, the corresponding session of user).In addition; the handshake message that can also comprise the L2TP Tunnel keep-alive that the main LAC of using equipment sends; for example HELLO message and ZLB message particularly back up Ns (sequence number of data or control information), Nr (being desirably in the sequence number that receives in the next control information) field in the handshake message.
S13, main with LAC equipment or main during with LAC equipment downlink failure when detecting mainly carries out active and standby switching with LAC equipment and standby LAC equipment;
The master can utilize detection of connectivity mechanism with LAC equipment and standby LAC equipment, BFD agreement or ether OAM (Operations Administration and Maintenance for example, Operations,Administration And Maintenance) agreement, network connectivty between the associated device is detected, as detect between the active and standby LAC equipment, main with the network connectivty between LAC equipment and the lower floor's network, between standby LAC equipment and the lower floor's network.
When detecting the master with the LAC equipment fault, for example detect main with the own fault of LAC equipment or main with the link failure between LAC equipment and the lower floor's network, the master can utilize handover mechanism with LAC equipment and standby LAC equipment, for example, carry out master/slave switchover by VRRP or multimachine frame link aggregation (MC-LAG) agreement.
Before not breaking down, for example, LAC1 is a host apparatus according to the configuration of the priority of VRRP.If LAC1 breaks down, BFD protocol detection mechanism can be notified the VRRP protocol stack of LAC1 and LAC2, and this moment, the VRRP state of LAC1 can switch to stand-by state, and the VRRP state of LAC2 can switch to the main state of using.When the LAC1 fault recovery, the two-way detection of BFD agreement is normal, and according to the active and standby election mechanism of VRRP, the LAC1 that priority is high becomes host apparatus again.
After S14, standby LAC equipment state become main using, carry L2TP Tunnel LAC end address route to upper layer network issue refresh message, and the port of layer network issue downwards switching message (as the MAC Address refresh message).
Regularly according to the information of backup or the handshake message of opposite end LNS equipment, for example the HELLO message restarts to shake hands with LNS equipment for S15, standby LAC equipment.
After standby LAC equipment state switched to main using, standby LAC equipment must the unconditional normal ZLB of response message to first HELLO message of all L2TP Tunnel that LNS equipment is sent.
Particularly, Ns, Nr information in the HELLO message that standby LAC equipment can be sent by LNS equipment generate the Ns and the Nr message of the HELLO message of LAC own, and restart the keep-alive process between LAC and the LNS.
Particularly, standby LAC equipment also can regenerate the HELLO message of LAC to LNS by the Ns and the Nr information method that adopts a kind of quick repeats of self backup.Particularly; the master can issue standby LAC device backup with Ns and Nr information with LAC equipment; but when breaking down; the older situation of Ns that may occur backing up and Nr information (for example; may lead Ns and the Nr information that LAC equipment does not also come and that backup is up-to-date used; the master has just been broken down with LAC equipment itself or its down link); this moment, standby LAC equipment can be according to Ns and the Nr information structuring HEELO message with backup; begin constantly to increase progressively Ns and Nr so that HEELO message (interval that this interval that message takes place sends than normal HEELO message short many) to take place from the Ns of backup and Nr numerical value then; respond correct ZLB message up to opposite end LNS equipment; this moment, standby LAC equipment found correct Ns and Nr, promptly can begin to carry out normal keep-alive and shake hands.
S16, standby LAC equipment are according to the information that backs up (for example, the user profile of backup and L2TP Tunnel information and the l2tp session corresponding with this user) the user uplink flow is forwarded to LNS equipment by L2TP Tunnel, and user's downlink traffic that LNS equipment is sent by L2TP Tunnel mails to lower floor's network.
The order of step S15 and step S16 does not have strict qualification, and step S15 regularly carries out.
S17, when detect former main recover with LAC equipment or its downlink failure after, utilize handover mechanism to return to the main state of using again;
After detecting the recovery of former main usefulness LAC equipment or its downlink failure, also can keep Status of Backups, when standby LAC equipment (being that current state is the LAC equipment of main usefulness) fault or its downlink failure, utilize handover mechanism (for example VRRP) that former main state with LAC equipment is switched back the main state of using.
The realization L2TP user of the embodiment of the invention inserts the method for backup, realized that L2TP user strides LAC equipment and backs up in realtime, that has realized customer service under LAC node or the downlink failure situation does not interrupt transmission, when the fault of guaranteeing LAC equipment and down link thereof does not influence L2TP user's regular traffic, L2TP user and LNS equipment also perception less than the generation and the recovery of fault.
Adopt several specific embodiments that the method that realization L2TP user of the present invention inserts backup is described further below.
Embodiment one:
Carrying out Link State with the BFD agreement between two LAC equipment detects, carry out the master/slave switchover of LAC equipment with VRRP, realize the L2TP user ID, adopt mode to realize that L2TP user inserts backup according to the HELLLO message content of LAC after the HELLO content of message generation switching of LNS.Wherein LAC1 is a host apparatus, and LAC2 is a stand-by equipment.
Steps A 1, between LAC1 and LAC2, set up a TCP (Transmission ControlProtocol, transmission control protocol) connects as message channel, in order to information and the L2TP Tunnel information and the l2tp session information corresponding that backs up online L2TP user with it;
Step B1, operation BFD agreement on active and standby LAC equipment respectively, with detect between the active and standby LAC equipment, network connectivty between LAC1 equipment and the lower floor's network, between LAC2 equipment and the lower floor's network;
Step C1 moves VRRP between LAC1 and LAC2, related with corresponding downlink status;
Step D1, configuration LAC2 is that downlink traffic mails to next jumping of backup of L2TP user (by the direct connected link of LAC1 and LAC2 on LAC1, or the tunnel between LAC1 and the LAC2, as GRE (Generic Routing Encapsulation, generic route encapsulation) tunnel);
Step e 1, when the link failure between LAC1 and the lower floor's network, LAC1 and LAC2 pass through BFD protocol detection mechanism and find fault, and by for example VRRP realization activestandby state exchange of handover mechanism;
Step F 1, the LAC2 state becomes main usefulness, and carries L2TP Tunnel LAC end address route, the MAC Address of layer network issue downwards to upper layer network issue route refresh message;
Step G1, before route refresh came into force, downlink traffic still can mail to LAC1 from upper layer network, and LAC1 mails to LAC2 according to pre-configured backup next hop information with downlink traffic;
Step H1, the user profile and L2TP Tunnel information and the l2tp session information corresponding of LAC2 equipment utilization backup with this user, the user uplink flow is forwarded to LNS equipment by L2TP Tunnel, and user's downlink traffic that LNS equipment is sent by L2TP Tunnel mails to lower floor's network simultaneously.
Step I1, LAC2 utilize the Ns and the Nr information of the HELLO message that opposite end LNS equipment sends, and at the equipment of responding LNS simultaneously, regularly generate and comprise the HELLO message of correct Ns and Nr information, and keep handshake procedure with LNS equipment.
Embodiment two:
Carrying out Link State with the BFD agreement between two LAC equipment detects, carrying out the LAC equipment state with VRRP switches, realize the L2TP user ID, adopt the mode of switching the HELLO message of back LAC according to the Ns and the generation of Nr information of backup to realize that L2TP user inserts backup.Wherein LAC1 is a host apparatus, and LAC2 is a stand-by equipment.
Steps A 2, between LAC1 and LAC2, set up a TCP and be connected, in order to the Ns and the Nr information of the HELLO message of the information that backs up online L2TP user and L2TP Tunnel information, l2tp session information and each the L2TP Tunnel LAC1 transmission corresponding with it as message channel;
Step B2, operation BFD agreement on active and standby LAC equipment respectively, with detect between the active and standby LAC equipment, network connectivty between LAC1 equipment and the lower floor's network, between LAC2 equipment and the lower floor's network;
Step C2 moves VRRP2 between LAC1 and LAC2, related with corresponding downlink status;
Step D2, on LAC1 configuration LAC2 be downlink traffic mail to L2TP user backup next jump (by the direct connected link of LAC1 and LAC2, or the tunnel between LAC1 and the LAC2, as gre tunneling);
Step e 2, when the link failure between LAC1 and the lower floor's network, LAC1 and LAC2 find fault by the BFD testing mechanism, and realize that by the VRRP handover mechanism activestandby state exchanges;
Step F 2, the LAC2 state becomes main usefulness, and carries L2TP Tunnel LAC end address route, the MAC Address of layer network issue downwards to upper layer network issue route refresh message;
Step G2, before route refresh came into force, downlink traffic still can mail to LAC1 from upper layer network, and LAC mails to LAC2 according to pre-configured backup next hop information with downlink traffic;
Step H2, LAC2 utilizes the user profile and L2TP Tunnel information and the l2tp session information corresponding with this user of backup, the user uplink flow is forwarded to LNS equipment by L2TP Tunnel, and user's downlink traffic that LNS equipment is sent by L2TP Tunnel mails to lower floor's network simultaneously;
Step I2, the Ns and the Nr information of LAC2 equipment utilization backup generate the HELLO message of local terminal LAC, and constantly increase progressively the value of Ns and Nr at short notice, and send to LNS equipment.When receiving the correct response of LNS equipment, recover the normal transmission frequency of LAC2, the Ns and the Nr information that obtain the HELLO message of response are correct Ns and Nr information, LAC2 continues structure HELLO handshake message according to this Ns and Nr information, and keeps the handshake procedure with LNS equipment.
Embodiment three:
Three LAC equipment, wherein LAC1, LAC2 are host apparatus, LAC3 is a stand-by equipment, operation ether OAM protocol is carried out Link State and is detected between LAC1 and the LAC3, between LAC2 and the LAC3, move VRRP (Virtual Router Redundancy Protocol simultaneously, Virtual Router Redundancy Protocol) carries out the LAC equipment state and switch, realize that utilizing a LAC equipment is many LAC device backup L2TP users' function.
Steps A 3 is set up a TCP respectively and is connected as message channel, in order to information and L2TP Tunnel information and the l2tp session information corresponding with it that backs up online L2TP user between LAC1 and LAC3, between LAC2 and the LAC3;
Step B3, operation ether OAM agreement on three LAC equipment respectively, with detect between LAC1 and the LAC3, network connectivty between LAC2 and the LAC3, between LAC1 and the lower floor's network, between LAC2 and the lower floor's network, between LAC3 and the lower floor's network;
Step C3, between LAC1 and the LAC3, move VRRP between LAC2 and the LAC3, related with corresponding downlink status;
Step D3, respectively on LAC1 and LAC2 configuration LAC3 be downlink traffic mail to L2TP user backup next jump (by the direct connected link of LAC1, LAC2 and LAC3, or the tunnel between LAC1, LAC2 and the LAC3, as gre tunneling);
Step e 3, when the LAC1 fault, LAC3 finds fault by ether OAM protocol detection mechanism, and realizes master/slave switchover by the VRRP handover mechanism;
Step F 3, the LAC3 state becomes main usefulness, and carries L2TP Tunnel LAC end address route, the MAC Address of layer network issue downwards to upper layer network issue refresh message;
Step G3, before route refresh came into force, downlink traffic still can mail to LAC1 from upper layer network, and LAC1 mails to LAC3 according to pre-configured backup next hop information with downlink traffic;
Step H3, LAC3 utilizes the user profile and L2TP Tunnel information and the l2tp session information corresponding with this user of backup, the user uplink flow is forwarded to LNS equipment by L2TP Tunnel, and user's downlink traffic that LNS equipment is sent by L2TP Tunnel mails to lower floor's network simultaneously;
Step I3, LAC3 utilize the Ns and the Nr information of the HELLO message that opposite end LNS equipment sends, and when responding LNS equipment, generate and comprise the HELLO message of correct Ns and Nr information, and keep handshake procedure with LNS equipment.
Step J3, after the LAC1 fault recovery, ether OAM protocol detection between LAC1 and LAC3 mechanism is found fault recovery, LAC1 temporarily keeps Status of Backups, LAC3 by and LAC1 between message channel L2TP user profile is issued LAC1;
Step K 3, treat that user's information back-up is finished after, realize the exchange of activestandby state between LAC1 and the LAC3 by VRRP;
Step L3, the LAC1 state becomes main usefulness, and refreshes L2TP Tunnel LAC end address route, the MAC Address of layer network issue downwards to upper layer network issue route refresh message;
Step M3, LAC1 utilizes the user profile and L2TP Tunnel information and the l2tp session information corresponding with this user of backup, the user uplink flow is forwarded to LNS equipment by L2TP Tunnel, and user's downlink traffic that LNS equipment is sent by L2TP Tunnel mails to lower floor's network simultaneously.
Above embodiment inserts the method for backup and the example of network system for explanation realization L2TP user according to the present invention; not should be understood to limitation of the present invention; description according to technical scheme of the present invention and preferred embodiment thereof; can make various possible being equal to and change or replacement, and all these changes or replacement all should belong to the protection range of claim of the present invention.

Claims (20)

1. realize that Layer 2 Tunneling Protocol (L2TP) user inserts the method for backup for one kind, be applied to the user and be connected to L2TP Access Concentrator (LAC) equipment by access network, be connected to the system of L2TP Network Server (LNS) equipment again by L2TP Tunnel, it is characterized in that, comprising:
Between the master is with LAC equipment and standby LAC equipment, set up message channel, backup on the standby LAC equipment with the L2TP access information on the LAC equipment main;
Main during when detecting with LAC equipment fault or main downlink failure with LAC equipment, mainly carry out active and standby switching with LAC equipment and standby LAC equipment;
Standby LAC equipment carries L2TP Tunnel LAC end address route to the upper layer network issue, and the port of layer network issue downwards switches message, information according to backup is forwarded to LNS equipment with the user uplink flow by L2TP Tunnel, and user's downlink traffic that LNS equipment is sent by L2TP Tunnel mails to lower floor's network.
2. the method for claim 1, it is characterized in that: the L2TP access information of described backup comprises: user profile, L2TP Tunnel information and the l2tp session information corresponding with this user profile.
3. the method for claim 1 is characterized in that: described detecting mainly is specially with LAC equipment fault or the downlink failure led with LAC equipment:
Use the downlink failure of LAC equipment with LAC equipment fault or master to the master by bidirectional transmission detecting protocol or ether Operations,Administration And Maintenance (OAM) protocol detection.
4. the method for claim 1 is characterized in that: describedly mainly carry out active and standby switching with LAC equipment and standby LAC equipment and be specially:
The master carries out active and standby switching with LAC equipment and standby LAC equipment by Virtual Router Redundancy Protocol or multimachine frame link aggregation protocols.
5. the method for claim 1 is characterized in that: also comprise:
Carry out in the process of active and standby switching with LAC equipment and standby LAC equipment described master, the master issues standby LAC equipment with LAC equipment with the user's downlink traffic that receives.
6. as each described method of claim 1-5, it is characterized in that: also comprise:
After described master carried out active and standby switching with LAC equipment and standby LAC equipment, the handshake message that standby LAC equipment utilization LNS equipment sends generated the handshake message and the LNS equipment of local terminal LAC equipment and shakes hands.
7. as each described method of claim 1-5, it is characterized in that: the L2TP access information of described backup also comprises: the main handshake message that sends with LAC equipment on each L2TP Tunnel;
After described master carried out active and standby switching with LAC equipment and standby LAC equipment, the handshake message of the described backup of standby LAC equipment utilization generated the handshake message and the LNS equipment of local terminal LAC equipment and shakes hands.
8. method as claimed in claim 2 is characterized in that: described will lead to backup on the standby LAC equipment with the L2TP access information on the LAC equipment comprise:
With main information back-up with the different user on the LAC equipment or user's group to different standby LAC equipment.
9. as claim 1 or 2 or 8 described methods, it is characterized in that: described will lead to backup on the standby LAC equipment with the L2TP access information on the LAC equipment also comprise:
With the difference master with the information back-up of the similar user on the LAC equipment or user's group to same standby LAC equipment.
10. as claim 1 or 2 or 8 described methods, it is characterized in that: described will lead to backup on the standby LAC equipment with the L2TP access information on the LAC equipment also comprise:
Use the information back-ups of the user on the LAC equipment to same standby LAC equipment many masters.
11. the method for claim 1 is characterized in that: also comprise:
Described main carry out active and standby switching with LAC equipment and standby LAC equipment after, main when recovering with LAC equipment fault or main downlink failure with LAC equipment when detecting, the master carries out active and standby switching once more with LAC equipment and standby LAC equipment.
12. the method for claim 1 is characterized in that: also comprise:
After described master carries out active and standby switching with LAC equipment and standby LAC equipment, main when detecting with LAC equipment fault or main downlink failure recovery with LAC equipment, and when detecting the downlink failure of standby LAC equipment fault or standby LAC equipment, the master carries out active and standby switching once more with LAC equipment and standby LAC equipment.
13. a network system, the user is connected to L2TP Access Concentrator (LAC) equipment by access network, is connected to L2TP Network Server (LNS) equipment by L2TP Tunnel again, it is characterized in that,
The master uses LAC equipment, is used for setting up message channel with standby LAC equipment, and the L2TP access information is backuped on the standby LAC equipment; When detect described main during with LAC equipment fault or described main downlink failure with LAC equipment and standby LAC equipment carry out active and standby switching;
Standby LAC equipment, be used for carrying L2TP Tunnel LAC end address route to the upper layer network issue, and the port of layer network issue downwards switches message, information according to backup is forwarded to LNS equipment with the user uplink flow by L2TP Tunnel, and user's downlink traffic that LNS equipment is sent by L2TP Tunnel mails to lower floor's network.
14. network system as claimed in claim 13 is characterized in that: the L2TP access information of described backup comprises: user profile, L2TP Tunnel information and the l2tp session information corresponding with this user profile.
15. network system as claimed in claim 13 is characterized in that:
Describedly main use LAC equipment, also be used for the user's downlink traffic that receives being issued standby LAC equipment in the process of carrying out active and standby switching with standby LAC equipment.
16., it is characterized in that as each described network system of claim 13-15:
Described standby LAC equipment also is used for after the master carries out active and standby switching with LAC equipment and standby LAC equipment, and the handshake message that utilizes LNS equipment to send generates the handshake message and the LNS equipment of local terminal LAC equipment and shakes hands.
17. as each described network system of claim 13-15, it is characterized in that: the L2TP access information of described backup also comprises: the main handshake message that sends with LAC equipment on each L2TP Tunnel;
Described standby LAC equipment also is used for after the master carries out active and standby switching with LAC equipment and standby LAC equipment, utilizes the handshake message and the LNS equipment of the handshake message generation local terminal LAC equipment of described backup to shake hands.
18. network system as claimed in claim 14 is characterized in that: comprise many described standby LAC equipment,
Describedly main use LAC equipment, the information back-up that is used for different user or user are organized is to different standby LAC equipment.
19., it is characterized in that as claim 13 or 14 or 18 described systems: comprise many described main LAC equipment of using,
Describedly main use LAC equipment, the information back-up that is used for the difference master is organized with similar user on the LAC equipment or user is to same standby LAC equipment.
20., it is characterized in that as claim 13 or 14 or 18 described systems: comprise many described main LAC equipment of using,
Many described main uses LAC equipment, is used for information back-up with the user to same standby LAC equipment.
CN200910246964.3A 2009-12-14 2009-12-14 Method for realizing L2TP user access backup and network system Active CN102098201B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910246964.3A CN102098201B (en) 2009-12-14 2009-12-14 Method for realizing L2TP user access backup and network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910246964.3A CN102098201B (en) 2009-12-14 2009-12-14 Method for realizing L2TP user access backup and network system

Publications (2)

Publication Number Publication Date
CN102098201A true CN102098201A (en) 2011-06-15
CN102098201B CN102098201B (en) 2014-08-20

Family

ID=44131075

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910246964.3A Active CN102098201B (en) 2009-12-14 2009-12-14 Method for realizing L2TP user access backup and network system

Country Status (1)

Country Link
CN (1) CN102098201B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102347905A (en) * 2011-10-31 2012-02-08 杭州华三通信技术有限公司 Network equipment and forwarded information updating method
WO2012103725A1 (en) * 2011-06-29 2012-08-09 华为技术有限公司 Method and apparatus for maintaining connectivity of transmission lines
CN103634189A (en) * 2012-08-29 2014-03-12 中兴通讯股份有限公司 Method and system for establishing L2TP tunnel
CN103684831A (en) * 2012-09-19 2014-03-26 中兴通讯股份有限公司 Method, device and system for protecting L2TP network
CN103929319A (en) * 2013-01-11 2014-07-16 中兴通讯股份有限公司 L2TP tunnel state keep-alive method and apparatus
WO2015035851A1 (en) * 2013-09-13 2015-03-19 华为技术有限公司 Data transmission method and device
CN104734868A (en) * 2013-12-19 2015-06-24 中兴通讯股份有限公司 Service processing method and device among service nodes
CN104734867A (en) * 2013-12-19 2015-06-24 中兴通讯股份有限公司 Network service node failure processing method, device and system
CN104980349A (en) * 2014-04-03 2015-10-14 日立金属株式会社 Relay System and Switching Device
CN105207874A (en) * 2015-09-02 2015-12-30 中国联合网络通信集团有限公司 L2TP network protection method and network system
WO2016082609A1 (en) * 2014-11-28 2016-06-02 中兴通讯股份有限公司 Media access control (mac) address election method and apparatus
US9882810B2 (en) 2015-11-11 2018-01-30 Leauto Intelligent Technology (Beijing) Co. Ltd. Method and device for data transfer over a plurality of links
CN107995111A (en) * 2016-10-26 2018-05-04 中兴通讯股份有限公司 Business forwarding, link change notifying method, convergence device and access device
CN108024290A (en) * 2016-11-03 2018-05-11 中兴通讯股份有限公司 A kind of tunnel method of adjustment and device
CN111030877A (en) * 2019-12-26 2020-04-17 杭州迪普科技股份有限公司 Main/standby equipment switching method and device
CN113316117A (en) * 2021-05-31 2021-08-27 武汉虹信科技发展有限责任公司 TAU master-slave switching method and system
CN115277545A (en) * 2022-06-21 2022-11-01 浪潮通信技术有限公司 Main/standby network switching method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101116278A (en) * 2005-02-11 2008-01-30 诺基亚公司 Method and system for recovery of state information of a first tunnel endpoint in an layer two tunnelling protocol (L2TP) network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101116278A (en) * 2005-02-11 2008-01-30 诺基亚公司 Method and system for recovery of state information of a first tunnel endpoint in an layer two tunnelling protocol (L2TP) network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王洪波: ""VPN的隧道技术分析"", 《电脑与信息技术》 *

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012103725A1 (en) * 2011-06-29 2012-08-09 华为技术有限公司 Method and apparatus for maintaining connectivity of transmission lines
CN102742222A (en) * 2011-06-29 2012-10-17 华为技术有限公司 Method and apparatus for maintaining connectivity of transmission lines
CN102742222B (en) * 2011-06-29 2015-05-13 华为技术有限公司 Method and apparatus for maintaining connectivity of transmission lines
CN102347905A (en) * 2011-10-31 2012-02-08 杭州华三通信技术有限公司 Network equipment and forwarded information updating method
CN102347905B (en) * 2011-10-31 2015-02-18 杭州华三通信技术有限公司 Network equipment and forwarded information updating method
CN103634189A (en) * 2012-08-29 2014-03-12 中兴通讯股份有限公司 Method and system for establishing L2TP tunnel
CN103684831A (en) * 2012-09-19 2014-03-26 中兴通讯股份有限公司 Method, device and system for protecting L2TP network
WO2014044088A1 (en) * 2012-09-19 2014-03-27 中兴通讯股份有限公司 L2tp network protection method, apparatus and system
CN103684831B (en) * 2012-09-19 2019-01-18 中兴通讯股份有限公司 The guard method of L2TP network, apparatus and system
CN103929319A (en) * 2013-01-11 2014-07-16 中兴通讯股份有限公司 L2TP tunnel state keep-alive method and apparatus
CN103929319B (en) * 2013-01-11 2018-02-06 中兴通讯股份有限公司 L2TP Tunnel state keepalive method and device
AU2014320926B2 (en) * 2013-09-13 2017-07-20 Huawei Technologies Co., Ltd. Data transmission method and device
US10819623B2 (en) 2013-09-13 2020-10-27 Huawei Technologies Co., Ltd. Method and device for transmitting data
US10298487B2 (en) 2013-09-13 2019-05-21 Huawei Technologies Co., Ltd. Method and device for transmitting data
WO2015035851A1 (en) * 2013-09-13 2015-03-19 华为技术有限公司 Data transmission method and device
WO2015090027A1 (en) * 2013-12-19 2015-06-25 中兴通讯股份有限公司 Method and device for processing service between service nodes
CN104734867B (en) * 2013-12-19 2019-05-03 中兴通讯股份有限公司 Network service node fault handling method, apparatus and system
CN104734868A (en) * 2013-12-19 2015-06-24 中兴通讯股份有限公司 Service processing method and device among service nodes
CN104734867A (en) * 2013-12-19 2015-06-24 中兴通讯股份有限公司 Network service node failure processing method, device and system
CN104980349A (en) * 2014-04-03 2015-10-14 日立金属株式会社 Relay System and Switching Device
CN104980349B (en) * 2014-04-03 2019-07-12 日立金属株式会社 Relay system and exchange apparatus
WO2016082609A1 (en) * 2014-11-28 2016-06-02 中兴通讯股份有限公司 Media access control (mac) address election method and apparatus
RU2675050C1 (en) * 2014-11-28 2018-12-14 Зте Корпорейшн Method and device for selecting access control address to mac environment
CN105207874A (en) * 2015-09-02 2015-12-30 中国联合网络通信集团有限公司 L2TP network protection method and network system
US9882810B2 (en) 2015-11-11 2018-01-30 Leauto Intelligent Technology (Beijing) Co. Ltd. Method and device for data transfer over a plurality of links
CN107995111A (en) * 2016-10-26 2018-05-04 中兴通讯股份有限公司 Business forwarding, link change notifying method, convergence device and access device
CN108024290A (en) * 2016-11-03 2018-05-11 中兴通讯股份有限公司 A kind of tunnel method of adjustment and device
CN108024290B (en) * 2016-11-03 2022-07-08 中兴通讯股份有限公司 Tunnel adjusting method and device
CN111030877A (en) * 2019-12-26 2020-04-17 杭州迪普科技股份有限公司 Main/standby equipment switching method and device
CN113316117A (en) * 2021-05-31 2021-08-27 武汉虹信科技发展有限责任公司 TAU master-slave switching method and system
CN113316117B (en) * 2021-05-31 2022-06-07 武汉信科移动通信技术有限公司 TAU master-slave switching method and system
CN115277545A (en) * 2022-06-21 2022-11-01 浪潮通信技术有限公司 Main/standby network switching method and device

Also Published As

Publication number Publication date
CN102098201B (en) 2014-08-20

Similar Documents

Publication Publication Date Title
CN102098201B (en) Method for realizing L2TP user access backup and network system
CN102025646B (en) Link switching method and device thereof
CN102480423B (en) A kind of guard method of L2TP network and system
CN100527716C (en) Method and gateway equipment for resuming service after switching status of main/standby gateway device
CN101257405B (en) Method for implementing double chain circuits among master-salve equipments
KR101591102B1 (en) Method for router of virtual router redundancy protocol and communication system therefor
WO2012000234A1 (en) Method, apparatus and system for fast switching between links
WO2013107356A1 (en) Implementing dual-homed node protection
CN101364927A (en) Method, apparatus and system realizing fault recovery of virtual private network
CN105024836B (en) Method and device for switching primary Service Router (SR) and standby SR and SR
CN101800774A (en) Environmental-friendly accessing method and environmental-friendly accessing network
CN101197733A (en) Automatic detection method and device for network connectivity
CN105577444B (en) A kind of wireless controller management method and wireless controller
WO2007118395A1 (en) A service takeover method based on device disaster-tolerance, service switching apparatus and spare machine
CN105119822A (en) Backup group management method and system based on VRRP (Virtual Router Redundancy Protocol)
WO2014090120A1 (en) Method and system for link switchover
CN103873336A (en) Distributed resilient network interconnection-based service bearing method and device
CN102647304A (en) Synchronizing method of address resolution protocols and device
CN102045245A (en) Method for protecting switching downlink flow rate during access to backup of user and backup forwarding system
US8935564B2 (en) Method for backing up user information and apparatus in standby service node for backing up user information
CN103944697B (en) A kind of voice dispatch system and redundancy backup method of dual link two server
CN107395444A (en) One kind is based on SDN controller failures recovery system and method
CN102238092B (en) Method for performing load sharing on encoder and encoder
CN102255741B (en) User service information backup method and device
CN101217405B (en) SGSN backup method and communication system, communication device

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