WO2007041919A1 - Méthode et système d’implémentation de vrrp sur le rpr - Google Patents

Méthode et système d’implémentation de vrrp sur le rpr Download PDF

Info

Publication number
WO2007041919A1
WO2007041919A1 PCT/CN2006/002002 CN2006002002W WO2007041919A1 WO 2007041919 A1 WO2007041919 A1 WO 2007041919A1 CN 2006002002 W CN2006002002 W CN 2006002002W WO 2007041919 A1 WO2007041919 A1 WO 2007041919A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual
interface
rpr
node
redundancy protocol
Prior art date
Application number
PCT/CN2006/002002
Other languages
English (en)
French (fr)
Inventor
Jian Li
Original Assignee
Huawei Technologies Co., Ltd.
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 Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Priority to CN2006800121777A priority Critical patent/CN101160909B/zh
Publication of WO2007041919A1 publication Critical patent/WO2007041919A1/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/42Loop networks
    • H04L12/427Loop networks with decentralised control
    • H04L12/433Loop networks with decentralised control with asynchronous transmission, e.g. token ring, register insertion
    • 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/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/58Association of routers
    • H04L45/586Association of routers of virtual routers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/325Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the network layer [OSI layer 3], e.g. X.25

Definitions

  • the present invention relates to routing technologies, and more particularly to a method and system for implementing a virtual routing redundancy protocol on an elastic packet ring. Background of the invention
  • FIG. 1 is a structural diagram of a system for implementing a Virtual Router Redundancy Protocol (VRRP) on a Resilient Packet Ring (RPR).
  • the RPR ring includes a network device All, a network device B12, a network device C13, a network device D14, a network device E15, and a network device F16.
  • the network device All to the network device F16 can support the RPR protocol, and the RPR interface of each network device can support two working modes, namely, a routing mode and a bridge mode.
  • the routing mode refers to carrying an IP service or an MPLS service on an RPR interface.
  • the bridge mode refers to carrying an Ethernet service on an RPR interface.
  • the network device mentioned in Figure 1 above may be a router or a Layer 3 switch supporting the RPR protocol.
  • the network device Al1 and the network device B12 can be configured as a VRJRP group.
  • the VRRP group has a virtual RPR interface.
  • the VRRP group formed by the network device All and the network device B12 is equivalent to a virtual three-layer switching device 17, and the virtual three-layer switching device 17 can implement the functions of a three-layer switch or a router.
  • the virtual RPR interface is similar to the default gateway of the virtual Layer 3 switching device 17.
  • the network device C13 to the network device F16 on the RPR ring can communicate with other networks through the RPR interface of the virtual Layer 3 switching device 17.
  • the above RPR ring has a reciprocal bicyclic topology, and the RPR ring has Both sub-rings can transmit data. These two sub-rings are called RPR0 ring and RPR1 ring.
  • the data transmission direction of the RPR0 ring is clockwise, and the data transmission direction of the RPR1 ring is counterclockwise.
  • Each network device on the RPR ring uses the 48-bit Medium Access Control (MAC) address in the Ethernet as the address identifier of the device.
  • MAC Medium Access Control
  • the VRRP protocol has the following functions: One or more routers in the network form at least one VRRP group, and each VRRP group is a virtual router with respect to devices in the network that do not form a VRRP group.
  • hosts 8, B, and C in Ethernet communicate with the Internet through routers, B, and C.
  • the routers A, B, and C form a VRRP group.
  • the VRJ P group is equivalent to a virtual router.
  • the host on the Ethernet can communicate with the Internet through the virtual router.
  • each network device in the VRRP group can generate a virtual MAC address and an IP address according to the VRRP protocol.
  • the RPR interface of the network device on the RPR ring can support up to two MAC addresses in addition to its own MAC address.
  • the network device can only form up to two VRRP groups and generate two virtual Layer 3 switching devices. Therefore, when the network needs to use the VRRP protocol to virtualize multiple Layer 3 switching devices in order to provide multiple functions of services and high transmission bandwidth, the prior art method cannot meet the needs of the network.
  • the backup node in the virtual Layer 3 switching device can take up to 3 seconds to detect. The failure status of the primary node is changed, and the active/standby switchover is performed. This slow active/standby switching speed does not meet the needs of some real-time services.
  • a network device needs to be determined as a master node of the VRRP group, and the master node is responsible for the virtual layer 3 switching device.
  • the backup layer has three layers of switching work, so the master node is also called the master node of the virtual layer 3 switching device;
  • the other network devices in the VRRP group are the sub-nodes.
  • the backup node replaces the primary node to complete the main work of the virtual Layer 3 switching device. Summary of the invention
  • a method for implementing a virtual routing redundancy protocol on an elastic packet ring comprising: creating an interface supporting multiple media access control addresses;
  • the resilient packet ring interface of all network devices that will form a virtual routing redundancy protocol group and the interface supporting multiple media access control addresses are divided into the same virtual local area network; the virtual routing redundancy protocol is run in the divided virtual local area network. , generating at least one virtual Layer 3 switching device.
  • the method further includes: the primary node issues a virtual extended protocol diffusion message, and the other node receives the other After the virtual routing redundancy protocol spreads the message from the master node, all the master nodes in the virtual route redundancy protocol group negotiate to determine the new master node according to the virtual route redundancy protocol, and then record the other nodes that are not determined to be the master node.
  • the method further includes: the backup node in the virtual routing redundancy protocol group records the media access control address of the RPR interface of the primary node, and when the topology structure of the elastic packet ring changes, the backup node checks whether its topology table is in the topology table. Media with the RPR interface of the master node Access control address, if not, do not process; if not, the backup node determines that the primary node is invalid, then negotiates with other backup nodes to determine a new primary node according to the virtual routing redundancy protocol, and then other nodes that are not determined to be the primary node Record the media access control address of the RPR interface of the new primary node.
  • a system for implementing a virtual routing redundancy protocol on an elastic packet ring wherein the network device in the system is provided with an elastic packet ring interface, and the network devices are connected by an elastic packet ring, which is to form a virtual routing redundancy protocol group.
  • the network device is further provided with an interface supporting multiple media access control addresses;
  • the elastic packet ring interface of these network devices and the interface supporting multiple media access control addresses are divided into the same virtual local area network, and the virtual routing redundancy is run in the virtual local area network.
  • the remaining protocol generates at least one virtual Layer 3 switching device.
  • the method for implementing the virtual routing redundancy protocol on the resilient packet ring of the present invention creates an Ethernet (VE, Virtual Ethernet) interface on the RPR ring for the network device that will form the VRRP group, and
  • the VE interface and the RPR interface of the network device that will form the VRRP group are divided into the same VLAN, and VRRP is run in the VLANs to implement VRRP on the RPR ring.
  • the VE interface created on the network device can support multiple MAC addresses well, the method can generate multiple VRRP groups on the RPR ring at the same time, so that the RPR ring has multiple virtual Layer 3 switching devices.
  • the present invention also provides a system for implementing a virtual routing redundancy protocol on an elastic packet ring, setting the RPR interface of the network device in the system to support the bridge mode, and creating a VE interface on the network device that will form the VRJRP group. Then, run VRRP on the created VE interface, so that multiple VRRP groups can be generated on the PRR ring.
  • FIG. 1 is a system structural diagram of implementing a VRRP protocol on an RPR ring in the prior art
  • FIG. 2 is a schematic diagram of a topology structure of an RPR ring in the prior art
  • FIG. 3 is a schematic diagram of a virtual router formed by using the VR P protocol in the prior art
  • FIG. 4 is a flow chart of implementing a VRRP protocol on an RPR ring according to an embodiment of the present invention
  • FIG. 5 is a structural diagram of a system for implementing a VRRP protocol on an RPR ring according to an embodiment of the present invention. Mode for carrying out the invention
  • an interface capable of supporting multiple MAC addresses is first created on an RPR interface of a network device in an RPR ring, and the interface supporting the multiple MAC addresses and the RPR interface are divided into the same virtual local area network.
  • VLAN Virtual LAN
  • the interface capable of supporting multiple MAC addresses is a VE interface.
  • the VR interface needs to be created on the RPR interface of the network device of the RPR ring. Therefore, the RPR interface of the network device is required to support the bridge mode.
  • the specific cause is as follows:
  • the packets sent from the VE interface are Layer 2 Ethernet packets. If the packets are in the routing mode, the packets cannot be directly carried on the RPR ring. Packets sent by the VE interface are carried on the RPR ring.
  • the following is a detailed description of the process of the two network devices in the RPR ring, which is assumed to be the network device A and the network device B, and constitutes a virtual three-layer switching device.
  • the network device includes network device A and network device B.
  • Step 401 Create a VE interface for the RPR interfaces of network device A and network device B respectively.
  • the VE interface has the same characteristics as the Ethernet interface and can support multiple MAC addresses at the same time.
  • the method for creating a VE interface is specifically: adding a record to the VE interface in the interface index table of the network device, and setting a MAC address and an IP address of the VE interface, so that other devices can perform the interface. Access or operation.
  • Step 402 Divide the VE interface and the RPR interface of the network device A, and the VE interface and the RPR interface of the network device B into the same VLAN.
  • the VE interface and RPR interface of network device A and network device B belong to the same VLAN. Once the broadcast message for the VLAN appears in the network, the VE interface and the RPR interface of the network device A, and the VE interface and the RPR interface of the network device B can receive the broadcast message.
  • Step 403 Set the corresponding group identifier and IP address for the three VRRP groups to be configured, and then run the VRRP protocol of the Ethernet in the divided VLAN to generate the three VR P groups, thereby virtualizing three virtual threes.
  • Layer switching device These three virtual switching devices use pre-set group IDs and IP addresses.
  • FIG. 5 is a structural diagram of a system for implementing a VRRP protocol on an RPR ring according to an embodiment of the present invention.
  • the system includes: a network device A51, a network device B52, a network device C53, a network device D54, a network device E55, and a network device F56.
  • the network device A51 to the network device F56 are connected through the RPR ring, and the RPR interfaces of the network device A51 to the network device F56 are set to support the bridge mode. As shown in FIG.
  • the network device A and the network device B are also provided with a VE interface, and the VE interface of the network device A and The RPR interface, and the VE interface and RPR interface of the network device are divided into the same VLAN. Then, set the three group IDs and IP addresses, and run the Ethernet VR P protocol in the divided VLANs to form the corresponding three VRRP groups.
  • the VRRP group can be configured by running the VRRP protocol in the divided VLANs. If multiple network devices on the RPR ring are required to form more than one VRRP group, you can also create a VE interface on multiple network devices that will form a VRRP group according to the method shown in Figure 4, and create multiple VE interfaces. The RPR interface and the VE interface are in the same VLAN. Then, more than one group ID and IP address are set according to the VRRP protocol, and the VRRP protocol is run in the divided VLAN to form one or more VRRP groups and virtual Layer 3 switching devices. .
  • the RPR ring described in this embodiment has six network devices.
  • the network devices on the RPR ring can be any number of multiple.
  • the method and system for creating multiple VRRP groups on the RPR ring and virtualizing multiple virtual Layer 3 switching devices are the same as those in this embodiment, and are not described in detail here.
  • the present invention further provides a method for performing active/standby switchover in a VRRP group, where the active/standby switchover refers to the negotiation of each node in the connected domain of the VRRP group.
  • the connected domain refers to a specific area, and each node in the area can perform information or service interaction.
  • the active/standby switchover needs to be performed in the connected domain to negotiate a new primary node.
  • the topology of the RPR ring changes, causing the following two situations in a connected domain: First, at least one primary node is added to the connected domain; second, the original primary node in the connected domain is invalid, resulting in the connected domain. There is no primary node.
  • each backup node in the connected domain records the MAC address of the RPR interface of the master node according to the VRRP protocol. If a master node in the connected domain receives VRRP extension packets from other master nodes, each master node in the connected domain determines a new master node according to the VRRP protocol negotiation, and records new nodes that are not determined to be the master node. The MAC address of the RPR interface of the primary node.
  • each backup node in the connected domain checks its saved topology table and determines whether the MAC address of the original primary node's RPR interface exists in the current topology table. If it exists, it indicates that the original primary node in the connected domain has not failed, and no active/standby switchover is necessary. If it does not exist, it indicates that the original primary node in the connection domain is invalid.
  • Each backup node negotiates a new primary node according to the VRRP protocol negotiation, and records the MAC address of the new primary node's RPR interface by other nodes that are not determined to be the primary node.
  • the 50 ms topology convergence feature refers to: All the network devices on the RPR ring collect the topology information of the RPR ring within 50 ms, and perform the active/standby switch according to the collected topology information.

