CN109218182A - A kind of synchronous method and device of routing iinformation - Google Patents

A kind of synchronous method and device of routing iinformation Download PDF

Info

Publication number
CN109218182A
CN109218182A CN201811388160.2A CN201811388160A CN109218182A CN 109218182 A CN109218182 A CN 109218182A CN 201811388160 A CN201811388160 A CN 201811388160A CN 109218182 A CN109218182 A CN 109218182A
Authority
CN
China
Prior art keywords
vtep
routing iinformation
extended attribute
carrying
equivalent route
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811388160.2A
Other languages
Chinese (zh)
Other versions
CN109218182B (en
Inventor
黄李伟
王伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201811388160.2A priority Critical patent/CN109218182B/en
Publication of CN109218182A publication Critical patent/CN109218182A/en
Application granted granted Critical
Publication of CN109218182B publication Critical patent/CN109218182B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • 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/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • 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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]

Landscapes

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

Abstract

The embodiment of the present application provides the synchronous method and device of a kind of routing iinformation, is related to field of communication technology, and the business forwarding reliability between the VTEP to solve the problems, such as to have bgp neighbor connection is low.The method of the embodiment of the present application includes: the routing iinformation that the first VTEP receives the carrying extended attribute that RR is sent, and extended attribute is for indicating that the 2nd VTEP has enabled equivalent route function;First VTEP judges whether received routing iinformation carries extended attribute, if carrying, received routing iinformation is inserted into EVPN example.

Description

