WO2016138747A1 - Procédé et appareil de synchronisation d'informations - Google Patents

Procédé et appareil de synchronisation d'informations Download PDF

Info

Publication number
WO2016138747A1
WO2016138747A1 PCT/CN2015/087952 CN2015087952W WO2016138747A1 WO 2016138747 A1 WO2016138747 A1 WO 2016138747A1 CN 2015087952 W CN2015087952 W CN 2015087952W WO 2016138747 A1 WO2016138747 A1 WO 2016138747A1
Authority
WO
WIPO (PCT)
Prior art keywords
arp
information
notification message
packet
primary
Prior art date
Application number
PCT/CN2015/087952
Other languages
English (en)
Chinese (zh)
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 WO2016138747A1 publication Critical patent/WO2016138747A1/fr

Links

Images

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

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and apparatus for synchronizing information in a bridge environment.
  • a Layer 2 virtual private network L2VPN service a Layer 3 virtual private network L3VPN service.
  • the L3VPN service In order to implement the L3VPN service, it is not required to support from the access aggregation layer. Only the L2VPN service can be supported at the access aggregation layer, and the L3VPN service can be supported at the core network layer. During the specific communication process, the core node needs to terminate the L2VPN service internally, and then bridges the L3VPN service to implement forwarding between the L2VPN service and the L3VPN service.
  • the main bridging device and the standby bridging device are generally included.
  • the main bridging device fails, the pseudowire fast rerouting PW FRR in the bridging environment and the virtual private network fast rerouting VPN FRR are switched, and the corresponding bridging is performed.
  • the function is transferred to the standby bridge device.
  • the ARP device needs to drive a large amount of traffic to obtain and parse ARP packets.
  • the bridging function requires a large number of ARP packets to be processed.
  • the present invention provides a method for information synchronization, which is used for a primary bridging device, including: parsing an address resolution protocol ARP packet to generate first ARP parsing information; The information is configured to construct a notification message corresponding to the first ARP parsing information, and send the notification message to the backup bridging device, so that the backup bridging device parses the received notification message, and generates a second synchronization
  • the ARP parsing information is the same as the first ARP parsing information.
  • the notification message is a gratuitous ARP packet
  • the configuration is related to the first ARP.
  • the notification message corresponding to the parsing information includes: constructing a gratuitous ARP packet corresponding to the first ARP parsing information.
  • the sending the notification message to the backup bridging device includes: sending the notification message to the backup bridging device by using a channel pseudowire PW between the active and standby bridging devices.
  • the ARP packet includes an ARP packet whose destination physical MAC address is all Fs and an ARP packet whose destination MAC address is the gateway MAC address.
  • the present invention further provides an apparatus for synchronizing information, which is located in a primary bridging device, and includes: a first parsing module configured to parse an address resolution protocol ARP packet to generate first ARP parsing information; and a constructing module configured to The first ARP parsing information is configured to construct a notification message corresponding to the first ARP parsing information, and the sending module is configured to send the notification message to the backup bridging device, so that the backup bridging device receives the notification
  • the packet is parsed, and the second ARP parsing information is generated synchronously, and the second ARP parsing information is the same as the first ARP parsing information.
  • the notification message is a gratuitous ARP packet
  • the constructing module is configured to construct a gratuitous ARP packet corresponding to the first ARP parsing information.
  • the sending module is configured to send the notification message to the backup bridge device through the channel pseudowire PW between the primary and secondary bridge devices.
  • the ARP packet includes an ARP packet whose destination physical MAC address is all Fs and an ARP packet whose destination MAC address is the gateway MAC address.
  • the invention further provides a method for synchronizing information, which is used for preparing a bridge device, comprising: receiving a notification message sent by a primary bridge device, wherein the notification message is obtained by the primary bridge device according to the ARP packet parsed by the host bridge device The first ARP parsing information is obtained, and the received ARP parsing information is parsed, and the second ARP parsing information is the same as the first ARP parsing information.
  • the notification message is a gratuitous ARP packet
  • the notification message sent by the receiving host bridge device includes: receiving the gratuitous ARP packet sent by the primary bridging device.
  • the receiving the notification message sent by the primary bridging device includes: receiving, by the channel pseudowire PW between the primary and secondary bridge devices, the notification packet sent by the primary bridging device.
  • the ARP packet includes an ARP packet whose destination physical MAC address is all Fs and an ARP packet whose destination MAC address is the gateway MAC address.
  • the present invention further provides an apparatus for synchronizing information, which is located in a backup bridging device, and includes: a receiving module, configured to receive a notification message sent by the main bridging device, wherein the notification message is that the main bridging device parses the ARP according to the The first ARP parsing information obtained by the message is constructed; the second parsing module is set to receive the received The notification message is parsed, and the second ARP parsing information is generated synchronously, and the second ARP parsing information is the same as the first ARP parsing information.
  • the notification packet is a gratuitous ARP packet
  • the receiving module is configured to receive the gratuitous ARP packet sent by the primary bridging device.
  • the receiving module is configured to receive a notification message sent by the primary bridging device by using a channel pseudowire PW between the active and standby bridging devices.
  • the ARP packet includes an ARP packet whose destination physical MAC address is all Fs and an ARP packet whose destination MAC address is the gateway MAC address.
  • the present invention has the beneficial effects that the information synchronization method and apparatus of the present invention can be used in real time through the channel PW established between the primary and backup bridge devices.
  • the ARP resolution information generated on the primary bridge device is synchronized to the backup bridge device to implement the dual-system hot backup function.
  • the backup bridge device needs to process a large number of ARP packets to complete the bridge function. The situation reduces the impact on the overall business and improves the protection switching performance.
  • FIG. 1 is a flow chart showing a method of information synchronization in an embodiment of the present invention.
  • FIG. 2 is a flowchart of processing the ARP packet with the destination MAC address being all Fs according to the present invention.
  • FIG. 3 is a flowchart of processing an ARP packet whose destination MAC address is a gateway MAC address according to the present invention.
  • FIG. 4 is a block diagram showing the structure of an apparatus for synchronizing information according to an embodiment of the present invention.
  • FIG. 5 is a flow chart showing a method of information synchronization according to another embodiment of the present invention.
  • FIG. 6 is a block diagram showing the structure of an apparatus for synchronizing information according to another embodiment of the present invention.
  • a flowchart of a method for information synchronization according to an embodiment of the present invention includes the following steps:
  • Step S101 Parsing an address resolution protocol ARP packet to generate first ARP parsing information; the first ARP parsing information exists in the form of an ARP entry in the primary bridging device;
  • Step S102 Construct a notification message corresponding to the first ARP parsing information according to the first ARP parsing information
  • Step S103 Send the notification message to the backup bridge device, and enable the backup bridge device to parse the received notification message, and generate second ARP parsing information, the second ARP parsing information and the first The ARP resolution information is the same; the second ARP resolution information exists in the form of an ARP entry in the backup bridge device.
  • the ARP resolution information generated on the primary bridging device is synchronized to the backup bridging device to implement the hot standby function, so as to prevent the bridging device from completing the bridging when the primary bridging device fails.
  • the function requires a large number of ARP packet processing to reduce the impact on the overall service and improve protection switching performance.
  • the notification message is a gratuitous ARP packet
  • the notification message corresponding to the first ARP parsing information is:
  • the method for synchronizing information in the embodiment of the present invention can synchronize the ARP parsing information by establishing a channel pseudowire PW between the primary and secondary bridge devices.
  • the sending the notification message to the backup bridge device includes:
  • the notification message is sent to the backup bridge device through the channel pseudowire PW between the active and standby bridge devices.
  • the channel PW is different from the service PW in the bridge network, the channel PW is established between the primary and backup bridge devices, and the service PW is generally bridged. Established between the device and the base station. Moreover, during the communication process, it is necessary to ensure that the channel PW is in an active state at all times.
  • the bridging device that implements the bridging function usually performs the conversion and forwarding of the L2VPN packet and the L3VPN packet by setting the bridging logical interface.
  • the corresponding interfaces can be respectively called the Layer 2 logical interface and the Layer 3 logical interface.
  • the channel PW is bound to a three-layer logical interface corresponding to the active and standby bridge devices, and one channel PW can be shared between different three-layer logical interfaces.
  • multiple channel PWs can be configured between the active and standby bridge devices to quickly synchronize ARP resolution information.
  • the multiple channels PW are isolated from each other to avoid A broadcast situation has occurred.
  • ARP packets In a bridged environment, there are two types of ARP packets that need to be resolved for the primary or secondary bridge device (the primary and secondary bridge devices are opposite): ARP packets with the destination physical MAC address being all Fs. The text and destination MAC address are ARP packets of the gateway MAC address.
  • Step 201 The bridge device receives an ARP packet whose destination MAC address is all Fs.
  • Step 202 The bridge device CPU determines whether the destination IP address of the ARP packet is its own IP address.
  • Step 203 If yes, the bridge device is a primary bridge device, and the master bridge device parses the ARP packet to generate the first ARP parsing information.
  • Step 204 The master bridge device constructs a gratuitous ARP packet corresponding to the first ARP parsing information according to the first ARP parsing information.
  • Step 205 The primary bridging device sends the gratuitous ARP packet to the backup bridging device through the channel pseudowire PW between the active and standby bridging devices, so that the backup bridging device parses the received gratuitous ARP packet. And generating, by the second ARP parsing information, the second ARP parsing information is the same as the first ARP parsing information;
  • Step 206 If it is not its own IP address, the bridge device CPU continues to determine whether the destination IP address and its own IP address are in the same network segment;
  • Step 207 If the network segment is not in the same network segment, discard the ARP packet; if yes, determine whether the ARP packet is sent through the channel PW.
  • Step 208 If yes, the bridging device is a backup bridging device, and the standby bridging device parses the received ARP packet, and generates ARP parsing information synchronously; otherwise, discards the ARP packet.
  • the ARP packet is that the primary bridge device sends an ARP request packet to the base station, so that the destination MAC address received is the gateway.
  • the ARP reply packet of the MAC address so the specific processing is as follows:
  • Step 301 The primary bridging device receives the ARP packet whose destination MAC address is the gateway MAC address.
  • Step 302 The primary bridge device CPU determines whether the destination IP address of the ARP packet is its own IP address.
  • Step 303 If yes, the primary bridging device parses the ARP packet to generate the first ARP parsing information; otherwise, discards the ARP packet;
  • Step 304 The master bridge device constructs a gratuitous ARP packet corresponding to the first ARP parsing information according to the first ARP parsing information.
  • Step 305 The primary bridging device sends the gratuitous ARP packet to the backup bridging device through the channel pseudowire PW between the active and standby bridging devices, so that the backup bridging device parses the received gratuitous ARP packet.
  • the second ARP parsing information is generated synchronously, and the second ARP parsing information is the same as the first ARP parsing information, and the process of synchronizing the ARP parsing information of the active and standby bridging devices is completed.
  • an embodiment of the present invention further provides an apparatus for synchronizing information, which is located in a main bridging device, and is configured to perform the method for synchronizing the information.
  • the device for synchronizing information includes:
  • the first parsing module 41 is configured to parse the address resolution protocol ARP packet to generate first ARP parsing information
  • the constructing module 42 is configured to construct a notification message corresponding to the first ARP parsing information according to the first ARP parsing information;
  • the sending module 43 is configured to send the notification message to the backup bridge device, so that the backup bridge device parses the received notification message, and generates second ARP parsing information, the second ARP parsing information. Same as the first ARP parsing information.
  • the notification message is a gratuitous ARP packet
  • the constructing module is configured to construct a gratuitous ARP packet corresponding to the first ARP parsing information.
  • the information synchronization device of the embodiment of the present invention can synchronize the ARP resolution information by establishing a channel pseudowire PW between the primary and secondary bridge devices.
  • the sending module is configured to send the notification message to the backup bridge device by using a channel pseudowire PW between the primary and secondary bridge devices.
  • the channel PW is bound to a three-layer logical interface corresponding to the primary and secondary bridge devices, and a channel PW can be shared between different three-layer logical interfaces.
  • a traversal search process for the channel PW and the binding of the three-layer logical interface Therefore, one channel PW cannot be bound to too many three-layer logical interfaces.
  • multiple channel PWs can be configured between the active and standby bridge devices to quickly synchronize ARP resolution information.
  • the multiple channels PW are isolated from each other.
  • the ARP packets with the destination physical MAC address being all Fs and the destination MAC address are ARP packet of the gateway MAC address.
  • the invention also provides a method for information synchronization, which can be applied to a backup bridge device.
  • a flowchart of a method for synchronizing information according to another embodiment of the present invention includes the following steps:
  • Step 501 Receive a notification packet sent by the primary bridging device, where the notification packet is constructed by the primary bridge device according to the first ARP parsing information obtained by the primary bridging device.
  • Step 502 Parse the received notification message, and generate second ARP parsing information synchronously, where the second ARP parsing information is the same as the first ARP parsing information.
  • the notification message is a gratuitous ARP packet
  • the notification message is a gratuitous ARP packet
  • the notification message sent by the receiving host bridge device includes:
  • the method for synchronizing information in the embodiment of the present invention can synchronize the ARP parsing information by establishing a channel pseudowire PW between the primary and secondary bridge devices.
  • the receiving the notification message sent by the primary bridging device includes:
  • the notification message sent by the primary bridge device is received by the channel pseudowire PW between the active and standby bridge devices.
  • ARP ARP with the destination physical MAC address being all F
  • the packet and destination MAC address are ARP packets of the gateway MAC address.
  • the embodiment of the present invention further provides an apparatus for synchronizing information, which is located in a backup bridging device, and is used for performing the method for synchronizing information shown in FIG. 5.
  • the device for synchronizing information includes:
  • the receiving module 61 is configured to receive the notification message sent by the primary bridging device, where the notification packet is configured by the primary bridging device according to the first ARP parsing information obtained by the primary bridging device.
  • the second parsing module 62 is configured to parse the received notification packet, and generate second ARP parsing information synchronously, where the second ARP parsing information is the same as the first ARP parsing information.
  • the notification packet is a gratuitous ARP packet
  • the receiving module is configured to receive the gratuitous ARP packet sent by the primary bridging device.
  • the information synchronization device of the embodiment of the present invention can synchronize the ARP resolution information by establishing a channel pseudowire PW between the primary and secondary bridge devices.
  • the receiving module is configured to receive, by using a channel pseudowire PW between the primary and secondary bridge devices, a notification message sent by the primary bridging device.
  • ARP packets In the process of synchronizing information using the information synchronization device shown in FIG. 6, there are two types of address resolution protocol ARP packets to be parsed: ARP packets with a destination physical MAC address of all Fs and a destination MAC address. ARP packet whose MAC address is the gateway.
  • the channel PW established between the primary and secondary bridge devices can synchronize the ARP resolution information generated on the primary bridge device to the backup bridge device in real time to implement dual hotspots.
  • the backup function prevents the backup bridge device from performing a large number of ARP packet processing when the bridge function is completed. This reduces the impact on the overall service and improves the protection switching performance.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