Landscapes

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

Description

一种在弹性分组环上实现虛拟路由冗余协议的方法及系统 技术领域
本发明涉及路由技术, 尤指一种在弹性分组环上实现虚拟路由冗余 协议的方法及系统。 发明背景
图 1为现有的在弹性分组环(RPR, Resilient Packet Ring )上实现 虚拟路由冗余协议( VRRP, Virtual Router Redundancy Protocol )的系统 结构图。 如图 1所示, 该 RPR环包括网络设备 All、 网络设备 B12、 网 络设备 C13、 网络设备 D14、 网络设备 E15、 网络设备 F16。 所述网络 设备 All至网络设备 F16能够支持 RPR协议, 每个网络设备的 RPR接 口可以支持两种工作模式, 分别是路由模式和桥模式。 所述路由模式是 指, 在 RPR接口上承载 IP业务或 MPLS业务等; 所述桥模式是指, 在 RPR接口上承载以太网业务。上述图 1提及的网络设备可以是支持 RPR 协议的路由器或三层交换机等。
如图 1所示, 通过在网络设备 All和网络设备 B12的 RPR接口上 运行 VRRP协议,可以将网络设备 Al l和网络设备 B12构成一个 VRJRP 组, 该 VRRP组具有虚拟的 RPR接口。
对网络设备 C13至网络设备 F16而言, 网络设备 All和网络设备 B12构成的 VRRP组相当于一个虚拟三层交换设备 17,该虚拟三层交换 设备 17能够实现三层交换机或路由器的功能。 相应地, 虚拟出的 RPR 接口类似于虚拟三层交换设备 17的缺省网关。 RPR环上的网络设备 C13 至网络设备 F16可以通过虚拟三层交换设备 17的 RPR接口 , 与其它网 络进行通信。 上述 RPR环具有互逆双环的拓朴结构, 该 RPR环具有的 两个子环均能传输数据, 这两个子环被称为 RPR0环和 RPR1环。 如图 2所示, RPR0环的数据传送方向为顺时针方向, RPR1环的数据传送方 向为逆时针方向。 RPR环上的每个网络设备都采用以太网中的 48位介 质访问控制 (MAC, Medium Access Control )地址作为该设备的地址标 识。
所述 VRRP协议具有以下功能: 将网络中的一个以上的路由器构成 至少一个 VRRP组,每个 VRRP组相对于网络中未构成 VRRP组的设备 而言, 是一个虚拟的路由器。 如图 3 所示, 以太网中的主机八、 B、 C 分别通过路由器 、 B、 C与互联网进行通信。 在路由器 、 B、 C上运 行 VRRP协议, 将上述路由器 A、 B和 C构成一个 VRRP组, 该 VRJ P 组相当于一个虚拟的路由器, 以太网上的主机能够通过该虚拟的路由器 与互联网进行通信。
现有技术中,当一组网络设备通过运行 VRRP协议构成 VRRP组后, 该 VRRP组中的每个网络设备均能根据 VRRP协议产生虚拟的 MAC地 址和 IP地址。根据 IEEE802.17协议, RPR环上的网络设备的 RPR接口 除了支持自身的 MAC地址外, 最多只能再支持 2个 MAC地址。 这样 的话, 该网络设备最多只能构成 2个 VRRP组, 生成 2个虚拟三层交换 设备。 因此, 当网络中需要运用 VRRP协议虚拟出多个三层交换设备, 以便提供多种功能的服务和较高的传输带宽时, 现有技术的方法将不能 满足网络的需要。 不仅如此, RPR环上的一组网络设备根据 VRRP协议 虚拟出一个三层交换设备后, 受 VRRP协议的限制, 该虚拟三层交换设 备中的备份节点最快也要 3秒的时间, 才能检测到主节点的故障失效情 况, 并进行主备切换。 这种緩慢的主备切换速度, 不能满足一些实时业 务的需求。 这里, 多个网絡设备构成一个 VRRP组后, 需要将某个网络 设备确定为该 VRRP组的主节点, 并主要由主节点负责虛拟三层交换设 备的三层交换工作, 故该主节点又称为虚拟三层交换设备的主节点; 该
VRRP组中的其它网络设备皆为 ^分节点, 当主节点无法正常运行时, 由某个备份节点代替主节点完成虚拟三层交换设备的主要工作。 发明内容
有鉴于此, 本发明的主要目的在于提供在弹性分组环上实现虚拟 路由冗余协议的方法和系统,使得虚拟路由冗余协议能够更好地在弹 性分组环上生成多个虚拟路由器。
为达到上述目的, 本发明的技术方案具体是这样实现的: 一种在弹性分组环上实现虚拟路由冗余协议的方法, 该方法包括: 口, 创建支持多个介质访问控制地址的接口;
将所有即将构成虚拟路由冗余协议组的网络设备的弹性分组环接 口和支持多个介质访问控制地址的接口, 划分在同一个虛拟局域网内; 在划分后的虚拟局域网内运行虚拟路由冗余协议, 生成至少一个虚 拟三层交换设备。
当虚拟路由冗余协议组中的主节点检测到弹性分组环的拓朴结构 发生变化时, 该方法进一步包括: 所述主节点发出虚拟 由冗余协议扩 散报文, 在该主节点收到其他主节点发出的虚拟路由冗余协议扩散报文 后, 虚拟路由冗余协议组中的所有主节点根据虚拟路由冗余协议协商确 定新的主节点, 再由未被确定为主节点的其它节点记录该新的主节点的 RPR接口的介质访问控制地址。
该方法进一步包括: 虚拟路由冗余协议组中的备份节点记录主节点 的 RPR接口的介质访问控制地址, 当弹性分组环的拓朴结构发生变化 B于,备份节点检查自身的拓朴表中是否记录有主节点的 RPR接口的介质 访问控制地址, 如果有则不做处理; 如果没有, 备份节点判定主节点失 效, 则根据虛拟路由冗余协议与其他备份节点协商确定新的主节点, 再 由未被确定为主节点的其它节点记录该新的主节点的 RPR接口的介质 访问控制地址。
一种在弹性分組环上实现虚拟路由冗余协议的系统, 该系统中的网 络设备设置有弹性分组环接口, 网络设备之间通过弹性分组环连接, 所 述即将构成虛拟路由冗余协议组的网絡设备进一步设置有支持多个介 质访问控制地址的接口;
对于即将构成虚拟路由冗余协议组的网絡设备, 将这些网络设备的 弹性分组环接口和支持多个介质访问控制地址的接口划分在同一个虚 拟局域网内, 并在该虚拟局域网内运行虚拟路由冗余协议, 生成至少一 个虚拟三层交换设备。
由上述技术方案可见, 本发明的这种在弹性分组环上实现虚拟路 由冗余协议的方法, 在 RPR环上为即将构成 VRRP组的网络设备创 建以太网 (VE, Virtual Ethernet )接口, 并将所有即将构成 VRRP组 的网络设备的 VE接口和 RPR接口划分在同一个 VLAN内, 再在所 划分的 VLAN内运行 VRRP协议,从而在 RPR环上实现 VRRP协议。 此外, 由于网络设备上创建的 VE接口可以很好地支持多个 MAC地 址, 因此该方法能够同时在 RPR环上生成多个 VRRP组, 使得 RPR 环具有多个虚拟三层交换设备。
本发明还提供了一种在弹性分组环上实现虚拟路由冗余协议的 系统, 将该系统中的网络设备的 RPR接口设置为支持桥模式, 并在 即将构成 VRJRP组的网络设备上创建 VE接口, 然后在所创建的 VE 接口上运行 VRRP协议, 使得 PRR环上能够生成多个 VRRP组。 附图简要说明
图 1为现有技术中在 RPR环上实现 VRRP协议的系统结构图; 图 2为现有技术中 RPR环的拓朴结构示意图;
图 3为现有技术中运用 VR P协议构成虚拟路由器的示意图; 图 4为本发明一个实施例中在 RPR环上实现 VRRP协议的流程 图;
图 5为本发明一个实施例中在 RPR环上实现 VRRP协议的系统 结构图。 实施本发明的方式
在本发明的一个实施例中, 首先在 RPR环中的网絡设备的 RPR 接口上创建能够支持多个 MAC地址的接口, 并将该支持多个 MAC 地址的接口和 RPR接口划分在同一个虚拟局域网 (VLAN, Virtual LAN ) 中, 再在划分后的 VLAN内运行 VRRP协议, 就可在 RPR环 中实现多个虚拟三层交换设备。
该实施例中, 所述能够支持多个 MAC地址的接口为 VE接口。 由于需要在 RPR环的网络设备的 RPR接口上创建 VE接口, 故要求 该网络设备的 RPR接口能够支持桥模式。 具体原因为: 从 VE接口 发出的报文均为二层以太网报文, 如果在路由模式下, 该报文无法直 接承载在 RPR环上; 而处于桥模式的网络设备能够按照 RPR协议对 二层以太网报文进行封装, 将 VE接口发出的报文承载到 RPR环上。
下面以 RPR环中的 2个网络设备, 假设为网絡设备 A和网络设 备 B,构成 3个虚拟三层交换设备的过程为例,对本实施例详加说明, 具体过程见图 4。 在构成虚拟三层交换设备之前, 根据 VRRP协议, 将 RPR环上的所有网络设备的 RPR接口设置为支持桥模式, 这些网 络设备包括网络设备 A和网络设备 B。
步骤 401 : 分别为网絡设备 A和网络设备 B的 RPR接口创建一 个 VE接口。 所述 VE接口的特性和以太网接口相同, 可以同时支持 多个 MAC地址。
该步骤中, 所述创建 VE接口的方法具体为: 在网络设备的接口 索引表中为该 VE接口增加一条记录, 并设置该 VE接口的 MAC地 址和 IP地址, 以便其他设备能够对该接口进行访问或操作。
步骤 402: 将网络设备 A的 VE接口和 RPR接口, 以及网络设备 B的 VE接口和 RPR接口划分在同一个 VLAN内。
执行完该步骤, 网络设备 A和网絡设备 B的 VE接口和 RPR接 口就隶属于同一个 VLAN。 一旦网络中出现针对该 VLAN的广播消 息等, 网絡设备 A的 VE接口和 RPR接口, 以及网络设备 B的 VE 接口和 RPR接口都能够接收到该广播消息。
步骤 403: 分别为待构成的 3个 VRRP组设置对应的组标识和 IP 地址, 再在划分后的 VLAN内运行以太网的 VRRP协议, 生成这 3 个 VR P組, 从而虚拟出 3个虚拟三层交换设备。 这 3个虚拟交换设 备使用预先设置的组标识和 IP地址。
图 5为本发明一个实施例中在 RPR环上实现 VRRP协议的系统 结构图。 同样地, 以 RPR环中的 2个网络设备, 假设为网络设备 A 和网络设备 B, 构成 3个虛拟三层交换设备为例, 对图 5所示的系统 结构进行介绍。 该系统包括: 网絡设备 A51、 网络设备 B52、 网络设 备 C53、 网络设备 D54、 网络设备 E55、 网络设备 F56。 其中, 网络 设备 A51至网絡设备 F56通过 RPR环连接, 将网络设务 A51至网络 设备 F56的 RPR接口设置为支持桥模式。 如图 5所示, 所述网络设 备 A和网络设备 B还设置有 VE接口, 将网络设备 A的 VE接口和 RPR接口, 以及网络设备 Β 的 VE接口和 RPR接口划分在同一个 VLAN中。 之后, 设置 3个组标识和 IP地址, 并在划分的 VLAN内 运行以太网的 VR P协议, 构成对应的 3个 VRRP组。
与图 4所示的流程和图 5所示的系统类似的, 当需要由 2个网络 设备构成任意多个 VRRP组及虚拟三层交换设备时, 只需根据 VRRP 协议设置对应数量的组标识和 IP 地址, 并在划分的 VLAN 内运行 VRRP协议, 即可构成上述 VRRP组。 如果需要由 RPR环上的多个 网絡设备组成一个以上 VRRP组, 也可按照图 4所示的方法,在即将 构成 VRRP组的多个网络设备上创建 VE接口, 并将这多个网络设备 的 RPR接口和 VE接口划分在同一个 VLAN内, 再根据 VRRP协议 设置一个以上的组标识和 IP地址,并在划分后的 VLAN内运行 VRRP 协议, 从而构成一个以上的 VRRP组及虛拟三层交换设备。
本实施例描述的 RPR环上具有 6个网络设备, 实际应用时, RPR 环上的网络设备可以是任意多个的。对于存在任意多个网络设备的情 况, 在 RPR环上创建多个 VRRP組, 虚拟产生多个虚拟三层交换设 备的方法及系统与本实施例相同, 此处不再详述。
按照本发明的方法在 RPR环上实现 VRRP协议后, 本发明进一 步提供了一种在 VRRP组中进行主备切换的方法,所述主备切换指的 是 VRRP組的连通域内的各个节点协商产生主节点的操作。 其中, 连 通域指的是一个特定区域,该区域内的各个节点之间能够进行信息或 业务交互。当 VRRP组中的节点发生故障或其他原因导紋 VRRP组的 各个连通域包含的节点发生变化,从而出现新的连通域或旧的连通域 的结构发生变化时, 某个连通域内原来的主节点可能失效, 或者该连 通域内出现多个主节点, 这时需要在该连通域进行主备切换, 协商确 定一个新的主节点。 由于 RPR环的拓朴结构发生变化, 导致某个连通域出现以下两 种情况: 其一, 该连通域内新增至少一个主节点; 其二, 该连通域内 原来的主节点失效, 导致该连通域内不存在主节点。
对于某个连通域内新增至少一个主节点的情况, 该连通域内存在 的所有主节点将在 RPR环上发送 VRRP扩展报文, 如果该连通域内 的某个主节点没有收到其他主节点发出的 VRRP扩展报文,则证明该 连通域内只存在一个主节点, 此时不必进行主备切换, 同时该连通域 内的各个备份节点根据 VRRP协议记录该主节点的 RPR接口的 MAC 地址。如果连通域内的某个主节点收到其他主节点发出的 VRRP扩展 报文, 该连通域内的各个主节点根据 VRRP 协议协商确定新的主节 点, 并由其他未被确定为主节点的节点记录新的主节点的 RPR接口 的 MAC地址。
对于某个连通域内原来的主节点失效的情况, 该连通域内的各个 备份节点将检查自身保存的拓朴表,并判断当前的拓朴表中是否存在 原来的主节点的 RPR接口的 MAC地址, 如果存在,表明该连通域内 原来的主节点没有失效, 不必进行主备切换。 如果不存在, 表明该连 通域内原来的主节点失效,各个备份节点根据 VRRP协议协商确定新 的主节点,并由其他未被确定为主节点的节点记录新的主节点的 RPR 接口的 MAC地址。
在使用 VRRP协议发现连通域内的主节点失效后,可以利用 RPR 环具有的 50ms拓朴收敛特性, 加快主备切换的速度。 所述 50ms拓 朴收敛的特性指的是: RPR环上的所有网絡设备均会在 50ms内收集 该 RPR环的拓朴信息, 并根据收集到的拓朴信息进行主备切换。
以上所述, 仅为本发明的较佳实施例, 并非用于限定本发明的保 护范围。

