CN106330597B - Path between VXLAN endpoint of a tunnel VTEP is up to detection method and device - Google Patents

Path between VXLAN endpoint of a tunnel VTEP is up to detection method and device Download PDF

Info

Publication number
CN106330597B
CN106330597B CN201510408264.5A CN201510408264A CN106330597B CN 106330597 B CN106330597 B CN 106330597B CN 201510408264 A CN201510408264 A CN 201510408264A CN 106330597 B CN106330597 B CN 106330597B
Authority
CN
China
Prior art keywords
vtep
path
detection messages
vxlan
vxlan encapsulation
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.)
Active
Application number
CN201510408264.5A
Other languages
Chinese (zh)
Other versions
CN106330597A (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 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

Abstract

This application provides the paths between VXLAN endpoint of a tunnel VTEP up to detection method and device.In the present invention, first VTEP is that N part detection messages to send to the 2nd VTEP determine the different UDP source port numbers for VXLAN encapsulation, this intermediate equipment that can make to receive the detection messages of VXLAN encapsulation encapsulated when determining that the forward-path to the 2nd VTEP has two articles or more using VXLAN in UDP source port number selection forward-path, the quantity N of detection messages is greater than all forward-path quantity M from the first VTEP to the 2nd VTEP, and, all path exit ports of first VTEP from the first VTEP to the 2nd VTEP share the detection messages for sending N number of VXLAN encapsulation, this can guarantee the reachable situation for being eventually detected all forward-paths from the first VTEP to the 2nd VTEP.

Description

Path between VXLAN endpoint of a tunnel VTEP is up to detection method and device
Technical field
This application involves network communication technologies, in particular to virtual extended local area network (VXLAN:Virtual EXtensible Local Area Network) path between endpoint of a tunnel (VTEP:VXLAN Tunnel End Point) Up to detection method and device.
Background technique
VXLAN is a kind of technology for being packaged two layer message with three layer protocols, cardinal principle are as follows: introduces a use The outer layer tunnel of user data packet protocol (UDP:User Datagram Protocol) format, as datapath layer, and it is original Message data transmitted as payload.
Since the outer layer of payload uses UDP as transmission means, this can guarantee payload smoothly in two, three-layer network Transmission realizes the ability of double layer network covering (overlay) three-layer network.Here, for convenience of description, by the virtual net of covering Network is known as overlay network, and capped physical carrier network is known as underlay network, and Fig. 1 is simply shown The structure of overlay network and underlay network.
In overlay network, endpoint of a tunnel (VTEP:VXLAN Tunnel End Point) is introduced to complete message VXLAN encapsulation and VXLAN decapsulation.VTEP and underlay are connected to the network, and are assigned the IP address of physical network, the IP Location is unrelated with overlay network.
In overlay network, the path between different VTEP is (because VTEP and underlay is connected to the network, here not The path underlay is also referred to as with the path between VTEP) there may be a plurality of, even a plurality of equal cost multipath (ECMP:Equal- Cost Multi-Path), however to be able to detect the path underlay between VTEP reachable there is presently no a kind of method, because This, a kind of path underlay between VTEP is current technical problem urgently to be resolved up to detection mode.
Summary of the invention
This application provides the paths between VXLAN endpoint of a tunnel VTEP up to detection method and device, to detect VTEP Between forward-path reachable situation.
The technical scheme provided by the application includes:
A kind of path between VXLAN endpoint of a tunnel VTEP up to detection method, this method comprises:
First VTEP is to send to the 2nd VTEP according to the principle that different detection messages correspond to different UDP source port numbers It is N number of to determine UDP source port number for detecting from the whether reachable detection messages of the forward-path of the first VTEP to the 2nd VTEP;
First VTEP is directed to each detection messages, is utilized as the determining UDP source port number of the detection messages to the detection Message carries out VXLAN encapsulation;
First VTEP is shared by all path exit ports from this VTEP to the 2nd VTEP sends N number of VXLAN encapsulation Detection messages so that receive VXLAN encapsulation detection messages intermediate equipment or the 2nd VTEP to path detection equipment send The path parameter of the reachable forward-path from the first VTEP to the 2nd VTEP is determined for the path detection equipment;
Wherein, N is greater than or equal to the number of paths M from the first VTEP to the 2nd VTEP.
Up to detection device, which includes: in a kind of path between VXLAN endpoint of a tunnel VTEP
Determination unit, for corresponded to according to different detection messages different UDP source port numbers principle be the first VTEP wait for 2nd VTEP is sent N number of determining from the whether reachable detection messages of the forward-path of the first VTEP to the 2nd VTEP for detecting UDP source port number;
VXLAN encapsulation unit is utilized as the UDP source port that the detection messages determine for being directed to each detection messages Number to the detection messages carry out VXLAN encapsulation;
Detection messages transmission unit, for sharing transmission by all path exit ports from the first VTEP to the 2nd VTEP The detection messages of N number of VXLAN encapsulation, so that the intermediate equipment for receiving the detection messages of VXLAN encapsulation or the 2nd VTEP are to road Diameter detection device sends the path that the reachable forward-path from the first VTEP to the 2nd VTEP is determined for the path detection equipment Parameter;
Wherein, N is greater than or equal to the number of paths M from the first VTEP to the 2nd VTEP.
As can be seen from the above technical solutions, the present invention in, the first VTEP be to be sent to the 2nd VTEP N (greater than from All forward-path quantity M of first VTEP to the 2nd VTEP) part detection messages determine the different UDP for VXLAN encapsulation Source port number, this can be such that the intermediate equipment for the detection messages for receiving VXLAN encapsulation is determining to the forwarding of the 2nd VTEP When path has two or more using VXLAN encapsulate in UDP source port number select forward-path, because of the quantity N of detection messages Greater than all forward-path quantity M from the first VTEP to the 2nd VTEP, also, the first VTEP is from the first VTEP to the 2nd VTEP All path exit ports share the detection messages for sending N number of VXLAN encapsulation, this can guarantee to be eventually detected from first The reachable situation of all forward-paths of VTEP to the 2nd VTEP.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of overlay network and underlay network;
Fig. 2 is method flow diagram provided by the invention;
Fig. 3 is VXLAN package structure diagram provided by the invention;
Fig. 4 applies networking diagram for what the embodiment of the present invention 1 provided;
Fig. 5 applies networking diagram for what the embodiment of the present invention 2 provided;
Fig. 6 is structure drawing of device provided by the invention;
Fig. 7 is the hardware structure diagram of Fig. 6 shown device provided by the invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, right in the following with reference to the drawings and specific embodiments The present invention is described in detail.
Referring to fig. 2, Fig. 2 is method flow diagram provided by the invention.As shown in Fig. 2, this method can comprise the following steps that
Step 201, the first VTEP is to second according to the principle that different detection messages correspond to different UDP source port numbers The N number of of VTEP transmission determines UDP for detecting from the whether reachable detection messages of the forward-path of the first VTEP to the 2nd VTEP Source port number.
In the present invention, the name that the first VTEP, the 2nd VTEP are only carried out for ease of description, and non-limiting hair It is bright.
In the present invention, N is greater than or equal to the number of paths M from the first VTEP to the 2nd VTEP.
In the present invention, N number of detection messages can have different message key messages, and here, message key message is message five At least one parameter that tuple or seven tuple of message include.Wherein, message five-tuple includes following parameter: purpose IP address, Source IP address, destination slogan, source port number, protocol type;Seven tuple of message 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 description, with message key letter Breath can pre-define a purpose for for purpose MAC Address, the target MAC (Media Access Control) address to guarantee N number of detection messages is different here Mac address range, such as 00-00-5E-90-00-01~00-00-5E-90-00-80, the target MAC (Media Access Control) address of N parts of detection messages It can be target MAC (Media Access Control) address different in above-mentioned purpose mac address range.In the premise that message key message is purpose MAC Address Under, the other parameters of N number of detection messages such as source MAC, source IP address, purpose IP address, destination slogan, source port Number, whether identical the protocol type present invention be not specific limits, for identical, then the source MAC of N parts of detection messages can be The bridge MAC Address of source VTEP, source IP address can be the IP address of source VTEP, and purpose IP address can be fixedly installed as a use The numerical value of rear dropping packets, such as 127.0.0.1 are received in expression destination VTEP.As for destination slogan, source port number, association View type can be arranged previously according to actual demand, no longer repeat one by one here.
In the present invention, N number of detection messages can also have identical message key message.In the identical situation of message key message Under, the other parameters of N number of detection messages may be the same or different, here not concrete restriction.
As described above, if N number of detection messages have different message key messages, then as an implementation of the invention , it is the N to be sent to the 2nd VTEP according to the principle that different detection messages correspond to different UDP source port numbers in this step 201 It is a to determine outer layer UDP source port number for detecting from the whether reachable detection messages of the forward-path of the first VTEP to the 2nd VTEP Can in the following manner 1 or mode 2 realize:
Mode 1: being directed to each detection messages, determines that algorithm has the detection messages according to the UDP source port number of setting Some message key messages are calculated, and obtained result is determined as to the UDP source port number of the detection messages.
Mode 2: lining up a queue for N number of detection messages, determines UDP source port number for first detection messages in queue It is that second detection messages determination is different from the outer layer UDP source port of first part of detection messages in queue to preset port numbers K The such as default port numbers K+1 of UDP source port number, and so on, until finally being determined for the last one detection messages in queue The such as default port numbers K+N of the UDP source port different from any of the queue outer layer UDP source port of detection messages.
As described above, N number of detection messages there can be identical message key message, it is based on this, as another of the invention Embodiment is to send out to the 2nd VTEP according to the principle that different detection messages correspond to different UDP source port numbers in this step 201 That send N number of determines UDP source port for detecting from the whether reachable detection messages of the forward-path of the first VTEP to the 2nd VTEP It number can be realized by above-mentioned mode 2.
By step 201, finally can whether may be used for detecting from the forward-path of the first VTEP to the 2nd VTEP to be N number of The detection messages reached determine different UDP source port numbers.
Step 202, the first VTEP is directed to each detection messages, is utilized as the UDP source port number that the detection messages determine VXLAN encapsulation is carried out to the detection messages.
As an embodiment of the present invention, the first VTEP is directed to each detection messages in step 202, is utilized as the inspection Observing and predicting the UDP source port number that text determines and carrying out VXLAN encapsulation to the detection messages may include following steps a1 to step a2:
Step a1, determine for detect forward-path from the first VTEP to the 2nd VTEP whether up to when use VXLAN encapsulation parameter.
As described above, whether above-mentioned N number of detection messages may be used for detecting from the forward-path of the first VTEP to the 2nd VTEP It reaches, is based on this, it is step that in the present invention, the VXLAN encapsulation parameter that above-mentioned N number of detection messages execute when VXLAN is encapsulated is identical The VXLAN encapsulation parameter that rapid a1 is determined.Fig. 3 shows the structure of VXLAN encapsulation.Here VXLAN encapsulation parameter includes VXLAN Parameter in encapsulation other than UDP source port number (Source Port) in outer layer UDP.
Step a2 is utilized as the outer layer UDP source port number and described that the detection messages determine for each detection messages VXLAN encapsulation parameter carries out VXLAN encapsulation to the detection messages.
That is, in the present invention, the UDP source port number in the VXLAN encapsulation of each detection messages in outer layer UDP is The UDP source port number that the detection messages determine, other parameters are above-mentioned VXLAN encapsulation parameter.
Step 203, the first VTEP by all path exit ports from this VTEP to the 2nd VTEP share send it is N number of VXLAN encapsulation detection messages so that receive VXLAN encapsulation detection messages intermediate equipment or the 2nd VTEP to path examine Measurement equipment sends the path parameter that the reachable forward-path from the first VTEP to the 2nd VTEP is determined for the path detection equipment.
Preferably, the first VTEP is shared by all path exit ports from this VTEP to the 2nd VTEP sends N number of VXLAN The detection messages of encapsulation can comprise the following steps that
Step b1 determines the path exit port from the first VTEP to the 2nd VTEP.
Here, the path exit port from the first VTEP to the 2nd VTEP can search mesh according to local routing table by the first VTEP Ground be the 2nd VTEP path exit port, no longer specifically describe.
As described above, M is the forward-path quantity from the first VTEP to the 2nd VTEP, it is based on this, is determined in this step b1 Path exit port quantity (being indicated with L) be less than or equal to M.
Step b2 is sent when the quantity L of determining path exit port is 1 by the 1 path exit port determined The detection messages of N number of VXLAN encapsulation;When the quantity L of determining path exit port is greater than 1, principle is shared from L according to equilibrium Detection messages in the exit port of path for each VXLAN encapsulation distribute a target exit port, pass through the inspection encapsulated for VXLAN The target exit port for observing and predicting text distribution sends the detection messages of VXLAN encapsulation.
In this step b2, sharing principle from L path exit port according to equilibrium is each detection messages distribution one Target exit port can only lift a way of realization there are many way of realization when implementing here, such as: by N parts of detection messages Grouping, the quantity of detection messages is less than or equal to L in any group be divided into, from being detection messages in each group in L exit port Different exit ports are distributed as target exit port.
It can be realized the first VTEP by step b1 to step b2 to share N number of VXLAN detection messages encapsulated to from originally All path exit ports of VTEP to the 2nd VTEP forward.
In VXLAN, controller control management VTEP is generally had, this is based on, when there are when controller, making in VXLAN For 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 forward-path from the first VTEP to the 2nd VTEP is No reachable detection messages be controller determine forward-path of the detection from the first VTEP to the 2nd VTEP whether up to when it is raw What the first VTEP of Cheng Bingxiang was sent.
When path detection equipment is controller, above-mentioned steps a1 is determined for detecting from the first VTEP to the 2nd VTEP's Forward-path whether up to when the VXLAN encapsulation parameter that uses include: to receive that the controller sends for detecting from first The forward-path of VTEP to the 2nd VTEP whether up to when the VXLAN encapsulation parameter that uses.
As another preferred embodiment of the invention, regardless of whether there is above-mentioned controller, above-mentioned road in VXLAN Diameter detection device can also be the first VTEP.
When path detection equipment is a VTEP, N number of forward-path for detecting from the first VTEP to the 2nd VTEP Whether reachable detection messages, which are the first VTEP, generates.
When path detection equipment is a VTEP, determine in above-mentioned steps a1 for detecting from the first VTEP to second The forward-path of VTEP whether up to when the VXLAN encapsulation parameter that uses can include: from local preconfigured all VXLAN envelopes Determined in dress parameter for detect forward-path from the first VTEP to the 2nd VTEP whether up to when the VXLAN encapsulation that uses join Number.
The structure of VXLAN encapsulation as shown in Figure 3, in the present invention, above-mentioned VXLAN encapsulation parameter includes outer layer UDP Outer layer UDP destination port (Dest Port), outer layer Ethernet header (Outer Ethernet Header), outer layer IP head in head (Outer IP Header), VXLAN (VXLAN Header).
In the present invention, outer layer UDP ectonexine UDP destination ports (Dest Port) are setting as defined in VXLAN agreement Port.In the present invention, the outer layer target MAC (Media Access Control) address of outer layer Ethernet header is the bridge MAC Address of the 2nd VTEP, outer layer Ethernet header Outer layer source MAC is the bridge MAC Address of the first VTEP, outer layer IP outer layer purpose IP address for the 2nd VTEP IP Location, the IP address that outer layer IP outer layer source IP address are the first VTEP.In the present invention, the specified reserved word in VXLAN Numerical value in section (such as first reserved field shown in Fig. 3) is the VXLAN mark in setting value such as 100, VXLAN It (VNID) is the mark such as VNID200 of VXLAN locating for the first VTEP.As in the present invention VXLAN encapsulation in each head Other fields for including are arranged in the way of existing VXAN encapsulation, no longer repeat one by one here.
In the present invention, it after the first VTEP sends the detection messages of VXLAN encapsulation, is in from the first VTEP to second Intermediate equipment and the 2nd VTEP between VTEP can receive the detection messages of VXLAN encapsulation, it is preferable that work as intermediate equipment Or the 2nd VTEP receive the detection messages of VXLAN encapsulation after, locally saved using the VXLAN encapsulation matching of detection messages Matching rule, if successful match, to path detection equipment send for the path detection equipment determine from the first VTEP to The path parameter of the reachable forward-path of 2nd VTEP.What matching rule here can send for path detection equipment, can also be Preconfigured, the present invention does not limit specifically.Following two embodiments are by taking path detection equipment sends matching rule as an example. Specifically, in conjunction with VXLAN described above encapsulate, matching rule here concretely: UDP ectonexine UDP purposes of outer layer Port is port to be set as defined in VXLAN agreement, and the specified reserved field in VXLAN first such as shown in Fig. 3 is protected The numerical value write down characters in section is setting value such as 100.
In the present invention, the path parameter that intermediate equipment is sent at least may include the equipment mark of intermediate equipment when implementing Knowledge, intermediate equipment receive the mark of the port of the detection messages of VXLAN encapsulation.Also, intermediate equipment to path detection in addition to setting Preparation is sent outside path parameter, also will continue to outer layer IP in encapsulating according to VXLAN purpose IP address selections for forwarding detection The exit port of message forwards the detection messages of received VXLAN encapsulation.Wherein, intermediate equipment selection is for forward detection report Exit port forwards the detection messages of received VXLAN encapsulation specifically: according to VXLAN encapsulate in outer layer IP purpose IP address Determine be used for forward detection report exit port, if it is determined that exit port quantity be 1, then directly select the exit port of the determination Forward the detection messages of received VXLAN encapsulation;If it is determined that exit port quantity be greater than 1, then to VXLAN encapsulation in outer layer UDP source port number carries out Hash operation in UDP, and an outlet is selected from the exit port determined according to Hash operation result Mouth forwards the detection messages of received VXLAN encapsulation.Because the detection messages quantity N that the first VTEP is sent is greater than from the first VTEP To the number of paths M of the 2nd VTEP, in this way, intermediate equipment can receive the detection messages that multiple destinations are the 2nd VTEP, by UDP source port number difference in the VXLAN encapsulation of this multiple detection messages in outer layer UDP, then multiple detection messages will be from Different exit port forwardings, allows detection messages to traverse different forward-paths.
In the present invention, the path parameter that the 2nd VTEP is sent at least may include the equipment mark of the 2nd VTEP when implementing Knowledge, the 2nd VTEP receive the mark of the port of the detection messages of VXLAN encapsulation.Also, to prevent from influencing normal business, second VTEP can abandon the detection messages of received VXLAN encapsulation.
It should be noted that in practical applications, it is understood that there may be while whether detecting the forward-path between multipair VTEP Up to when the case where, for example exist simultaneously first VTEP of detection as described above and whether may be used to the forward-path between the 2nd VTEP It reaches, and the 3rd VTEP of detection whether reachable to the forward-path between the 4th VTEP, is based on such situation, to be examined convenient for distinguishing The forward-path of survey, above-mentioned intermediate equipment, the 2nd VTEP send path parameter can also further comprise the first VTEP mark, The mark of 2nd VTEP.That is, not limiting to the particular content of path parameter, as long as can finally guarantee to detect in the present invention It is whether reachable from the first VTEP to the forward-path between the 2nd VTEP out.
In the present invention, the first VTEP also can receive the detection messages of the VXLAN encapsulation of other VTEP transmission, when the One VTEP receives the detection messages of VXLAN encapsulation, then the treatment process of the first VTEP is similar to the 2nd above-mentioned VTEP, here not It repeats again.
So far, process shown in Fig. 2 is completed.
As can be seen that can be traversed by process shown in Fig. 2 from the first VTEP to institute between the 2nd VTEP in the present invention Whether some forward-paths are reachable.
Process shown in Fig. 2 is described below by two embodiments:
Embodiment 1:
Fig. 4 is embodiment 1 provided by the invention using networking diagram.In Fig. 4, Overlay network only shows two VTEP:VTEP1 and VTEP2, controller control VTEP1 and VTEP2, and underlay network only shows 5 equipment, respectively equipment 31 to equipment 35.In Fig. 4, path detection equipment is controller.
In Fig. 4, when controller determine need to detect two VTEP (by VTEP1 be source VTEP, VTEP2 for the purpose of hold For VTEP) between forward-path up to situation, then controller according to the network topology collected determine from VTEP1 to The forward-path quantity of VTEP2 is respectively as follows: forward-path 1, VTEP1- > equipment 31- > equipment if forward-path quantity is 5 32- > equipment 34- > VTEP2, forward-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;Also, controller is also according to the slave VTEP1 to VTEP2 determined Forward-path quantity 5 generate 5 parts or more detection messages, here for generating 5 parts of detection messages.
5 parts of detection messages of generation are sent to VTEP1 by controller.There is difference with 5 parts of detection messages in the present embodiment 1 For message key message and message key message are purpose MAC Address.If 5 parts of detection messages are denoted as message 01 respectively, report Text 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, message 02 Target MAC (Media Access Control) address be 00-00-5E-90-00-02, the target MAC (Media Access Control) address of message 03 is 00-00-5E-90-00-03, message 04 target MAC (Media Access Control) address 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 will also be used to detect forward-path from VTEP1 to VTEP2 whether up to when the VXLAN encapsulation ginseng that uses Number (parameter in VXLAN encapsulation other than outer layer UDP source port in outer layer UDP) notice is to VTEP1.Here, VXLAN is sealed UDP destination slogan is to set port numbers (by taking port numbers 200 as an example) as defined in VXLAN agreement in outer layer UDP in dress parameter, The bridge MAC that bridge MAC Address that the external target MAC (Media Access Control) address of outer layer Ethernet header is VTEP2, external source MAC are VTEP1 Location, the IP that IP address that outer layer IP outer layer purpose IP address are VTEP2, outer layer IP outer layer source IP address are VTEP1 Address, VXLAN mark (VNID) is the ID (here by taking VNID100 as an example) of the first VXLAN locating for VTEP1 in VXLAN, is referred to Determining the numerical value in reserved field such as VXLAN in first reserved field is setting value such as 100.
Controller issues matching rule to VTEP2.
Controller issues matching rule to the intermediate equipment on any forward-path from VTEP1 to VTEP2 (here By taking intermediate equipment is the equipment 31 to equipment 35 in Fig. 4 as an example, Fig. 4 is not shown controller and issues because route is relatively more With rule to the route of equipment 31 to equipment 35).
Here, matching rule can are as follows: and the numerical value in specified reserved field in VXLAN encapsulation in VXLAN is setting value, And the UDP destination slogan in VXLAN encapsulation in outer layer UDP is that port numbers are set as defined in VXLAN agreement.
VTEP1 receives message 01 that controller is sent to the totally 5 parts of detection messages of message 05, and receives what controller was sent VXLAN encapsulation parameter.
VTEP1 has found that message 01 to message 05 has different message key messages and message key message is for purpose MAC For location, then VTEP1 is according to the UDP source port number calculation method of setting and the target MAC (Media Access Control) address 00-00-5E- of utilization message 01 90-00-01 calculate message 01 UDP source port number, VTEP1 according to setting UDP source port number calculation method and utilize message 02 target MAC (Media Access Control) address 00-00-5E-90-00-02 calculates the UDP source port number of message 02;VTEP1 according to setting the source UDP Port numbers calculation method and the UDP source port that message 03 is calculated using the target MAC (Media Access Control) address 00-00-5E-90-00-03 of message 03 Number;UDP source port number calculation method of the VTEP1 according to setting and the target MAC (Media Access Control) address 00-00-5E-90-00- using message 04 04 calculates the UDP source port number of message 04;UDP source port number calculation method of the VTEP1 according to setting and the mesh using message 05 MAC Address 00-00-5E-90-00-05 calculate message 05 UDP source port number.
The UDP source port number of VXLAN encapsulation parameter and message 01 that VTEP1 is notified using controller carries out message 01 VXLAN is encapsulated, i.e. UDP source port number in VXLAN encapsulation in outer layer UDP is the determined UDP source port number of message 01, For example above-mentioned VXLAN encapsulation parameter of other parameters in VXLAN encapsulation.Equally, VTEP1 is encapsulated using the VXLAN of controller notice The UDP source port number of parameter and message 02 carries out VXLAN encapsulation to message 02;VTEP1 is encapsulated using the VXLAN of controller notice The UDP source port number of parameter and message 03 carries out VXLAN encapsulation to message 03;VTEP1 is encapsulated using the VXLAN of controller notice The UDP source port number of parameter and message 04 carries out VXLAN encapsulation to message 04;VTEP1 is encapsulated using the VXLAN of controller notice The UDP source port number of parameter and message 05 carries out VXLAN encapsulation to message 05.For ease of description, VXLAN envelope will have been carried out here The message 01 of dress to message 05 is successively denoted as message 11, message 12, message 13, message 14, message 15.
VTEP1 determines the path exit port from this VTEP1 to VTEP2.If the number for the path exit port that VTEP1 is determined Measuring L is 2, respectively port 11, port 12, then VTEP1 sends message 11 by port 11, sends message 12 by port 12, Message 13 is sent by port 11, message 14 is sent by port 12, message 15 is sent by port 11.
Any intermediate equipment (here only by taking equipment 31 as an example) in the either path from VTEP1 to VTEP2 receives message 11, the numerical value in specified reserved field in the VXLAN encapsulation of discovery message 11 in VXLAN is setting value 100, and VXLAN UDP destination slogan in encapsulation in outer layer UDP is that port numbers 200 are set as defined in VXLAN agreement, meets controller and issues Matching rule, then on send path parameter to controller, path parameter here includes at least: the device identification of equipment 31 is set Standby 31 receive the port of message 11 (by taking port 31 as an example).
Meanwhile equipment 31 can be determined according to outer layer IP in the VXLAN encapsulation of message 11 outer layer purpose IP address and be reached The path of the outer layer purpose IP address, as a result, it has been found that the path more than one, is three equative routes, successively are as follows: equipment 31- > Equipment 32- > equipment 34- > VTEP2;31 > equipment of equipment 32- > equipment 35- > VTEP2, equipment 31- > equipment 33- > equipment 34- > VTEP2 is based on this, and equipment 31 carries out Hash operation to outer layer UDP in the VXLAN encapsulation of message 11 UDP source port numbers, according to A paths corresponding with Hash result such as equipment 31- > equipment 33- > is found from three equative routes according to Hash result to set The message 1 that standby 34- > VTEP2 and the forwarding of the paths by finding receive.
The similar processing for receiving message 11 of processing that equipment 31 receives message 13, receives message 15, which is not described herein again.
Controller receives and saves the path parameter of the transmission of equipment 31.
Equipment 32 to equipment 35 receives the processing of the processing similar devices 31 after message, and which is not described herein again.
Finally, VTEP2 receives message 11 and when any message, finds VXLAN head in the VXLAN encapsulation of message into message 15 Numerical value in first interior reserved field is setting value 100, and the purpose udp port in VXLAN encapsulation in outer layer UDP is Set port 200 as defined in VXLAN agreement, meet the matching rule that controller issues, then on send path parameter to controller, this In path parameter include at least: the device identification of VTEP2, VTEP2 receive the mark of the port of message.
VTEP2 has found the IP address that outer layer IP in VXLAN encapsulation outer layer purpose IP address are this VTEP2, then abandons Received message.
After controller receives the path parameter sent on VTEP2, according to all path parameters for receiving to from VTEP1 to The reachable path of VTEP2 is summarized and is counted.Such as the path parameter that controller receives are as follows:
(equipment 31, port 311), (equipment 32, port 321), (equipment 35, port 352), (equipment 32, port 322), (equipment 34, port 342), (VTEP2, port 25), (VTEP2, port 24).
Controller is based on the corresponding port connection VTEP1 of 31 upper port of discovering network topology equipment 311 collected, such as This, it is reachable from VTEP1 to the path of equipment 31 by (equipment 31, port 311) determination;Controller is opened up based on the network collected The corresponding port connection equipment 31 of 32 upper port of discovering device 321 is flutterred, in this way, determining by (equipment 32, port 321) from equipment 31 is reachable to the path of equipment 32, in conjunction with predetermined reachable from VTEP1 to the path of equipment 31, then further determines that at this time Path from VTEP1 to equipment 32 is reachable;Controller is corresponding based on 35 upper port 352 of discovering network topology equipment collected Port connects equipment 32, in this way, it is reachable to the path of equipment 35 from equipment 32 by (equipment 35, port 352) determination, in conjunction with it The path of slave VTEP1 to the equipment 32 of preceding determination is reachable, then further determines that at this time reachable to the path of equipment 35 from VTEP1; Controller connects equipment 35 based on the corresponding port of discovering network topology VTEP2 upper port 25 collected, in this way, passing through (VTEP2, port 25) determines that the path from equipment 35 to VTEP2 is reachable, in conjunction with predetermined from VTEP1 to the road of equipment 35 Diameter is reachable, then further determines that the path from VTEP1 to VTEP2 is reachable at this time, i.e., above-mentioned forward-path 2 is reachable;
Controller is based on the corresponding port connection VTEP1 of 32 upper port of discovering network topology equipment 322 collected, such as This, it is reachable from VTEP1 to the path of equipment 32 by (equipment 32, port 322) determination;Controller is opened up based on the network collected The corresponding port connection equipment 32 of 34 upper port of discovering device 342 is flutterred, in this way, determining by (equipment 34, port 342) from equipment 32 is reachable to the path of equipment 34, in conjunction with predetermined reachable from VTEP1 to the path of equipment 32, then further determines that at this time Path from VTEP1 to equipment 34 is reachable;Controller is based on the corresponding end of discovering network topology VTEP2 upper port 24 collected Mouth connection equipment 34, in this way, determining that path from equipment 34 to VTEP2 is reachable by (VTEP2, port 24), in conjunction with true before The path of fixed slave VTEP1 to equipment 34 is reachable, then further determines that the path from VTEP1 to VTEP2 is reachable at this time, i.e., above-mentioned Forward-path 5 it is reachable.
That is, controller determines only above-mentioned forward-path by being summarized to the path parameter received and being counted 2 and forward-path 5 it is reachable, and above-mentioned forward-path 1,3,4 is unreachable.
So far, the description of embodiment 1 is completed.
Embodiment 2:
Fig. 5 is embodiment 2 provided by the invention using networking diagram.In Fig. 5, Overlay network only shows two VTEP:VTEP3 and VTEP4, underlay network only show 5 equipment, respectively equipment 61 to equipment 65.In Fig. 5, with inspection The forward-path from VTEP3 to VTEP4 is surveyed whether up to for.In Fig. 5, path detection equipment is VTEP3.
Under the present embodiment 2, the network topology that VTEP3 has been collected according to before determines the forwarding road from this VTEP3 to VTEP4 Diameter quantity is respectively as follows: forward-path 1 if forward-path quantity is 5, and 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- > equipment 64- > VTEP4, forward-path 4, VTEP3- > equipment 62- > equipment 65- > VTEP4, forward-path 5, VTEP3- > equipment 62- > equipment 64- > VTEP4.
VTEP3 generates 5 parts or more detection messages according to the forward-path quantity 5 from this VTEP3 to VTEP4 determined, this In for generating 5 parts of detection messages.There are different message key messages with 5 parts of detection messages in the present embodiment 2 and message closes Key information is for purpose MAC Address.If 5 parts of detection messages are denoted as message 61, message 62, message 63, message 64, report respectively Text 65, wherein the target MAC (Media Access Control) address of message 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 are 00-00-5E-90-00-08, and the target MAC (Media Access Control) address of message 64 is 00- 00-5E-90-00-09, the target MAC (Media Access Control) address of message 65 are 00-00-5E-90-00-10.
VTEP3 sends matching rule to VTEP4.
The network topology that VTEP3 has been collected according to before determines the intermediate equipment on the path from this VTEP3 to VTEP4 (i.e. equipment 61 to equipment 65) in Fig. 6, VTEP3 sends matching rule, and to the equipment 61 in Fig. 6 to equipment 65, (Fig. 6 is because of line Road is relatively more, and the route for sending matching rule is not shown).
Here, matching rule can are as follows: the numerical value in first reserved field in VXLAN encapsulation in VXLAN is setting Value, and the UDP destination slogan in VXLAN encapsulation in outer layer UDP is that port numbers are set as defined in VXLAN agreement.
VTEP3 determines the UDP source port of message 61 to message 65 according to the UDP source port number calculation method of setting respectively Number.
VTEP3 carries out VXLAN encapsulation to message 61 to message 65 respectively;The VXLAN of message 61 to message 65 encapsulates China and foreign countries UDP UDP source port number of layer is respectively message 61 to the determined UDP source port number of message 65.For ease of description, here will Message 61 to the message 65 for having carried out VXLAN encapsulation is successively denoted as message 71 to message 75.
VTEP3 determines the path exit port from this VTEP3 to VTEP4.If the quantity L for the exit port that VTEP3 is determined It is 2, respectively port 31, port 32 (Fig. 5 is not shown), then VTEP3 sends message 71 by port 31, is sent by port 32 Message 72 sends message 73 by port 31, sends message 74 by port 32, sends message 75 by port 31.
Any intermediate equipment (here only by taking equipment 61 as an example) in the either path from VTEP3 to VTEP4 receives message 71, it is found that the numerical value in first reserved field in the VXLAN encapsulation of message 71 in VXLAN is setting value, and VXLAN is sealed UDP destination slogan in dress in outer layer UDP is that port numbers are set as defined in VXLAN agreement, meets the matching of VTEP3 transmission Rule, then transmitting path parameter to VTEP3, path parameter include: that the device identification of equipment 61, equipment 61 receive the end of message 71 Mouth (by taking port 61 as an example).
Meanwhile equipment 61 can be determined according to outer layer IP in the VXLAN encapsulation of message 71 outer layer purpose IP address and be reached The path of the outer layer purpose IP address, as a result, it has been found that the path more than one, is three equative routes, is based on this, equipment 61 is right Outer layer UDP UDP source port numbers carry out Hash operation in the VXLAN encapsulation of message 71, and foundation Hash result is from three equivalences A paths corresponding with Hash result such as equipment 61- > equipment 63- > equipment 64- > VTEP4 is found in path and by finding A paths forward the message 71 that receives.
The similar processing for receiving message 71 of processing that equipment 61 receives message 73, receives message 75, which is not described herein again.
VTEP3 receives and saves the path parameter of the transmission of equipment 61.
Equipment 62 to equipment 65 receives the processing of the processing similar devices 61 after message, and which is not described herein again.
Finally, VTEP4 receives message 71 and when any message, finds VXLAN head in the VXLAN encapsulation of message into message 75 Numerical value in first interior reserved field is setting value, and the UDP destination slogan in VXLAN encapsulation in outer layer UDP is Port numbers are set as defined in VXLAN agreement, meet the matching rule of VTEP3 transmission, then transmitting path parameter to VTEP3, concurrently The IP address that outer layer IP outer layer purpose IP address are this VTEP4 in existing VXLAN encapsulation, then abandon received message.
After VTEP3 receives the path parameter of VTEP4 transmission, according to all path parameters received to from VTEP3 to VTEP4 Reachable forward-path summarized and counted, the method for the mode similar embodiment 1 for summarizing and counting here is no longer superfluous It states, Fig. 5 does not show the port that each equipment receives the detection messages of VXLAN encapsulation specifically again.Final VTEP3 meeting global statistics go out All paths from VTEP3 to VTEP4 include how many reachable path etc. up to situation, for upper layer inquiry.Here VTEP3 is most Whole global statistics go out all paths that all paths from VTEP3 to VTEP4 may not have controller to count up to situation can It is intuitive up to situation.
So far, the description of embodiment 2 is completed.
Method provided by the invention is described above.The apparatus provided by the present invention will be described below:
Referring to Fig. 6, Fig. 6 is structure drawing of device provided by the invention.As shown in fig. 6, the device includes:
Determination unit, for corresponded to according to different detection messages different UDP source port numbers principle be the first VTEP wait for 2nd VTEP is sent N number of determining from the whether reachable detection messages of the forward-path of the first VTEP to the 2nd VTEP for detecting UDP source port number;Wherein, N is greater than or equal to the number of paths M from the first VTEP to the 2nd VTEP.
VXLAN encapsulation unit is utilized as the UDP source port that the detection messages determine for being directed to each detection messages Number to the detection messages carry out VXLAN encapsulation;
Detection messages transmission unit, for sharing transmission by all path exit ports from the first VTEP to the 2nd VTEP The detection messages of N number of VXLAN encapsulation, so that the intermediate equipment for receiving the detection messages of VXLAN encapsulation or the 2nd VTEP are to road Diameter detection device sends the path that the reachable forward-path from the first VTEP to the 2nd VTEP is determined for the path detection equipment Parameter.
Preferably, if the path detection equipment be for managing the controller of VTEP in VXLAN, it is described N number of to be used for Detection is that the controller is sent out to the first VTEP from the whether reachable detection messages of the forward-path of the first VTEP to the 2nd VTEP It send;
It is described N number of for detecting from the first VTEP to the 2nd VTEP's if the path detection equipment is the first VTEP The whether reachable detection messages of forward-path are that the first VTEP is generated.
Preferably, the VXLAN encapsulation unit is directed to each detection messages, is utilized as the UDP that the detection messages determine Source port number carries out VXLAN encapsulation to the detection messages
Determine for detect forward-path from the first VTEP to the 2nd VTEP whether up to when the VXLAN encapsulation that uses join Number;
For each detection messages, it is utilized as the UDP source port number and VXLAN encapsulation ginseng that the detection messages determine It is several that VXLAN encapsulation is carried out to the detection messages.
Preferably, if the path detection equipment is for managing the controller of VTEP in VXLAN, the determination is used for Detect forward-path from the first VTEP to the 2nd VTEP whether up to when the VXLAN encapsulation parameter that uses include: described in reception Controller send for detect forward-path from the first VTEP to the 2nd VTEP whether up to when the VXLAN encapsulation that uses join Number;
If the path detection equipment is the first VTEP, the determination is for detecting from the first VTEP to the 2nd VTEP's Forward-path whether up to when the VXLAN encapsulation parameter that uses include: from local preconfigured all VXLAN encapsulation parameters Determine for detect forward-path from the first VTEP to the 2nd VTEP whether up to when the VXLAN encapsulation parameter that uses.
Preferably, the detection messages transmission unit passes through all path exit ports from the first VTEP to the 2nd VTEP point Load sends the detection messages that N number of VXLAN is encapsulated
Determine all path exit ports from this VTEP to the 2nd VTEP;
When the quantity L of determining path exit port is 1, sent by the 1 path exit port determined N number of The detection messages of VXLAN encapsulation;
When the quantity L of determining path exit port is greater than 1, sharing principle from L path exit port according to equilibrium is The detection messages of each VXLAN encapsulation distribute a target exit port, the mesh distributed by the detection messages encapsulated for VXLAN Mark the detection messages that port sends VXLAN encapsulation.
Preferably, as shown in fig. 6, the device further comprises:
Receiving unit, for receiving the detection messages of VXLAN encapsulation;
Path parameter transmission unit is examined when for receiving the detection messages of VXLAN encapsulation in the receiving unit to path The corresponding path parameter of detection messages for the VXLAN encapsulation that measurement equipment transmits and receives, the inspection of the VXLAN encapsulation received Observe and predict the corresponding path parameter of text to include at least: the device identification of the first VTEP, the first VTEP receive the detection report of VXLAN encapsulation The mark of the port of text;
Processing unit, the IP address for being this VTEP for determining outer layer IP in VXLAN encapsulation purpose IP address, abandons The detection messages of the received VXLAN encapsulation of receiving unit.
So far, apparatus structure description shown in fig. 6 is completed.
The present invention also provides the hardware structure diagrams of Fig. 6 shown device.Referring to Fig. 7, Fig. 7 is Fig. 6 institute provided by the invention The hardware structure diagram of showing device.
Such as Fig. 7, the hardware structure diagram can include:
CPU and memory.
Memory, for storing determination unit, VXLAN encapsulation unit, detection messages transmission unit;
CPU, the control program for storing determination unit operation execute institute as above to control the determination unit in memory The operation stated;For storing the control program of VXLAN encapsulation unit operation to control the execution of the VXLAN encapsulation unit in memory Operation as described above;For storing the control program of detection messages transmission unit operation to control the detection messages in memory Transmission unit executes operation as described above.
Preferably, memory is further used for storing receiving unit, path parameter transmission unit, processing unit;
CPU is further used for storing the control program of receiving unit operation to control the execution of the receiving unit in memory Operation as described above;It is further used for storing the control program of path parameter transmission unit operation to control the road in memory Diameter parameter transmission unit executes operation as described above;And it is further used for storing the control program of processing unit operation to control Processing unit in memory processed executes operation as described above.
So far, device hardware structure chart shown in Fig. 7 is completed.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.

Claims (12)

1. the path between a kind of virtual extended local area network VXLAN endpoint of a tunnel VTEP is up to detection method, which is characterized in that should Method includes:
First VTEP is N number of to send to the 2nd VTEP according to the principle that different detection messages correspond to different UDP source port numbers UDP source port number is determined for detecting from the whether reachable detection messages of the forward-path of the first VTEP to the 2nd VTEP;
First VTEP is directed to each detection messages, is utilized as the determining UDP source port number of the detection messages to the detection messages Carry out VXLAN encapsulation;
First VTEP shares the detection for sending N number of VXLAN encapsulation by all path exit ports from this VTEP to the 2nd VTEP Message so that receive VXLAN encapsulation detection messages intermediate equipment or the 2nd VTEP to path detection equipment send for institute State the path parameter for the reachable forward-path that path detection equipment is determined from the first VTEP to the 2nd VTEP;
Wherein, N is greater than or equal to the number of paths M from the first VTEP to the 2nd VTEP.
2. the method according to claim 1, wherein
It is described N number of for detecting from first if the path detection equipment is the controller for being used to manage VTEP in VXLAN The whether reachable detection messages of the forward-path of VTEP to the 2nd VTEP are that the controller is sent to the first VTEP;
If the path detection equipment is the first VTEP, N number of forwarding for detecting from the first VTEP to the 2nd VTEP The whether reachable detection messages in path are that the first VTEP is generated.
3. being utilized the method according to claim 1, wherein the first VTEP is directed to each detection messages Carrying out VXLAN encapsulation to the detection messages for the UDP source port number that the detection messages determine includes:
Determine for detect forward-path from the first VTEP to the 2nd VTEP whether up to when the VXLAN encapsulation parameter that uses;
For each detection messages, it is utilized as UDP source port number and the VXLAN encapsulation parameter pair that the detection messages determine The detection messages carry out VXLAN encapsulation.
4. according to the method described in claim 3, it is characterized in that, if the path detection equipment is in VXLAN for managing Manage the controller of VTEP, the determination be used to detect forward-path from the first VTEP to the 2nd VTEP whether up to when use VXLAN encapsulation parameter includes: the reception controller transmission for detecting the forward-path from the first VTEP to the 2nd VTEP Whether up to when the VXLAN encapsulation parameter that uses;
If the path detection equipment is the first VTEP, the determination is used to detect the forwarding from the first VTEP to the 2nd VTEP Path whether up to when the VXLAN encapsulation parameter that uses include: to be determined from local preconfigured all VXLAN encapsulation parameters For detect forward-path from the first VTEP to the 2nd VTEP whether up to when the VXLAN encapsulation parameter that uses.
5. the method according to claim 1, wherein the first VTEP passes through from this VTEP to the 2nd VTEP's All path exit ports share the detection messages that the N number of VXLAN of transmission is encapsulated
First VTEP determines all path exit ports from this VTEP to the 2nd VTEP;
When the quantity L of determining path exit port is 1, N number of VXLAN is sent by the 1 path exit port determined and is sealed The detection messages of dress;
When the quantity L of determining path exit port is greater than 1, it is each for sharing principle from L path exit port according to equilibrium The detection messages of a VXLAN encapsulation distribute a target exit port, are gone out by the target that the detection messages encapsulated for VXLAN are distributed Port sends the detection messages of VXLAN encapsulation.
6. the method according to claim 1, wherein this method further comprises:
First VTEP receives the detection messages of VXLAN encapsulation;
The corresponding path parameter of detection messages for the VXLAN encapsulation that first VTEP is transmitted and received to path detection equipment, it is described The corresponding path parameter of detection messages of the VXLAN encapsulation received includes at least: the device identification of the first VTEP, the first VTEP Receive the mark of the port of the detection messages of VXLAN encapsulation;
First VTEP determines the IP address that outer layer IP in VXLAN encapsulation purpose IP address are this VTEP, abandons the reception The detection messages for the VXLAN encapsulation arrived.
7. the path between a kind of virtual extended local area network VXLAN endpoint of a tunnel VTEP is up to detection device, which is characterized in that should Device includes:
Determination unit, the principle for corresponding to different UDP source port numbers according to different detection messages are that the first VTEP is waited for second The N number of of VTEP transmission determines UDP for detecting from the whether reachable detection messages of the forward-path of the first VTEP to the 2nd VTEP Source port number;
VXLAN encapsulation unit is utilized as the UDP source port number pair that the detection messages determine for being directed to each detection messages The detection messages carry out VXLAN encapsulation;
Detection messages transmission unit, it is N number of for sharing transmission by all path exit ports from the first VTEP to the 2nd VTEP VXLAN encapsulation detection messages so that receive VXLAN encapsulation detection messages intermediate equipment or the 2nd VTEP to path examine Measurement equipment sends the path parameter that the reachable forward-path from the first VTEP to the 2nd VTEP is determined for the path detection equipment;
Wherein, N is greater than or equal to the number of paths M from the first VTEP to the 2nd VTEP.
8. device according to claim 7, which is characterized in that
It is described N number of for detecting from first if the path detection equipment is the controller for being used to manage VTEP in VXLAN The whether reachable detection messages of the forward-path of VTEP to the 2nd VTEP are that the controller is sent to the first VTEP;
If the path detection equipment is the first VTEP, N number of forwarding for detecting from the first VTEP to the 2nd VTEP The whether reachable detection messages in path are that the first VTEP is generated.
9. device according to claim 7, which is characterized in that the VXLAN encapsulation unit is directed to each detection messages, Be utilized as the UDP source port number that the detection messages determine includes: to detection messages progress VXLAN encapsulation
Determine for detect forward-path from the first VTEP to the 2nd VTEP whether up to when the VXLAN encapsulation parameter that uses;
For each detection messages, it is utilized as UDP source port number and the VXLAN encapsulation parameter pair that the detection messages determine The detection messages carry out VXLAN encapsulation.
10. device according to claim 9, which is characterized in that if the path detection equipment is in VXLAN for managing Manage the controller of VTEP, the determination be used to detect forward-path from the first VTEP to the 2nd VTEP whether up to when use VXLAN encapsulation parameter includes: the reception controller transmission for detecting the forward-path from the first VTEP to the 2nd VTEP Whether up to when the VXLAN encapsulation parameter that uses;
If the path detection equipment is the first VTEP, the determination is used to detect the forwarding from the first VTEP to the 2nd VTEP Path whether up to when the VXLAN encapsulation parameter that uses include: to be determined from local preconfigured all VXLAN encapsulation parameters For detect forward-path from the first VTEP to the 2nd VTEP whether up to when the VXLAN encapsulation parameter that uses.
11. device according to claim 7, which is characterized in that the detection messages transmission unit is by from the first VTEP All path exit ports to the 2nd VTEP are shared and send the detection messages of N number of VXLAN encapsulation and include:
Determine all path exit ports from this VTEP to the 2nd VTEP;
When the quantity L of determining path exit port is 1, N number of VXLAN is sent by the 1 path exit port determined and is sealed The detection messages of dress;
When the quantity L of determining path exit port is greater than 1, it is each for sharing principle from L path exit port according to equilibrium The detection messages of a VXLAN encapsulation distribute a target exit port, are gone out by the target that the detection messages encapsulated for VXLAN are distributed Port sends the detection messages of VXLAN encapsulation.
12. device according to claim 7, which is characterized in that the device further comprises:
Receiving unit, for receiving the detection messages of VXLAN encapsulation;
Path parameter transmission unit is set when for receiving the detection messages of VXLAN encapsulation in the receiving unit to path detection The corresponding path parameter of detection messages that preparation send the VXLAN received to encapsulate, the detection report of the VXLAN encapsulation received The corresponding path parameter of text includes at least: the device identification of the first VTEP, the first VTEP receive the detection messages of VXLAN encapsulation The mark of port;
Processing unit, the IP address for determining outer layer IP in VXLAN encapsulation purpose IP address as this VTEP, described in discarding The detection messages of the received VXLAN encapsulation of receiving unit.
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 CN106330597A (en) 2017-01-11
CN106330597B true 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)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547343B (en) * 2017-06-28 2020-06-05 新华三技术有限公司 Message operation control method and device
CN109995654B (en) * 2017-12-29 2022-05-20 中兴通讯股份有限公司 Method and device for transmitting data based on tunnel
CN108616418A (en) * 2018-03-30 2018-10-02 新华三技术有限公司 Detect the method and device of failure
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
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
CN113794616B (en) * 2021-08-31 2023-04-18 新华三信息安全技术有限公司 Message forwarding method and device

Citations (4)

* 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
CN104270298A (en) * 2014-09-30 2015-01-07 杭州华三通信技术有限公司 Method and device for forwarding message in VXLAN

Family Cites Families (5)

* 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
US9769049B2 (en) * 2012-07-27 2017-09-19 Gigamon Inc. Monitoring virtualized network
US8837476B2 (en) * 2012-09-07 2014-09-16 International Business Machines Corporation Overlay network capable of supporting storage area network (SAN) traffic
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 (4)

* 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
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技术的研究与测试方案";霍天一;《中国优秀硕士学位论文全文数据库信息科技辑》;20151201;全文
"VXLAN环境下基于ISIS协议的MAC地址同步技术研究与实现";李同亮;《中国优秀硕士学位论文全文数据库信息科技辑》;20150401;全文

Also Published As

Publication number Publication date
CN106330597A (en) 2017-01-11
WO2017008712A1 (en) 2017-01-19

Similar Documents

Publication Publication Date Title
CN106330597B (en) Path between VXLAN endpoint of a tunnel VTEP is up to detection method and device
CN104283806B (en) Business chain processing method and equipment
US8948180B2 (en) Routing encapsulated data packets onto selected VLANs
CN104247367B (en) Lift IPsec performances and anti-eavesdrop security
EP2544417B1 (en) Communication system, path control apparatus, packet forwarding apparatus and path control method
CN104734964B (en) Message processing method, node and system
US7944854B2 (en) IP security within multi-topology routing
CN103763154B (en) A kind of network flow detection method
CN105591834B (en) Flux monitoring method and device in VXLAN
CN109873760A (en) Handle the method and apparatus of routing and the method and apparatus of data transmission
CN102148768B (en) Message forwarding method and device
CN104348717B (en) Message forwarding method and device
CN106341333B (en) Applied to the packet loss position method and apparatus in VXLAN
CN101971580A (en) Network characterisation
US10999173B2 (en) Active targeted data plane traffic monitoring for wired networks
CN107078963A (en) Route tracking in virtual expansible LAN
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
EP2795850B1 (en) Modifying a property of a sequence of sent packets to uniquely identify an entity on a network such as an encrypted network
CN109995746A (en) Packet loss detecting for User Data Protocol (UDP) business
WO2019128699A1 (en) Flow table-based data transfer method
CN107078928A (en) Packet is sampled to measure network performance
CN106209637B (en) From virtual expansible local area network to the message forwarding method and equipment of virtual LAN
CN107547342A (en) Message broadcasting method and apparatus based on VXLAN tunnels
CN110519103A (en) A kind of Fault Locating Method of heterogeneous network, device and terminal

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