CN106330597A - Path reachability detection method and device between VTEPs (VXLAN Tunnel End Points) of VXLAN (Virtual Extensible Local Area Network) - Google Patents

Path reachability detection method and device between VTEPs (VXLAN Tunnel End Points) of VXLAN (Virtual Extensible Local Area Network) Download PDF

Info

Publication number
CN106330597A
CN106330597A CN201510408264.5A CN201510408264A CN106330597A CN 106330597 A CN106330597 A CN 106330597A CN 201510408264 A CN201510408264 A CN 201510408264A CN 106330597 A CN106330597 A CN 106330597A
Authority
CN
China
Prior art keywords
vtep
path
detection
detection messages
vxlan
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
CN201510408264.5A
Other languages
Chinese (zh)
Other versions
CN106330597B (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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201510408264.5A priority Critical patent/CN106330597B/en
Priority to PCT/CN2016/089597 priority patent/WO2017008712A1/en
Publication of CN106330597A publication Critical patent/CN106330597A/en
Application granted granted Critical
Publication of CN106330597B publication Critical patent/CN106330597B/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
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • 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]

Abstract

The invention provides a path reachability detection method and device between VTEPs (VXLAN Tunnel End Points) of a VXLAN (Virtual Extensible Local Area Network). According to the method and the device, a first VTEP determines different UDP (User Datagram Protocol) source port numbers for N detection messages which will be sent to a second VTEP, wherein the UDP source port numbers are used for VXLAND encapsulation; an intermediate device receiving the VXLAND encapsulated detection messages is enabled to select forwarding paths when it is determined that there are more than two forwarding paths to the second VTEP; the number N of the detection messages is greater than the number M of all forwarding paths from the first VTEP to the second VTEP; and the first VTEP sends the N VXLAND encapsulated detection messages through all path exit ports from the first VTEP to the second VTEP, so the reachability condition of all forwarding paths from the first VTEP to the second VTEP is ensured to be detected.

Description

