CN1980224A - Method and system for recovering business after apparatus state switching-over based on main and spare netgate - Google Patents
Method and system for recovering business after apparatus state switching-over based on main and spare netgate Download PDFInfo
- Publication number
- CN1980224A CN1980224A CN 200510102085 CN200510102085A CN1980224A CN 1980224 A CN1980224 A CN 1980224A CN 200510102085 CN200510102085 CN 200510102085 CN 200510102085 A CN200510102085 A CN 200510102085A CN 1980224 A CN1980224 A CN 1980224A
- Authority
- CN
- China
- Prior art keywords
- gateway
- user equipment
- bgp
- master device
- module
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/56—Routing software
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/40—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明公开了一种基于主备网关设备切换后业务恢复的方法及系统,该发明的核心在于当用户设备与网关设备之间建立BGP协议连接时,网关设备使用VRRP虚地址作为BGP协议的源地址,在网关设备主备用状态切换之后,新的网关主用设备采用GR的方式与用户设备建立BGP协议连接,保证用户设备和新的网关主用设备平滑地建立协议连接。通过本发明,在用户设备与网关设备之间建立BGP协议邻居的场景下,当网关主备设备发生切换时,采用GR的方式,可以有效缩短网关状态切换造成的业务中断时间,大大地满足用户对网络可靠性的要求。
The present invention discloses a method and system for service restoration based on switching of active and standby gateway devices. The core of the invention is that when a BGP protocol connection is established between a user device and a gateway device, the gateway device uses a VRRP virtual address as the source of the BGP protocol. address, after the switchover of the active and standby state of the gateway device, the new gateway active device establishes a BGP protocol connection with the user equipment through GR to ensure that the user equipment and the new gateway active device establish a protocol connection smoothly. Through the present invention, in the scenario where BGP protocol neighbors are established between the user equipment and the gateway equipment, when the main and standby equipment of the gateway is switched, the GR method can effectively shorten the service interruption time caused by the switching of the gateway state, and greatly satisfy the needs of users. Requirements for network reliability.
Description
技术领域technical field
本发明涉及通信领域,尤其是涉及一种基于主备网关设备状态切换后业务恢复的方法及系统。The present invention relates to the field of communications, in particular to a method and system for service restoration based on state switching of active and standby gateway devices.
背景技术Background technique
随着网络技术的发展,用户对网络可靠性的要求日益提高,用户设备通常都要求接入双网关,网关之间运行虚拟冗余路由协议(Virtual RouterRedundancy Protocol;VRRP),以使得网关设备的倒换对用户设备是透明的。在某些场景下,用户设备是路由器等三层设备,它与允许VRRP协议的网关设备之间运行BGP协议,彼此之间交互路由。在这种应用场景下,如果主用设备故障导致网关设备状态发生切换,用户设备需要拆除与先前的网关主用设备之间建立的边界网关协议(Border Gateway Protocol;BGP)的邻居关系,再与新的网关主用设备建立BGP协议的邻居关系,这其中必然存在一个BGP协议生成的转发表项先删除再创建的一个过程,将导致较长时间(几秒、十几秒甚至几十秒)的业务中断,难以满足客户对网络可靠性的要求。With the development of network technology, users have increasingly higher requirements for network reliability. User equipment usually requires access to dual gateways, and the Virtual Router Redundancy Protocol (VRRP) runs between the gateways, so that the switchover It is transparent to user equipment. In some scenarios, the user equipment is a layer-3 device such as a router, which runs the BGP protocol with the gateway device that allows the VRRP protocol to exchange routes with each other. In this application scenario, if the failure of the active device causes the state of the gateway device to switch, the user equipment needs to remove the Border Gateway Protocol (BGP) neighbor relationship established with the previous active gateway device, and then communicate with the The new gateway master device establishes the neighbor relationship of the BGP protocol. There must be a process of deleting and recreating the forwarding table entries generated by the BGP protocol, which will take a long time (several seconds, ten seconds or even tens of seconds) business interruption, it is difficult to meet customer requirements for network reliability.
在现有网络系统中,网关设备不使用VRRP功能,用户设备与双网关设备之间使用网关设备的接口或者环回地址建立BGP协议连接,用户设备利用BGP协议自身的优选技术选择一个网关设备作为业务上行出口,当被选中的网关设备发生故障时,用户设备再利用BGP协议自身的收敛技术感知其故障,选择另外一个网关设备作为业务上行出口。在该现有技术中,当用户设备感知主用网关设备故障并且将指向主用网关设备的转发表项修改成指向备用网关期间,业务是中断的,当该转发项数量较多时,其业务中断时间依然比较长,难以满足用户对网络可靠性的要求。In the existing network system, the gateway device does not use the VRRP function, and the interface or loopback address of the gateway device is used to establish a BGP protocol connection between the user device and the dual gateway device. The user device uses the optimal technology of the BGP protocol itself to select a gateway device as the For the service uplink egress, when the selected gateway device fails, the user equipment detects the failure by using the convergence technology of the BGP protocol itself, and selects another gateway device as the service uplink egress. In this prior art, when the user equipment perceives the failure of the active gateway device and modifies the forwarding entry pointing to the active gateway device to point to the standby gateway, the service is interrupted, and when the number of forwarding entries is large, the service is interrupted The time is still relatively long, and it is difficult to meet the user's requirements for network reliability.
发明内容Contents of the invention
有鉴于此,本发明的主要目的在于提供一种基于主备网关设备状态切换后业务恢复的方法。当网关主备用设备发生切换的情况下,通过优雅重启(Graceful Restart;GR)的方式,达到在不引起业务中断的情况下建立新的网关主用设备与用户设备之间的BGP协议的连接。In view of this, the main purpose of the present invention is to provide a method for service restoration based on the state switching of the active and standby gateway devices. When the switchover occurs between the main gateway device and the standby device, a new BGP protocol connection between the gateway master device and the user equipment can be established without causing service interruption by means of a graceful restart (GR).
本发明提供一种基于主备网关设备状态切换后业务恢复的方法,其特征在于,包括如下步骤:The present invention provides a method for service recovery based on the state switching of active and standby gateway equipment, which is characterized in that it includes the following steps:
A.当用户设备与网关设备之间建立边界网关协议(BGP)连接时,网关设备使用虚拟冗余路由协议(VRRP)虚地址作为BGP协议的源地址;A. When a Border Gateway Protocol (BGP) connection is established between the user equipment and the gateway device, the gateway device uses a virtual redundant routing protocol (VRRP) virtual address as the source address of the BGP protocol;
B.在网关设备主备用状态切换之后,新的网关主用设备采用优雅重启(GR)的方式与用户设备建立边界网关协议(BGP)连接,保证用户设备和新的网关主用设备平滑地建立协议连接。B. After the switchover of the active and standby state of the gateway device, the new gateway active device establishes a Border Gateway Protocol (BGP) connection with the user equipment in a graceful restart (GR) manner to ensure smooth establishment of the user equipment and the new gateway active device protocol connection.
所述的步骤B具体包括,在BGP协议中增加GR技术来扩展BGP协议的功能,使用户设备和网关设备之间能实现GR技术。The step B specifically includes adding GR technology to the BGP protocol to expand the functions of the BGP protocol, so that the GR technology can be implemented between the user equipment and the gateway equipment.
所述的步骤B还包括,The step B also includes,
B1.当网关设备状态切换之后,新的网关主用设备中的VRRP模块将网关设备状态切换消息通告给网关设备的BGP模块;B1. After the gateway device status switch, the VRRP module in the new gateway master device notifies the gateway device status switch message to the BGP module of the gateway device;
B2.网关设备的BGP模块收到新的网关主用设备发来的网关设备状态切换消息后,其主动向用户设备的BGP模块发送BGP协议的连接请求报文;B2. After the BGP module of the gateway device receives the gateway device state switching message sent by the new gateway master device, it actively sends a connection request message of the BGP protocol to the BGP module of the user device;
B3.用户设备的BGP模块根据收到的BGP连接请求报文,按照GR技术来处理所述报文。B3. The BGP module of the user equipment processes the received BGP connection request message according to the GR technology.
所述的B2具体包括网关设备的BGP模块在邻居建立报文(OPEN)中放入重启(Restart)标记,来发起与用户设备的协议连接请求报文。The B2 specifically includes that the BGP module of the gateway device puts a restart (Restart) mark in the neighbor establishment message (OPEN) to initiate a protocol connection request message with the user equipment.
在步骤B之后,还具体包括:After step B, also specifically include:
C.在新的网关主用设备和先前网关主用设备之间建立IBGP协议连接,使新的网关主用设备和先前网关主用设备都有用户设备发布的路由;C. Establish an IBGP protocol connection between the new gateway master device and the previous gateway master device, so that both the new gateway master device and the previous gateway master device have routes published by the user equipment;
D.在网关设备状态切换之后,新的网关主用设备和先前网关主用设备不主动删除先前的网关主用设备从用户设备学习到的路由,新的网关主用设备使用所述的路由来指导从承载网回来的流量转发给用户设备,以保证返回用户设备的业务不中断。D. After the state of the gateway device is switched, the new gateway master device and the previous gateway master device do not actively delete the route learned by the previous gateway master device from the user equipment, and the new gateway master device uses the route to Guide the forwarding of the traffic coming back from the bearer network to the user equipment, so as to ensure that the service returning to the user equipment is not interrupted.
所述的步骤D具体包括,Described step D specifically comprises,
D1.新的网关主用设备与用户设备的GR过程中,新的网关主用设备会从用户设备重新学到先前网关主用设备指向用户设备的路由;D1. During the GR process between the new gateway master device and the user equipment, the new gateway master device will relearn from the user equipment the route from the previous gateway master device pointing to the user equipment;
D2.新的网关主用设备通过IBGP协议将所述的路由转发给先前网关主用设备,先前网关主用设备保留所收到的所述路由并根据所收到的所述路由删除其从用户设备直接学到的相对应的路由;D2. The new gateway master device forwards the route to the previous gateway master device through the IBGP protocol, and the previous gateway master device retains the received route and deletes its slave user according to the received route The corresponding route directly learned by the device;
D3.当新的网关主用设备与用户设备的GR结束之后,新的网关主用设备删除掉所有从先前网关主用设备学到的指向用户设备的路由,同时新的网关主用设备向先前网关主用设备通告GR结束,先前网关主用设备再删除掉所有直接从用户设备获得的路由。D3. After the GR between the new gateway master device and the user equipment ends, the new gateway master device deletes all the routes pointing to the user equipment learned from the previous gateway master device, and at the same time, the new gateway master device sends the previous The gateway active device notifies the end of GR, and the previous gateway active device deletes all the routes obtained directly from the user equipment.
在步骤D3中,所述的新的网关主用设备通过扩展VRRP协议报文向先前网关主用设备通告GR结束。In step D3, the new gateway active device notifies the previous gateway active device of the end of GR through an extended VRRP protocol message.
为了避免GR失效或GR恢复的时间变长,新的网关主用设备建立的连接的源端口号与先前的网关主用设备连接的端口号不同。In order to avoid GR failure or GR recovery time becoming longer, the source port number of the connection established by the new gateway master device is different from the port number of the previous gateway master device connection.
当网关主用设备与用户设备建立连接时,网关主用设备通过扩展VRRP协议向网关备用设备通告其与用户设备建立BGP邻居使用的源端口号。When the gateway active device establishes a connection with the user equipment, the gateway active device notifies the gateway backup device of the source port number used by it to establish a BGP neighbor relationship with the user equipment through the extended VRRP protocol.
本发明还提供一种基于主备网关设备状态切换后业务恢复的系统,包括网关设备、用户设备、BGP模块、VRRP模块、VRRP切换感知模块和切换通知模块,The present invention also provides a system based on the service recovery after the state switching of the active and standby gateway equipment, including the gateway equipment, the user equipment, the BGP module, the VRRP module, the VRRP switching perception module and the switching notification module,
所述的网关设备之间通过VRRP模块运行虚拟冗余路由协议;A virtual redundant routing protocol is run between the gateway devices through a VRRP module;
所述的网关设备和用户设备均配置优雅重启(GR)技术,并通过BGP模块建立边界网关协议连接;Both the gateway device and the user equipment are configured with a graceful restart (GR) technology, and a Border Gateway Protocol connection is established through a BGP module;
所述的切换通知模块用于通告网关设备状态切换报文给VRRP切换感知模块:The switching notification module is used to notify the gateway device state switching message to the VRRP switching perception module:
所述的VRRP切换感知模块根据所收到的网关设备状态切换报文向用户设备的BGP模块发起BGP协议连接请求报文;The VRRP switching perception module initiates a BGP protocol connection request message to the BGP module of the user equipment according to the received gateway device state switching message;
所述用户设备的BGP模块根据所收到的BGP协议连接请求报文进行优雅重启(GR)。The BGP module of the user equipment performs graceful restart (GR) according to the received BGP protocol connection request message.
所述的切换通知模块内嵌于VRRP模块内部。The switching notification module is embedded in the VRRP module.
所述的VRRP切换感知模块内嵌于网关设备的BGP模块内部。The VRRP switching perception module is embedded in the BGP module of the gateway device.
附图说明Description of drawings
图1为本发明的基本组网方案示意图;Fig. 1 is a schematic diagram of the basic networking scheme of the present invention;
图2为本发明的的方法流程图;Fig. 2 is the method flowchart of the present invention;
图3为本发明的一实施例的系统示意图。FIG. 3 is a schematic diagram of a system according to an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点表达得更加清楚明白,下面结合附图及具体实施例对本发明再作进一步详细的说明。In order to make the object, technical solution and advantages of the present invention more clearly, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
图1为本发明的基本组网方案示意图,参见图1,假设网关A为缺省的网关主用设备,网关B为备用设备,网关的信令在网关A——交换机A——交换机B——网关B之间的链路上承载。Fig. 1 is a schematic diagram of the basic networking scheme of the present invention, referring to Fig. 1, assuming that gateway A is the default gateway master device, gateway B is the backup device, and the signaling of the gateway is in gateway A—switch A—switch B— - carried on the link between gateway B.
网关主备用设备发生状态切换包括如下情形,A.当网关A设备发生故障时,网关B通过VRRP信令或者其他方式检测到网关A故障,切换成网关主用设备;B.网关A与网关B之间的优先级发生翻转,网关B配置成抢占模式,网关B主动切换成网关主用设备;C.修改网关A的配置,使其离开网关备份组,网关B收到相应的信令报文之后,主动切换成网关主用设备;The state switchover of gateway master and backup devices includes the following situations, A. When gateway A fails, gateway B detects the failure of gateway A through VRRP signaling or other methods, and switches to the gateway master device; B. Gateway A and gateway B The priority between them is reversed, gateway B is configured in the preemption mode, and gateway B actively switches to the gateway active device; C. Modify the configuration of gateway A so that it leaves the gateway backup group, and gateway B receives the corresponding signaling message After that, actively switch to the main device of the gateway;
当网关主备用状态发生切换后,本发明提供了一种基于主备网关设备状态切换后业务恢复的方法,本发明的核心是在当网关主备用设备发生切换的情况下,通过GR的方式,达到在不引起业务中断的情况下建立新的网关主用设备与用户设备之间的BGP协议的连接。When the main and standby state of the gateway is switched, the present invention provides a method for business recovery based on the state switching of the active and standby gateway equipment. To achieve the establishment of a new BGP connection between the main gateway device and the user equipment without causing service interruption.
本发明的具体技术方案如下,包括:网关设备、用户设备、BGP模块和VRRP模块。所述的网关设备之间运行虚拟冗余路由协议;所述的网关设备和用户设备均配置优雅重启(GR)技术;所述的网关设备使用VRRP虚地址作为BGP协议连接的源地址;所述的用户设备使用VRRP虚地址作为BGP协议连接的目的地址;The specific technical solution of the present invention is as follows, including: gateway equipment, user equipment, BGP module and VRRP module. The virtual redundant routing protocol is run between the gateway devices; the gateway device and the user equipment are configured with graceful restart (GR) technology; the gateway device uses a VRRP virtual address as the source address of the BGP protocol connection; the User equipment using VRRP virtual address as the destination address of the BGP protocol connection;
在网关设备上(包括主用设备和备用设备)配置VRRP协议与BGP协议的绑定关系,这些协议与指定邻居(用户设备)之间的报文交互受其绑定的网关设备状态的影响,使得只有网关主用设备能正常接收、发送与用户设备之间的协议报文,而网关备用设备则既不接收也不发送这样的报文,这样,网关主用设备就可以与用户设备建立正常的协议邻居,而网关备用设备则无法建立这种邻居关系。从用户设备的角度看,它并不关心它的协议邻居是网关A还是网关B,其BGP协议的邻居地址是网关地址(VRRP虚地址),相应地,这些协议生成的转发表项的下一跳地址也是网关地址(VRRP虚地址),由这些转发项指导转发的报文的目的MAC地址是VRRP虚地址对应的MAC地址,根据VRRP协议的原理,只能由网关主用设备接收并进行三层转发;Configure the binding relationship between VRRP protocol and BGP protocol on the gateway device (including the active device and the backup device). Only the active gateway device can normally receive and send protocol messages with the user equipment, while the backup gateway device neither receives nor sends such messages. In this way, the active gateway device can establish a normal protocol with the user equipment. protocol neighbors, but gateway backup devices cannot establish such neighbor relationships. From the point of view of the user equipment, it does not care whether its protocol neighbor is gateway A or gateway B. The neighbor address of its BGP protocol is the gateway address (VRRP virtual address). Correspondingly, the next The hop address is also the address of the gateway (VRRP virtual address). The destination MAC address of the message forwarded by these forwarding items is the MAC address corresponding to the VRRP virtual address. According to the principle of the VRRP protocol, it can only be received by the main gateway device and performed three layer forwarding;
当由于前面描述的种种原因,导致网关设备状态发生切换,根据本发明提供的方法,如图2所示,When the state of the gateway device is switched due to various reasons described above, according to the method provided by the present invention, as shown in Figure 2,
步骤201、网关设备状态发生切换;Step 201, the state of the gateway device is switched;
例如,网关A为先前网关主用设备,当网关设备状态发生切换后,网关B升级为新的网关主用设备。For example, gateway A was previously the active gateway device, and when the status of the gateway device is switched, gateway B is upgraded to be the new active gateway device.
步骤202、切换通知模块网关设备发生状态切换;Step 202, switching notification module gateway device state switching occurs;
当网关设备状态发生切换后,切换通知模块将网关设备状态切换消息通告给VRRP切换感知模块;When the gateway device state is switched, the switch notification module notifies the gateway device state switch message to the VRRP switch perception module;
如图3所示,切换通知模块可内嵌在VRRP模块内部,VRRP切换感知模块可内嵌于网关设备的BGP模块内部。As shown in FIG. 3 , the switching notification module can be embedded in the VRRP module, and the VRRP switching awareness module can be embedded in the BGP module of the gateway device.
步骤203、VRRP切换感知模块向用户设备的BGP模块发起BGP协议连接请求报文;Step 203, the VRRP switching perception module initiates a BGP protocol connection request message to the BGP module of the user equipment;
按照我们前面的描述,网关B设备配置了BGP的GR能力,网关B的BGP模块将该网关设备状态切换消息理解成一个GR事件,主动发起与用户设备的协议连接;例如BGP模块在OPEN(邻居建立)报文中放入Restart(重起)标记。According to our previous description, the gateway B device is configured with the BGP GR capability, and the BGP module of gateway B interprets the gateway device state switching message as a GR event, and actively initiates a protocol connection with the user equipment; Build) put Restart (restart) mark in the message.
步骤204、用户设备的BGP模块根据所收到的连接请求报文进行优雅重启;Step 204, the BGP module of the user equipment performs graceful restart according to the received connection request message;
由于用户设备也配置了BGP的GR能力,而它从报文中又区分不出与之建立连接的是网关A还是网关B,因此,当网关设备的BGP模块发起新的协议连接时,触发了用户设备的GR能力,这样,用户设备就可以和网关B设备平滑的建立协议邻居,而且,在BGP协议建立过程中,不会删除已经建立的转发项,保证用户设备上行的业务不会中断;Since the user equipment is also configured with the BGP GR capability, and it cannot distinguish from the message whether it is gateway A or gateway B to establish a connection with it, when the BGP module of the gateway device initiates a new protocol connection, a trigger The GR capability of the user equipment, so that the user equipment can smoothly establish a protocol neighbor with the gateway B device, and, during the establishment of the BGP protocol, the established forwarding items will not be deleted, ensuring that the uplink service of the user equipment will not be interrupted;
为了解决从承载网返回的流量长时间中断的问题,本发明的方法是在网关主用设备和网关备用设备之间建立IBGP邻居,例如,网关主用设备为网关A,网关备用设备为网关B,这样,网关A就会向网关B转发从用户设备学习到的路由,其下一跳地址设置为不修改,依然指向用户设备,这样,网关B上就同样有用户设备发布的路由。当网关设备状态发生切换之后,网关A不立即删除与用户设备建立的BGP邻居学到的路由,网关B也不立即删除从网关A学到的指向用户设备的路由,依然使用这些路由指导从承载网回来的流量转发给用户设备,以保证返回用户设备的业务不中断;In order to solve the problem of long-term interruption of the flow returned from the bearer network, the method of the present invention is to establish an IBGP neighbor between the gateway active device and the gateway backup device, for example, the gateway active device is gateway A, and the gateway backup device is gateway B In this way, gateway A will forward the route learned from the user equipment to gateway B, and its next-hop address is set to not be modified, and it still points to the user equipment. In this way, gateway B also has the route published by the user equipment. When the state of the gateway device switches, gateway A does not immediately delete the routes learned from the BGP neighbor established with the user equipment, and gateway B does not immediately delete the routes to the user equipment learned from gateway A. The traffic returned from the network is forwarded to the user equipment to ensure that the business returning to the user equipment is not interrupted;
在网关B与用户设备的GR过程中,网关B会重新学到这些指向用户设备的路由,网关B优选从用户设备学到的路由并通过IBGP邻居将其转发给网关A,网关A优选网关B发来的路由,并删除从用户设备直接学到的与网关B发来的相应的路由;在网关B与用户设备的GR结束之后,网关B删除掉所有从网关A学到的指向用户设备的路由,同时通过扩展VRRP协议报文或IBGP等其它协议报文,知会网关A GR结束,网关A再删除掉所有直接从用户设备获得的路由,到这个时候为止,网关B上所有指向用户设备的路由都是从与用户设备建立的BGP邻居直接获得的,而网关A上所有指向用户设备的路由都是从与网关B建立的IBGP邻居学习到的。在这个过程中,网关A和网关B都没有主动删除指向用户设备的转发项,而是采用更新与删除相结合的技术,有效的保证了返回用户设备的流量不因为网关设备状态的切换而中断。当用户对承载网返回的流量中断时间不敏感,或者采用在网关A和网关B上部署静态路由或者IBGP协议等其他技术指导从承载网返回的流量的转发的时候,在网关A和网关B之间部署IBGP协议不是必须的。During the GR process between gateway B and the user equipment, gateway B will relearn the routes pointing to the user equipment. Gateway B prefers the routes learned from the user equipment and forwards them to gateway A through the IBGP neighbor. Gateway A prefers gateway B. and delete the routes directly learned from the user equipment and the corresponding routes sent by gateway B; At the same time, by extending the VRRP protocol message or other protocol messages such as IBGP, the gateway A is notified that the GR is over, and the gateway A deletes all the routes directly obtained from the user equipment. All the routes on gateway A are directly obtained from the BGP neighbor established with the user equipment, and all the routes directed to the user equipment on gateway A are learned from the IBGP neighbor established with gateway B. In this process, neither gateway A nor gateway B actively deletes the forwarding items directed to the user equipment, but uses a combination of update and deletion technology to effectively ensure that the traffic returning to the user equipment will not be interrupted due to the switching of the gateway equipment status . When the user is not sensitive to the interruption time of the traffic returned by the bearer network, or uses other technologies such as deploying static routes or IBGP on gateway A and gateway B to guide the forwarding of traffic returned from the bearer network, between gateway A and gateway B It is not necessary to deploy the IBGP protocol among them.
此外,从GR的角度看,一般要求新建立的连接的源端口号与先前连接的端口号不同,否则TCP可能会忽略或者错误处理新的连接请求,导致GR失效或者GR恢复时间变长。为了解决这个问题,网关主用设备可通过扩展VRRP协议或IBGP等其它协议向网关备用设备通告其与用户设备建立的BGP邻居使用的源端口号,这样,网关B成为新的网关主用设备之后,与用户设备建立BGP邻居时,有目的的不使用这个端口号作为源端口号。In addition, from the perspective of GR, it is generally required that the source port number of the newly established connection is different from the port number of the previous connection, otherwise TCP may ignore or mishandle the new connection request, resulting in GR failure or GR recovery time. In order to solve this problem, the active gateway device can notify the standby gateway device of the source port number used by the BGP neighbor established with the user equipment through the extended VRRP protocol or other protocols such as IBGP. In this way, after gateway B becomes the new active gateway device , when establishing a BGP neighbor relationship with the user equipment, this port number is purposely not used as the source port number.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉该技术的人在本发明所揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any person familiar with the technology can easily think of changes or replacements within the technical scope disclosed in the present invention. , should be covered within the protection scope of the present invention.
Claims (12)
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200510102085 CN1980224A (en) | 2005-12-01 | 2005-12-01 | Method and system for recovering business after apparatus state switching-over based on main and spare netgate |
| CN200680013610.9A CN100527716C (en) | 2005-12-01 | 2006-08-16 | Method and gateway equipment for resuming service after switching status of main/standby gateway device |
| PCT/CN2006/002080 WO2007062559A1 (en) | 2005-12-01 | 2006-08-16 | A method and gateway device for service recovery when master and slaving gateway devices switched |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200510102085 CN1980224A (en) | 2005-12-01 | 2005-12-01 | Method and system for recovering business after apparatus state switching-over based on main and spare netgate |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN1980224A true CN1980224A (en) | 2007-06-13 |
Family
ID=38091859
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 200510102085 Pending CN1980224A (en) | 2005-12-01 | 2005-12-01 | Method and system for recovering business after apparatus state switching-over based on main and spare netgate |
| CN200680013610.9A Expired - Fee Related CN100527716C (en) | 2005-12-01 | 2006-08-16 | Method and gateway equipment for resuming service after switching status of main/standby gateway device |
Family Applications After (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN200680013610.9A Expired - Fee Related CN100527716C (en) | 2005-12-01 | 2006-08-16 | Method and gateway equipment for resuming service after switching status of main/standby gateway device |
Country Status (2)
| Country | Link |
|---|---|
| CN (2) | CN1980224A (en) |
| WO (1) | WO2007062559A1 (en) |
Cited By (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2009105983A1 (en) * | 2008-02-27 | 2009-09-03 | 华为技术有限公司 | Method and system for neighbor migration in border gateway protocol distributed system |
| CN100558057C (en) * | 2007-07-20 | 2009-11-04 | 华为技术有限公司 | A processing method and device for a bidirectional forwarding detection session |
| CN101094049B (en) * | 2007-07-18 | 2010-09-01 | 杭州华三通信技术有限公司 | Smoothing restarting method and neighbor devices |
| WO2010099749A1 (en) * | 2009-03-04 | 2010-09-10 | 华为技术有限公司 | Method and apparatus for transferring virtual routing and forwarding (vrf), and vrf distributed communication system |
| CN101340369B (en) * | 2008-08-14 | 2011-01-19 | 杭州华三通信技术有限公司 | Method and Router for Realizing Virtual Connection Supporting Graceful Restart |
| CN101616069B (en) * | 2008-06-23 | 2012-04-04 | 华为技术有限公司 | Information restoration method based on graceful restart and router |
| CN101695069B (en) * | 2009-10-22 | 2012-04-04 | 南京科远自动化集团股份有限公司 | Enetgw communication gateway |
| CN102668487A (en) * | 2009-12-25 | 2012-09-12 | 中兴通讯股份有限公司 | Method and system for implementing call by media gateway |
| CN102801542A (en) * | 2011-05-23 | 2012-11-28 | 镇江金钛软件有限公司 | Communication-gateway-based communication redundancy fault-tolerant system |
| CN103607293A (en) * | 2013-10-30 | 2014-02-26 | 杭州华三通信技术有限公司 | Flow protection method and equipment thereof |
| CN105704747A (en) * | 2014-11-25 | 2016-06-22 | 中兴通讯股份有限公司 | Method and device for base station to transmit control/service data reliably |
| CN105813111A (en) * | 2014-12-31 | 2016-07-27 | 中兴通讯股份有限公司 | Service flow transmission path optimizing method and device and MME |
| CN106911568A (en) * | 2017-02-24 | 2017-06-30 | 新华三技术有限公司 | BGP GR implementation methods and device |
| CN109412943A (en) * | 2017-08-18 | 2019-03-01 | 中兴通讯股份有限公司 | A kind of SDN controller cluster flow processing method, device, equipment and storage medium |
| CN112615914A (en) * | 2020-12-10 | 2021-04-06 | 中通服咨询设计研究院有限公司 | Method for transmitting multicast hot standby table entries by using border gateway protocol |
| CN112953832A (en) * | 2021-02-20 | 2021-06-11 | 中国联合网络通信集团有限公司 | Method and device for processing MAC address table items |
| CN116633786A (en) * | 2023-05-12 | 2023-08-22 | 紫光云技术有限公司 | Protocol module upgrading method |
Families Citing this family (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102232277B (en) * | 2010-04-16 | 2013-12-04 | 华为技术有限公司 | Method, system and corresponding device for implementing border gateway protocol - advertised discovery (BGP-AD) |
| CN101883116B (en) * | 2010-06-30 | 2016-01-20 | 中兴通讯股份有限公司 | Call processing method and media gateway |
| US8879392B2 (en) | 2012-04-26 | 2014-11-04 | Hewlett-Packard Development Company, L.P. | BGP security update intercepts |
| CN106656791A (en) * | 2015-10-30 | 2017-05-10 | 华为技术有限公司 | Device state switching method, device and system |
| CN106603272A (en) * | 2016-11-17 | 2017-04-26 | 上海斐讯数据通信技术有限公司 | Controller protection method and system based on smooth restart |
| CN108430039B (en) * | 2017-01-20 | 2021-12-14 | 迈普通信技术股份有限公司 | Multicast optimization method, multicast equipment and system |
| CN107769984B (en) * | 2017-12-04 | 2020-08-28 | 阳光凯讯(北京)科技有限公司 | A low-cost active-standby hot-switching system and method based on gateway |
| CN109067546B (en) * | 2018-09-19 | 2019-06-21 | 杭州数梦工场科技有限公司 | A method, apparatus, device and computer storage medium for managing security certificates |
| CN112073319B (en) * | 2019-06-10 | 2022-04-29 | 烽火通信科技股份有限公司 | Path switching method and system |
| CN112463204B (en) * | 2020-11-11 | 2024-09-27 | 浙江爱充网络科技有限公司 | Pile service program gray level release method without perception of direct-connection charging pile |
| CN116112348B (en) * | 2023-04-12 | 2023-06-27 | 广州河东科技有限公司 | Working mode switching method of intelligent gateway |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1208929C (en) * | 2002-06-23 | 2005-06-29 | 华为技术有限公司 | Method for realfizing router interface backup utilizing virtual router redundancy procotol |
| US7286468B2 (en) * | 2002-11-12 | 2007-10-23 | Cisco Technology, Inc. | Routing system and method for synchronizing a routing system with peers after failover |
| CN100334866C (en) * | 2003-03-21 | 2007-08-29 | 华为技术有限公司 | Method for realizing dynamic gateway load sharing and backup |
-
2005
- 2005-12-01 CN CN 200510102085 patent/CN1980224A/en active Pending
-
2006
- 2006-08-16 WO PCT/CN2006/002080 patent/WO2007062559A1/en not_active Ceased
- 2006-08-16 CN CN200680013610.9A patent/CN100527716C/en not_active Expired - Fee Related
Cited By (23)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101094049B (en) * | 2007-07-18 | 2010-09-01 | 杭州华三通信技术有限公司 | Smoothing restarting method and neighbor devices |
| CN100558057C (en) * | 2007-07-20 | 2009-11-04 | 华为技术有限公司 | A processing method and device for a bidirectional forwarding detection session |
| CN101521616B (en) * | 2008-02-27 | 2012-07-04 | 华为技术有限公司 | Method and system for neighbor migration in Border Gateway Protocol (BGP) distributed system |
| WO2009105983A1 (en) * | 2008-02-27 | 2009-09-03 | 华为技术有限公司 | Method and system for neighbor migration in border gateway protocol distributed system |
| CN101616069B (en) * | 2008-06-23 | 2012-04-04 | 华为技术有限公司 | Information restoration method based on graceful restart and router |
| CN101340369B (en) * | 2008-08-14 | 2011-01-19 | 杭州华三通信技术有限公司 | Method and Router for Realizing Virtual Connection Supporting Graceful Restart |
| WO2010099749A1 (en) * | 2009-03-04 | 2010-09-10 | 华为技术有限公司 | Method and apparatus for transferring virtual routing and forwarding (vrf), and vrf distributed communication system |
| CN101695069B (en) * | 2009-10-22 | 2012-04-04 | 南京科远自动化集团股份有限公司 | Enetgw communication gateway |
| US8837451B2 (en) | 2009-12-25 | 2014-09-16 | Zte Corporation | Method and system for implementing a call by a media gateway |
| CN102668487A (en) * | 2009-12-25 | 2012-09-12 | 中兴通讯股份有限公司 | Method and system for implementing call by media gateway |
| CN102668487B (en) * | 2009-12-25 | 2014-09-10 | 中兴通讯股份有限公司 | Method and system for implementing call by media gateway |
| CN102801542A (en) * | 2011-05-23 | 2012-11-28 | 镇江金钛软件有限公司 | Communication-gateway-based communication redundancy fault-tolerant system |
| CN103607293A (en) * | 2013-10-30 | 2014-02-26 | 杭州华三通信技术有限公司 | Flow protection method and equipment thereof |
| CN105704747A (en) * | 2014-11-25 | 2016-06-22 | 中兴通讯股份有限公司 | Method and device for base station to transmit control/service data reliably |
| CN105813111A (en) * | 2014-12-31 | 2016-07-27 | 中兴通讯股份有限公司 | Service flow transmission path optimizing method and device and MME |
| CN106911568A (en) * | 2017-02-24 | 2017-06-30 | 新华三技术有限公司 | BGP GR implementation methods and device |
| CN106911568B (en) * | 2017-02-24 | 2019-11-12 | 新华三技术有限公司 | BGP GR implementation method and device |
| CN109412943A (en) * | 2017-08-18 | 2019-03-01 | 中兴通讯股份有限公司 | A kind of SDN controller cluster flow processing method, device, equipment and storage medium |
| CN109412943B (en) * | 2017-08-18 | 2022-04-05 | 中兴通讯股份有限公司 | SDN controller cluster flow processing method, device, equipment and storage medium |
| CN112615914A (en) * | 2020-12-10 | 2021-04-06 | 中通服咨询设计研究院有限公司 | Method for transmitting multicast hot standby table entries by using border gateway protocol |
| CN112615914B (en) * | 2020-12-10 | 2022-07-05 | 中国电信股份有限公司江苏分公司 | Method for transmitting multicast hot standby table entries by using border gateway protocol |
| CN112953832A (en) * | 2021-02-20 | 2021-06-11 | 中国联合网络通信集团有限公司 | Method and device for processing MAC address table items |
| CN116633786A (en) * | 2023-05-12 | 2023-08-22 | 紫光云技术有限公司 | Protocol module upgrading method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN100527716C (en) | 2009-08-12 |
| WO2007062559A1 (en) | 2007-06-07 |
| CN101164307A (en) | 2008-04-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN1980224A (en) | Method and system for recovering business after apparatus state switching-over based on main and spare netgate | |
| CN102439903B (en) | Method, device and system for realizing disaster recovery and backup | |
| US7155632B2 (en) | Method and system for implementing IS-IS protocol redundancy | |
| CN102035676B (en) | ARP (Address Resolution Protocol) interaction based method and equipment for detecting and recovering link fault | |
| CN100568854C (en) | A method and interface board for maintaining neighbor relationship | |
| US20020171886A1 (en) | Automatic control plane recovery for agile optical networks | |
| CN101340380B (en) | Method and apparatus for uninterrupted forwarding of bi-directional forwarding detection in master-slave switch implementation | |
| WO2007115493A1 (en) | A method, device and system for achieving the switch in the dual-homed network based on the vpls | |
| CN101577719B (en) | A kind of double hot standby method, device and system | |
| CN101355515B (en) | Method for restarting link aggregation control protocol with elegance | |
| WO2012000234A1 (en) | Method, apparatus and system for fast switching between links | |
| JP2013519268A (en) | Data transfer method, data transfer apparatus, and data transfer system | |
| CN102291311B (en) | Ethernet interface guard method and network equipment | |
| CN108668308A (en) | A kind of LTE PTN transmission network and its static routing protection method | |
| CN102651711A (en) | Method, device and system for establishing and using floating segments | |
| WO2014063571A1 (en) | Distributed link aggregation group service handover method and device | |
| CN101299722B (en) | Improved quick rerouting method and network equipment | |
| CN108023800A (en) | A kind of guard method of LTE bearer networks and device | |
| CN103348722B (en) | Systems and methods for providing communication connection resiliency | |
| CN100574486C (en) | System and method for dual-homing networking in communication network | |
| CN101645768B (en) | Router and main/standby switch method thereof | |
| WO2014101125A1 (en) | Aggregation group link negotiation method, device and system | |
| CN101453744A (en) | Service control method and device | |
| CN101123563B (en) | A method, device and network for stable restart under multi-hop pseudowire | |
| US20080212610A1 (en) | Communication techniques and generic layer 3 automatic switching protection |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
| WD01 | Invention patent application deemed withdrawn after publication |