WO2012094884A1 - 提高虚拟专用网中业务可靠性的方法及系统、接入装置 - Google Patents

提高虚拟专用网中业务可靠性的方法及系统、接入装置 Download PDF

Info

Publication number
WO2012094884A1
WO2012094884A1 PCT/CN2011/077753 CN2011077753W WO2012094884A1 WO 2012094884 A1 WO2012094884 A1 WO 2012094884A1 CN 2011077753 W CN2011077753 W CN 2011077753W WO 2012094884 A1 WO2012094884 A1 WO 2012094884A1
Authority
WO
WIPO (PCT)
Prior art keywords
bng
vpn
user
vpn user
routing information
Prior art date
Application number
PCT/CN2011/077753
Other languages
English (en)
French (fr)
Inventor
范亮
冷通
陈勇
袁博
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012094884A1 publication Critical patent/WO2012094884A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]

Definitions

  • the present invention relates to a redundancy technology of a Broadband Network Gateway (BNG) in a Virtual Private Network (VPN), and particularly relates to improving reliability of a virtual private network (VPN).
  • BNG Broadband Network Gateway
  • VPN Virtual Private Network
  • DDN Digital Data Network
  • frame relay Such a communication scheme will inevitably lead to high network communication/ maintenance fees.
  • Virtual private network refers to relying on Internet Service Provider (ISP) and other network service providers.
  • ISP Internet Service Provider
  • NSP Network Service Provider
  • IP Internet Protocol
  • IP Internet Protocol
  • a private network means that users can develop a network that best suits their needs.
  • the nearest carrier gateway device is generally dialed, and enters the enterprise's virtual private network.
  • the gateway device is collectively referred to as a Broadband Network Gateway (BNG), including Broadband Access Server (B AS, Broadband Access Server), Broadband Remote Access Server (BRAS), Broadband Network Access Server (BN AS, Broadband Network Access Server), Layer 2 Tunneling Protocol Network Server (LNS, L2TP Network Server), Service Router (SR, Service Router), LTE Service Gateway (SGW, Serving Gateway) and other devices.
  • BNG Broadband Network Gateway
  • B AS Broadband Access Server
  • BRAS Broadband Remote Access Server
  • BN AS Broadband Network Access Server
  • LNS Layer 2 Tunneling Protocol Network Server
  • SR Service Router
  • SGW Serving Gateway
  • the VPN service is one of the operators with high profit margins. It is a business that needs to focus on ensuring high reliability.
  • various methods for network fault protection in a three-layer VPN network such as VPN Fast Reroute (FRR), but in the scenario where a VPN user accesses a BNG through a Layer 2 network, The IETF does not have a corresponding standard.
  • FRR VPN Fast Reroute
  • a more feasible method in the prior art is to set up two BNGs and establish an information synchronization channel between the two BNGs to synchronize VPN user information, including user routing, quality of service (QoS) parameters, and access control lists ( ACL, Access Control List, policy routing, etc., and operate active and standby negotiation protocols (such as Virtual Router Redundancy Protocol (VRRP)) and fast detection mechanisms (such as bidirectional path detection) on two BNGs.
  • active and standby negotiation protocols such as Virtual Router Redundancy Protocol (VRRP)
  • VRRP Virtual Router Redundancy Protocol
  • BFD Bidirectional Forwarding Detection
  • the backup BNG needs to refresh the user route or user address pool route to the upper-layer network after the switch is in the active state. Before the route refresh takes effect, the traffic sent by the upper-layer network to the user is still sent to the original primary BNG, causing short-term traffic interruption. When the primary BNG or its uplink fails, the problem of traffic interruption cannot be avoided. When the primary BNG downlink failure occurs, the current optimization scheme is that the primary BNG will forward the traffic sent from the upper network to the user.
  • the backup BNG is sent to the user through the standby BNG, and the BNG can advertise the user route or the user address pool route to the network side. That is, the network side to the user traffic after the primary BNG failure occurs can be changed directly after the route is refreshed.
  • the path of the user traffic forwarding between the active and standby BNGs may use a tunnel of the BNG through the upper layer network (such as a Generic Routing Encapsulation (GRE) tunnel) or a direct physical link between the BNGs.
  • GRE Generic Routing Encapsulation
  • the current method is to configure static routes for each VPN, that is, add a tunnel route or straight in each VPN routing table.
  • the route is used as the default route.
  • the primary BNG downlink fault causes the user to be unreachable
  • the user route is forwarded to the standby BNG through the default route.
  • the configuration and maintenance are complicated and require a large number of maintenance personnel.
  • Each VPN must be configured separately, and there is a risk of mismatching.
  • the main object of the present invention is to provide a method and system for improving service reliability in a virtual private network, and an access device in a virtual private network, which can improve service reliability in a VPN and ensure user connection. The success rate of entering the network.
  • a method for improving service reliability in a virtual private network where an active BNG and a backup BNG are set in a VPN, and the user accesses the VPN through the access network and the primary BNG; the method includes: the primary BNG and the Backing up VPN user information between backup BNGs;
  • the standby BNG generates routing information of the VPN user according to the VPN user information, and sends the routing information to the primary BNG;
  • the primary BNG After the primary BNG confirms the downlink fault of the VPN user, when receiving the downlink traffic of the VPN user, the primary BNG sends the downlink traffic to the standby BNG according to the VPN user routing information advertised by the standby BNG.
  • the standby BNG sends downstream traffic.
  • the backup VPN user information between the primary BNG and the standby BNG is:
  • the current online VPN user information is sent to the standby BNG.
  • the priority of the received VPN user routing information advertised by the standby BNG is set to be higher than the priority of the local user routing information.
  • the method further includes:
  • the backup BNG forwards the downlink traffic of the VPN user of the primary BNG, the VPN user routing information or the VPN user address pool routing information is advertised to the VPN.
  • the method further includes:
  • the VPN After receiving the VPN user routing information or the VPN user address pool routing information advertised by the standby BNG, the VPN sends the downlink traffic to the standby BNG, and directly sends the downlink traffic of the VPN user through the standby BNG.
  • the standby BNG issues VPN user routing information or VPN user address pool routing information to the primary BNG through the multi-protocol extended border gateway protocol MG-BGP.
  • the standby BNG generates routing information of the VPN user according to the VPN user information, specifically:
  • the standby BNG generates a forwarding route list whose destination address is the address of the VPN user according to the address information in the received VPN user information.
  • the standby BNG establishes a link detection mechanism with the active BNG through the direct link between the lower layer network and the VPN network, or the lower layer network and the backup BNG and the active BNG, to distinguish the main BNG downlink fault,
  • the main BNG machine fails or the primary device uplink fails.
  • a system for improving the reliability of a service in a virtual private network including a VPN, a BNG, and an access network, wherein the user accesses the VPN through the access network and the BNG; and the system includes:
  • a setting unit configured to set an active BNG and a standby BNG; wherein, the user accesses the VPN through the access network and the primary BNG;
  • a backup unit configured to back up VPN user information between the primary BNG and the standby BNG;
  • the standby BNG is configured to generate routing information of the VPN user according to the VPN user information, and send the routing information to the primary BNG.
  • the primary BNG is configured to send the downlink traffic to the standby BNG according to the VPN user routing information advertised by the standby BNG, after receiving the downlink traffic of the VPN user, and receiving the downlink traffic of the VPN user.
  • the standby BNG sends downlink traffic.
  • the active BNG is further configured to send the currently online VPN user information to the standby BNG after real-time, or periodically, or after determining its own downlink failure.
  • the primary BNG is further configured to set a priority of the received VPN user routing information advertised by the standby BNG after confirming the downlink fault of the user, which is higher than the priority of the local user routing information. level.
  • the standby BNG is further configured to: when forwarding the downlink traffic of the VPN user of the primary BNG, issue VPN user routing information or VPN user address pool routing information to the VPN.
  • the VPN is further configured to: after receiving the VPN user routing information or the VPN user address pool routing information advertised by the standby BNG, directly send the downlink traffic of the VPN user through the standby BNG.
  • An access device in a virtual private network comprising at least a first access device and a second access device; and performing backup of VPN user information between the first access device and the second access device;
  • a first access device configured to generate routing information of the VPN user according to the VPN user information, and send the routing information to the second access device;
  • the second access device is configured to: after confirming the downlink traffic of the VPN user, when receiving the downlink traffic of the VPN user, according to the VPN user routing information advertised by the first access device, The downlink traffic is sent to the first access device, and the downlink traffic is sent by the first access device.
  • the present invention uses the standby BNG to issue a user VPN route to the primary BNG, so that when the downlink of the primary BNG fails, the downlink traffic of the user is sent to the standby BNG via the primary BNG, and finally forwarded to the VPN user. Therefore, the service continuity of the VPN user is realized, and the routing information of the VPN user in the VPN is not changed, and the route flapping is avoided.
  • the standby BNG set in the present invention is opaque to the user and improves the user experience.
  • FIG. 1 is a schematic structural diagram of a system for improving service reliability in a virtual private network according to the present invention
  • FIG. 2 is a flow chart of a method for improving service reliability in a virtual private network according to Embodiment 1 of the present invention
  • FIG. 3 is a flow chart of a method for improving service reliability in a virtual private network according to Embodiment 2 of the present invention. detailed description
  • the basic idea of the embodiment of the present invention is to use the standby BNG to advertise the user VPN route to the primary BNG, so that when the downlink of the primary BNG fails, the downlink traffic of the user is sent to the standby BNG via the primary BNG. And finally forwarded to the VPN user, thus achieving the business continuity of the VPN user.
  • FIG. 1 is a schematic structural diagram of a system for improving service reliability in a virtual private network according to the present invention.
  • the system for improving service reliability in a virtual private network includes a VPN, a BNG, and an access network, where
  • the primary BNG and the standby BNG are set, the user accesses the VPN through the access network and the primary BNG, and the primary BNG and the standby BNG pass through Wire or wireless link connection (to ensure data traffic between the primary BNG and the backup BNG, preferably using a wired line connection);
  • the access network includes a network such as the Internet, as long as the connection with the BNG can be achieved.
  • system for improving service reliability in the virtual private network further includes a processing unit such as a setting unit and a backup unit, and the units are distributed in related network elements in the system, and the connection positions of the processing units are not limited, as long as It is sufficient to implement the related functions set by the present invention.
  • the backup BNG needs to advertise the VPN user routing information stored in the VPN to the VPN, and the VPN directly transmits the downlink to the user through the standby BNG. Traffic is sent to each user. At this point, the standby BNG fully implements the function of the primary BNG.
  • the setting unit is configured to set the primary BNG and the standby BNG.
  • the user accesses the VPN through the access network and the primary BNG.
  • the setting unit in the present invention can be configured by using the corresponding primary and standby devices.
  • the configuration of the BNG identity is implemented by the relevant protocol.
  • the backup unit is configured to backup the VPN user information between the primary BNG and the standby BNG.
  • the backup unit in the present invention can send the user information that the primary BNG accesses the VPN to the standby BNG.
  • the standby BNG and the primary BNG perform the following functions.
  • the standby BNG is configured to generate routing information of the VPN user according to the VPN user information, and send the routing information to the primary BNG.
  • the primary BNG is configured to send the downlink traffic to the standby BNG according to the VPN user routing information advertised by the standby BNG, after receiving the downlink traffic of the VPN user, and receiving the downlink traffic of the VPN user.
  • the standby BNG sends downlink traffic.
  • the primary BNG After the primary BNG, in real time, or periodically, or after determining its own downlink failure, the current online VPN user information is sent to the standby BNG. It should be noted that, in the present invention, the primary BNG may synchronize the currently online VPN user information to the standby BNG only when the downlink failure is confirmed or before. Of course, it is better to implement the routing information confirmation between the standby BNG and the primary BNG before confirming the downlink failure. Once the primary BNG downlink is confirmed to be faulty, the downlink data flow can be implemented according to the routing information advertised by the standby BNG. Forwarding.
  • the standby BNG establishes a link detection mechanism with the active BNG through the direct link between the lower layer network and the VPN network or the lower layer network and the backup BNG and the active BNG to distinguish the primary BNG downlink fault and the primary use. BNG machine failure or primary device uplink failure.
  • the priority of the received VPN user routing information advertised by the standby BNG is set to be higher than the priority of the local user routing information.
  • the standby BNG forwards the downstream traffic of the VPN user of the primary BNG, it advertises the VPN user routing information or VPN user address pool routing information to the VPN.
  • the VPN After receiving the VPN user routing information or VPN user address pool routing information advertised by the standby BNG, the VPN directly sends the downstream traffic of the VPN user through the standby BNG.
  • the standby BNG advertises VPN user routing information or VPN user address pool routing information to the primary BNG through the Multi-Protocol Extension for Border Gateway Protocol (BGP-Mp).
  • BGP-Mp Multi-Protocol Extension for Border Gateway Protocol
  • the standby BNG generates a forwarding route list whose destination address is the address of the VPN user according to the address information in the received VPN user information.
  • the present invention also describes an access device in a virtual private network, the device comprising at least a first access device and a second access device; the first access device and the second access device Realize backup of VPN user information between;
  • a first access device configured to generate routing information of the VPN user according to the VPN user information, and send the routing information to the second access device;
  • a second access device configured to send the downlink traffic to the VPN user, according to the VPN user routing information advertised by the first access device, after receiving the downlink traffic of the VPN user, and receiving the downlink traffic of the VPN user
  • the first access device sends downlink traffic by using the first access device.
  • the structure of the first access device and its function can be understood by referring to the structure and function of the standby BNG mentioned above and below in the present invention.
  • the structure and function of the second access device can refer to the present invention.
  • the structure and function of the primary BNG described above and below are understood. I won't go into details here.
  • FIG. 2 is a flowchart of a method for improving service reliability in a virtual private network according to Embodiment 1 of the present invention.
  • two BNGs primary BNG and standby BNG
  • BFD bidirectional forwarding
  • Forwarding detection is used to perform link state detection by using the Virtual Router Redundancy Protocol (VRRP) protocol.
  • VRRP Virtual Router Redundancy Protocol
  • the user information is backed up between the active device and the standby device.
  • BNG1 is used as the primary device.
  • Equipment, BNG2 is a backup device.
  • the standby BNG advertises routing information to the primary BNG before the downlink failure of the primary BNG.
  • the method for improving the service reliability in the virtual private network specifically includes the following steps:
  • Step 201 Establish a Transmission Control Protocol (TCP) connection between BNG1 and BNG2 as a message channel for backing up online user information (including VPN user information).
  • TCP Transmission Control Protocol
  • step 202 the BFD protocol is run on the active and standby BNGs to detect the BNG and BNG, the BNG1 device and the lower device, and the BNG2 device and the lower device.
  • Network connectivity between layer network devices
  • Step 203 Run VRRP between BNG1 and BNG2 to negotiate the active/standby status of BNG1 and BNG2, and configure VRRP parameters to implement BNG1 as the primary BNG and BNG2 as the standby BNG.
  • Step 204 The BNG1 sends the online user information (including the VPN user information) to the BNG2 through the foregoing message channel.
  • Step 205 The BNG2 sends the route of the VPN user to the BNG1 through the MP-BGP protocol according to the VPN user information that is synchronized by the BNG1.
  • Step 206 After receiving the route sent from the BNG2 through the MP-BGP protocol, the BNG1 uses the route as the backup route of the user.
  • Step 207 When the downlink of the BNG1 is faulty, the primary route of the VPN user on the BNG1 is invalid, and the BNG1 matches the backup route of the user, and sends the downlink traffic to the BNG2.
  • Step 208 After receiving the user traffic sent by the BNG1, the BNG2 forwards the traffic to the corresponding user according to the user information synchronized by the BNG1.
  • FIG. 3 is a flowchart of a method for improving service reliability in a virtual private network according to Embodiment 2 of the present invention.
  • link state detection is performed by using BFD protocol between two BNGs, and a virtual router redundancy protocol is used.
  • the VRRP and the Virtual Router Redundancy Protocol are used to perform the BNG2 backup.
  • the user information is backed up between the active device and the standby device.
  • BNG1 is the primary device and BNG2 is the standby device.
  • the difference between this example and the above example is that the standby BNG issues routing information to the primary BNG after the downlink failure of the primary BNG.
  • the method for improving the reliability of the service in the virtual private network includes the following steps:
  • Step 301 Establish a TCP connection between BNG1 and BNG2 as a message channel for backing up online user information (including VPN user information);
  • Step 302 Run the BFD protocol on the active and standby BNGs to detect the between the active and standby BNGs.
  • Step 303 Run VRRP between BNG1 and BNG2 to negotiate the active and standby status of BNG1 and BNG2, and configure VRRP parameters to implement BNG1 as the primary BNG and BNG2 as the standby BNG.
  • Step 304 BNG1 sends online user information (including VPN user information) to BNG2 through the above message channel.
  • Step 305 When the downlink of the BNG1 is faulty, the BNG2 sends the route of the VPN user to the BNG1 through the MP-BGP protocol according to the VPN user information that is synchronized by the BNG1.
  • Step 306 After receiving the route sent from the BNG2 through the MP-BGP protocol, the BNG1 sends the traffic to the BNG2.
  • Step 307 After receiving the user traffic sent by the BNG1, the BNG2 forwards the traffic to the corresponding user according to the user information synchronized by the BNG1.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

提高虚拟专用网中业务可靠性的方法及系统、 接入装置 技术领域
本发明涉及虚拟专用网 (VPN, Virtual Private Network )中宽带网络网 关宽带网络网关 (BNG, Broadband Network Gateway ) 的冗余技术, 尤其 涉及一种提高虚拟专用网 (VPN, Virtual Private Network )中业务可靠性的 方法及系统, 以及, 虚拟专用网中的接入装置。 背景技术
在传统的企业网络配置中, 要进行异地局域网之间的互连, 传统的方 法是租用数字数据网 (DDN, Digital Data Network )专线或帧中继, 这样的 通讯方案必然导致高昂的网络通讯 /维护费用。 虚拟专用网指的是依靠 Internet服务提供商( ISP, Internet Service Provider )和其它网络服务提供商
( NSP, Network Service Provider ),在公用网络中建立专用的数据通信网络 的技术。 在虚拟专用网中, 任意两个节点之间的连接并没有传统专网所需 的端到端的物理链路, 而是利用某种公众网的资源动态组成。 因特网工程 任务组(IETF, Internet Engineering Task Force )将基于因特网协议 ( IP, Internet Protocol ) 的虚拟专用网 ( VPN, Virtual Private Network )定义为:
"使用 IP机制仿真出一个私有的广域网" 是通过私有的隧道技术在公共数 据网络上仿真一条点到点的专线技术。 所谓虚拟, 是指用户不再需要拥有 实际的长途数据线路, 而是使用 Internet公众数据网络的长途数据线路。 所 谓专用网络, 是指用户可以为自己制定一个最符合自己需求的网络。
对于移动办公人员与远端个人用户而言, 一般通过拨号方式接入就近 的运营商网关设备, 并进入企业的虚拟专用网, 该网关设备统称为宽带网 络网关(BNG, Broadband Network Gateway ), 包括宽带接入服务器( B AS , Broadband Access Server )、宽带远程接入服务器( BRAS , Broadband Remote Access Server ), 宽带网络接入服务器 ( BN AS , Broadband Network Access Server ), 二层隧道协议网络服务器 (LNS , L2TP Network Server )、 业务路 由器(SR, Service Router )、 LTE业务网关( SGW, Serving Gateway )等设 备。 BNG在对用户的拨号请求进行认证、 授权之后, 将用户的路由加入该 用户对应的 VPN路由表中, 使该用户能够访问对应的 VPN网络。
VPN业务是运营商利润率较高的业务之一, 是需要重点保障高可靠性 的业务。 目前, 在三层 VPN网络中网络故障保护的手段有多种, 例如 VPN 快速重路由 ( FRR , Fast Reroute )等, 但在 VPN用户釆用拨号方式通过二 层网络接入 BNG的场景下, 目前 IETF并没有相应的标准。 现有技术中较 为可行的方式是设置两台 BNG并在两台 BNG间建立信息同步通道、 用以 同步 VPN用户信息, 包括用户路由、 服务质量( QoS , Quality of Service ) 参数、 访问控制列表(ACL, Access Control List )、 策略路由等等, 同时在 两台 BNG上运营主备协商协议(如虚拟路由器冗余协议(VRRP, Virtual Router Redundancy Protocol )等)和快速检测机制(如双向路径检测( BFD , Bidirectional Forwarding Detection )等), 通过 BNG及时上下行链路的故障 快速检测来切换 BNG的主备状态, 以实现 VPN用户业务在故障情况下的 快速切换。备份 BNG需要在切换为主用状态后向上层网络刷新用户路由或 用户地址池路由, 在路由刷新生效之前上层网络发往用户的流量仍旧都发 往原主用 BNG, 产生短时间的流量中断。 当主用 BNG或其上行链路发生 故障时无法避免流量中断的问题, 而当主用 BNG下行链路故障发生时, 当 前的优化方案是主用 BNG将收到的从上层网络发往用户的流量转发到备用 BNG并经备用 BNG发往用户, 而 BNG可选是否向网络侧发布用户路由或 用户地址池路由, 即主用 BNG故障发生后的网络侧发往用户流量可以在路 由刷新之后改为直接经过备用 BNG发往用户或始终保持经主用 BNG、 备 用 BNG发往用户的方式转发。 这种主备 BNG间的用户流量转发的路径可 以釆用 BNG经上层网络的隧道(如通用路由封装(GRE, Generic Routing Encapsulation ) 隧道等)或 BNG间的直连物理链路。
为了实现在主备 BNG间基于隧道或直连链路的不同 VPN用户流量转 发, 目前釆用的方式是为每个 VPN配置静态路由, 即在每个 VPN的路由 表中加入一条隧道路由或直连路由作为默认路由,主用 BNG下行链路故障 导致用户路由不可达时, 通过默认路由将用户流量转发到备用 BNG, 但这 种方式配置维护复杂对维护人员要求较高且配置量大, 对每个 VPN都要单 独配置, 存在错配漏配的风险。 发明内容
有鉴于此, 本发明的主要目的在于提供一种提高虚拟专用网中业务可 靠性的方法及系统, 以及, 虚拟专用网中的接入装置, 能提高 VPN中的业 务可靠性, 保证了用户接入网络的成功率。
为达到上述目的, 本发明的技术方案是这样实现的:
一种提高虚拟专用网中业务可靠性的方法, 在 VPN 中设置主用 BNG 以及备用 BNG, 用户通过接入网络及主用 BNG接入 VPN; 所述方法包括: 在所述主用 BNG和所述备用 BNG之间备份 VPN用户信息;
所述备用 BNG根据 VPN用户信息生成 VPN用户的路由信息,并发送 给所述主用 BNG;
所述主用 BNG确认 VPN用户下行链路故障后,接收到 VPN用户的下 行流量时, 根据所述备用 BNG发布的 VPN用户路由信息, 将所述下行流 量发送给所述备用 BNG, 通过所述备用 BNG发送下行流量。
优选地,在所述主用 BNG和所述备用 BNG之间备份 VPN用户信息具 体为:
所述主用 BNG实时地、 或周期性地、 或确定自身的下行链路故障后, 将当前在线的 VPN用户信息发送给所述备用 BNG。
优选地, 所述主用 BNG确认自身下行链路故障后, 设置所接收到的所 述备用 BNG发布的 VPN用户路由信息的优先级, 高于自身本地的用户路 由信息的优先级。
优选地, 所述方法还包括:
所述备用 BNG转发所述主用 BNG的 VPN用户的下行流量时,向所述 VPN发布 VPN用户路由信息或 VPN用户地址池路由信息。
优选地, 所述方法还包括:
所述 VPN接收到所述备用 BNG发布的 VPN用户路由信息或 VPN用 户地址池路由信息后, 将所述下行流量发送给所述备用 BNG, 通过所述备 用 BNG直接发送 VPN用户的下行流量。
优选地, 所述备用 BNG通过多协议扩展边界网关协议 MG-BGP向所 述主用 BNG发布 VPN用户路由信息或 VPN用户地址池路由信息。
优选地,所述备用 BNG根据 VPN用户信息生成 VPN用户的路由信息 具体为:
所述备用 BNG根据所接收到的 VPN用户信息中的地址信息, 生成目 的地址为 VPN用户的地址的转发路由列表。
所述备用 BNG分别通过下层网络和 VPN网络、或下层网络和备用 BNG 与主用 BNG之间的直连链路, 与主用 BNG建立链路检测机制, 以区分主 用 BNG下行链路故障、 主用 BNG整机故障或主用设备上行链路故障。
一种提高虚拟专用网中业务可靠性的系统, 包括 VPN、 BNG和接入网 络, 其中, 用户通过接入网络以及 BNG接入到 VPN; 其特征在于, 所述系 统包括:
设置单元, 用于设置主用 BNG以及备用 BNG; 其中, 用户通过所述 接入网络及主用 BNG接入 VPN; 备份单元, 用于实现在所述主用 BNG和所述备用 BNG之间备份 VPN 用户信息;
备用 BNG, 用于根据 VPN用户信息生成 VPN用户的路由信息, 并发 送给所述主用 BNG;
主用 BNG, 用于确认 VPN用户下行链路故障后, 接收到 VPN用户的 下行流量时, 根据所述备用 BNG发布的 VPN用户路由信息, 将所述下行 流量发送给所述备用 BNG, 通过所述备用 BNG发送下行流量。
优选地, 所述主用 BNG还用于, 实时地、 或周期性地、 或确定自身的 下行链路故障后, 将当前在线的 VPN用户信息发送给所述备用 BNG。
优选地, 所述主用 BNG, 还用于在确认自身下行链路故障后, 设置所 接收到的所述备用 BNG发布的 VPN用户路由信息的优先级, 高于自身本 地的用户路由信息的优先级。
优选地, 所述备用 BNG还用于, 在转发所述主用 BNG的 VPN用户的 下行流量时, 向所述 VPN发布 VPN用户路由信息或 VPN用户地址池路由 信息。
优选地, 所述 VPN还用于, 在接收到所述备用 BNG发布的 VPN用户 路由信息或 VPN用户地址池路由信息后,通过所述备用 BNG直接发送 VPN 用户的下行流量。
一种虚拟专用网中的接入装置, 至少包括第一接入设备以及第二接入 设备; 所述第一接入设备以及所述第二接入设备之间实现 VPN用户信息的 备份;
第一接入设备, 用于根据 VPN用户信息生成 VPN用户的路由信息, 并发送给所述第二接入设备;
第二接入设备, 用于确认 VPN用户下行链路故障后, 接收到 VPN用 户的下行流量时, 根据所述第一接入设备发布的 VPN用户路由信息, 将所 述下行流量发送给所述第一接入设备, 通过所述第一接入设备发送下行流 量。
本发明釆用备用 BNG向主用 BNG发布用户 VPN路由的方式,以便在 主用 BNG的下行链路发生故障时, 用户的下行流量经由主用 BNG发往备 用 BNG, 并最终转发给 VPN用户, 从而实现了 VPN用户的业务连续性, 同时无需更改 VPN中的 VPN用户路由信息、 避免了路由震荡。 本发明中 设置的备用 BNG对用户不透明, 提升了用户体验。 附图说明
图 1为本发明提高虚拟专用网中业务可靠性的系统的结构示意图; 图 2为本发明实施例一的提高虚拟专用网中业务可靠性的方法的流程 图;
图 3 为本发明实施例二的提高虚拟专用网中业务可靠性的方法的流程 图。 具体实施方式
本发明实施例的基本思想为,釆用备用 BNG向主用 BNG发布用户 VPN 路由的方式, 以便在主用 BNG的下行链路发生故障时, 用户的下行流量经 由主用 BNG发往备用 BNG, 并最终转发给 VPN用户, 从而实现了 VPN 用户的业务连续性。
为使本发明的目的、 技术方案和优点更加清楚明白, 以下举实施例并 参照附图, 对本发明进一步详细说明。
图 1 为本发明提高虚拟专用网中业务可靠性的系统的结构示意图, 如 图 1所示,本发明提高虚拟专用网中业务可靠性的系统具体包括 VPN、BNG 和接入网络, 其中, 本发明中设置了主用 BNG以及备用 BNG, 用户通过 接入网络以及主用 BNG接入到 VPN, 主用 BNG和备用 BNG之间通过有 线或无线链路连接(为保证主用 BNG和备用 BNG之间的数据流量, 优选 使用有线线路连接); 接入网络包括互联网等网络, 只要能实现与 BNG之 间的连接即可。 另外, 本发明提高虚拟专用网中业务可靠性的系统中还包 括设置单元以及备份单元等处理单元, 这些单元分布于系统中的相关网元 中, 并不限定这些处理单元的连接位置, 只要能实现本发明设定的相关功 能即可。
当主用 BNG以及备用 BNG之间的连接链路不足以支持 VPN到用户的 下行流量时,需要备用 BNG将自身存储的 VPN用户路由信息对 VPN公布, 由 VPN直接通过备用 BNG将发送给用户的下行流量发送给各用户。此时, 备用 BNG完全实现了主用 BNG的功能。
其中, 设置单元, 用于设置主用 BNG以及备用 BNG; 其中, 用户通 过所述接入网络及主用 BNG接入 VPN; 本发明中的设置单元,可通过相应 的主用及备用身 置的相关协议而实现对 BNG身份的配置。
备份单元,用于实现在主用 BNG和备用 BNG之间备份 VPN用户信息; 本发明中的备份单元只要能实现主用 BNG将通过自身接入 VPN的用户信 息发送给备用 BNG即可。
在本发明提高虚拟专用网中业务可靠性的系统中,备用 BNG以及主用 BNG执行下述功能。
备用 BNG, 用于根据 VPN用户信息生成 VPN用户的路由信息, 并发 送给所述主用 BNG;
主用 BNG, 用于确认 VPN用户下行链路故障后, 接收到 VPN用户的 下行流量时, 根据所述备用 BNG发布的 VPN用户路由信息, 将所述下行 流量发送给所述备用 BNG, 通过所述备用 BNG发送下行流量。
主用 BNG, 实时地、 或周期性地、 或确定自身的下行链路故障后, 将 当前在线的 VPN用户信息发送给备用 BNG。 需要说明的是, 本发明中, 主用 BNG只要在确认下行链路故障时或之 前将当前在线的 VPN用户信息同步到备用 BNG即可。 当然, 最好在确认 下行链路故障之前即实现备用 BNG、 主用 BNG之间的路由信息确认, 一 旦确认主用 BNG下行链路出现故障, 即可根据备用 BNG公布的路由信息 实现下行数据流的转发。
备用 BNG分别通过下层网络和 VPN网络、或下层网络和备用 BNG与 主用 BNG之间的直连链路, 与主用 BNG建立链路检测机制, 以区分主用 BNG下行链路故障、 主用 BNG整机故障或主用设备上行链路故障。
主用 BNG进一步确认自身下行链路故障后,设置所接收到的所述备用 BNG发布的 VPN用户路由信息的优先级,高于自身本地的用户路由信息的 优先级。
备用 BNG转发主用 BNG的 VPN用户的下行流量时,向 VPN发布 VPN 用户路由信息或 VPN用户地址池路由信息。
VPN,进一步在接收到备用 BNG发布的 VPN用户路由信息或 VPN用 户地址池路由信息后, 通过备用 BNG直接发送 VPN用户的下行流量。
备用 BNG 通过多协议扩展边界网关协议 ( BGP-Mp, Multi-protocol Extension for Border Gateway Protocol ) 向主用 BNG发布 VPN用户路由信 息或 VPN用户地址池路由信息。
备用 BNG根据所接收到的 VPN用户信息中的地址信息, 生成目的地 址为 VPN用户的地址的转发路由列表。
本领域技术人员应当理解, 本发明提高虚拟专用网中业务可靠性的系 统与现有网络结构的区别是增设了备用 BNG, 以下结合下述实施例, 进一 步阐明本发明技术方案的实质。
本发明还记载了一种虚拟专用网中的接入装置, 所述装置至少包括第 一接入设备以及第二接入设备; 所述第一接入设备以及所述第二接入设备 之间实现 VPN用户信息的备份;
第一接入设备, 用于根据 VPN用户信息生成 VPN用户的路由信息, 并发送给所述第二接入设备;
第二接入设备, 用于确认 VPN用户下行链路故障后, 接收到 VPN用 户的下行流量时, 根据所述第一接入设备发布的 VPN用户路由信息, 将所 述下行流量发送给所述第一接入设备, 通过所述第一接入设备发送下行流 量。
上述的第一接入设备的结构及其功能, 可参照本发明上文以及下文中 述及的备用 BNG的结构及其功能而理解, 第二接入设备的结构及其功能, 可参照本发明上文以及下文中述及的主用 BNG的结构及其功能而理解。这 里不再赘述。
实施例一
图 2为本发明实施例一的提高虚拟专用网中业务可靠性的方法的流程 图, 如图 2所示, 两台 BNG (主用 BNG和备用 BNG )之间以双向转发检 测 (BFD, Bidirectional Forwarding Detection )协议进行链路状态检测, 以 虚拟路由器冗余协议( VRRP, Virtual Router Redundancy Protocol )协议进 行 BNG主备状态协商, 在主用设备与备用设备间进行用户信息备份, 其中 BNG1为主用设备, BNG2为备用设备。 本示例中, 备用 BNG在主用 BNG 的下行链路故障前对主用 BNG发布路由信息。本示例提高虚拟专用网中业 务可靠性的方法具体包括以下步骤:
步骤 201 , 在 BNG1 与 BNG2之间建立一个传输控制协议 ( TCP, Transmission Control Protocol )连接作为消息通道, 用以备份在线用户信息 (包括 VPN用户信息);
步骤 202,分别在主备 BNG上运行 BFD协议,以检测主备 BNG之间、 BNG1设备与下层设备之间、 BNG2设备与下层设备之间、 两台 BNG与上 层网络设备之间的网络连通性;
步骤 203 , 在 BNG1与 BNG2之间运行 VRRP协议, 以协商 BNG1与 BNG2的主备状态, 配置 VRRP协议参数实现 BNG1为主用 BNG, BNG2 为备用 BNG。
步骤 204, BNG1通过上述消息通道将在线用户信息 (包括 VPN用户 信息)发送给 BNG2。
步骤 205 , BNG2根据 BNG1同步过来的 VPN用户信息,通过 MP-BGP 协议将 VPN用户的路由发送给向 BNG1。
步骤 206, BNG1通过 MP-BGP协议收到从 BNG2发来的路由之后, 将该路由作为用户的备份路由。
步骤 207 , 当 BNG1的下行链路故障时, BNG1上 VPN用户的主用路 由失效, BNG1匹配到上述用户备份路由, 将下行流量发送给 BNG2;
步骤 208, BNG2收到 BNG1发来的用户流量后,根据 BNG1同步过来 的用户信息, 将流量转发给对应的用户。
实施例二
图 3 为本发明实施例二的提高虚拟专用网中业务可靠性的方法的流程 图, 如图 3所示, 两台 BNG之间以 BFD协议进行链路状态检测, 以虚拟 路由器冗余协议( VRRP, Virtual Router Redundancy Protocol )协议进行 BNG 主备状态协商, 在主用设备与备用设备间进行用户信息备份, 其中 BNG1 为主用设备, BNG2为备用设备。 本示例与上述示例的区别是, 备用 BNG 在主用 BNG的下行链路故障后对主用 BNG发布路由信息。 本示例提高虚 拟专用网中业务可靠性的方法具体包括以下步骤:
步骤 301 , 在 BNG1与 BNG2之间建立一个 TCP连接作为消息通道, 用以备份在线用户信息 (包括 VPN用户信息);
步骤 302,分别在主备 BNG上运行 BFD协议,以检测主备 BNG之间、 BNGl设备与下层设备之间、 BNG2设备与下层设备之间、 两台 BNG与上 层网络设备之间的网络连通性。
步骤 303 , 在 BNG1与 BNG2之间运行 VRRP协议, 以协商 BNG1与 BNG2的主备状态, 配置 VRRP协议参数实现 BNG1为主用 BNG, BNG2 为备用 BNG。
步骤 304, BNG1通过上述消息通道将在线用户信息 (包括 VPN用户 信息)发送给 BNG2。
步骤 305 , 当 BNG1的下行链路故障时, BNG2根据 BNG1同步过来 的 VPN用户信息,通过 MP-BGP协议将 VPN用户的路由发送给向 BNG1。
步骤 306, BNG1通过 MP-BGP协议收到从 BNG2发来的路由之后, 将流量发送给 BNG2。
步骤 307, BNG2收到 BNG1发来的用户流量后,根据 BNG1同步过来 的用户信息, 将流量转发给对应的用户。
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。

Claims

权利要求书
1、 一种提高虚拟专用网中业务可靠性的方法, 其特征在于, 在虚拟专 用网 VPN中设置主用宽带网络网关 BNG以及备用 BNG, 用户通过接入网 络及主用 BNG接入 VPN; 所述方法包括:
在所述主用 BNG和所述备用 BNG之间备份 VPN用户信息; 所述备用 BNG根据 VPN用户信息生成 VPN用户的路由信息, 并发送 给所述主用 BNG;
所述主用 BNG确认 VPN用户下行链路故障后,接收到 VPN用户的下 行流量时, 根据所述备用 BNG发布的 VPN用户路由信息, 将所述下行流 量发送给所述备用 BNG, 通过所述备用 BNG发送下行流量。
2、 根据权利要求 1所述的方法, 其特征在于, 在所述主用 BNG和所 述备用 BNG之间备份 VPN用户信息为:
所述主用 BNG实时地、 或周期性地、 或确定自身的下行链路故障后, 将当前在线的 VPN用户信息发送给所述备用 BNG。
3、 根据权利要求 1所述的方法, 其特征在于, 所述主用 BNG确认自 身下行链路故障后, 设置所接收到的所述备用 BNG发布的 VPN用户路由 信息的优先级, 高于自身本地的用户路由信息的优先级。
4、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 所述备用 BNG转发所述主用 BNG的 VPN用户的下行流量时,向所述 VPN发布 VPN用户路由信息或 VPN用户地址池路由信息。
5、 根据权利要求 4所述的方法, 其特征在于, 所述方法还包括: 所述 VPN接收到所述备用 BNG发布的 VPN用户路由信息或 VPN用 户地址池路由信息后, 将所述下行流量发送给所述备用 BNG, 通过所述备 用 BNG直接发送 VPN用户的下行流量。
6、 根据权利要求 4或 5所述的方法, 其特征在于, 所述备用 BNG通 过多协议扩展边界网关协议 MG-BGP向所述主用 BNG发布 VPN用户路由 信息或 VPN用户地址池路由信息。
7、根据权利要求 1所述的方法,其特征在于,所述备用 BNG根据 VPN 用户信息生成 VPN用户的路由信息为:
所述备用 BNG根据所接收到的 VPN用户信息中的地址信息, 生成目 的地址为 VPN用户的地址的转发路由列表。
8、 一种提高虚拟专用网中业务可靠性的系统, 所述系统包括 VPN、 BNG和接入网络, 其中, 用户通过接入网络以及 BNG接入到 VPN; 其特 征在于, 所述系统包括:
设置单元, 用于设置主用 BNG以及备用 BNG; 其中, 用户通过所述 接入网络及主用 BNG接入 VPN;
备份单元, 用于实现在所述主用 BNG和所述备用 BNG之间备份 VPN 用户信息;
备用 BNG, 用于根据 VPN用户信息生成 VPN用户的路由信息, 并发 送给所述主用 BNG;
主用 BNG, 用于确认 VPN用户下行链路故障后, 接收到 VPN用户的 下行流量时, 根据所述备用 BNG发布的 VPN用户路由信息, 将所述下行 流量发送给所述备用 BNG, 通过所述备用 BNG发送下行流量。
9、 根据权利要求 8所述的系统, 其特征在于, 所述主用 BNG还用于, 实时地、 或周期性地、 或确定自身的下行链路故障后, 将当前在线的 VPN 用户信息发送给所述备用 BNG。
10、 根据权利要求 8所述的系统, 其特征在于, 所述主用 BNG, 还用 于在确认自身下行链路故障后,设置所接收到的所述备用 BNG发布的 VPN 用户路由信息的优先级, 高于自身本地的用户路由信息的优先级。
11、根据权利要求 8所述的系统,其特征在于,所述备用 BNG还用于, 在转发所述主用 BNG的 VPN用户的下行流量时, 向所述 VPN发布 VPN 用户路由信息或 VPN用户地址池路由信息。
12、 根据权利要求 11所述的系统, 其特征在于, 所述 VPN还用于, 在接收到所述备用 BNG发布的 VPN用户路由信息或 VPN用户地址池路由 信息后, 通过所述备用 BNG直接发送 VPN用户的下行流量。
13、 一种虚拟专用网中的接入装置, 其特征在于, 所述装置至少包括 第一接入设备以及第二接入设备; 所述第一接入设备以及所述第二接入设 备之间实现 VPN用户信息的备份;
第一接入设备, 用于根据 VPN用户信息生成 VPN用户的路由信息, 并发送给所述第二接入设备;
第二接入设备, 用于确认 VPN用户下行链路故障后, 接收到 VPN用 户的下行流量时, 根据所述第一接入设备发布的 VPN用户路由信息, 将所 述下行流量发送给所述第一接入设备, 通过所述第一接入设备发送下行流 量。
PCT/CN2011/077753 2011-01-10 2011-07-28 提高虚拟专用网中业务可靠性的方法及系统、接入装置 WO2012094884A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110004164.8A CN102594580B (zh) 2011-01-10 2011-01-10 提高虚拟专用网中业务可靠性的方法及系统、接入装置
CN201110004164.8 2011-01-10

Publications (1)

Publication Number Publication Date
WO2012094884A1 true WO2012094884A1 (zh) 2012-07-19

Family

ID=46482803

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/077753 WO2012094884A1 (zh) 2011-01-10 2011-07-28 提高虚拟专用网中业务可靠性的方法及系统、接入装置

Country Status (2)

Country Link
CN (1) CN102594580B (zh)
WO (1) WO2012094884A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038362B (zh) * 2013-03-08 2018-03-23 中国移动通信集团广东有限公司 一种网络系统
CN103973518B (zh) * 2014-05-28 2017-08-04 重庆重邮汇测通信技术有限公司 采用因特网包探索器检测虚拟局域网的方法及装置
CN107276792B (zh) * 2017-05-27 2020-06-12 中国移动通信集团江苏有限公司 综合网关容灾方法、装置、设备及计算机可读存储介质
CN110519148B (zh) * 2019-07-25 2022-01-18 深圳震有科技股份有限公司 多链路备份创建vpn通道的方法、系统及存储介质
CN113316117B (zh) * 2021-05-31 2022-06-07 武汉信科移动通信技术有限公司 一种tau主备切换方法及系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072157A (zh) * 2007-06-08 2007-11-14 迈普(四川)通信技术有限公司 虚拟专用网负载备份系统及其建立方法与数据转发方法
CN101127637A (zh) * 2007-07-27 2008-02-20 中兴通讯股份有限公司 一种实现虚拟专用局域网服务网络备份链路的方法及系统
CN101132304A (zh) * 2006-08-24 2008-02-27 华为技术有限公司 故障保护方法和系统

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100512292C (zh) * 2005-09-01 2009-07-08 华为技术有限公司 一种实时恢复业务的装置及方法
CN101364927A (zh) * 2008-09-24 2009-02-11 华为技术有限公司 实现虚拟专用网vpn故障恢复的方法、设备及系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101132304A (zh) * 2006-08-24 2008-02-27 华为技术有限公司 故障保护方法和系统
CN101072157A (zh) * 2007-06-08 2007-11-14 迈普(四川)通信技术有限公司 虚拟专用网负载备份系统及其建立方法与数据转发方法
CN101127637A (zh) * 2007-07-27 2008-02-20 中兴通讯股份有限公司 一种实现虚拟专用局域网服务网络备份链路的方法及系统

Also Published As

Publication number Publication date
CN102594580B (zh) 2017-06-27
CN102594580A (zh) 2012-07-18

Similar Documents

Publication Publication Date Title
US10148456B2 (en) Connecting multiple customer sites over a wide area network using an overlay network
US10999125B1 (en) Inter-application communication via signal-routes
EP2498454B1 (en) Method, device and system for processing service traffic based on pseudo wires
WO2018054156A1 (zh) 一种vxlan报文的转发方法、设备及系统
US7990852B1 (en) Methods and apparatus for improving network communication using BFD and VRRP tracking system
EP2242325B1 (en) Method, system and equipment for access of a network device to a packet exchange network
JP4796184B2 (ja) エッジノード冗長システム
US8665711B2 (en) Fast restoration for provider edge node and access link failures
EP2536068B1 (en) Virtual subscriber management
EP2335384B1 (en) Rsvp-te graceful restart under fast re-route conditions
US8750096B2 (en) Method and apparatus for improving data integrity during a router recovery process
WO2012028029A1 (zh) 一种切换方法及系统
KR102050910B1 (ko) 연결 실패 시에 홈 네트워크에 대한 재라우팅을 인에이블시키는 방법 및 시스템
CN104767680B (zh) 路由快速切换的方法和装置
EP3217608B1 (en) Switchback delay methods and devices
WO2018113294A1 (zh) 一种转发报文的方法、设备及系统
CN103457817B (zh) 一种pw+l3vpn的保护方法和系统
CN109327318B (zh) 一种sdn管理网络架构和建立sdn管理网络的方法
WO2012071935A1 (zh) 一种l2tp网络的保护方法及系统
WO2011144088A2 (zh) 一种业务保护方法及接入设备
WO2012171378A1 (zh) 解决vpls接入l3故障切换导致断流的方法及路由器
WO2012094884A1 (zh) 提高虚拟专用网中业务可靠性的方法及系统、接入装置
WO2014000600A1 (zh) 在业务保护方案中减少丢包的方法和系统
WO2014044088A1 (zh) L2tp网络的保护方法、装置及系统
CN104539532B (zh) 基于lte基站回传业务的nni保护uni的系统及方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11855641

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11855641

Country of ref document: EP

Kind code of ref document: A1