Path between VXLAN endpoint of a tunnel VTEP is up to detection method and device
Technical field
The application relates to the network communications technology, particularly to virtual extended LAN (VXLAN:Virtual EXtensible Local Area Network) endpoint of a tunnel (VTEP:VXLAN Tunnel End Point) Between path up to detection method and device.
Background technology
VXLAN, is a kind of technology being packaged with three layer protocols by two layer message, and cardinal principle is: Introduce the outer layer tunnel of a User Datagram Protocol (UDP:User Datagram Protocol) form, As datapath layer, and original message data transmits as payload.
Owing to the outer layer of payload have employed UDP as transmission means, this can ensure that payload smoothly two, Three-layer network transmits, it is achieved that double layer network covers the ability of (overlay) three-layer network.Here, For convenience of describing, the virtual network of covering is referred to as overlay network, and by capped physical carrier Network is referred to as underlay network, and Fig. 1 simply shows overlay network and the knot of underlay network Structure.
In overlay network, introduce endpoint of a tunnel (VTEP:VXLAN Tunnel End Point) The VXLAN encapsulation and the VXLAN that complete message decapsulate.VTEP with underlay network is connected, Being assigned the IP address of physical network, this IP address is unrelated with overlay network.
In overlay network, the path between different VTEP is (because of VTEP Yu underlay network Connecting, the path between different VTEP is also referred to as underlay path here) may have a plurality of, even A plurality of equal cost multipath (ECMP:Equal-Cost Multi-Path), but there is presently no one side Method can detect underlay path between VTEP up to, therefore, the underlay between a kind of VTEP Path is technical problem the most urgently to be resolved hurrily up to detection mode.
Summary of the invention
This application provides path between VXLAN endpoint of a tunnel VTEP up to detection method and device, with Detection VTEP between forward-path up to situation.
The technical scheme that the application provides includes:
Path between a kind of VXLAN endpoint of a tunnel VTEP includes up to detection method, the method:
Oneth VTEP according to the principle of different detection messages correspondence difference UDP source port numbers for treating to second VTEP send N number of for detection from the forward-path of VTEP to the 2nd VTEP whether up to Detection messages determine UDP source port number;
Oneth VTEP, for each detection messages, is utilized as the UDP source port that this detection messages determines Number this detection messages is carried out VXLAN encapsulation;
Oneth VTEP shares transmission N by going out port from all paths of this VTEP to the 2nd VTEP The detection messages of individual VXLAN encapsulation, so that the centre receiving the detection messages of VXLAN encapsulation sets Standby or the 2nd VTEP sends to path detection equipment and determines from a VTEP for described path detection equipment The path parameter up to forward-path to the 2nd VTEP;
Wherein, N is more than or equal to from number of paths M of VTEP to the 2nd VTEP.
Path between a kind of VXLAN endpoint of a tunnel VTEP is up to detection device, and this device includes:
Determining unit, being used for according to the principle of different detection messages correspondence difference UDP source port numbers is first VTEP treat to the 2nd VTEP send N number of for detection from VTEP to the 2nd VTEP turn Send out path whether up to detection messages determine UDP source port number;
VXLAN encapsulation unit, for for each detection messages, is utilized as this detection messages and determines UDP source port number this detection messages is carried out VXLAN encapsulation;
Detection messages transmitting element, for by going out from all paths of VTEP to the 2nd VTEP Port shares the detection messages sending N number of VXLAN encapsulation, so that receiving the inspection of VXLAN encapsulation The intermediate equipment or the 2nd VTEP that observe and predict literary composition send for described path detection equipment true to path detection equipment The fixed path parameter up to forward-path from VTEP to the 2nd VTEP;
Wherein, N is more than or equal to from number of paths M of VTEP to the 2nd VTEP.
As can be seen from the above technical solutions, in the present invention, a VTEP is to treat to send to the 2nd VTEP N (more than from all forward-path quantity M of VTEP to the 2nd VTEP) part detection messages determines not The same UDP source port number for VXLAN encapsulation, this inspection that can make to receive VXLAN encapsulation The intermediate equipment observing and predicting literary composition utilizes when determining and having more than two articles to the forward-path of the 2nd VTEP VXLAN encapsulation in UDP source port number select forward-path because quantity N of detection messages more than from All forward-path quantity M of the oneth VTEP to the 2nd VTEP, and, a VTEP is from a VTEP All paths to the 2nd VTEP go out port and share the detection messages sending N number of VXLAN encapsulation, this Ensure that all forward-paths being eventually detected from VTEP to the 2nd VTEP up to situation.
Accompanying drawing explanation
Fig. 1 is overlay network and the structural representation of underlay network;
The method flow diagram that Fig. 2 provides for the present invention;
The VXLAN encapsulating structure schematic diagram that Fig. 3 provides for the present invention;
The application networking diagram that Fig. 4 provides for the embodiment of the present invention 1;
The application networking diagram that Fig. 5 provides for the embodiment of the present invention 2;
The structure drawing of device that Fig. 6 provides for the present invention;
The hardware structure diagram of Fig. 6 shown device that Fig. 7 provides for the present invention.
Detailed description of the invention
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with the accompanying drawings and specifically Embodiment describes the present invention.
See the method flow diagram that Fig. 2, Fig. 2 provide for the present invention.As in figure 2 it is shown, the method can be wrapped Include following steps:
Step 201, a VTEP according to the principle of different detection messages correspondence difference UDP source port numbers is Treat to the 2nd VTEP send N number of for detection from the forward-path of VTEP to the 2nd VTEP Whether up to detection messages determine UDP source port number.
In the present invention, the name that a VTEP, the 2nd VTEP are simply carried out for ease of description, and The non-limiting present invention.
In the present invention, N is more than or equal to from number of paths M of VTEP to the 2nd VTEP.
In the present invention, N number of detection messages can have different message key message, and here, message key is believed At least one parameter that breath comprises for message five-tuple or message seven tuple.Wherein, message five-tuple bag Include following parameter: purpose IP address, source IP address, destination slogan, source port number, protocol class Type;Message seven tuple includes following parameter: purpose IP address, source IP address, target MAC (Media Access Control) address, Source MAC, destination slogan, source port number, protocol type.Citing describes, crucial with message It is for the purpose of information as a example by MAC Address, different for ensureing the target MAC (Media Access Control) address of N number of detection messages, Here can pre-define a target MAC (Media Access Control) address scope, such as 00-00-5E-90-00-01~ The target MAC (Media Access Control) address of 00-00-5E-90-00-80, N part detection messages can be above-mentioned purpose MAC Address Target MAC (Media Access Control) address different in scope.For the purpose of message key message on the premise of MAC Address, Other parameters of N number of detection messages such as source MAC, source IP address, purpose IP address, purpose Port numbers, source port number, protocol type the most identical present invention the most specifically limit, as a example by identical, Then the source MAC of N part detection messages can be the bridge MAC Address of source VTEP, source IP address Can be the IP address of source VTEP, purpose IP address can be fixedly installed be one for representing destination VTEP receives the numerical value of rear dropping packets, such as 127.0.0.1.As for destination slogan, source port Number, protocol type can arrange previously according to actual demand, repeat the most one by one.
In the present invention, N number of detection messages also can have identical message key message.At message key message In the case of identical, other parameters of N number of detection messages may be the same or different, and the most specifically limits.
If as it has been described above, N number of detection messages has different message key message, then as the present invention's One embodiment, in this step 201, former according to different detection messages correspondence difference UDP source port numbers Then for treat to the 2nd VTEP send N number of for detection from the forwarding of VTEP to the 2nd VTEP Path whether up to detection messages determine that outer layer UDP source port number can in the following manner 1 or mode 2 Realize:
Mode 1: for each detection messages, determine that algorithm is to this according to the UDP source port number set The message key message that detection messages has calculates, and the result obtained is defined as this detection messages UDP source port number.
Mode 2: N number of detection messages is lined up a queue, determines in queue first detection messages UDP source port number, for presetting port numbers K, determines and first part of detection in queue second detection messages The UDP source port number that the outer layer UDP source port of message is different such as presets port numbers K+1, successively class Push away, until finally determining and any one detection messages in queue for last detection messages in queue The different UDP source port of outer layer UDP source port such as presets port numbers K+N.
As it has been described above, N number of detection messages can have identical message key message, based on this, as this Another bright embodiment, in this step 201, according to different detection messages correspondence difference UDP source ports Number principle be treat to the 2nd VTEP send N number of for detection from VTEP to the 2nd VTEP Forward-path whether up to detection messages determine UDP source port number can by the way of above-mentioned 2 real Existing.
By step 201, can be finally N number of for detecting from VTEP to the 2nd VTEP Forward-path whether up to detection messages determine different UDP source port numbers.
Step 202, a VTEP, for each detection messages, is utilized as what this detection messages determined UDP source port number carries out VXLAN encapsulation to this detection messages.
As a VTEP in one embodiment of the present of invention, step 202 for each detection messages, It is utilized as the UDP source port number that this detection messages determines this detection messages carries out VXLAN encapsulation can to wrap Include following steps a1 to step a2:
Step a1, determine for detection from the forward-path of VTEP to the 2nd VTEP whether up to Time use VXLAN encapsulation parameter.
As it has been described above, above-mentioned N number of detection messages is for detection turning from VTEP to the 2nd VTEP Send out path whether up to, based on this, in the present invention, above-mentioned N number of detection messages performs VXLAN envelope VXLAN encapsulation parameter during dress is identical, is the VXLAN encapsulation parameter that step a1 determines.Fig. 3 Show the structure that VXLAN encapsulates.Here VXLAN encapsulation parameter comprises in VXLAN encapsulation Parameter in addition to UDP source port number (Source Port) in outer layer UDP head.
Step a2, for each detection messages, is utilized as the outer layer UDP source that this detection messages determines Port numbers and described VXLAN encapsulation parameter carry out VXLAN encapsulation to this detection messages.
That is, in the present invention, in the VXLAN encapsulation ectomesoderm UDP head of each detection messages UDP source port number is the UDP source port number that this detection messages determines, other parameters are above-mentioned VXLAN encapsulation parameter.
Step 203, a VTEP is by going out port from all paths of this VTEP to the 2nd VTEP Share the detection messages sending N number of VXLAN encapsulation, so that receiving the detection report of VXLAN encapsulation Literary composition intermediate equipment or the 2nd VTEP to path detection equipment send for described path detection equipment determine from The path parameter up to forward-path of the oneth VTEP to the 2nd VTEP.
Preferably, a VTEP divides by going out port from all paths of this VTEP to the 2nd VTEP Load sends the detection messages of N number of VXLAN encapsulation and can comprise the following steps that
Step b1, determines and goes out port from the path of VTEP to the 2nd VTEP.
Here, the path from VTEP to the 2nd VTEP go out port can by the oneth VTEP according to this Ground routing table lookup destination is that the path of the 2nd VTEP goes out port, no longer specifically describes.
As it has been described above, M is the forward-path quantity from VTEP to the 2nd VTEP, based on this, this The path determined in step b1 goes out the quantity (representing with L) of port less than or equal to M.
Step b2, goes out quantity L of port when being 1,1 path determined by this in the path determined Go out port and send the detection messages of N number of VXLAN encapsulation;Quantity L going out port in the path determined is more than When 1, share principle according to equilibrium and go out the detection report encapsulated for each VXLAN port from L path One target of literary composition distribution goes out port, and the target of the detection messages distribution by encapsulating for VXLAN goes out port and sends out Send the detection messages that VXLAN encapsulates.
In this step b2, share principle according to equilibrium and go out port from L path and divide for each detection messages Join a target to go out when port implements, to have multiple way of realization, the most only lift a way of realization, than As: N part detection messages being grouped, in arbitrary group be divided into, the quantity of detection messages is less than or equal to L, from L Individual go out port goes out port for the detection messages distribution difference in each group to go out port as target.
It is capable of the detection that N number of VXLAN is encapsulated by a VTEP by step b1 to step b2 Message is shared to all paths from this VTEP to the 2nd VTEP and is gone out port forwarding.
In VXLAN, typically have controller and control management VTEP, based on this, work as VXLAN In when there is controller, as a preferred embodiment of the present invention, above-mentioned path detection equipment can be Controller.
Wherein, when path detection equipment is controller, above-mentioned N number of from VTEP to the 2nd VTEP Forward-path whether up to detection messages be that controller is determining that detection is from a VTEP to second The forward-path of VTEP whether up to time generate and send to a VTEP.
When path detection equipment is controller, above-mentioned steps a1 determines for detection from a VTEP To the 2nd VTEP forward-path whether up to time the VXLAN encapsulation parameter that uses include: receive institute State that controller sends for detection from the forward-path of VTEP to the 2nd VTEP whether up to time The VXLAN encapsulation parameter used.
As another preferred embodiment of the present invention, whether there is above-mentioned control regardless of in VXLAN Device, above-mentioned path detection equipment is alternatively a VTEP.
When path detection equipment is a VTEP, N number of for detecting from a VTEP to second The forward-path of VTEP whether up to detection messages be that a VTEP generates.
When path detection equipment is a VTEP, above-mentioned steps a1 determines for detection from first The forward-path of VTEP to the 2nd VTEP whether up to time the VXLAN encapsulation parameter that uses can wrap Include: determine from all VXLAN encapsulation parameters that this locality is pre-configured with for detection from a VTEP To the 2nd VTEP forward-path whether up to time the VXLAN encapsulation parameter that uses.
The structure of VXLAN encapsulation as shown in Figure 3, in the present invention, above-mentioned VXLAN encapsulation Parameter comprises the outer layer UDP destination interface (Dest Port) in outer layer UDP head, outer layer Ethernet header (Outer Ethernet Header), outer layer IP head (Outer IP Header), VXLAN head (VXLAN Header).
In the present invention, outer layer UDP head ectonexine UDP destination interface (Dest Port) is VXLAN The setting port that agreement specifies.In the present invention, the outer layer target MAC (Media Access Control) address of outer layer Ethernet header is The bridge MAC Address of two VTEP, the bridge that outer layer source MAC is a VTEP of outer layer Ethernet header MAC Address, the outer layer purpose IP address of outer layer IP head is the IP address of the 2nd VTEP, outer layer IP The IP address that outer layer source IP address is a VTEP of head.In the present invention, the finger in VXLAN head The numerical value determined in reserved field (first reserved field than as shown in Figure 3) is setting value such as 100, The mark that VXLAN mark (VNID) is the VXLAN residing for a VTEP in VXLAN head Such as VNID200.Other fields comprised as each head in VXLAN encapsulation in the present invention, its The mode encapsulated according to existing VXAN is arranged, and repeats the most one by one.
In the present invention, after a VTEP sends the detection messages of VXLAN encapsulation, it is in from the Intermediate equipment between one VTEP to the 2nd VTEP, and the 2nd VTEP can receive VXLAN The detection messages of encapsulation, it is preferable that when intermediate equipment or the 2nd VTEP receive VXLAN encapsulation After detection messages, the matched rule that VXLAN encapsulation coupling this locality of available detection messages preserves, as The match is successful for fruit, then send to path detection equipment and determine from a VTEP for described path detection equipment The path parameter up to forward-path to the 2nd VTEP.Here matched rule can be that path detection sets Preparation is sent, it is possible to for be pre-configured with, the present invention the most specifically limits.Following two embodiments all with As a example by path detection equipment sends matched rule.Specifically, encapsulate in conjunction with VXLAN described above, Here matched rule is concretely: outer layer UDP head ectonexine UDP destination interface is VXLAN association The setting port of view regulation, and the appointment reserved field in VXLAN head is than first as shown in Figure 3 Numerical value in reserved field is setting value such as 100.
In the present invention, the path parameter that intermediate equipment sends at least can include intermediate equipment when implementing Device identification, intermediate equipment receive the mark of the port of the detection messages of VXLAN encapsulation.Further, in Between equipment except sending in addition to path parameter to path detection equipment, in also may proceed to encapsulate according to VXLAN The purpose IP address choice of outer layer IP head forwards, for the port that goes out of forward detection report, the VXLAN received The detection messages of encapsulation.Wherein, intermediate equipment selects the port that goes out for forward detection report to forward reception VXLAN encapsulation detection messages particularly as follows: according to VXLAN encapsulation ectomesoderm IP head purpose IP Address determines and goes out port for forward detection report, if it is determined that the port number that goes out be 1, the most directly This port that goes out determined is selected to forward the detection messages of the VXLAN encapsulation received;If it is determined that go out end UDP source port number in VXLAN encapsulation ectomesoderm UDP head more than 1, is then breathed out by the quantity of mouth Uncommon computing, goes out to select port one to go out what port forwarding received according to Hash operation result from determine The detection messages of VXLAN encapsulation.Because detection messages quantity N that a VTEP sends is more than from the Number of paths M of one VTEP to the 2nd VTEP, so, intermediate equipment can receive multiple destination It is the detection messages of the 2nd VTEP, owing to the VXLAN of these multiple detection messages encapsulates ectomesoderm UDP UDP source port number in Tou is different, and the most multiple detection messages will forward from the different ports that goes out so that inspection Observe and predict literary composition and can travel through different forward-paths.
In the present invention, the path parameter that the 2nd VTEP sends at least can include the 2nd VTEP when implementing Device identification, the 2nd VTEP receive the mark of port of detection messages of VXLAN encapsulation.Further, For preventing from affecting normal business, the 2nd VTEP can abandon the detection messages of the VXLAN encapsulation of reception.
It should be noted that in actual applications, it is understood that there may be detect turning between multipair VTEP simultaneously Send out path whether up to time situation, there is detection as above oneth VTEP to second the most simultaneously Forward-path between VTEP whether up to, and between detection the 3rd VTEP to the 4th VTEP Forward-path whether up to, based on this kind of situation, for ease of distinguishing the forward-path of detection, above-mentioned centre Equipment, the 2nd VTEP send path parameter also can farther include the mark of a VTEP, second The mark of VTEP.That is, in the present invention, do not limit to the particular content of path parameter, as long as can The final forward-path ensureing to detect between VTEP to the 2nd VTEP whether up to.
In the present invention, a VTEP can also receive the VXLAN encapsulation that other VTEP send Detection messages, when a VTEP receive VXLAN encapsulation detection messages, then a VTEP Processing procedure be similar to the 2nd above-mentioned VTEP, repeat no more here.
So far, the flow process shown in Fig. 2 is completed.
It can be seen that in the present invention, can be traveled through from a VTEP to by the flow process shown in Fig. 2 Between two VTEP all of forward-path whether up to.
Below by two embodiments, flow process shown in Fig. 2 is described:
Embodiment 1:
The application networking diagram of the embodiment 1 that Fig. 4 provides for the present invention.In the diagram, Overlay network is only Illustrating two VTEP:VTEP1 and VTEP2, controller controls VTEP1 and VTEP2, underlay Network only illustrates 5 equipment, respectively equipment 31 to equipment 35.In the diagram, path detection equipment For controller.
In the diagram, when controller determine need to detect two VTEP (with VTEP1 be source VTEP, Hold as a example by VTEP for the purpose of VTEP2) between forward-path up to situation, then controller is according to receiving The network topology of collection determines the forward-path quantity from VTEP1 to VTEP2, if forward-path quantity Be 5, be respectively as follows: forward-path 1, VTEP1-equipment 31-> equipment 32-> equipment 34-> VTEP2, turn Send out path 2, VTEP1-> equipment 31-> equipment 32-> equipment 35-> VTEP2, forward-path 3, VTEP1-> equipment 31-> equipment 33-> equipment 34-> VTEP2, forward-path 4, VTEP1-> equipment 32-> equipment 35-> VTEP2, forward-path 5, VTEP1-> equipment 32-> equipment 34-> VTEP2;And And, controller also according to the forward-path quantity 5 from VTEP1 to VTEP2 that determines generate 5 parts with Upper detection messages, here as a example by generating 5 parts of detection messages.
The 5 parts of detection messages generated are sent to VTEP1 by controller.With 5 parts of detections in the present embodiment 1 Message has for the purpose of different message key message and message key message as a example by MAC Address.If 5 Part detection messages is designated as message 01 respectively, message 02, message 03, message 04, message 05, wherein, The target MAC (Media Access Control) address of message 01 is 00-00-5E-90-00-01, the target MAC (Media Access Control) address of message 02 For 00-00-5E-90-00-02, the target MAC (Media Access Control) address of message 03 is 00-00-5E-90-00-03, message The target MAC (Media Access Control) address of 04 is 00-00-5E-90-00-04, and the target MAC (Media Access Control) address of message 05 is 00-00-5E-90-00-05。
Controller also by be used for detecting from the forward-path of VTEP1 to VTEP2 whether up to time use VXLAN encapsulation parameter is (in VXLAN encapsulation in addition to outer layer UDP head ectomesoderm UDP source port Parameter) notice to VTEP1.Here, UDP mesh in VXLAN encapsulation parameter ectomesoderm UDP head Port numbers be the setting port numbers (as a example by port numbers 200) that VXLAN agreement specifies, outer layer with The too bridge MAC Address that outside target MAC (Media Access Control) address is VTEP2 of head, external source MAC Address is The bridge MAC Address of VTEP1, the IP address that outer layer purpose IP address is VTEP2 of outer layer IP head, The IP address that outer layer source IP address is VTEP1 of outer layer IP head, VXLAN mark in VXLAN head (VNID) it is the ID (here as a example by VNID100) of a VXLAN residing for VTEP1, The numerical value specified in reserved field such as VXLAN head in first reserved field be setting value such as 100。
Controller issues matched rule to VTEP2.
Controller issues matched rule to being in from arbitrary forward-path of VTEP1 to VTEP2 Between equipment (here as a example by equipment 31 to the equipment 35 in intermediate equipment is as Fig. 4, Fig. 4 is because circuit The most, be shown without controller and issue the matched rule circuit to equipment 31 to equipment 35).
Here, matched rule can be: in VXLAN encapsulation in the appointment reserved field in VXLAN head Numerical value be setting value, and VXLAN encapsulation ectomesoderm UDP head in UDP destination slogan be The setting port numbers that VXLAN agreement specifies.
VTEP1 receives message 01 to message 05 totally 5 parts of detection messages that controller sends, and receives The VXLAN encapsulation parameter that controller sends.
VTEP1 finds that message 01 to message 05 has different message key message and message key message For the purpose of as a example by MAC Address, then VTEP1 is according to the UDP source port number computational methods set profit The UDP source port of message 01 is calculated with the target MAC (Media Access Control) address 00-00-5E-90-00-01 of message 01 Number, VTEP1 is according to the UDP source port number computational methods set purpose MAC utilizing message 02 Address 00-00-5E-90-00-02 calculates the UDP source port number of message 02;VTEP1 is according to setting UDP source port number computational methods also utilize the target MAC (Media Access Control) address 00-00-5E-90-00-03 of message 03 Calculate the UDP source port number of message 03;VTEP1 is according to the UDP source port number computational methods set And utilize the target MAC (Media Access Control) address 00-00-5E-90-00-04 of message 04 to calculate the UDP source of message 04 Port numbers;VTEP1 is according to the UDP source port number computational methods set the purpose utilizing message 05 MAC Address 00-00-5E-90-00-05 calculates the UDP source port number of message 05.
VTEP1 utilizes the VXLAN encapsulation parameter and the UDP source port number of message 01 that controller notifies Message 01 is carried out VXLAN encapsulation, i.e. UDP source in VXLAN encapsulation ectomesoderm UDP head Slogan is the UDP source port number that message 01 is determined, and in VXLAN encapsulation, other parameters are described above VXLAN encapsulation parameter.Equally, VTEP1 utilizes the VXLAN encapsulation parameter and report that controller notifies The UDP source port number of literary composition 02 carries out VXLAN encapsulation to message 02;VTEP1 utilizes controller to lead to VXLAN encapsulation parameter and the UDP source port number of message 03 known carry out VXLAN envelope to message 03 Dress;VTEP1 utilizes the VXLAN encapsulation parameter and the UDP source port number of message 04 that controller notifies Message 04 is carried out VXLAN encapsulation;VTEP1 utilizes the VXLAN encapsulation parameter that controller notifies With the UDP source port number of message 05, message 05 is carried out VXLAN encapsulation.For ease of describing, here Message 01 to the message 05 having carried out VXLAN encapsulation is designated as message 11, message 12, message successively 13, message 14, message 15.
VTEP1 determines and goes out port from the path of this VTEP1 to VTEP2.If the road that VTEP1 determines It is 2 that footpath goes out quantity L of port, respectively port 11, port 12, then VTEP1 is sent by port 11 Message 11, sends message 12 by port 12, sends message 13 by port 11, by port 12 Send message 14, send message 15 by port 11.
It is in from arbitrary intermediate equipment of VTEP1 to VTEP2 either path (the most only with equipment 31 As a example by) receiving message 11, the appointment found in the VXLAN encapsulation of message 11 in VXLAN head is protected Numerical value in the section of writeeing down characters is setting value 100, and the UDP mesh in VXLAN encapsulation ectomesoderm UDP head Port numbers be the setting port numbers 200 that VXLAN agreement specifies, meet the coupling rule that controller issues Then, then on send path parameter at least to include to controller, path parameter here: the equipment of equipment 31 Mark, equipment 31 receive the port (as a example by port 31) of message 11.
Meanwhile, equipment 31 can be according to outer layer purpose IP of the VXLAN encapsulation ectomesoderm IP head of message 11 Address determines the path arriving this outer layer purpose IP address, found that this path more than one, is three Bar equative route, is followed successively by: equipment 31-> equipment 32-> equipment 34-> VTEP2;Equipment 31 > equipment 32-> equipment 35-> VTEP2, equipment 31-> equipment 33-> equipment 34-> VTEP2, based on this, equipment 31 The UDP source port number of the VXLAN encapsulation ectomesoderm UDP head of message 11 is carried out Hash operation, depends on From three equative routes, a paths such as equipment corresponding with Hash result is found according to Hash result 31-> equipment 33-> equipment 34-> VTEP2 also forwards, by the paths found, the message 1 received.
Equipment 31 receives message 13, receives the similar process receiving message 11 that processes of message 15, the most not Repeat again.
Controller receives and preserves the path parameter that equipment 31 sends.
Equipment 32 to equipment 35 receives the process processing similar devices 31 after message, repeats no more here.
Finally, when VTEP2 receives arbitrary message in message 11 to message 15, find the VXLAN of message In encapsulation, the numerical value in first reserved field in VXLAN head is setting value 100, and VXLAN Purpose udp port in encapsulation ectomesoderm UDP head is the setting port 200 that VXLAN agreement specifies, Meet the matched rule that controller issues, then on send path parameter to controller, path parameter here is extremely Include less: the device identification of VTEP2, VTEP2 receive the mark of the port of message.
VTEP2 finds that the outer layer purpose IP address of VXLAN encapsulation ectomesoderm IP head is this VTEP2's IP address, then abandon the message of reception.
After controller receives the path parameter sent on VTEP2, according to all path parameters of receiving to from The reachable path of VTEP1 to VTEP2 carries out collecting and adding up.The path parameter that such as controller receives is:
(equipment 31, port 311), (equipment 32, port 321), (equipment 35, port 352), (set Standby 32, port 322), (equipment 34, port 342), (VTEP2, port 25), (VTEP2, port 24)。
Controller port based on discovering network topology equipment 31 upper port 311 correspondence collected connects VTEP1, so, being determined by (equipment 31, port 311) can to the path of equipment 31 from VTEP1 Reach;Controller port based on discovering network topology equipment 32 upper port 321 correspondence collected connects equipment 31, so, by (equipment 32, port 321) determine from the path of equipment 31 to equipment 32 up to, Determined before in conjunction with from VTEP1 to the path of equipment 31 up to, the most now further determine that from VTEP1 To equipment 32 path up to;Controller is based on discovering network topology equipment 35 upper port 352 collected Corresponding port connects equipment 32, so, is determined from equipment 32 to setting by (equipment 35, port 352) The path of standby 35 up to, in conjunction with before determine from VTEP1 to the path of equipment 32 up to, the most now enter One step determine from VTEP1 to the path of equipment 35 up to;Controller is based on the discovering network topology collected The port of VTEP2 upper port 25 correspondence connects equipment 35, so, true by (VTEP2, port 25) Fixed from the path of equipment 35 to VTEP2 up to, in conjunction with before determine from VTEP1 to the road of equipment 35 Footpath up to, the most now further determine that from the path of VTEP1 to VTEP2 up to, the most above-mentioned forwarding road Footpath 2 up to;
Controller port based on discovering network topology equipment 32 upper port 322 correspondence collected connects VTEP1, so, being determined by (equipment 32, port 322) can to the path of equipment 32 from VTEP1 Reach;Controller port based on discovering network topology equipment 34 upper port 342 correspondence collected connects equipment 32, so, by (equipment 34, port 342) determine from the path of equipment 32 to equipment 34 up to, Determined before in conjunction with from VTEP1 to the path of equipment 32 up to, the most now further determine that from VTEP1 To equipment 34 path up to;Controller is right based on the discovering network topology VTEP2 upper port 24 collected The port answered connects equipment 34, so, is determined from equipment 34 to VTEP2 by (VTEP2, port 24) Path up to, in conjunction with before determine from VTEP1 to the path of equipment 34 up to, further Determine from the path of VTEP1 to VTEP2 up to, the most above-mentioned forward-path 5 up to.
That is, controller determines the most above-mentioned turning by collecting the path parameter received and adding up Send out path 2 and forward-path 5 up to, and above-mentioned forward-path 1,3,4 is unreachable.
So far, the description of embodiment 1 is completed.
Embodiment 2:
The application networking diagram of the embodiment 2 that Fig. 5 provides for the present invention.In Figure 5, Overlay network is only Illustrate that two VTEP:VTEP3 and VTEP4, underlay networks only illustrate 5 equipment, be respectively Equipment 61 to equipment 65.In Figure 5, with detection from the forward-path of VTEP3 to VTEP4 whether As a example by up to.In Figure 5, path detection equipment is VTEP3.
The present embodiment 2 times, VTEP3 according to the network topology the most collected determine from this VTEP3 to The forward-path quantity of VTEP4, if forward-path quantity is 5, is respectively as follows: forward-path 1, VTEP3-> equipment 61-> equipment 62-> equipment 64-> VTEP4, forward-path 2, VTEP3-> equipment 61-> equipment 62-> equipment 65-> VTEP4, forward-path 3, VTEP3-> equipment 61-> equipment 63-> set Standby 64-> VTEP4, forward-path 4, VTEP3-> equipment 62-> equipment 65-> VTEP4, forward-path 5, VTEP3-> equipment 62-> equipment 64-> VTEP4.
VTEP3 according to the forward-path quantity 5 from this VTEP3 to VTEP4 that determines generate 5 parts with Upper detection messages, here as a example by generating 5 parts of detection messages.With 5 parts of detection messages in the present embodiment 2 Have for the purpose of different message key message and message key message as a example by MAC Address.If 5 parts Detection messages is designated as message 61, message 62, message 63, message 64, message 65 respectively, wherein, reports The target MAC (Media Access Control) address of literary composition 61 is 00-00-5E-90-00-06, and the target MAC (Media Access Control) address of message 62 is 00-00-5E-90-00-07, the target MAC (Media Access Control) address of message 63 is 00-00-5E-90-00-08, message 64 Target MAC (Media Access Control) address be 00-00-5E-90-00-09, the target MAC (Media Access Control) address of message 65 is 00-00-5E-90-00-10。
VTEP3 sends matched rule to VTEP4.
VTEP3 determines from the path of this VTEP3 to VTEP4 according to the network topology the most collected Intermediate equipment (i.e. equipment 61 to equipment 65 in Fig. 6), VTEP3 send matched rule to Fig. 6 In equipment 61 to equipment 65 (Fig. 6, because circuit is the most, is shown without sending the line of matched rule Road).
Here, matched rule can be: first reserved field in VXLAN head in VXLAN encapsulation Interior numerical value is setting value, and the UDP destination slogan in VXLAN encapsulation ectomesoderm UDP head is The setting port numbers that VXLAN agreement specifies.
VTEP3 determines message 61 to message 65 respectively according to the UDP source port number computational methods set UDP source port number.
VTEP3 carries out VXLAN encapsulation respectively to message 61 to message 65;Message 61 to message 65 VXLAN encapsulation ectomesoderm UDP head UDP source port number be respectively message 61 to message 65 quilt The UDP source port number determined.For ease of describing, the message 61 of VXLAN encapsulation will be carried out here Message 71 to message 75 it is designated as successively to message 65.
VTEP3 determines and goes out port from the path of this VTEP3 to VTEP4.If what VTEP3 determined goes out Quantity L of port is 2, respectively port 31, port 32 (Fig. 5 is not shown), then VTEP3 is by end Mouth 31 sends messages 71, sends message 72 by port 32, sends message 73 by port 31, pass through Port 32 sends message 74, sends message 75 by port 31.
It is in from arbitrary intermediate equipment of VTEP3 to VTEP4 either path (the most only with equipment 61 As a example by) receive message 71, find first guarantor in VXLAN head in the VXLAN encapsulation of message 71 Numerical value in the section of writeeing down characters is setting value, and the UDP destination in VXLAN encapsulation ectomesoderm UDP head Slogan is the setting port numbers that VXLAN agreement specifies, meets the matched rule that VTEP3 sends, then sends out Path parameter is sent to include to VTEP3, path parameter: the device identification of equipment 61, equipment 61 receive report The port (as a example by port 61) of literary composition 71.
Meanwhile, equipment 61 can be according to outer layer purpose IP of the VXLAN encapsulation ectomesoderm IP head of message 71 Address determines the path arriving this outer layer purpose IP address, found that this path more than one, is three Bar equative route, based on this, equipment 61 encapsulates ectomesoderm UDP head to the VXLAN of message 71 UDP source port number carries out Hash operation, finds and Hash from three equative routes according to Hash result A paths such as equipment 61-> equipment 63-> equipment 64-> VTEP4 that result is corresponding by finding One paths forwards the message 71 received.
Equipment 61 receives message 73, receives the similar process receiving message 71 that processes of message 75, the most not Repeat again.
VTEP3 receives and preserves the path parameter that equipment 61 sends.
Equipment 62 to equipment 65 receives the process processing similar devices 61 after message, repeats no more here.
Finally, when VTEP4 receives arbitrary message in message 71 to message 75, find the VXLAN of message In encapsulation, the numerical value in first reserved field in VXLAN head is setting value, and VXLAN encapsulation UDP destination slogan in ectomesoderm UDP head is the setting port numbers that VXLAN agreement specifies, full The matched rule that foot VTEP3 sends, then transmission path parameter is to VTEP3, and finds that VXLAN encapsulates The IP address that outer layer purpose IP address is this VTEP4 of ectomesoderm IP head, then abandon the message of reception.
After VTEP3 receives the path parameter that VTEP4 sends, according to all path parameters of receiving to from VTEP3 to VTEP4 carries out collecting and adding up up to forward-path, the mode class collecting and adding up here Like the method for embodiment 1, repeating no more, Fig. 5 does not specifically illustrate that each equipment receives VXLAN encapsulation again The port of detection messages.Final VTEP3 can go out all paths from VTEP3 to VTEP4 by global statistics Include how many reachable paths etc. up to situation, inquire about for upper strata.Here the final global statistics of VTEP3 goes out Being likely not to have, up to situation, all paths that controller counts from all paths of VTEP3 to VTEP4 can Reach situation directly perceived.
So far, the description of embodiment 2 is completed.
The method provided the present invention above is described.The device provided the present invention below is described:
See the structure drawing of device that Fig. 6, Fig. 6 provide for the present invention.As shown in Figure 6, this device includes:
Determining unit, being used for according to the principle of different detection messages correspondence difference UDP source port numbers is first VTEP treat to the 2nd VTEP send N number of for detection from VTEP to the 2nd VTEP turn Send out path whether up to detection messages determine UDP source port number;Wherein, N is more than or equal to from first Number of paths M of VTEP to the 2nd VTEP.
VXLAN encapsulation unit, for for each detection messages, is utilized as this detection messages and determines UDP source port number this detection messages is carried out VXLAN encapsulation;
Detection messages transmitting element, for by going out from all paths of VTEP to the 2nd VTEP Port shares the detection messages sending N number of VXLAN encapsulation, so that receiving the inspection of VXLAN encapsulation The intermediate equipment or the 2nd VTEP that observe and predict literary composition send for described path detection equipment true to path detection equipment The fixed path parameter up to forward-path from VTEP to the 2nd VTEP.
Preferably, if described path detection equipment is for managing the controller of VTEP in VXLAN, Described N number of for detection from the forward-path of VTEP to the 2nd VTEP whether up to detection report Literary composition is that described controller sends to a VTEP;
If described path detection equipment is a VTEP, described N number of for detecting from a VTEP To the 2nd VTEP forward-path whether up to detection messages be that a described VTEP generates.
Preferably, described VXLAN encapsulation unit, for each detection messages, is utilized as this detection report The UDP source port number that literary composition determines carries out VXLAN encapsulation and includes this detection messages:
Determine for detection from the forward-path of VTEP to the 2nd VTEP whether up to time use VXLAN encapsulation parameter;
For each detection messages, it is utilized as UDP source port number that this detection messages determines and described VXLAN encapsulation parameter carries out VXLAN encapsulation to this detection messages.
Preferably, if described path detection equipment is for managing the controller of VTEP in VXLAN, Described determine for detection from the forward-path of VTEP to the 2nd VTEP whether up to time use VXLAN encapsulation parameter includes: receive that described controller sends for detection from a VTEP to the The forward-path of two VTEP whether up to time the VXLAN encapsulation parameter that uses;
If described path detection equipment is a VTEP, described determine for detection from a VTEP To the 2nd VTEP forward-path whether up to time the VXLAN encapsulation parameter that uses include: from this locality The all VXLAN encapsulation parameters being pre-configured with determine for detection from a VTEP to second The forward-path of VTEP whether up to time the VXLAN encapsulation parameter that uses.
Preferably, described detection messages transmitting element is by owning from VTEP to the 2nd VTEP Path go out port share send N number of VXLAN encapsulation detection messages include:
Determine and go out port from all paths of this VTEP to the 2nd VTEP;
Go out quantity L of port in the path determined when being 1, go out port by this 1 path determined and send out Send the detection messages that N number of VXLAN encapsulates;
When going out quantity L of port in the path determined more than 1, share principle according to equilibrium and go out from L path In port, one target of detection messages distribution for each VXLAN encapsulation goes out port, by for VXLAN The target of the detection messages distribution of encapsulation goes out port and sends the detection messages of VXLAN encapsulation.
Preferably, as shown in Figure 6, this device farther includes:
Receive unit, for receiving the detection messages of VXLAN encapsulation;
Path parameter transmitting element, during for receiving the detection messages of VXLAN encapsulation at described reception unit, The path parameter that the detection messages of the VXLAN encapsulation received is corresponding, institute is sent to path detection equipment Path parameter corresponding to detection messages stating the VXLAN encapsulation received at least includes: a VTEP Device identification, a VTEP receive the mark of port of detection messages of VXLAN encapsulation;
Processing unit, is this VTEP for determining the purpose IP address of VXLAN encapsulation ectomesoderm IP head IP address, abandon described reception unit receive VXLAN encapsulation detection messages.
So far, complete the apparatus structure shown in Fig. 6 to describe.
Present invention also offers the hardware structure diagram of Fig. 6 shown device.Seeing Fig. 7, Fig. 7 is the present invention The hardware structure diagram of Fig. 6 shown device provided.
Such as Fig. 7, this hardware structure diagram comprises the steps that
CPU and memorizer.
Memorizer, is used for depositing and determines unit, VXLAN encapsulation unit, detection messages transmitting element;
CPU, for deposit determine control program that unit runs with in control memorizer really cell hold Row operation as above;For depositing the control program of VXLAN encapsulation unit operation to control storage VXLAN encapsulation unit in device performs operation as above;For depositing detection messages transmitting element The control program run performs operation as above to control the detection messages transmitting element in memorizer.
Preferably, memorizer, it is further used for depositing reception unit, path parameter transmitting element, processing list Unit;
CPU, is further used for depositing the control program receiving unit operation to control the reception in memorizer Unit performs operation as above;It is further used for depositing the control journey that path parameter transmitting element runs Sequence performs operation as above to control the path parameter transmitting element in memorizer;And use further Perform as above in the control program depositing processing unit operation with the processing unit controlling in memorizer Operation.
So far, the device hardware structure chart shown in Fig. 7 is completed.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all Within the spirit and principles in the present invention, any modification, equivalent substitution and improvement etc. done, all should comprise Within the scope of protection of the invention.