Claims

权利要求书
1、 一种在弹性分组环上实现虚拟路由冗余协议的方法, 其特征在 于, 该方法包括: 为每个即将构成虚拟路由冗余协议组的网络设备的弹 性分组环 RPR接口, 创建支持多个介质访问控制地址的接口;
将所有即将构成虚拟路由冗余协议组的网络设备的弹性分组环接 口和支持多个介质访问控制地址的接口, 划分在同一个虚拟局域网内; 在划分后的虛拟局域网内运行虚拟路由冗余协议, 生成至少一个虚 拟三层交换设备。
2、 据权利要求 1所述的方法, 其特征在于, 该方涤进一步包括: 将弹性分组环上的网络设备的 RPR接口设置为支持桥模式;所述支持多 个介质访问控制地址的接口为虚拟以太网 VE接口。
3、 根据权利要求 1或 2所述的方法, 其特征在于, 当虚拟路由冗 余协议组中的主节点检测到弹性分組环的拓朴结构发生变化时, 该方法 进一步包括: 所述主节点发出虚拟路由冗余协议扩散报文, 在该主节点 收到其他主节点发出的虚拟路由冗余协议扩散报文后, 虚拟路由冗余协 议组中的所有主节点根据虚拟路由冗余协议协商确定新的主节点, 再由 未被确定为主节点的其它节点记录该新的主节点的 RPR接口的介质访 问控制地址。
4、 根据权利要求 1或 2所述的方法, 其特征在于, 该方法进一步 包括:虚拟路由冗余协议组中的备份节点记录主节点的 RPR接口的介质 访问控制地址, 当弹性分组环的拓朴结构发生变化时, 备份节点检查自 身的拓朴表中是否记录有主节点的 RPR接口的介质访问控制地址,如果 有则不做处理; 如果没有, 备份节点判定主节点失效, 则根据虚拟路由 冗余协议与其他备份节点协商确定新的主节点, 再由未被确定为主节点 的其它节点记录该新的主节点的 RPR接口的介质访问控制地址。
5、 一种在弹性分组环上实现虚拟路由冗余协议的系统, 该系统中 的网络设备设置有弹性分组环接口, 网絡设备之间通过弹性分组环连 接, 其特征在于, 所述即将构成虚拟路由冗余协议组的网络设备进一步 设置有支持多个介质访问控制地址的接口;
对于即将构成虚拟路由冗余协议组的网络设备, 将这些网絡设备的 弹性分組环接口和支持多个介质访问控制地址的接口划分在同一个虚 拟局域网内, 并在该虚拟局域网内运行虚拟路由冗余协议, 生成至少一 个虚拟三层交换设备。
6、 根据权利要求 5 所述的系统, 其特征在于, 所述支持多个介质 访问控制地址的接口为虚拟以太网 VE接口。
PCT/CN2006/002002 2005-10-08 2006-08-08 Méthode et système d’implémentation de vrrp sur le rpr WO2007041919A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006800121777A CN101160909B (zh) 2005-10-08 2006-08-08 一种在弹性分组环上实现虚拟路由冗余协议的方法及系统

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CNA2005101065856A CN1859381A (zh) 2005-10-08 2005-10-08 一种在弹性分组环上实现虚拟路由冗余协议的方法及系统
CN200510106585.6 2005-10-08