A kind of synchronous method and device of routing iinformation
Technical field
This application involves fields of communication technology, more particularly to a kind of method and device of the synchronization of routing iinformation.
Background technique
Currently, Ethernet Virtual Private Network (Ethernet Virtual Private Network, EVPN) can pass through Multiprotocol Border Gateway Protocol (MultiProtocol-Border Gateway Protocol, MP-BGP) carries out the road EVPN By the notice of information.For example, working as expansible virtual LAN endpoint of a tunnel (Virtual eXtensible LAN Tunnel End Point, VTEP) 2 study arrive virtual machine (Virtual Machine, VM) 2 address resolution protocol (Address Resolution Protocol, ARP) after forwarding-table item, Router Reflector (Route Reflector, RR) 1 can be passed through respectively The routing iinformation for carrying ARP forwarding-table item is sent to VTEP1 with RR2.
At this time VTEP1 from the Route Distinguisher of RR1 and the RR2 routing iinformation received (Route Distinguisher, RD) consistent with the prefix of VM1, VTEP1 can select optimal routing to be inserted into EVPN example, i.e., when subsequent VM1 accesses VM2, only It can only be E-Packeted by RR1 or by RR2 to VTEP2, if RR1 the or RR2 failure for E-Packeting, will lead to report Literary Transmission, so that business forwarding reliability is low.
Summary of the invention
The synchronous method and device for being designed to provide a kind of routing iinformation of the embodiment of the present application, to solve that there is BGP The problem that business between the VTEP of neighbours' connection forwards reliability low.Specific technical solution is as follows:
In a first aspect, the embodiment of the present application provides a kind of synchronous method of routing iinformation, the method is applied to expansible It further include second in the first expansible Virtual Local Area Network endpoint of a tunnel VTEP in Virtual Local Area Network VXLAN, the VXLAN VTEP includes two or more Router Reflectors RR between the first VTEP and the 2nd VTEP;The method packet It includes:
First VTEP receives the routing iinformation for the carrying extended attribute that RR is sent, and the extended attribute is for indicating institute It states the 2nd VTEP and has enabled equivalent route function;
Judge whether the received routing iinformation of the first VTEP carries the extended attribute, it, will be received if carrying Routing iinformation is inserted into Ethernet Virtual Private Network EVPN example.
In one possible implementation, it is described to judge whether received routing iinformation carries by the first VTEP Received routing iinformation is inserted into Ethernet Virtual Private Network EVPN example if carrying by extended attribute, comprising:
If the received routing iinformation of the first VTEP carries the extended attribute, itself whether enabled road of equal value is judged By function;
If the first VTEP enables equivalent route function, there is identical Route Distinguisher RD and prefix by what is received Routing iinformation be inserted into same EVPN example.
In alternatively possible implementation, the routing iinformation carries the 2nd VTEP from being connected to described second The Address Resolution Protocol ARP list item that the 2nd VM of VTEP learns.
Second aspect, the embodiment of the present application provide a kind of synchronous method of routing iinformation, and the method is applied to expansible It further include first in the second expansible Virtual Local Area Network endpoint of a tunnel VTEP in Virtual Local Area Network VXLAN, the VXLAN VTEP includes two or more Router Reflectors RR between the first VTEP and the 2nd VTEP;The method packet It includes:
2nd VTEP judges itself whether enabled equivalent route function;
If the 2nd VTEP enables equivalent route function, is sent to two or more RR and carry extended attribute Routing iinformation, so that the first VTEP receives the routing iinformation of the carrying extended attribute of two or more RR transmission Afterwards, the routing iinformation two or more RR sent is inserted into EVPN example;The extended attribute is for indicating described second VTEP enables equivalent route function.
In one possible implementation, the routing iinformation carries the 2nd VTEP from being connected to described second The Address Resolution Protocol ARP list item that the 2nd VM of VTEP learns.
The third aspect, the embodiment of the present application provide a kind of synchronizing device of routing iinformation, and described device is applied to expansible It further include second in the first expansible Virtual Local Area Network endpoint of a tunnel VTEP in Virtual Local Area Network VXLAN, the VXLAN VTEP includes two or more Router Reflectors RR between the first VTEP and the 2nd VTEP;Described device packet It includes:
Receiving module, the routing iinformation of the carrying extended attribute for receiving RR transmission, the extended attribute is for indicating 2nd VTEP has enabled equivalent route function;
It is inserted into module, for judging whether the received routing iinformation of the receiving module carries the extended attribute, if taking Received routing iinformation is then inserted into Ethernet Virtual Private Network EVPN example by band.
In one possible implementation, the insertion module, if being used for the received routing iinformation of the receiving module The extended attribute is carried, then judges the whether enabled equivalent route function of the first VTEP;If the first VTEP is enabled etc. The routing iinformation with identical Route Distinguisher RD and prefix received is then inserted into same EVPN example by valence routing function.
In one possible implementation, the routing iinformation carries the 2nd VTEP from being connected to described second The Address Resolution Protocol ARP list item that the 2nd VM of VTEP learns.
Fourth aspect, the embodiment of the present application provide a kind of synchronizing device of routing iinformation, and described device is applied to expansible It further include first in the second expansible Virtual Local Area Network endpoint of a tunnel VTEP in Virtual Local Area Network VXLAN, the VXLAN VTEP includes two or more Router Reflectors RR between the first VTEP and the 2nd VTEP;Described device packet It includes:
Judgment module, for judging the whether enabled equivalent route function of the 2nd VTEP;
Sending module is sent if enabling equivalent route function for the 2nd VTEP to two or more RR The routing iinformation of extended attribute is carried, so that the carrying extension that the first VTEP receives two or more RR transmission belongs to Property routing iinformation after, the routing iinformation that two or more RR are sent is inserted into EVPN example;The extended attribute is used for Indicate that the 2nd VTEP enables equivalent route function.
In one possible implementation, the routing iinformation carries the 2nd VTEP from being connected to described second The Address Resolution Protocol ARP list item that the 2nd VM of VTEP learns.
5th aspect, the embodiment of the present application provide a kind of VTEP, which includes: processor and machine readable storage Medium, the machine readable storage medium are stored with the machine-executable instruction that can be executed by the processor, the processing Device is promoted by the machine-executable instruction: realizing the synchronous method of routing iinformation described in first aspect or second aspect.
6th aspect, the embodiment of the present application also provides a kind of computer readable storage medium, the computer-readable storages Dielectric memory contains computer program, and institute in first aspect or second aspect is realized when the computer program is executed by processor The synchronous method for the routing iinformation stated.
7th aspect, the embodiment of the present application also provides a kind of computer program products comprising instruction, when it is being calculated When being run on machine, so that computer executes the synchronous method of routing iinformation described in above-mentioned first aspect or second aspect.
Using the method for the embodiment of the present application, if the first VTEP receives the routing letter of the carrying extended attribute of RR transmission Breath, the routing iinformation for carrying extended attribute can be inserted into EVPN example can will carry the routing of extended attribute by this method Information is inserted into EVPN example, if the routing iinformation received from two or more RR is substantially identical, these routing letters After breath is inserted into EVPN example, equivalent route can be generated, is equivalent between the first VTEP and the 2nd VTEP and may exist equivalence It path can be by quick Reroute techniques by business after one of RR failure between the first VTEP and the 2nd VTEP Stream switches on other equative routes, improves the reliability of business forwarding.
Certainly, implement the application any product or method it is not absolutely required to and meanwhile reach all the above excellent Point.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of networking schematic diagram of VXLAN network provided by the embodiments of the present application;
Fig. 2 is a kind of flow chart of the synchronous method of routing iinformation provided by the embodiments of the present application;
Fig. 3 is a kind of illustrative diagram of extended attribute field provided by the embodiments of the present application;
Fig. 4 is the flow chart of the synchronous method of another routing iinformation provided by the embodiments of the present application;
Fig. 5 is the flow chart of the synchronous method of another routing iinformation provided by the embodiments of the present application;
Fig. 6 is a kind of structural schematic diagram of the synchronizing device of routing iinformation provided by the embodiments of the present application;
Fig. 7 is the structural schematic diagram of the synchronizing device of another routing iinformation provided by the embodiments of the present application;
Fig. 8 is a kind of structural schematic diagram of VTEP provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
The embodiment of the present application can be applied to expansible Virtual Local Area Network (Virtual eXtensible LAN, It VXLAN include the first VTEP and the 2nd VTEP in the network, there are two or two between the first VTEP and the 2nd VTEP in) The above RR, the first VTEP are connected to the first VM, and the 2nd VTEP is connected to the 2nd VM.
As shown in FIG. 1, FIG. 1 is a kind of possible structural schematic diagrams of VXLAN network, and wherein VM1 is connected to VTEP1, VM2 It is connected to VTEP2, VTEP1 can be connected by RR1 with VTEP2, can also be connected by RR2 with VTEP2.Between VTEP1 and VTEP2 Connection be bgp neighbor connection, routing iinformation can be exchanged by bgp protocol between VTEP1 and VTEP2.
In order to solve to lead to the routing of selection due to only selecting optimal routing iinformation to be inserted into EVPN example in the prior art When the corresponding transmission path fault of information, the problem of message transmissions are interrupted.In the embodiment of the present application, VTEP2 can be to RR1 and RR2 The routing iinformation for carrying extended attribute is sent respectively, and then RR1 and RR2 forwards the routing for carrying extended attribute to VTEP1 respectively Information, extended attribute is for indicating that VTEP2 has enabled equivalent route function.If then VTEP1 determines that received routing iinformation is taken The received routing iinformation with identical RD and prefix can be then inserted into same EVPN example, be equivalent to generation by band extended attribute The equivalent route of EVPN, it is assumed that can not communicate between VTEP1-RR1-VTEP2, VTEP1 can also be logical by RR2 and VTEP2 Letter, may be implemented quick heavy-route, improve the reliability of business forwarding.
In conjunction with Fig. 1, the embodiment of the present application provides a kind of transmission method of routing iinformation, and this method is by VXLAN network The first VTEP (VTEP1 in Fig. 1) execute, as shown in Fig. 2, this method comprises:
S201, the first VTEP receive the routing iinformation for the carrying extended attribute that RR is sent, and extended attribute is for indicating second VTEP has enabled equivalent route function.
Wherein, after the 2nd VM of the 2nd VTEP connection is online, the 2nd VTEP can learn ARP forwarding-table item from the 2nd VM, so The routing iinformation for carrying ARP entry is synchronized to BGP EVPN neighbor device, i.e. the first VTEP afterwards.
Before the synchronization for carrying out routing iinformation, the 2nd VTEP can determine whether itself enables equivalent route function, if It has been enabled that, as shown in figure 3, extended attribute (vpn-route multipath) can be inserted into routing iinformation, which can It is real can be inserted into same EVPN with the routing iinformation for routing iinformation for indicating to have identical RD and prefix with the routing iinformation Example.
Then routing iinformation can be sent to RR1 and RR2 by the 2nd VTEP, be believed the routing being respectively received by RR1 and RR2 Breath is reflected to the first VTEP.
It is understood that ARP entry is carried in routing iinformation, RD and prefix.If routing iinformation is carried from the 2nd VM The ARP entry learnt, then the prefix in routing iinformation is the IP address of the 2nd VM.
S202, the first VTEP judge whether received routing iinformation carries extended attribute, if carrying, by received routing Information is inserted into EVPN example.
In the embodiment of the present application, if the first VTEP has received the routing iinformation of two or more RR transmission, Judge whether the routing iinformation received carries extended attribute, if carrying, judges whether itself enables equivalent route function Can, if the first VTEP enables equivalent route function, the routing iinformation with identical RD and prefix received is inserted into same One EVPN example.And then can exist between the first VTEP and the 2nd VTEP in the equivalent route of underlay generation EVPN Backup functionality may be implemented between forward-path of equal value in two or more forward-paths of equal value.
Illustratively, if the first VTEP has received routing iinformation 1-4, RD and routing letter that wherein routing iinformation 1 carries The RD that breath 2 carries is identical, and the prefix that routing iinformation 1 prefix and the routing iinformation 2 that carry carry is identical, then by routing iinformation 1 Same EVPN example is inserted into routing iinformation 2.
In addition, if RD and the RD that carries of routing iinformation 4 that routing iinformation 3 carries are identical, and the prefix of the carrying of routing iinformation 3 It is identical with the prefix that routing iinformation 4 carries, then routing iinformation 3 and routing iinformation 4 are inserted into another EVPN example.
Optionally, if the first VTEP determines that received routing iinformation does not carry extended attribute, or determination is not enabled on itself The one of routing iinformation with identical RD and prefix received is then inserted into EVPN example by equivalent route function.For example, An optimal routing is selected from the routing iinformation with identical RD and prefix received, by routing belonging to the optimal routing Information is inserted into EVPN example.
Using the method for the embodiment of the present application, if the first VTEP receives the routing letter of the carrying extended attribute of RR transmission Breath, the routing iinformation for carrying extended attribute can be inserted into EVPN example can will carry the routing of extended attribute by this method Information is inserted into EVPN example, if the routing iinformation received from two or more RR is identical, these routing iinformations are equal After being inserted into EVPN example, equivalent route can be generated, is equivalent between the first VTEP and the 2nd VTEP there may be equative route, After one of RR failure between the first VTEP and the 2nd VTEP, Business Stream can be switched by quick Reroute techniques To other equative routes, the reliability of business forwarding is improved.
Corresponding with Fig. 2, the embodiment of the present application also provides a kind of transmission methods of routing iinformation, and this method is by the 2nd VTEP It executes, as shown in figure 4, this method comprises:
S401, the 2nd VTEP judge itself whether enabled equivalent route function.
If S402, the 2nd VTEP enable equivalent route function, is sent to two or more RR and carry extended attribute Routing iinformation so that the first VTEP receive two or more RR transmission carrying extended attribute routing iinformation after, The routing iinformation that two or more RR are sent is inserted into EVPN example.
In the embodiment of the present application, the 2nd VTEP can learn ARP forwarding-table item from the 2nd VM itself connected, if then really Fixed 2nd VTEP enables equivalent route function, then adds extended attribute in the routing iinformation for carrying ARP entry, for informing pair End VTEP (i.e. the first VTEP) the 2nd VTEP enables equivalent route function, and then the first VTEP receives the road reflected by RR After information, so that it may determine that the 2nd VTEP enables equivalent route function according to the extended attribute in routing iinformation, if first VTEP also enables equivalent route information, then it is real the routing iinformation with identical RD and prefix received to be inserted into same EVPN Example, so that generating equative route between the first VTEP and the 2nd VTEP.
Using method provided by the embodiments of the present application, the 2nd VTEP can pass through the side of the addition extended attribute in routing iinformation Method, so that the first VTEP knows that the 2nd VTEP enables equivalent route function, and then the first VTEP can believe the routing received Breath is inserted into EVPN example.So that equative route is generated between the first VTEP and the 2nd VTEP, when wherein paths event After barrier, also Business Stream can be switched into another equative route by quick Reroute techniques, improve the reliability of business forwarding.
It is introduced below in conjunction with transmission method of the scene shown in fig. 1 to routing iinformation provided by the embodiments of the present application, As shown in figure 5, this method specifically includes the following steps:
The ARP entry of S501, VTEP2 study VM2.
Wherein, VTEP2 is connected by AC interface with VM2, and after VM2 is online, VTEP2 can obtain the ARP entry of VM2.
S502, VTEP2 send the routing iinformation for carrying extended attribute to RR1 and RR2 respectively.
It wherein, include above-mentioned ARP entry in routing iinformation.
S503, VTEP1 receive the routing iinformation 1 of the carrying extended attribute of RR1 reflection, and the carrying for receiving RR2 reflection is expanded Open up the routing iinformation 2 of attribute.
If S504, VTEP1 recognize routing iinformation 1 and routing iinformation 2 carries extended attribute, and routing iinformation 1 and routing Routing iinformation 1 and routing iinformation 2 are then inserted into same EVPN example by the RD having the same of information 2 and prefix.
It should be understood that routing iinformation 1 is identical with the RD of routing iinformation 2, and routing iinformation 1 and routing iinformation 2 carry Prefix is identical, and VTEP2 enables equivalent route function, then it is real that routing iinformation 1 and routing iinformation 2 can be inserted into same EVPN Example, such VTEP1-RR1-VTEP2 and VTEP1-RR2-VTEP2 this two paths can form equative route, it is subsequent ought be wherein When one paths failure, Business Stream can be switched on another paths, showing for Business Stream Transmission can be avoided the occurrence of As improving the reliability of Business Stream forwarding.
Corresponding to above method embodiment, the embodiment of the present application also provides a kind of synchronizing device of routing iinformation, the device It is gone back applied in the first expansible Virtual Local Area Network endpoint of a tunnel VTEP, VXLAN in expansible Virtual Local Area Network VXLAN It include two or more Router Reflectors RR between the first VTEP and the 2nd VTEP including the 2nd VTEP;As shown in fig. 6, The device includes: receiving module 601 and insertion module 602.
Receiving module 601, the routing iinformation of the carrying extended attribute for receiving RR transmission, extended attribute is for indicating the Two VTEP have enabled equivalent route function;
It is inserted into module 602, for judging whether the received routing iinformation of receiving module 601 carries extended attribute, if carrying, Received routing iinformation is then inserted into EVPN example.
Wherein, routing iinformation carries the address resolution protocol that the 2nd VTEP learns from the 2nd VM for being connected to the 2nd VTEP ARP entry.
Optionally, it is inserted into module 602, if carrying extended attribute for the received routing iinformation of receiving module 601, is judged The whether enabled equivalent route function of first VTEP;If the first VTEP enables equivalent route function, will receive with identical RD and the routing iinformation of prefix are inserted into same EVPN example.
Corresponding to above method embodiment, the embodiment of the present application also provides the synchronizing device of another routing iinformation, the dress The 2nd VTEP being applied in VXLAN is set, further includes the first VTEP in VXLAN, includes two between the first VTEP and the 2nd VTEP A or more than two Router Reflector RR;As shown in fig. 7, the device includes: judgment module 701 and sending module 702.
Judgment module 701, for judging the whether enabled equivalent route function of the 2nd VTEP;
Sending module 702 is taken if enabling equivalent route function for the 2nd VTEP to two or more RR transmission Routing iinformation with extended attribute, so that the first VTEP receives the road of the carrying extended attribute of two or more RR transmission After information, the routing iinformation that two or more RR are sent is inserted into EVPN example;Extended attribute is for indicating second VTEP enables equivalent route function.
Wherein, routing iinformation carries the address resolution protocol that the 2nd VTEP learns from the 2nd VM for being connected to the 2nd VTEP ARP entry.
The embodiment of the present application also provides a kind of VTEP, as shown in figure 8, including processor 801, communication interface 802, storage Device 803 and communication bus 804, wherein processor 801, communication interface 802, memory 803 complete phase by communication bus 804 Communication between mutually,
Memory 803, for storing computer program;
Processor 801 when for executing the program stored on memory 803, is realized in above method embodiment by the The step of one VTEP or the 2nd VTEP is executed
Communication bus mentioned above can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned VTEP and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
In another embodiment provided by the present application, a kind of computer readable storage medium is additionally provided, which can It reads to be stored with computer program in storage medium, the computer program realizes any of the above-described routing iinformation when being executed by processor Synchronous method the step of.
In another embodiment provided by the present application, a kind of computer program product comprising instruction is additionally provided, when it When running on computers, so that computer executes the synchronous method of any routing iinformation in above-described embodiment.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or It partly generates according to process or function described in the embodiment of the present application.The computer can be general purpose computer, dedicated meter Calculation machine, computer network or other programmable devices.The computer instruction can store in computer readable storage medium In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state hard disk Solid State Disk (SSD)) etc..
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.
The foregoing is merely the preferred embodiments of the application, are not intended to limit the protection scope of the application.It is all Any modification, equivalent replacement, improvement and so within spirit herein and principle are all contained in the protection scope of the application It is interior.