La présente invention concerne un procédé et appareil de synchronisation d'informations, le procédé de synchronisation d'informations étant utilisé pour un dispositif de pont principal et comprenant les étapes consistant à: résoudre un message de protocole de résolution d'adresse (ARP) et générer des premières informations de résolution ARP; d'après les premières informations de résolution ARP, construire un message de notification correspondant aux premières informations de résolution ARP; envoyer le message de notification à un dispositif de pont de réserve pour permettre au dispositif de pont de réserve de résoudre le message de notification reçu et de générer des deuxièmes informations de résolution ARP de façon synchrone, et les deuxièmes informations de résolution ARP étant les mêmes que les premières informations de résolution ARP. Au moyen de la présente invention, les informations de résolution ARP générées sur le dispositif de pont principal peuvent être synchronisées en temps réel avec le dispositif de pont de réserve, et une fonction de relève immédiate par machine double peut être réalisée.
PCT/CN2015/087952 2015-03-04 2015-08-24 Procédé et appareil de synchronisation d'informations WO2016138747A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510097814.6A CN105991392A (zh) 2015-03-04 2015-03-04 一种信息同步的方法及装置
CN201510097814.6 2015-03-04

Publications (1)

Publication Number Publication Date
WO2016138747A1 true WO2016138747A1 (fr) 2016-09-09