Publications (1)

Publication Number Publication Date
WO2007041919A1 true WO2007041919A1 (fr) 2007-04-19

Family

ID=37298243

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2006/002002 WO2007041919A1 (fr) 2005-10-08 2006-08-08 Méthode et système d’implémentation de vrrp sur le rpr

Country Status (7)

Country Link
US (1) US20070081535A1 (zh)
EP (1) EP1773008B1 (zh)
CN (2) CN1859381A (zh)
AT (1) ATE394861T1 (zh)
DE (1) DE602006001093D1 (zh)
ES (1) ES2306337T3 (zh)
WO (1) WO2007041919A1 (zh)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7269648B1 (en) * 2001-09-27 2007-09-11 Emc Corporation Resolving multiple master node conflict in a DDB
JP4459018B2 (ja) * 2004-10-28 2010-04-28 富士通株式会社 ノード装置
JP5056341B2 (ja) * 2006-11-07 2012-10-24 富士通株式会社 通信中継装置、通信中継方法および通信中継処理プログラム
US8699327B2 (en) * 2007-01-31 2014-04-15 Alcatel Lucent Multipath virtual router redundancy
WO2009045130A1 (en) * 2007-10-02 2009-04-09 Telefonaktiebolaget Lm Ericsson (Publ) Vrrp and learning bridge cpe
KR101252828B1 (ko) * 2009-07-24 2013-04-11 한국전자통신연구원 Vlan기반 브리지의 이더넷 링 네트워크 관리 방법
CN102315925B (zh) * 2010-07-05 2014-09-24 杭州华三通信技术有限公司 一种在rpr上实现vrrp的方法及路由设备
CN102413047A (zh) * 2011-11-24 2012-04-11 华为技术有限公司 三层网络设备的路由发布方法及三层网络设备
CN102664750B (zh) * 2012-04-09 2014-09-10 北京星网锐捷网络技术有限公司 多机热备份的方法、系统及设备
CN103581014B (zh) * 2012-07-20 2018-02-06 中兴通讯股份有限公司 Vrrp路由器动态调整方法及装置
US9525624B2 (en) * 2013-05-21 2016-12-20 Avaya Inc. Virtual router redundancy protocol for scalable distributed default routing gateway
CN104579736B (zh) * 2013-10-29 2019-01-15 华为技术有限公司 一种环路数据传输方法及节点设备
CN105471727B (zh) * 2014-08-20 2018-11-09 新华三技术有限公司 Rpr网络中的报文转发方法及装置
US9986019B2 (en) * 2015-06-24 2018-05-29 At&T Intellectual Property I, L.P. Intelligent route management for diverse ecosystems
US10764241B2 (en) * 2018-03-01 2020-09-01 Dell Products L.P. Address assignment and data forwarding in computer networks

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1479490A (zh) * 2002-08-29 2004-03-03 华为技术有限公司 一种在弹性分组环网接口上共享介质接入控制地址的方法
CN1547359A (zh) * 2003-12-09 2004-11-17 上海交通大学 弹性分组多环互连网络自动拓扑发现的实现方法
CN1553675A (zh) * 2003-05-26 2004-12-08 华为技术有限公司 网络设备的弹性分组环连接装置

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5930333A (en) * 1996-09-24 1999-07-27 Mci Communications Corporation Method and system for projecting service availability in a telecommunications system
US6331985B1 (en) * 1997-08-21 2001-12-18 Adc Telecommunications, Inc. Telecommunication network with variable address learning, switching and routing
KR100459539B1 (ko) * 2002-11-29 2004-12-03 한국전자통신연구원 외부네트워크 인터페이스에 대한 최대전송단위 조절기능을 가지는 라우터 및 그 방법
US7532588B2 (en) * 2003-02-19 2009-05-12 Nec Corporation Network system, spanning tree configuration method and configuration program, and spanning tree configuration node
US7835367B2 (en) * 2003-04-23 2010-11-16 Fujitsu Limited Network connection method, network connection system, and, layer 2 switch and management server forming the network connection system
US7486610B1 (en) * 2005-05-11 2009-02-03 Cisco Technology, Inc. Multiple virtual router group optimization

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1479490A (zh) * 2002-08-29 2004-03-03 华为技术有限公司 一种在弹性分组环网接口上共享介质接入控制地址的方法
CN1553675A (zh) * 2003-05-26 2004-12-08 华为技术有限公司 网络设备的弹性分组环连接装置
CN1547359A (zh) * 2003-12-09 2004-11-17 上海交通大学 弹性分组多环互连网络自动拓扑发现的实现方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LIU X. ET AL.: "The Core Technology of MAN-IP/MPLS+RPR1", NETWORK SECURITY TECHNOLOGY AND APPLICATIONS, September 2005 (2005-09-01) *