Claims (12)

1. a kind of synchronous method of routing iinformation, which is characterized in that the method is applied to expansible Virtual Local Area Network VXLAN In the first expansible Virtual Local Area Network endpoint of a tunnel VTEP, further include the 2nd VTEP in the VXLAN, the first VTEP It include two or more Router Reflectors RR between the 2nd VTEP;The described method includes:
First VTEP receives the routing iinformation for the carrying extended attribute that RR is sent, and the extended attribute is for indicating described the Two VTEP have enabled equivalent route function;
First VTEP judges whether received routing iinformation carries the extended attribute, if carrying, by received routing Information is inserted into Ethernet Virtual Private Network EVPN example.
2. the method according to claim 1, wherein the judgement received routing iinformation of the first VTEP is It is no to carry the extended attribute, if carrying, received routing iinformation is inserted into Ethernet Virtual Private Network EVPN example, packet It includes:
If the received routing iinformation of the first VTEP carries the extended attribute, judge whether the first VTEP enables Valence routing function;
If the first VTEP enables equivalent route function, the road with identical Route Distinguisher RD and prefix that will receive Same EVPN example is inserted by information.
3. method according to claim 1 or 2, which is characterized in that the routing iinformation carries the 2nd VTEP from even It is connected to the Address Resolution Protocol ARP list item that the second virtual machine VM of the 2nd VTEP learns.
4. a kind of synchronous method of routing iinformation, which is characterized in that the method is applied to expansible Virtual Local Area Network VXLAN In the second expansible Virtual Local Area Network endpoint of a tunnel VTEP, further include the first VTEP in the VXLAN, the first VTEP It include two or more Router Reflectors RR between the 2nd VTEP;The described method includes:
2nd VTEP judges itself whether enabled equivalent route function;
If the 2nd VTEP enables equivalent route function, the routing for carrying extended attribute is sent to two or more RR Information, so that after the first VTEP receives the routing iinformation for carrying extended attribute that two or more RR are sent, it will The routing iinformation that two or more RR are sent is inserted into EVPN example;The extended attribute is for indicating that the 2nd VTEP makes It can equivalent route function.
5. according to the method described in claim 4, it is characterized in that, the routing iinformation carries the 2nd VTEP from being connected to The Address Resolution Protocol ARP list item that the second virtual machine VM of 2nd VTEP learns.
6. a kind of synchronizing device of routing iinformation, which is characterized in that described device is applied to expansible Virtual Local Area Network VXLAN In the first expansible Virtual Local Area Network endpoint of a tunnel VTEP, further include the 2nd VTEP in the VXLAN, the first VTEP It include two or more Router Reflectors RR between the 2nd VTEP;Described device includes:
Receiving module, the routing iinformation of the carrying extended attribute for receiving RR transmission, the extended attribute is for indicating described 2nd VTEP has enabled equivalent route function;
It is inserted into module, for judging whether the received routing iinformation of the receiving module carries the extended attribute, if carrying, Received routing iinformation is inserted into Ethernet Virtual Private Network EVPN example.
7. device according to claim 6, which is characterized in that
The insertion module, if for the receiving module received routing iinformation carrying extended attribute, described in judgement The whether enabled equivalent route function of first VTEP;If the first VTEP enables equivalent route function, have what is received Identical Route Distinguisher RD and the routing iinformation of prefix are inserted into same EVPN example.
8. device according to claim 6 or 7, which is characterized in that the routing iinformation carries the 2nd VTEP from even It is connected to the Address Resolution Protocol ARP list item that the second virtual machine VM of the 2nd VTEP learns.
9. a kind of synchronizing device of routing iinformation, which is characterized in that described device is applied to expansible Virtual Local Area Network VXLAN In the second expansible Virtual Local Area Network endpoint of a tunnel VTEP, further include the first VTEP in the VXLAN, the first VTEP It include two or more Router Reflectors RR between the 2nd VTEP;Described device includes:
Judgment module, for judging the whether enabled equivalent route function of the 2nd VTEP;
Sending module sends to two or more RR and carries if enabling equivalent route function for the 2nd VTEP The routing iinformation of extended attribute, so that the first VTEP receives the carrying extended attribute of two or more RR transmission After routing iinformation, the routing iinformation that two or more RR are sent is inserted into EVPN example;The extended attribute is for indicating 2nd VTEP enables equivalent route function.
10. device according to claim 9, which is characterized in that the routing iinformation carries the 2nd VTEP from connection In the Address Resolution Protocol ARP list item that the second virtual machine VM of the 2nd VTEP learns.
11. a kind of expansible Virtual Local Area Network endpoint of a tunnel VTEP, which is characterized in that including processor and machine readable storage Medium, the machine readable storage medium are stored with the machine-executable instruction that can be executed by the processor, the processing Device is promoted by the machine-executable instruction: realizing any method and step of claim 1-3 or 4-5.
12. a kind of machine readable storage medium, which is characterized in that be stored with machine-executable instruction, by processor call and When execution, the machine-executable instruction promotes the processor: realizing any method step of claim 1-3 or 4-5 Suddenly.
CN201811388160.2A 2018-11-21 2018-11-21 Method and device for synchronizing routing information Active CN109218182B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811388160.2A CN109218182B (en) 2018-11-21 2018-11-21 Method and device for synchronizing routing information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811388160.2A CN109218182B (en) 2018-11-21 2018-11-21 Method and device for synchronizing routing information