Claims (12)

1. the path between a VXLAN endpoint of a tunnel VTEP is up to detection method, it is characterised in that The method includes:
Oneth VTEP according to the principle of different detection messages correspondence difference UDP source port numbers for treating to second VTEP send N number of for detection from the forward-path of VTEP to the 2nd VTEP whether up to Detection messages determine UDP source port number;
Oneth VTEP, for each detection messages, is utilized as the UDP source port that this detection messages determines Number this detection messages is carried out VXLAN encapsulation;
Oneth VTEP shares transmission N by going out port from all paths of this VTEP to the 2nd VTEP The detection messages of individual VXLAN encapsulation, so that the centre receiving the detection messages of VXLAN encapsulation sets Standby or the 2nd VTEP sends to path detection equipment and determines from a VTEP for described path detection equipment The path parameter up to forward-path to the 2nd VTEP;
Wherein, N is more than or equal to from number of paths M of VTEP to the 2nd VTEP.
Method the most according to claim 1, it is characterised in that
If described path detection equipment is for managing the controller of VTEP in VXLAN, described N number of For detection from the forward-path of VTEP to the 2nd VTEP whether up to detection messages be described Controller sends to a VTEP;
If described path detection equipment is a VTEP, described N number of for detecting from a VTEP To the 2nd VTEP forward-path whether up to detection messages be that a described VTEP generates.
Method the most according to claim 1, it is characterised in that a described VTEP is for each Individual detection messages, is utilized as the UDP source port number that this detection messages determines and carries out this detection messages VXLAN encapsulation includes:
Determine for detection from the forward-path of VTEP to the 2nd VTEP whether up to time use VXLAN encapsulation parameter;
For each detection messages, it is utilized as UDP source port number that this detection messages determines and described VXLAN encapsulation parameter carries out VXLAN encapsulation to this detection messages.
Method the most according to claim 3, it is characterised in that if described path detection equipment is For managing the controller of VTEP in VXLAN, described determine for detection from a VTEP to second The forward-path of VTEP whether up to time the VXLAN encapsulation parameter that uses include: receive described control Device send for detection from the forward-path of VTEP to the 2nd VTEP whether up to time use VXLAN encapsulation parameter;
If described path detection equipment is a VTEP, described determine for detection from a VTEP To the 2nd VTEP forward-path whether up to time the VXLAN encapsulation parameter that uses include: from this locality The all VXLAN encapsulation parameters being pre-configured with determine for detection from a VTEP to second The forward-path of VTEP whether up to time the VXLAN encapsulation parameter that uses.
Method the most according to claim 1, it is characterised in that a described VTEP is by from this All paths of VTEP to the 2nd VTEP go out port and share the detection messages sending N number of VXLAN encapsulation Including:
Oneth VTEP determines and goes out port from all paths of this VTEP to the 2nd VTEP;
Go out quantity L of port in the path determined when being 1, go out port by this 1 path determined and send out Send the detection messages that N number of VXLAN encapsulates;
When going out quantity L of port in the path determined more than 1, share principle according to equilibrium and go out from L path In port, one target of detection messages distribution for each VXLAN encapsulation goes out port, by for VXLAN The target of the detection messages distribution of encapsulation goes out port and sends the detection messages of VXLAN encapsulation.
Method the most according to claim 1, it is characterised in that the method farther includes:
Oneth VTEP receives the detection messages of VXLAN encapsulation;
The detection messages that oneth VTEP sends the VXLAN encapsulation received to path detection equipment is corresponding Path parameter, described in the path parameter corresponding to detection messages of VXLAN encapsulation that receive at least wrap Include: the device identification of a VTEP, a VTEP receive the end of the detection messages of VXLAN encapsulation The mark of mouth;
Oneth VTEP determines that the purpose IP address of VXLAN encapsulation ectomesoderm IP head is this VTEP's IP address, abandon described in receive VXLAN encapsulation detection messages.
7. the path between a VXLAN endpoint of a tunnel VTEP is up to detection device, it is characterised in that This device includes:
Determining unit, being used for according to the principle of different detection messages correspondence difference UDP source port numbers is first VTEP treat to the 2nd VTEP send N number of for detection from VTEP to the 2nd VTEP turn Send out path whether up to detection messages determine UDP source port number;
VXLAN encapsulation unit, for for each detection messages, is utilized as this detection messages and determines UDP source port number this detection messages is carried out VXLAN encapsulation;
Detection messages transmitting element, for by going out from all paths of VTEP to the 2nd VTEP Port shares the detection messages sending N number of VXLAN encapsulation, so that receiving the inspection of VXLAN encapsulation The intermediate equipment or the 2nd VTEP that observe and predict literary composition send for described path detection equipment true to path detection equipment The fixed path parameter up to forward-path from VTEP to the 2nd VTEP;
Wherein, N is more than or equal to from number of paths M of VTEP to the 2nd VTEP.
Device the most according to claim 7, it is characterised in that
If described path detection equipment is for managing the controller of VTEP in VXLAN, described N number of For detection from the forward-path of VTEP to the 2nd VTEP whether up to detection messages be described Controller sends to a VTEP;
If described path detection equipment is a VTEP, described N number of for detecting from a VTEP To the 2nd VTEP forward-path whether up to detection messages be that a described VTEP generates.
Device the most according to claim 7, it is characterised in that described VXLAN encapsulation unit pin To each detection messages, it is utilized as the UDP source port number that this detection messages determines and this detection messages is entered Row VXLAN encapsulation includes:
Determine for detection from the forward-path of VTEP to the 2nd VTEP whether up to time use VXLAN encapsulation parameter;
For each detection messages, it is utilized as UDP source port number that this detection messages determines and described VXLAN encapsulation parameter carries out VXLAN encapsulation to this detection messages.
Device the most according to claim 9, it is characterised in that if described path detection equipment For in VXLAN for managing the controller of VTEP, described determine for detection from a VTEP to the The forward-path of two VTEP whether up to time the VXLAN encapsulation parameter that uses include: receive described control Device processed send for detection from the forward-path of VTEP to the 2nd VTEP whether up to time use VXLAN encapsulation parameter;
If described path detection equipment is a VTEP, described determine for detection from a VTEP To the 2nd VTEP forward-path whether up to time the VXLAN encapsulation parameter that uses include: from this locality The all VXLAN encapsulation parameters being pre-configured with determine for detection from a VTEP to second The forward-path of VTEP whether up to time the VXLAN encapsulation parameter that uses.
11. devices according to claim 7, it is characterised in that described detection messages transmitting element Transmission N number of VXLAN envelope is shared by going out port from all paths of VTEP to the 2nd VTEP The detection messages of dress includes:
Determine and go out port from all paths of this VTEP to the 2nd VTEP;
Go out quantity L of port in the path determined when being 1, go out port by this 1 path determined and send out Send the detection messages that N number of VXLAN encapsulates;
When going out quantity L of port in the path determined more than 1, share principle according to equilibrium and go out from L path In port, one target of detection messages distribution for each VXLAN encapsulation goes out port, by for VXLAN The target of the detection messages distribution of encapsulation goes out port and sends the detection messages of VXLAN encapsulation.
12. devices according to claim 7, it is characterised in that this device farther includes:
Receive unit, for receiving the detection messages of VXLAN encapsulation;
Path parameter transmitting element, during for receiving the detection messages of VXLAN encapsulation at described reception unit, The path parameter that the detection messages of the VXLAN encapsulation received is corresponding, institute is sent to path detection equipment Path parameter corresponding to detection messages stating the VXLAN encapsulation received at least includes: a VTEP Device identification, a VTEP receive the mark of port of detection messages of VXLAN encapsulation;
Processing unit, is this VTEP for determining the purpose IP address of VXLAN encapsulation ectomesoderm IP head IP address, abandon described reception unit receive VXLAN encapsulation detection messages.
CN201510408264.5A 2015-07-10 2015-07-10 Path between VXLAN endpoint of a tunnel VTEP is up to detection method and device Active CN106330597B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510408264.5A CN106330597B (en) 2015-07-10 2015-07-10 Path between VXLAN endpoint of a tunnel VTEP is up to detection method and device
PCT/CN2016/089597 WO2017008712A1 (en) 2015-07-10 2016-07-11 Reachability detection for path between vxlan tunnel end points (vtep)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510408264.5A CN106330597B (en) 2015-07-10 2015-07-10 Path between VXLAN endpoint of a tunnel VTEP is up to detection method and device