Also Published As

Publication number Publication date
CN1859381A (zh) 2006-11-08
DE602006001093D1 (de) 2008-06-19
CN101160909B (zh) 2010-07-21
EP1773008A1 (en) 2007-04-11
ATE394861T1 (de) 2008-05-15
ES2306337T3 (es) 2008-11-01
EP1773008B1 (en) 2008-05-07
CN101160909A (zh) 2008-04-09
US20070081535A1 (en) 2007-04-12

Similar Documents

Publication Publication Date Title
WO2007041919A1 (fr) Méthode et système d’implémentation de vrrp sur le rpr
JP5106100B2 (ja) アドレス型キャリアネットワークにおける区別転送
US6163543A (en) Port aggregation protocol
JP4692258B2 (ja) ルータ装置及び通信システム
WO2008077333A1 (fr) Procédé, système et routeur pour mettre en œuvre une communication entre des dispositifs ip
JP7176095B2 (ja) 通信方法、通信機器、および通信システム
WO2009045608A1 (en) Providing an abstraction layer in a cluster switch that includes plural switches
WO2004084496A1 (fr) Procede de mise en oeuvre de la distribution de la charge dynamique par les passerelles
JP2006020085A (ja) ネットワークシステム、ネットワークブリッジ装置、ネットワーク管理装置およびネットワークアドレス解決方法
WO2009033428A1 (fr) Procédé, système et dispositif pour retirer une adresse de commande d'accès au support
WO2009062352A1 (fr) Procédé de routage de commutateurs par mise en file d'attente
WO2007016839A1 (en) Method and system for carrying out hierarchical virtual private switch services
WO2009082905A1 (fr) Procédé système et dispositif commutateur permettant l'établissement dynamique de réseau local virtuel de multidiffusion
CN101562576B (zh) 一种路由发布方法和设备
WO2013139159A1 (zh) 在网络中转发报文的方法和运营商边缘设备
WO2011069392A1 (zh) 一种专用虚拟局域网的实现方法和装置
WO2015027736A1 (zh) 分层虚拟专用局域网服务的实现方法及装置
WO2007104201A1 (fr) Procédé d'acheminement de messages dans un tunnel de services
WO2013159549A1 (zh) 一种建立和使用浮动网段的方法、装置和系统
WO2009146615A1 (zh) 网络地址转换业务的处理方法和系统及处理器
CN100359875C (zh) 在地址解析协议代理上实现负载均摊的方法
JP2003258843A (ja) Lan間接続装置切替えシステム及びその方法
WO2013010431A1 (zh) 三层交换机及用于三层交换机的路由方法
JP4299658B2 (ja) ネットワーク制御システム及び制御方法
CN101127770B (zh) 在地址解析协议代理上实现备份的方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 200680012177.7

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06775320

Country of ref document: EP

Kind code of ref document: A1