Publications (2)

Publication Number Publication Date
CN109218182A true CN109218182A (en) 2019-01-15
CN109218182B CN109218182B (en) 2021-08-27

Family

ID=64993312

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811388160.2A Active CN109218182B (en) 2018-11-21 2018-11-21 Method and device for synchronizing routing information

Country Status (1)

Country Link
CN (1) CN109218182B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111277482A (en) * 2020-01-13 2020-06-12 新华三大数据技术有限公司 Message processing method and device
CN111901438B (en) * 2020-08-05 2021-02-09 军事科学院系统工程研究院网络信息研究所 Distributed SIP server data synchronization method

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160028557A1 (en) * 2014-07-24 2016-01-28 Cisco Technology, Inc. Dynamic instantiation of remote virtual extensible local area network tunnel end points acquired through a control protocol
WO2016066119A1 (en) * 2014-10-29 2016-05-06 Hangzhou H3C Technologies Co., Ltd. Deployment of virtual extensible local area network
CN106789523A (en) * 2016-04-29 2017-05-31 新华三技术有限公司 The creation method and device of a kind of logical tunnel
US20170171057A1 (en) * 2015-12-11 2017-06-15 Cisco Technology, Inc. Optimizing evpn for data centers with redundant top-of-rack deployments
CN106878166A (en) * 2017-01-22 2017-06-20 新华三技术有限公司 Route advertising method and device
CN106878173A (en) * 2017-02-28 2017-06-20 新华三技术有限公司 One kind route sending method and device
CN106911549A (en) * 2017-02-28 2017-06-30 新华三技术有限公司 A kind of data message processing method and device
CN107404436A (en) * 2016-05-19 2017-11-28 华为技术有限公司 Communication means and device for virtual expansible LAN
CN108259302A (en) * 2017-10-31 2018-07-06 新华三技术有限公司 A kind of centralization gateway networking implementation method and device
CN108494691A (en) * 2018-06-22 2018-09-04 新华三技术有限公司 A kind of multicast forward method, device and VTEP

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160028557A1 (en) * 2014-07-24 2016-01-28 Cisco Technology, Inc. Dynamic instantiation of remote virtual extensible local area network tunnel end points acquired through a control protocol
WO2016066119A1 (en) * 2014-10-29 2016-05-06 Hangzhou H3C Technologies Co., Ltd. Deployment of virtual extensible local area network
US20170171057A1 (en) * 2015-12-11 2017-06-15 Cisco Technology, Inc. Optimizing evpn for data centers with redundant top-of-rack deployments
CN106789523A (en) * 2016-04-29 2017-05-31 新华三技术有限公司 The creation method and device of a kind of logical tunnel
CN107404436A (en) * 2016-05-19 2017-11-28 华为技术有限公司 Communication means and device for virtual expansible LAN
CN106878166A (en) * 2017-01-22 2017-06-20 新华三技术有限公司 Route advertising method and device
CN106878173A (en) * 2017-02-28 2017-06-20 新华三技术有限公司 One kind route sending method and device
CN106911549A (en) * 2017-02-28 2017-06-30 新华三技术有限公司 A kind of data message processing method and device
CN108259302A (en) * 2017-10-31 2018-07-06 新华三技术有限公司 A kind of centralization gateway networking implementation method and device
CN108494691A (en) * 2018-06-22 2018-09-04 新华三技术有限公司 A kind of multicast forward method, device and VTEP

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111277482A (en) * 2020-01-13 2020-06-12 新华三大数据技术有限公司 Message processing method and device
CN111277482B (en) * 2020-01-13 2022-01-18 新华三大数据技术有限公司 Message processing method and device
CN111901438B (en) * 2020-08-05 2021-02-09 军事科学院系统工程研究院网络信息研究所 Distributed SIP server data synchronization method