Publications (2)

Publication Number Publication Date
CN106330597A true CN106330597A (en) 2017-01-11
CN106330597B CN106330597B (en) 2019-07-26

Family

ID=57725554

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510408264.5A Active CN106330597B (en) 2015-07-10 2015-07-10 Path between VXLAN endpoint of a tunnel VTEP is up to detection method and device

Country Status (2)

Country Link
CN (1) CN106330597B (en)
WO (1) WO2017008712A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547343A (en) * 2017-06-28 2018-01-05 新华三技术有限公司 Message method of controlling operation thereof and device
CN108616418A (en) * 2018-03-30 2018-10-02 新华三技术有限公司 Detect the method and device of failure
CN112637051A (en) * 2020-11-26 2021-04-09 新华三技术有限公司合肥分公司 Path detection message forwarding method and device
CN112751727A (en) * 2020-12-23 2021-05-04 新华三技术有限公司 Method for detecting link and network equipment

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109995654B (en) * 2017-12-29 2022-05-20 中兴通讯股份有限公司 Method and device for transmitting data based on tunnel
CN113141290B (en) * 2020-01-19 2023-12-19 华为技术有限公司 Message transmission method, device and equipment
CN112636997B (en) * 2020-11-17 2022-08-30 新华三技术有限公司 Path detection method and device
CN113794616B (en) * 2021-08-31 2023-04-18 新华三信息安全技术有限公司 Message forwarding method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197731A (en) * 2007-12-12 2008-06-11 华为技术有限公司 Path fault detection method, system and device
CN101626324A (en) * 2009-08-19 2010-01-13 杭州华三通信技术有限公司 Forwarding path detection method and forwarding path detection device
CN102523221A (en) * 2011-12-20 2012-06-27 国家计算机网络与信息安全管理中心 Detection method of data message and network safety detection device
US20140029451A1 (en) * 2012-07-27 2014-01-30 Gigamon Llc Monitoring virtualized network
US20140071983A1 (en) * 2012-09-07 2014-03-13 International Business Machines Corporation Overlay network capable of supporting storage area network (san) traffic
CN104270298A (en) * 2014-09-30 2015-01-07 杭州华三通信技术有限公司 Method and device for forwarding message in VXLAN

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102177681B (en) * 2011-04-21 2013-04-24 华为技术有限公司 Fault detection method and system
US9571362B2 (en) * 2013-05-24 2017-02-14 Alcatel Lucent System and method for detecting a virtual extensible local area network (VXLAN) segment data path failure
CN104283738B (en) * 2014-10-11 2018-07-17 新华三技术有限公司 A kind of chain circuit detecting method and equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197731A (en) * 2007-12-12 2008-06-11 华为技术有限公司 Path fault detection method, system and device
CN101626324A (en) * 2009-08-19 2010-01-13 杭州华三通信技术有限公司 Forwarding path detection method and forwarding path detection device
CN102523221A (en) * 2011-12-20 2012-06-27 国家计算机网络与信息安全管理中心 Detection method of data message and network safety detection device
US20140029451A1 (en) * 2012-07-27 2014-01-30 Gigamon Llc Monitoring virtualized network
US20140071983A1 (en) * 2012-09-07 2014-03-13 International Business Machines Corporation Overlay network capable of supporting storage area network (san) traffic
CN104270298A (en) * 2014-09-30 2015-01-07 杭州华三通信技术有限公司 Method and device for forwarding message in VXLAN

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李同亮: ""VXLAN环境下基于ISIS协议的MAC地址同步技术研究与实现"", 《中国优秀硕士学位论文全文数据库信息科技辑》 *
霍天一: ""VXLAN技术的研究与测试方案"", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547343A (en) * 2017-06-28 2018-01-05 新华三技术有限公司 Message method of controlling operation thereof and device
CN108616418A (en) * 2018-03-30 2018-10-02 新华三技术有限公司 Detect the method and device of failure
CN112637051A (en) * 2020-11-26 2021-04-09 新华三技术有限公司合肥分公司 Path detection message forwarding method and device
CN112637051B (en) * 2020-11-26 2022-07-12 新华三技术有限公司合肥分公司 Path detection message forwarding method and device
CN112751727A (en) * 2020-12-23 2021-05-04 新华三技术有限公司 Method for detecting link and network equipment