Family

ID=56849182

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/087952 WO2016138747A1 (fr) 2015-03-04 2015-08-24 Procédé et appareil de synchronisation d'informations

Country Status (2)

Country Link
CN (1) CN105991392A (fr)
WO (1) WO2016138747A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572317A (zh) * 2019-07-16 2019-12-13 烽火通信科技股份有限公司 电信网络中实现动态arp热备份的方法及系统

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111555970A (zh) * 2020-04-16 2020-08-18 深圳震有科技股份有限公司 一种基于双机冗余系统的网络切换方法、系统及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413046A (zh) * 2011-11-24 2012-04-11 杭州华三通信技术有限公司 借助虚拟路由器冗余协议备份组转发流量的方法及设备
CN102647304A (zh) * 2012-05-09 2012-08-22 中兴通讯股份有限公司南京分公司 地址解析协议表的同步方法及装置
CN102904818A (zh) * 2012-09-27 2013-01-30 北京星网锐捷网络技术有限公司 一种arp信息表项更新方法及装置
CN103001868A (zh) * 2012-12-31 2013-03-27 杭州华三通信技术有限公司 用于虚拟路由器冗余协议备份组同步arp表项的方法和装置
US20140321265A1 (en) * 2013-04-29 2014-10-30 Telefonaktiebolaget L M Ericsson (Publ) Fast traffic recovery in vrrp based routers

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413046A (zh) * 2011-11-24 2012-04-11 杭州华三通信技术有限公司 借助虚拟路由器冗余协议备份组转发流量的方法及设备
CN102647304A (zh) * 2012-05-09 2012-08-22 中兴通讯股份有限公司南京分公司 地址解析协议表的同步方法及装置
CN102904818A (zh) * 2012-09-27 2013-01-30 北京星网锐捷网络技术有限公司 一种arp信息表项更新方法及装置
CN103001868A (zh) * 2012-12-31 2013-03-27 杭州华三通信技术有限公司 用于虚拟路由器冗余协议备份组同步arp表项的方法和装置
US20140321265A1 (en) * 2013-04-29 2014-10-30 Telefonaktiebolaget L M Ericsson (Publ) Fast traffic recovery in vrrp based routers

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572317A (zh) * 2019-07-16 2019-12-13 烽火通信科技股份有限公司 电信网络中实现动态arp热备份的方法及系统
CN110572317B (zh) * 2019-07-16 2022-04-08 烽火通信科技股份有限公司 电信网络中实现动态arp热备份的方法及系统