Also Published As

Publication number Publication date
CN109218182B (en) 2021-08-27

Similar Documents

Publication Publication Date Title
CN109845200B (en) Method, system, storage medium, and apparatus for detecting and preventing network loops
US10333836B2 (en) Convergence for EVPN multi-homed networks
EP3471347B1 (en) Vxlan packet processing method, device and system
US20190196921A1 (en) High availability and failovers
CN106878166B (en) Route notification method and device
WO2018161633A1 (en) Packet processing method, device and network system
CN106878048B (en) Fault processing method and device
US10003539B1 (en) Path discovery in multipath networks
EP3306861B1 (en) Cluster communication
CN106850459B (en) Method and device for realizing load balance of virtual network
CN107078951A (en) From virtual port channel peer-to-peer fault recovery
US20140044130A1 (en) Avoiding unknown unicast floods resulting from mac address table overflows
CN109474495B (en) Tunnel detection method and device
CN106789635B (en) Message forwarding method and device
EP2775676B1 (en) Policy based routing method and device
EP3813306A1 (en) Message processing method, and gateway device
CN108777663B (en) Method and device for synchronizing routing information
JP2017121056A (en) Method, device, and system for implementing packet loss detection
CN109150761A (en) A kind of method and device of tunnel switching
CN109218182A (en) A kind of synchronous method and device of routing iinformation
US20240129223A1 (en) Systems and methods for data plane validation of multiple paths in a network
CN109347748A (en) A kind of method and apparatus of synchronization of routing information
CN115225634B (en) Data forwarding method, device and computer program product under virtual network
CN110011921A (en) A kind of route synchronization method, apparatus, the network equipment and storage medium
US20140293827A1 (en) Method And Apparatus For Peer Node Synchronization

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant