CN102098201B - 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
CN102098201B
CN102098201B CN200910246964.3A CN200910246964A CN102098201B CN 102098201 B CN102098201 B CN 102098201B CN 200910246964 A CN200910246964 A CN 200910246964A CN 102098201 B CN102098201 B CN 102098201B
Authority
CN
China
Prior art keywords
equipment
lac equipment
standby
lac
primary
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN200910246964.3A
Other languages
Chinese (zh)
Other versions
CN102098201A (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

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 accesses 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 accesses backup.
Background technology
Along with the number of broadband customers that SN (Service Node, service node) accesses is more and more, 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 user ID technology of existing use is two-node cluster hot backup, this technology makes AN (Access Node, access node) adopt the two SN of two up accesses, a SN is host apparatus, a SN is stand-by equipment, the access interface of primary SN and the backup port of standby SN are corresponding one by one, standby usage SN adopts VRRP (Virtual Router Redundancy Protocol, Virtual Router Redundancy Protocol) and BFD (Bidirectional Forwarding Detection, two-way converting detect) technology carry out switching state.
Primary SN is synchronized to standby SN access user information, and when standby SN receives the user profile that primary SN transmits, standby SN is issued to interface module by this user profile in the mode of subscriber's meter at once.Under the access interface of primary SN, when the link failure of access user or primary SN machine failure, standby SN switches to primary SN, and customer flow switches, and flow forwards 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, first user is connected to LAC (L2TP Access Concentrator by access network, L2TP Access Concentrator) equipment, by L2TP Tunnel, be connected on LNS (L2TP Network Server, the L2TP Network Server) equipment of far-end again.LAC and LNS have subscriber management function, and wherein LNS manages all L2TP users that this VPN is corresponding concentratedly.
Prior art is not supported L2TP user's access backup, reason is that L2TP user's management is present on LAC and LNS simultaneously, and between LAC and LNS, there is L2TP Tunnel and l2tp session, if the L2TP user ID between support equipment, must consider the 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 is to provide method and the network system that a kind of L2TP of realization user accesses backup, realizes L2TP user and backs up in realtime across LAC equipment, and that realizes customer service in LAC node or downlink failure situation does not interrupt transmission.
In order to address the above problem, the invention provides a kind of method that Layer 2 Tunneling Protocol (L2TP) user accesses backup that realizes, be applied to user and be connected to L2TP Access Concentrator (LAC) equipment by access network, by L2TP Tunnel, be connected to again the system of L2TP Network Server (LNS) equipment, comprise:
Between primary LAC equipment and standby LAC equipment, set up message channel, the L2TP access information on primary LAC equipment is backuped on standby LAC equipment;
When the downlink failure of primary LAC equipment fault or primary LAC equipment being detected, primary LAC equipment and standby LAC equipment carry out active and standby switching;
Standby LAC equipment carries L2TP Tunnel LAC end address route to upper layer network issue, and the port of layer network issue downwards switches message, according to the information of backup, 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.
Further, said method has feature below: 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 feature below: described in primary LAC equipment fault or primary LAC equipment detected downlink failure be specially: the downlink failure by bidirectional transmission detecting protocol or ether Operations,Administration And Maintenance (OAM) protocol detection to primary LAC equipment fault or primary LAC equipment.
Further, said method has feature below: described primary LAC equipment and standby LAC equipment carry out active and standby switching and is specially:
Primary LAC equipment and standby LAC equipment carry out active and standby switching by Virtual Router Redundancy Protocol or multi-frame link aggregation protocols.
Further, said method has feature below: also comprise:
At described primary LAC equipment and standby LAC equipment, carry out in the process of active and standby switching, primary LAC equipment is issued standby LAC equipment by the user's downlink traffic receiving.
Further, said method has feature below: also comprise:
At described primary LAC equipment and standby LAC equipment, carry out after active and standby switching, the handshake message that standby LAC equipment utilization LNS equipment sends generates handshake message and the LNS equipment of local terminal LAC equipment and shakes hands.
Further, said method has feature below: the L2TP access information of described backup also comprises: the handshake message that on each L2TP Tunnel, primary LAC equipment sends;
At described primary LAC equipment and standby LAC equipment, carry out after active and standby switching, the handshake message backing up described in standby LAC equipment utilization generates handshake message and the LNS equipment of local terminal LAC equipment and shakes hands.
Further, said method has feature below: described L2TP access information on primary LAC equipment is backuped on standby LAC equipment and comprised:
By the information back-up of the different user on primary LAC equipment or user group to different standby LAC equipment.
Further, said method has feature below: described L2TP access information on primary LAC equipment is backuped on standby LAC equipment and also comprised:
By the information back-up of the similar user on the primary LAC equipment of difference or user group to same standby LAC equipment.
Further, said method has feature below: described L2TP access information on primary LAC equipment is backuped on standby LAC equipment and also comprised:
By the information back-up of the user on many primary LAC equipment to same standby LAC equipment.
Further, said method has feature below: also comprise:
At described primary LAC equipment and standby LAC equipment, carry out after active and standby switching, when the downlink failure recovery of primary LAC equipment fault or primary LAC equipment being detected, primary LAC equipment and standby LAC equipment carry out active and standby switching again.
Further, said method has feature below: also comprise:
At described primary LAC equipment and standby LAC equipment, carry out after active and standby switching, when the downlink failure of primary LAC equipment fault or primary LAC equipment being detected, recover, and while the downlink failure of standby LAC equipment fault or standby LAC equipment being detected, primary LAC equipment and standby LAC equipment carry out active and standby switching again.
The present invention also provides a kind of network system, and user is connected to L2TP Access Concentrator (LAC) equipment by access network, then is connected to L2TP Network Server (LNS) equipment by L2TP Tunnel, wherein,
Primary LAC equipment, for setting up message channel with standby LAC equipment, backups to L2TP access information on standby LAC equipment; When the downlink failure of described primary LAC equipment fault or described primary LAC equipment being detected, and standby LAC equipment carries out active and standby switching;
Standby LAC equipment, for carry L2TP Tunnel LAC end address route to upper layer network issue, and the port of layer network issue downwards switches message, according to the information of backup, 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.
Further, above-mentioned network system has feature below: 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 feature below:
Described primary LAC equipment, also, for the process carrying out active and standby switching with standby LAC equipment, issues standby LAC equipment by the user's downlink traffic receiving.
Further, above-mentioned network system has feature below:
Described standby LAC equipment, also for carrying out after active and standby switching at primary LAC equipment and standby LAC equipment, utilizes handshake message and the LNS equipment of the handshake message generation local terminal LAC equipment of LNS equipment transmission to shake hands.
Further, above-mentioned network system has feature below: the L2TP access information of described backup also comprises: the handshake message that on each L2TP Tunnel, primary LAC equipment sends;
Described standby LAC equipment, also for carrying out after active and standby switching at primary LAC equipment and standby LAC equipment, utilizes 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 feature below: comprise many described standby LAC equipment,
Described primary LAC equipment, for by the information back-up of different user or user group to different standby LAC equipment.
Further, above-mentioned network system has feature below: comprise many described primary LAC equipment,
Described primary LAC equipment, for by the information back-up of the similar user on the primary LAC equipment of difference or user group to same standby LAC equipment.
Further, above-mentioned network system has feature below: comprise many described primary LAC equipment,
Many described primary LAC equipment, for by user's information back-up to same standby LAC equipment.
To sum up, the L2TP of realization user provided by the invention accesses method and the network system of backup, realizing L2TP user backs up in realtime across LAC equipment, that realizes customer service in LAC node or downlink failure situation does not interrupt transmission, when the fault of guaranteeing LAC equipment and down link thereof does not affect L2TP user's regular traffic, L2TP user and LNS equipment also perception less than generation and the recovery of fault.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of the network system of the embodiment of the present invention;
Fig. 2 is the flow chart of method of the access backup that realizes L2TP user of the embodiment of the present invention.
Embodiment
Core concept of the present invention is in across LAC device backup L2TP user profile, corresponding L2TP Tunnel and the l2tp session information of backup user, simultaneously when LAC node or link failure, standby LAC issue L2TP Tunnel address route, and restart L2TP HELLO handshake procedure, make LNS perception active and standby switching under failure condition less than LAC equipment.
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 present invention, as shown in Figure 1, user is connected to LAC equipment by access network (being lower floor's network), then is connected to LNS equipment by L2TP Tunnel, can configure many primary LAC equipment and the standby LAC equipment of Duo Tai.
In order to realize L2TP user's access backup, can adopt in the following method, as shown in Figure 2, comprise step:
S11, elect after active and standby LAC equipment, primary LAC equipment issue LAC end address route, standby LAC equipment suppresses issue LAC end address route;
S12, between primary LAC equipment and standby LAC equipment, set up message channel, L2TP access information is backuped on standby LAC equipment;
Particularly, can be that a primary LAC equipment is by user's information back-up to standby LAC equipment, also can be a primary LAC equipment by the information back-up of different user or user's group to different standby LAC equipment, also can be many primary LAC equipment by the information back-up of similar user or user's group to same standby LAC equipment, can be also that many primary LAC equipment backup to all user profile on same standby 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, a corresponding session of user).In addition; the handshake message that can also comprise the L2TP Tunnel keep-alive that primary LAC 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 receiving in next control information) field in handshake message.
S13, when primary LAC equipment or primary LAC equipment downlink failure being detected, primary LAC equipment and standby LAC equipment carry out active and standby switching;
Primary LAC equipment and standby LAC equipment can utilize detection of connectivity mechanism, BFD agreement or ether OAM (Operations Administration and Maintenance for example, Operations,Administration And Maintenance) agreement, network connectivty between the equipment being associated is detected, as detect between active and standby LAC equipment, the network connectivty between primary LAC equipment and lower floor's network, between standby LAC equipment and lower floor's network.
When primary LAC equipment fault being detected, the link failure between the fault of primary LAC equipment own or primary LAC equipment and lower floor's network for example detected, primary LAC equipment and standby LAC equipment can utilize handover mechanism, for example, by VRRP or multi-frame link aggregation (MC-LAG) agreement, carry out master/slave switchover.
Before not breaking down, for example, according to the priority configuration LAC1 of VRRP, be host apparatus.If LAC1 breaks down, BFD protocol detection mechanism can be notified the VRRP protocol stack of LAC1 and LAC2, and now the VRRP state of LAC1 can switch to stand-by state, and the VRRP state of LAC2 can switch to master state.When 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.
S14, standby LAC equipment state become primary after, to upper layer network issue refresh message, carry L2TP Tunnel LAC end address route, and the port of layer network issue downwards switches message (as MAC Address refresh message).
S15, standby LAC equipment are regularly according to the information of backup or the handshake message of opposite end LNS equipment, and for example HELLO message, restarts to shake hands with LNS equipment.
Standby LAC equipment state switch to primary after, first HELLO messages of all L2TP Tunnel that standby LAC equipment is sent LNS equipment must the unconditional normal ZLB message of responding.
Particularly, Ns and the Nr message of the Ns in the HELLO message that standby LAC equipment can be sent by LNS equipment, the HELLO message of Nr Information generation LAC own, and restart the keep-alive process between LAC and LNS.
Particularly, a kind of method that the Ns that standby LAC equipment also can back up by self and Nr information adopt quick repeats, regenerates LAC to the HELLO message of LNS.Particularly, primary LAC equipment can be issued standby LAC device backup by Ns and Nr information, but when breaking down, (for example may there is the Ns of backup and the older situation of Nr information, that may primary LAC equipment also do not come and back up up-to-date Ns and Nr information, primary LAC equipment itself or its down link have just broken down), now standby LAC equipment can be according to Ns and the Nr information structuring HEELO message with backup, then from the Ns of backup and Nr numerical value, start constantly to increase progressively Ns and Nr there is HEELO message (interval that this interval that message occurs sends than normal HEELO message short many), until opposite end LNS equipment is responded correct ZLB message, now standby LAC equipment has found correct Ns and Nr, can start to carry out normal keep-alive shakes hands.
S16, standby LAC equipment are according to the information of backup (for example, the user profile of backup and L2TP Tunnel information and the l2tp session corresponding with this user) 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 restriction, and step S15 regularly carries out.
S17, after former primary LAC equipment or its downlink failure being detected and recovering, utilize handover mechanism to be restored to master state;
After former primary LAC equipment or the recovery of its downlink failure being detected, also can keep Status of Backups, for example, until when standby LAC equipment (being that current state is primary LAC equipment) fault or its downlink failure, utilize handover mechanism (VRRP) that the state of former primary LAC equipment is switched back to master state.
The embodiment of the present invention realize the method that L2TP user accesses backup, having realized L2TP user backs up in realtime across LAC equipment, that has realized customer service in LAC node or downlink failure situation does not interrupt transmission, when the fault of guaranteeing LAC equipment and down link thereof does not affect L2TP user's regular traffic, L2TP user and LNS equipment also perception less than generation and the recovery of fault.
The method that adopts several specific embodiments to access backup to the L2TP of realization user of the present invention is below described further.
Embodiment mono-:
Between two LAC equipment, with BFD agreement, carry out Link State detection, with VRRP, carry out the master/slave switchover of LAC equipment, realize L2TP user ID, employing realizes L2TP user according to the mode of the HELLLO message content of LAC after the content generation switching of the HELLO message of LNS and accesses backup.Wherein LAC1 is host apparatus, and LAC2 is stand-by equipment.
Steps A 1, between LAC1 and LAC2, set up a TCP (Transmission ControlProtocol, transmission control protocol) connect as message channel, in order to back up online L2TP user's information and L2TP Tunnel information and the l2tp session information corresponding with it;
Step B1 moves BFD agreement respectively on active and standby LAC equipment, the network connectivty detecting between active and standby LAC equipment, between LAC1 equipment and lower floor's network, between LAC2 equipment and lower floor's network;
Step C1 moves VRRP between LAC1 and LAC2, associated with corresponding downlink status;
Step D1, on LAC1, configure LAC2 and be backup down hop that downlink traffic mails to L2TP user (by the direct connected link of LAC1 and LAC2, or the tunnel between LAC1 and LAC2, as GRE (Generic Routing Encapsulation, generic route encapsulation) tunnel);
Step e 1, when link failure between LAC1 and lower floor's network, LAC1 and LAC2 find fault by BFD protocol detection mechanism, and by handover mechanism for example VRRP realize activestandby state and exchange;
Step F 1, LAC2 state becomes primary, 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 comes into force, downlink traffic still can mail to LAC1 from upper layer network, and LAC1, according to pre-configured backup next hop information, mails to LAC2 by downlink traffic;
Step H1, the user profile of LAC2 equipment utilization backup and L2TP Tunnel information and the l2tp session information corresponding with this user, user uplink flow is forwarded to LNS equipment by L2TP Tunnel, and user's downlink traffic of simultaneously LNS equipment being sent by L2TP Tunnel mails to lower floor's network.
Step I1, LAC2 utilizes Ns and the Nr information of the HELLO message that opposite end LNS equipment sends, and at the equipment of responding LNS simultaneously, regularly generates the HELLO message that comprises correct Ns and Nr information, and maintains the handshake procedure with LNS equipment.
Embodiment bis-:
Between two LAC equipment, with BFD agreement, carry out Link State detection, with VRRP, carry out the switching of LAC equipment state, realize L2TP user ID, employing realizes L2TP user according to the mode of the HELLO message of LAC after the Ns of backup and the switching of Nr Information generation and accesses backup.Wherein LAC1 is host apparatus, and LAC2 is stand-by equipment.
Steps A 2, between LAC1 and LAC2, set up a TCP and be connected as message channel, in order to back up online L2TP user's information and Ns and the Nr information of the HELLO message that L2TP Tunnel information, l2tp session information and each the L2TP Tunnel LAC1 corresponding with it sends;
Step B2 moves BFD agreement respectively on active and standby LAC equipment, the network connectivty detecting between active and standby LAC equipment, between LAC1 equipment and lower floor's network, between LAC2 equipment and lower floor's network;
Step C2 moves VRRP2 between LAC1 and LAC2, associated with corresponding downlink status;
Step D2 configures LAC2 and is the backup down hop that downlink traffic mails to L2TP user (by the direct connected link of LAC1 and LAC2, or the tunnel between LAC1 and LAC2, as gre tunneling) on LAC1;
Step e 2, when link failure between LAC1 and lower floor's network, LAC1 and LAC2 find fault by BFD testing mechanism, and by VRRP handover mechanism, realize activestandby state and exchange;
Step F 2, LAC2 state becomes primary, 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 comes into force, downlink traffic still can mail to LAC1 from upper layer network, and LAC, according to pre-configured backup next hop information, mails to LAC2 by downlink traffic;
Step H2, LAC2 utilizes the user profile of backup and L2TP Tunnel information and the l2tp session information corresponding with this user, user uplink flow is forwarded to LNS equipment by L2TP Tunnel, and user's downlink traffic of simultaneously LNS equipment being sent by L2TP Tunnel mails to lower floor's network;
Step I2, Ns and the Nr information of LAC2 equipment utilization backup, generate the HELLO message of local terminal LAC, and constantly increase progressively at short notice the value of Ns and Nr, 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 responding are correct Ns and Nr information, LAC2 continues structure HELLO handshake message according to this Ns and Nr information, and maintains the handshake procedure with LNS equipment.
Embodiment tri-:
Three LAC equipment, wherein LAC1, LAC2 are host apparatus, LAC3 is stand-by equipment, between LAC1 and LAC3, between LAC2 and LAC3, move ether OAM protocol and carry out Link State detection, move VRRP (Virtual Router Redundancy Protocol simultaneously, Virtual Router Redundancy Protocol) carry out the switching of LAC equipment state, realizing and utilizing a LAC equipment is many LAC device backup L2TP users' function.
Steps A 3 is set up respectively a TCP and is connected as message channel, in order to back up online L2TP user's information and L2TP Tunnel information and the l2tp session information corresponding with it between LAC1 and LAC3, between LAC2 and LAC3;
Step B3 moves respectively ether OAM agreement on three LAC equipment, the network connectivty detecting between LAC1 and LAC3, between LAC2 and LAC3, between LAC1 and lower floor's network, between LAC2 and lower floor's network, between LAC3 and lower floor's network;
Step C3, between LAC1 and LAC3, move VRRP between LAC2 and LAC3, associated with corresponding downlink status;
Step D3 configures respectively LAC3 and is the backup down hop that downlink traffic mails to L2TP user (by the direct connected link of LAC1, LAC2 and LAC3, or the tunnel between LAC1, LAC2 and LAC3, as gre tunneling) on LAC1 and LAC2;
Step e 3, when LAC1 fault, LAC3 finds fault by ether OAM protocol detection mechanism, and realizes master/slave switchover by VRRP handover mechanism;
Step F 3, LAC3 state becomes primary, 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 comes into force, downlink traffic still can mail to LAC1 from upper layer network, and LAC1, according to pre-configured backup next hop information, mails to LAC3 by downlink traffic;
Step H3, LAC3 utilizes the user profile of backup and L2TP Tunnel information and the l2tp session information corresponding with this user, user uplink flow is forwarded to LNS equipment by L2TP Tunnel, and user's downlink traffic of simultaneously LNS equipment being sent by L2TP Tunnel mails to lower floor's network;
Step I3, LAC3 utilizes Ns and the Nr information of the HELLO message that opposite end LNS equipment sends, and when responding LNS equipment, generates the HELLO message that comprises correct Ns and Nr information, and maintains the handshake procedure with LNS equipment.
Step J3, after 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 to LAC1;
Step K 3, after treating that user's information back-up completes, realizes the exchange of activestandby state by VRRP between LAC1 and LAC3;
Step L3, LAC1 state becomes primary, 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 of backup and L2TP Tunnel information and the l2tp session information corresponding with this user, user uplink flow is forwarded to LNS equipment by L2TP Tunnel, and user's downlink traffic of simultaneously LNS equipment being sent by L2TP Tunnel mails to lower floor's network.
Above embodiment accesses the method for backup and the example of network system for the explanation L2TP of realization user according to the present invention; not should be understood to limitation of the present invention; according to the description of technical scheme of the present invention and preferred embodiment thereof; can make various possible being equal to and change or replace, and all these changes or replacement all should belong to the protection range of claim of the present invention.

Claims (18)

1. realize the method that Layer 2 Tunneling Protocol L2TP user accesses backup for one kind, be applied to user and be connected to L2TP Access Concentrator LAC equipment by access network, by L2TP Tunnel, be connected to again the system of L2TP Network Server LNS equipment, it is characterized in that, comprising:
Between primary LAC equipment and standby LAC equipment, set up message channel, the L2TP access information on primary LAC equipment is backuped on standby LAC equipment;
The L2TP access information of described backup comprises: user profile, L2TP Tunnel information and the l2tp session information corresponding with this user profile;
When the downlink failure of primary LAC equipment fault or primary LAC equipment being detected, primary LAC equipment and standby LAC equipment carry out active and standby switching;
Standby LAC equipment carries L2TP Tunnel LAC end address route to upper layer network issue, and the port of layer network issue downwards switches message, according to the information of backup, 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.
2. the method for claim 1, is characterized in that: described in primary LAC equipment fault or primary LAC equipment detected downlink failure be specially:
By bidirectional transmission detecting protocol or ether Operations,Administration And Maintenance (OAM) protocol detection, arrive the downlink failure of primary LAC equipment fault or primary LAC equipment.
3. the method for claim 1, is characterized in that: described primary LAC equipment and standby LAC equipment carry out active and standby switching and is specially:
Primary LAC equipment and standby LAC equipment carry out active and standby switching by Virtual Router Redundancy Protocol or multi-frame link aggregation protocols.
4. the method for claim 1, is characterized in that: also comprise:
At described primary LAC equipment and standby LAC equipment, carry out in the process of active and standby switching, primary LAC equipment is issued standby LAC equipment by the user's downlink traffic receiving.
5. the method as described in claim 1-4 any one, is characterized in that: also comprise:
At described primary LAC equipment and standby LAC equipment, carry out after active and standby switching, the handshake message that standby LAC equipment utilization LNS equipment sends generates handshake message and the LNS equipment of local terminal LAC equipment and shakes hands.
6. the method as described in claim 1-4 any one, is characterized in that: the L2TP access information of described backup also comprises: the handshake message that on each L2TP Tunnel, primary LAC equipment sends;
At described primary LAC equipment and standby LAC equipment, carry out after active and standby switching, the handshake message backing up described in standby LAC equipment utilization generates handshake message and the LNS equipment of local terminal LAC equipment and shakes hands.
7. the method for claim 1, is characterized in that: described L2TP access information on primary LAC equipment is backuped on standby LAC equipment and comprised:
By the information back-up of the different user on primary LAC equipment or user group to different standby LAC equipment.
8. the method as described in claim 1 or 7, is characterized in that: described L2TP access information on primary LAC equipment is backuped on standby LAC equipment and also comprised:
By the information back-up of the similar user on the primary LAC equipment of difference or user group to same standby LAC equipment.
9. the method as described in claim 1 or 7, is characterized in that: described L2TP access information on primary LAC equipment is backuped on standby LAC equipment and also comprised:
By the information back-up of the user on many primary LAC equipment to same standby LAC equipment.
10. the method for claim 1, is characterized in that: also comprise:
At described primary LAC equipment and standby LAC equipment, carry out after active and standby switching, when the downlink failure recovery of primary LAC equipment fault or primary LAC equipment being detected, primary LAC equipment and standby LAC equipment carry out active and standby switching again.
11. the method for claim 1, is characterized in that: also comprise:
At described primary LAC equipment and standby LAC equipment, carry out after active and standby switching, when the downlink failure of primary LAC equipment fault or primary LAC equipment being detected, recover, and while the downlink failure of standby LAC equipment fault or standby LAC equipment being detected, primary LAC equipment and standby LAC equipment carry out active and standby switching again.
12. 1 kinds of network systems, user is connected to L2TP Access Concentrator LAC equipment by access network, then is connected to L2TP Network Server LNS equipment by L2TP Tunnel, it is characterized in that,
Primary LAC equipment, for setting up message channel with standby LAC equipment, backups to L2TP access information on standby LAC equipment; When the downlink failure of described primary LAC equipment fault or described primary LAC equipment being detected, and standby LAC equipment carries out active and standby switching;
The L2TP access information of described backup comprises: user profile, L2TP Tunnel information and the l2tp session information corresponding with this user profile;
Standby LAC equipment, for carry L2TP Tunnel LAC end address route to upper layer network issue, and the port of layer network issue downwards switches message, according to the information of backup, 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.
13. network systems as claimed in claim 12, is characterized in that:
Described primary LAC equipment, also, for the process carrying out active and standby switching with standby LAC equipment, issues standby LAC equipment by the user's downlink traffic receiving.
14. network systems as described in claim 12-13 any one, is characterized in that:
Described standby LAC equipment, also for carrying out after active and standby switching at primary LAC equipment and standby LAC equipment, utilizes handshake message and the LNS equipment of the handshake message generation local terminal LAC equipment of LNS equipment transmission to shake hands.
15. network systems as described in claim 12-13 any one, is characterized in that: the L2TP access information of described backup also comprises: the handshake message that on each L2TP Tunnel, primary LAC equipment sends;
Described standby LAC equipment, also for carrying out after active and standby switching at primary LAC equipment and standby LAC equipment, utilizes handshake message and the LNS equipment of the handshake message generation local terminal LAC equipment of described backup to shake hands.
16. network systems as claimed in claim 12, is characterized in that: comprise many described standby LAC equipment,
Described primary LAC equipment, for by the information back-up of different user or user group to different standby LAC equipment.
17. systems as described in claim 12 or 16, is characterized in that: comprise many described primary LAC equipment,
Described primary LAC equipment, for by the information back-up of the similar user on the primary LAC equipment of difference or user group to same standby LAC equipment.
18. systems as described in claim 12 or 16, is characterized in that: comprise many described primary LAC equipment,
Many described primary LAC equipment, for by user's information back-up 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 CN102098201A (en) 2011-06-15
CN102098201B true 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)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102742222B (en) * 2011-06-29 2015-05-13 华为技术有限公司 Method and apparatus for maintaining connectivity of transmission lines
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
CN103684831B (en) * 2012-09-19 2019-01-18 中兴通讯股份有限公司 The guard method of L2TP network, apparatus and system
CN103929319B (en) * 2013-01-11 2018-02-06 中兴通讯股份有限公司 L2TP Tunnel state keepalive method and device
CN103634209B (en) * 2013-09-13 2017-02-08 华为技术有限公司 Method and equipment for data transmission
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
JP6278800B2 (en) * 2014-04-03 2018-02-14 APRESIA Systems株式会社 Relay system and switch device
CN105704257A (en) * 2014-11-28 2016-06-22 中兴通讯股份有限公司 Media access control (MAC) address election method and device
CN105207874A (en) * 2015-09-02 2015-12-30 中国联合网络通信集团有限公司 L2TP network protection method and network system
CN105656747A (en) 2015-11-11 2016-06-08 乐卡汽车智能科技(北京)有限公司 Multi-link data transmission method and apparatus
CN107995111B (en) * 2016-10-26 2021-08-06 中兴通讯股份有限公司 Service forwarding method, link change notification method, convergence device and access 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
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

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 (2)

* Cited by examiner, † Cited by third party
Title
"VPN的隧道技术分析";王洪波;《电脑与信息技术》;20020331;第63-66页 *
王洪波."VPN的隧道技术分析".《电脑与信息技术》.2002,第63-66页.

Also Published As

Publication number Publication date
CN102098201A (en) 2011-06-15

Similar Documents

Publication Publication Date Title
CN102098201B (en) Method for realizing L2TP user access backup and network system
CN102480423B (en) A kind of guard method of L2TP network and system
US8300523B2 (en) Multi-chasis ethernet link aggregation
CN102025646B (en) Link switching method and device thereof
WO2012000234A1 (en) Method, apparatus and system for fast switching between links
CN101164307A (en) Method and gateway equipment for resuming service after switching status of main/standby gateway device
US9288140B2 (en) Multichassis failover and recovery for MLPPP wireless backhaul
WO2013107356A1 (en) Implementing dual-homed node protection
CN103534982A (en) Method, equipment and network virtualization system for protecting business reliability
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
CN107769984B (en) Low-cost active/standby hot switching system and method based on gateway
CN101257405A (en) Method for implementing double chain circuits among master-salve equipments
CN105119822A (en) Backup group management method and system based on VRRP (Virtual Router Redundancy Protocol)
CN101800774A (en) Environmental-friendly accessing method and environmental-friendly accessing network
CN101197733A (en) Automatic detection method and device for network connectivity
CN103873336A (en) Distributed resilient network interconnection-based service bearing method and device
CN102647304A (en) Synchronizing method of address resolution protocols and device
CN102710520A (en) Method and device for backing up lonworks network service (LNS)
AU2011229566B2 (en) Load sharing method and apparatus
CN102045245A (en) Method for protecting switching downlink flow rate during access to backup of user and backup forwarding system
CN102932183B (en) Double-up link failure processing method and device
CN102045185B (en) User information backup method and device
JP5491623B2 (en) Address refresh method and system
EP2671348B1 (en) System and method for providing communication connection resilience

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