Also Published As

Publication number Publication date
CN105991392A (zh) 2016-10-05

Similar Documents

Publication Publication Date Title
US9628295B2 (en) Method, device, and routing system for data transmission of network virtualization
EP3255840B1 (fr) Procédé et dispositif de distribution d'étiquettes
US9578548B2 (en) System and method for configuring multiple IP connections
CN108574616A (zh) 一种处理路由的方法、设备及系统
WO2016015497A1 (fr) Procédé, dispositif, et système d'acheminement de paquet
WO2017193758A1 (fr) Procédé, dispositif et système pour la transmission de données
KR102342286B1 (ko) Dcn 메시지 처리 방법, 네트워크 디바이스, 및 네트워크 시스템
EP2983331B1 (fr) Procédé et dispositif pour stocker et envoyer l'entrée d'adresse mac et système
EP2525536B1 (fr) Procédé et dispositif d'établissement de pseudocircuit
WO2013182059A1 (fr) Procédé et dispositif pour établir un tunnel d'ingénierie de trafic de commutation multiprotocole par étiquette
JP5455138B2 (ja) 高精度時間プロトコルメッセージを処理するための方法およびクロックデバイス
WO2018214809A1 (fr) Procédé et dispositif de transmission de message, et support de stockage
EP2680507B1 (fr) Procédé et système d'acheminement de paquet, et dispositif d'agent de relais
JP2015122640A (ja) 中継システムおよびスイッチ装置
WO2012130034A1 (fr) Procédé et dispositif de reroutage rapide vpls
WO2020119644A1 (fr) Procédé, appareil et dispositif de génération d'entrée de transfert
US20170272358A1 (en) Method, Device, and System for Deferring Switchback
WO2014082414A1 (fr) Procédé et dispositif de réacheminement de service
JP2015122665A (ja) 中継システムおよびスイッチ装置
WO2013139270A1 (fr) Procédé, dispositif et système pour implémenter un réseau privé virtuel en couche 3
US20120099598A1 (en) Method, device and system for establishing a pseudo wire
WO2013159549A1 (fr) Procédé, dispositif et système pour la création et l'utilisation d'un segment de réseau flottant
WO2012142753A1 (fr) Procédé et dispositif de surveillance des performances d'un réseau support ip
WO2016138747A1 (fr) Procédé et appareil de synchronisation d'informations
WO2009117923A1 (fr) Méthode, appareil et dispositif de communication pour la transmission de données

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: 15883798

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: 15883798

Country of ref document: EP

Kind code of ref document: A1