Also Published As

Publication number Publication date
CN106330597B (en) 2019-07-26
WO2017008712A1 (en) 2017-01-19

Similar Documents

Publication Publication Date Title
CN106330597A (en) Path reachability detection method and device between VTEPs (VXLAN Tunnel End Points) of VXLAN (Virtual Extensible Local Area Network)
US10243847B2 (en) Forwarding packets with encapsulated service chain headers
CN104283806B (en) Business chain processing method and equipment
CN102792646B (en) Communication system, control device, communication means
US10116553B1 (en) Application identifier in service function chain metadata
US8948180B2 (en) Routing encapsulated data packets onto selected VLANs
CN104734964B (en) Message processing method, node and system
CN109873760A (en) Handle the method and apparatus of routing and the method and apparatus of data transmission
US9967191B2 (en) Receiver-signaled entropy labels for traffic forwarding in a computer network
CN104348717B (en) Message forwarding method and device
CN106105130A (en) Carry the source routing of entropy head
CN107995108A (en) Network path optimization method and SDN controllers
CN106209638B (en) From virtual LAN to the message forwarding method and equipment of virtual expansible local area network
CN106254256A (en) Data message forwarding methods based on three layers of VXLAN gateway and equipment
CN107395481A (en) The Egress node protection of broadcast, unknown unicast or multicast service in EVPN topologys
CN101789949B (en) Method and router equipment for realizing load sharing
CN106341333B (en) Applied to the packet loss position method and apparatus in VXLAN
CN108206785A (en) Optimize and routing and/or the relevant information of next-hop for multicast traffic
CN108075969A (en) Message forwarding method and device
CN107078928A (en) Packet is sampled to measure network performance
CN105812257B (en) Business chain route management system and its application method
CN107547342A (en) Message broadcasting method and apparatus based on VXLAN tunnels
CN106209637B (en) From virtual expansible local area network to the message forwarding method and equipment of virtual LAN
CN108667709A (en) A kind of message forwarding method and device
US10313274B2 (en) Packet forwarding

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant