CN107547342B - Message broadcasting method and device based on VXLAN tunnel - Google Patents

Message broadcasting method and device based on VXLAN tunnel Download PDF

Info

Publication number
CN107547342B
CN107547342B CN201710501705.5A CN201710501705A CN107547342B CN 107547342 B CN107547342 B CN 107547342B CN 201710501705 A CN201710501705 A CN 201710501705A CN 107547342 B CN107547342 B CN 107547342B
Authority
CN
China
Prior art keywords
tunnel
vxlan
message
vtep
equivalent
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
CN201710501705.5A
Other languages
Chinese (zh)
Other versions
CN107547342A (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 CN201710501705.5A priority Critical patent/CN107547342B/en
Publication of CN107547342A publication Critical patent/CN107547342A/en
Application granted granted Critical
Publication of CN107547342B publication Critical patent/CN107547342B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a message broadcasting method and device based on a VXLAN tunnel. In the application, one tunnel next hop is selected from the N equivalent tunnel next hops of the VXLAN tunnel according to a uniform load sharing mode, so that different broadcast messages can be uniformly shared to each tunnel next hop of the VXLAN tunnel, and the load sharing of the ECMP if the N equivalent tunnel next hops in the VXLAN tunnel is realized.

Description

Message broadcasting method and device based on VXLAN tunnel
Technical Field
The present application relates to Network communication technologies, and in particular, to a method and an apparatus for broadcasting a message based on a virtual extensible Local Area Network (VXLAN) tunnel.
Background
And the VXLAN encapsulates the two-layer message by using a three-layer protocol, thereby realizing the extension of the two-layer network within the range of three layers. Fig. 1 shows a VXLAN network model, which comprises:
VXLAN Tunnel End Points (VTEP), edge devices of a VXLAN network are the starting point and the end point of the VXLAN Tunnel, and when the VXLAN Tunnel end points are used as the starting point of the VXLAN Tunnel, the message is subjected to VXLAN encapsulation, and when the VXLAN Tunnel end points are used as the end point of the VXLAN Tunnel, the message subjected to VXLAN encapsulation is subjected to decapsulation and processing.
A VXLAN Network Identifier (VNI) is a user ID similar to a VLAN ID, and a VNI represents a tenant, and two-layer communication cannot be performed directly between virtual machines belonging to different VNIs.
The VXLAN tunnel is used for transmitting messages encapsulated by VXLAN, and is a virtual channel established between two VTEPs. Fig. 2 shows a schematic view of a VXLAN encapsulation structure. Wherein, the outer destination MAC in the VXLAN encapsulation is filled with the MAC of the next hop of the tunnel, usually the MAC of the next hop router, the outer destination IP is the IP of the destination VTEP, the source IP address is the address of the local VTEP, and the destination port of the outer UDP is a port specific to VXLAN.
When receiving a message, the VTEP searches a forwarding table entry for forwarding the message from a Virtual Switch Interface (VSI) Identifier (ID) bound to a port receiving the message, and broadcasts the message on other ports except the port receiving the message among all member ports bound to the VSI ID if the forwarding table entry cannot be found. The member port of the VSI ID binding comprises a connection Circuit (AC) port and a VXLAN tunnel. When a message is broadcasted through a VXLAN tunnel, if the VXLAN tunnel has a plurality of next hops of equivalent tunnels, the VTEP only fixedly designates one of the next hops of the equivalent tunnels to broadcast, and the load sharing of equivalent multi-Path (ECMP) can not be realized. Similarly, when broadcast messages are similar, VTEP only fixedly designates one of the tunnels for next hop broadcast, and ECMP load sharing cannot be achieved.
Disclosure of Invention
The application provides a message broadcast forwarding method and device based on a VXLAN tunnel, so as to realize uniform load sharing of next hops of a plurality of equivalent tunnels of the VXLAN tunnel.
The technical scheme provided by the application comprises the following steps:
a message broadcasting method based on virtual extensible local area network VXLAN tunnel is applied to VXLAN tunnel endpoint VTEP and comprises the following steps:
receiving a message;
when the message is determined to be broadcasted through a VXLAN tunnel between the VTEP and a remote VTEP, the VXLAN ID bound by the VSI ID of the virtual switching interface corresponding to the message is determined, one tunnel next hop is selected from the N equivalent tunnel next hops of the VXLAN tunnel according to the VXLAN ID and a uniform load sharing mode, and the message is broadcasted through the selected tunnel next hop.
A message broadcasting device based on virtual extensible local area network (VXLAN) tunnel is applied to a VXLAN Tunnel Endpoint (VTEP) and comprises the following components:
a receiving unit, configured to receive a packet;
and the forwarding unit is used for determining a VXLAN ID bound by a VSI identifier ID corresponding to the message when the message is determined to be broadcasted through a VXLAN tunnel between the local VTEP and a remote VTEP, selecting a tunnel next hop from N equivalent tunnel next hops of the VXLAN tunnel according to the VXLAN ID and a uniform load sharing mode, and broadcasting the message through the selected tunnel next hop.
According to the technical scheme, the next hop of one tunnel is selected from the next hops of the N equivalent tunnels of the VXLAN tunnel according to the uniform load sharing mode, so that different broadcast messages can be uniformly shared to the next hop of each tunnel of the VXLAN tunnel, and the load sharing of the ECMP of the next hop of the N equivalent tunnels in the VXLAN tunnel is realized.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 shows a VXLAN network model architecture diagram;
fig. 2 shows a schematic view of a VXLAN encapsulation structure;
FIG. 3 is a flow chart of a method provided by the present invention;
FIG. 4 is a schematic diagram of an embodiment provided by the present invention;
fig. 5 is a schematic structural diagram of the device provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
Referring to fig. 3, fig. 3 is a flow chart of the method provided by the present invention. The procedure is applied to VTEP. As shown in fig. 3, the process may include the following steps:
step 301, receiving a message.
Step 302, when determining that the message is broadcasted through the VXLAN tunnel between the local VTEP and the remote VTEP, determining the VXLAN ID bound by the VSI ID corresponding to the message, selecting one tunnel next hop from the N equivalent tunnel next hops of the VXLAN tunnel according to the VXLAN ID and a uniform load sharing mode, and broadcasting the message through the selected tunnel next hop.
In this application, the VSI ID is a VSI ID bound to a port that receives a packet. The port receiving the message is an AC port of the VTEP, and the port receiving the message corresponds to the VLAN to which the message belongs.
As an embodiment, the selecting a tunnel next hop from the N equivalent tunnel next hops of the VXLAN tunnel according to the VXLAN ID and in a uniform load sharing manner in step 302 includes:
a step a1 of performing setting calculation on the VXLAN ID and the N;
as an embodiment, the setting operation is a remainder operation, and based on this, the step a1 can be expressed by the following formula:
VXLAN ID% N,% indicates the remainder.
Step a2, selecting a tunnel next hop from the N equivalent tunnel next hops according to the operation result.
In this application, to facilitate distinguishing next hops of N equivalent tunnels, as an embodiment, corresponding IDs may be identified for the next hops of N equivalent tunnels in sequence from small to large.
Based on this, in step a2, selecting a next hop of tunnel from the next hops of N equivalent tunnels according to the operation result includes:
and selecting the next tunnel hop corresponding to the ID and the operation result from the next tunnel hops of the N equivalent tunnels.
So far, through the steps a1 to a2, a next hop of a tunnel is selected from the next hops of N equivalent tunnels of the VXLAN tunnel according to a uniform load sharing manner, so that different broadcast messages are uniformly shared to the next hops of each tunnel of the VXLAN tunnel.
The flow shown in fig. 3 is completed.
As can be seen from the flow shown in fig. 3, in the present invention, by selecting a next hop of a tunnel from next hops of N equivalent tunnels of a VXLAN tunnel according to a uniform load sharing manner, it can be finally achieved that different broadcast messages are uniformly shared to the next hop of each tunnel of the VXLAN tunnel, and load sharing of ECMP if the next hop of N equivalent tunnels in the VXLAN tunnel is achieved.
In the flow shown in fig. 3, in step 302, whether to broadcast the packet through the VXLAN tunnel between the local VTEP and the remote VTEP may be determined based on an attribute of the packet (whether the packet is a broadcast packet), which may specifically include:
step b1, when the message is a broadcast message, executing step b2, and when the message is not a broadcast message, executing step b 3.
Step b2, if the VXLAN tunnel is used as the output port bound by the VSI ID for forwarding the message, determining to broadcast the message through the VXLAN tunnel between the local VTEP and the remote VTEP.
The step b2 is executed on the premise that the message is a broadcast message, and when the message is a broadcast message, the message is broadcast on other ports except the port receiving the message in all member ports bound by the VSIID. Here, the member port to which the VSI ID is bound includes an AC port and/or a VXLAN tunnel, and when the member port to which the VSI ID is bound includes a VXLAN tunnel between the local VTEP and the remote VTEP, this means that the VXLAN tunnel serves as an egress port to which the VSI ID is bound for forwarding the packet.
Step b3, searching the forwarding table item matched with the message in the forwarding table corresponding to the VSI ID, and if not, and the VXLAN tunnel is used as the output port bound by the VSI ID for forwarding the message, determining to broadcast the message through the VXLAN tunnel between the local VTEP and the remote VTEP.
This step b3 is performed on the premise that the message is not a broadcast message. On the premise, if the forwarding table entry matched with the message is not found in the forwarding table corresponding to the VSIID in this step b3, the message is considered as an unknown message, specifically, if the attribute of the message itself is unicast, the message is an unknown unicast message, and if the attribute of the message itself is multicast, the message is an unknown multicast message.
When the forwarding table entry matched with the message is not found in the forwarding table corresponding to the VSI ID in step b3, the message is broadcasted through other ports except the port receiving the message in all member ports bound by the VSI ID. As described above, the VSIID-bound member port includes an AC port and/or a VXLAN tunnel, and when the VSI-ID-bound member port includes a VXLAN tunnel between the VTEP and the remote VTEP, the VXLAN tunnel is used as the VSI-ID-bound egress port for forwarding the packet.
The method provided by the present invention is described below by a specific embodiment by taking a broadcast message as an example:
referring to fig. 4, fig. 4 is a schematic diagram of an embodiment provided by the present invention. As shown in fig. 4, a VXLAN tunnel is established between VTEP4_1 to the remote VTEP4_ 2. Wherein the VXLAN tunnel is configured with 4 different tunnel next hops: NH1 to NH 4. NH1 to NH4 are equivalent and constitute ECMP. As an example, to facilitate distinguishing NH1 from NH4, it may be distinguished by assigning IDs to NH1 from NH 4. Wherein, the ID of NH1 is 0, the ID of NH2 is 1, the ID of NH3 is 2, and the ID of NH4 is 3.
In fig. 4, the binding relationship between each VXLAN ID in the networking and each VSI ID in the networking is configured according to the service requirement. If there are 4 VXLAN IDs in the networking, which are VXLAN ID0, VXLAN ID1, VXLAN ID2, and VXLAN ID3, and if there are 4 VSI IDs in the networking, which are VSI0, VSI1, VSI2, and VSI3, the binding relationship between each VXLAN ID in the networking and each VSI ID in the networking is configured as follows: VXLAN ID0 is bound to VSI0, VXLAN ID1 is bound to VSI1, VXLAN ID2 is bound to VSI2, and VXLAN ID3 is bound to VSI 3.
In fig. 4, a VXLAN tunnel may be configured to support multiple VXLAN IDs according to service requirements. Suppose VXLAN tunnel supports four VXLAN IDs, VXLAN ID0, VXLAN ID1, VXLAN ID2, VXLAN ID 3.
In fig. 4, 4 ports of VTEP4_ 1: the AC0, AC1, AC2, AC3 are configured to: AC0 binds VSI0, AC1 binds VSI1, AC2 binds VSI2, and AC3 binds VSI 3.
As shown in fig. 4, VTEP4_1 receives broadcast messages through port AC 0. The received broadcast message is recorded as message 4_ 1.
The VTEP4_1 determines the VSI0 bound by the AC0, and determines to forward the packet 4_1 through the VXLAN tunnel between the VTEP4_1 and the remote VTEP4_2 by checking that VXLAN tunnel is established between the VTEP4_1 and the remote VTEP4_2 in all the member ports bound by the VSI 0.
VTEP4_1 found that the VXLAN tunnel between the present VTEP4_1 to the far end VTEP4_2 is configured with 4 different equivalent tunnel next hops: NH1 to NH4, determine VXLAN ID0 bound by VSI0, divide VXLAN ID0 by the total number of next hops of the tunnel, i.e., 4 to obtain result 4_11, select the next hop of the tunnel with the number corresponding to result 4_11 from next hops of NH1 to NH4 of 4 equivalent tunnels (taking selecting NH1 as an example), and send message 4_1 through NH1 and finally send to VTEP4_ 2. Specifically, VXLAN encapsulation is performed on the message 4_1 when the message 4_1 is sent through the NH1, where in the VXLAN encapsulation, an outer-layer destination MAC is filled with a MAC of a next hop NH1 in a tunnel, an outer-layer destination IP is an IP address of the destination VTEP4_2, and a source IP address is an address of the VTEP4_ 1.
As further shown in fig. 4, VTEP4_1 receives the broadcast message through port AC 1. The received broadcast message is recorded as message 4_ 2.
The VTEP4_1 determines the VSI1 bound by the AC1, and determines to forward the packet 4_2 through the VXLAN tunnel between the VTEP4_1 and the remote VTEP4_2 by checking that VXLAN tunnel is established between the VTEP4_1 and the remote VTEP4_2 in all the member ports bound by the VSI 1.
VTEP4_1 found that the VXLAN tunnel between the present VTEP4_1 to the far end VTEP4_2 is configured with 4 different equivalent tunnel next hops: NH1 to NH4, determine VXLAN ID1 bound by VSI1, divide VXLAN ID1 by the total number of next hops of the tunnel, i.e., 4 to obtain result 4_12, select the next hop of the tunnel with the number corresponding to result 4_12 from next hops of NH1 to NH4 of 4 equivalent tunnels (taking selection of NH2 as an example), and send message 4_2 through NH2 and finally send to VTEP4_ 2. Specifically, VXLAN encapsulation is performed on the message 4_2 when the message 4_2 is sent through the NH2, where in the VXLAN encapsulation, an outer-layer destination MAC is filled with a MAC of a tunnel next-hop NH2, an outer-layer destination IP is an IP address of the destination VTEP4_2, and a source IP address is an address of the VTEP4_ 1.
As further shown in fig. 4, VTEP4_1 receives the broadcast message through port AC 3. The received broadcast message is recorded as message 4_ 3.
The VTEP4_1 determines the VSI3 bound by the AC3, and determines to forward the packet 4_3 through the VXLAN tunnel between the VTEP4_1 and the remote VTEP4_2 by checking that VXLAN tunnel is established between the VTEP4_1 and the remote VTEP4_2 in all the member ports bound by the VSI 3.
VTEP4_1 found that the VXLAN tunnel between the present VTEP4_1 to the far end VTEP4_2 is configured with 4 different equivalent tunnel next hops: NH1 to NH4, determine VXLAN ID3 bound by VSI3, divide VXLAN ID3 by the total number of next hops of the tunnel, i.e., 4 to obtain result 4_13, select the next hop of the tunnel with the number corresponding to result 4_13 from next hops of NH1 to NH4 of 4 equivalent tunnels (taking selection of NH3 as an example), and send message 4_3 through NH3 and finally send to VTEP4_ 2. Specifically, VXLAN encapsulation is performed on the message 4_3 when the message 4_3 is sent through the NH3, where in the VXLAN encapsulation, an outer-layer destination MAC is filled with a MAC of a tunnel next-hop NH3, an outer-layer destination IP is an IP address of the destination VTEP4_2, and a source IP address is an address of the VTEP4_ 1.
As further shown in fig. 4, VTEP4_1 receives the broadcast message through port AC 1. The received broadcast message is recorded as message 4_ 4.
The VTEP4_1 determines the VSI4 bound by the AC4, and determines to forward the packet 4_4 through the VXLAN tunnel between the VTEP4_1 and the remote VTEP4_2 by checking that VXLAN tunnel is established between the VTEP4_1 and the remote VTEP4_2 in all the member ports bound by the VSI 4.
VTEP4_1 found that the VXLAN tunnel between the present VTEP4_1 to the far end VTEP4_2 is configured with 4 different equivalent tunnel next hops: NH1 to NH4, determine VXLAN ID4 bound by VSI4, divide VXLAN ID4 by the total number of next hops of the tunnel, i.e., 4 to obtain result 4_14, select the next hop of the tunnel with the number corresponding to result 4_14 from next hops of NH1 to NH4 of 4 equivalent tunnels (taking selection of NH4 as an example), and send message 4_4 through NH4 and finally send to VTEP4_ 2. Specifically, VXLAN encapsulation is performed on the message 4_4 when the message 4_4 is sent through the NH4, where in the VXLAN encapsulation, an outer-layer destination MAC is filled with a MAC of a tunnel next-hop NH4, an outer-layer destination IP is an IP address of the destination VTEP4_2, and a source IP address is an address of the VTEP4_ 1.
It can be seen that, when the VTEP4_1 forwards different broadcast messages received by different ACs, that is, messages 4_1 to 4_4, through the VXLAN tunnel between the VTEP4_1 and the remote VTEP4_2, the VTEP4_1 sends the message 4_1 through the NH1, the NH2 sends the message 4_2, and the NH3 sends the message 4_3, and the NH4 sends the message 4_4 according to a uniform load sharing manner, so that the messages 4_1 to 4_4 are uniformly shared to the NH1 to the NH4, and the link utilization rate is improved.
So far, the embodiments provided by the present invention have been described.
The method provided by the present invention is described above. The following describes the apparatus provided by the present invention:
referring to fig. 5, fig. 5 is a structural view of the apparatus provided by the present invention. The device is applied to VTEP, and comprises:
a receiving unit, configured to receive a packet;
a forwarding unit, configured to determine, when it is determined that the packet is broadcasted through a VXLAN tunnel between a local VTEP and a remote VTEP, a VXLAN ID bound by a virtual switch interface VSI identifier ID matched with the packet, select, according to the VXLAN ID and in a uniform load sharing manner, one tunnel next hop from next hops of N equivalent tunnels of the VXLAN tunnel, and broadcast the packet through the selected tunnel next hop; and the VSI ID is the VSI ID bound by the port receiving the message.
As an embodiment, the selecting, by the forwarding unit, one tunnel next hop from the N equivalent tunnel next hops of the VXLAN tunnel according to the VXLAN ID and in a uniform load sharing manner includes:
setting and calculating the VXLAN ID and the N;
and selecting one tunnel next hop from the N equivalent tunnel next hops according to the operation result.
As an embodiment, the selecting, by the forwarding unit, one tunnel next hop from the N equivalent tunnel next hops according to the operation result includes:
selecting a tunnel next hop corresponding to the ID and the operation result from the N equivalent tunnel next hops; wherein the different tunnel next hops have different IDs.
As an embodiment, the performing, by the forwarding unit, a setting operation on the VXLAN ID and the N includes:
and carrying out complementation operation on the VXLAN ID and the N.
As an embodiment, the determining, by the forwarding unit, that the packet is broadcasted through the VXLAN tunnel between the local VTEP and the remote VTEP includes:
when the message is a broadcast message, if the VXLAN tunnel is used as an output port bound by the VSI ID and used for forwarding the message, determining that the message is broadcast through the VXLAN tunnel between the local VTEP and the remote VTEP;
and when the message is not a broadcast message, searching a forwarding table item matched with the message in a forwarding table corresponding to the VSI ID, and if the forwarding table item is not searched and the VXLAN tunnel is used as an output port bound by the VSI ID and used for forwarding the message, determining that the message is broadcast through the VXLAN tunnel between the local VTEP and a remote VTEP.
Thus, the description of the apparatus provided by the present invention is completed.
The present invention is not limited to the above preferred embodiments, and any modifications, equivalent substitutions, improvements, etc. within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A message broadcasting method based on a virtual extensible local area network (VXLAN) tunnel is characterized in that the method is applied to a VXLAN Tunnel Endpoint (VTEP) and comprises the following steps:
receiving a message;
when the message is determined to be broadcasted through a VXLAN tunnel between the VTEP and a far-end VTEP, N equivalent tunnel next hops exist in one VXLAN tunnel between the VTEP and the far-end VTEP, the VXLAN ID bound by the VSI identifier ID of the virtual switching interface corresponding to the message is determined, one tunnel next hop is selected from the N equivalent tunnel next hops of the VXLAN tunnel according to the VXLAN ID and a uniform load sharing mode, and the message is broadcasted through the selected tunnel next hop.
2. The method according to claim 1, wherein said selecting a tunnel next hop from among N equivalent tunnel next hops of the VXLAN tunnel according to the VXLAN ID and in a uniform load sharing manner comprises:
setting and calculating the VXLAN ID and the N;
and selecting one tunnel next hop from the N equivalent tunnel next hops according to the operation result.
3. The method of claim 2, wherein said selecting a tunnel next hop from the N equivalent tunnel next hops according to the operation result comprises:
and selecting the next tunnel hop corresponding to the ID and the operation result from the next tunnel hops of the N equivalent tunnels.
4. The method of claim 2, wherein said performing a setting operation on VXLAN ID and said N comprises:
and carrying out complementation operation on the VXLAN ID and the N.
5. The method of claim 1, wherein the determining to broadcast the message through the VXLAN tunnel between the local VTEP and the remote VTEP comprises:
when the message is a broadcast message, if the VXLAN tunnel is used as an output port bound by the VSI ID and used for forwarding the message, determining that the message is broadcast through the VXLAN tunnel between the local VTEP and the remote VTEP;
and when the message is not a broadcast message, searching a forwarding table item matched with the message in a forwarding table corresponding to the VSIID, and if the forwarding table item is not searched and the VXLAN tunnel is used as an output port bound by the VSIID and used for forwarding the message, determining that the message is broadcast through the VXLAN tunnel between the VTEP and a remote VTEP.
6. A message broadcasting device based on a virtual extensible local area network (VXLAN) tunnel is characterized in that the device is applied to a VXLAN Tunnel Endpoint (VTEP) and comprises the following components:
a receiving unit, configured to receive a packet;
and the forwarding unit is used for determining a VXLAN ID bound by a virtual switching interface VSI identifier ID corresponding to the message when the message is determined to be broadcasted through a VXLAN tunnel between the local VTEP and the remote VTEP and N equivalent tunnel next hops exist in the VXLAN tunnel between the local VTEP and the remote VTEP, selecting one tunnel next hop from the N equivalent tunnel next hops of the VXLAN tunnel according to the VXLAN ID and a uniform load sharing mode, and broadcasting the message through the selected tunnel next hop.
7. The apparatus of claim 6, wherein the forwarding unit selects one tunnel next hop from the N equivalent tunnel next hops of the VXLAN tunnel according to the VXLAN ID and in a uniform load sharing manner comprises:
setting and calculating the VXLAN ID and the N;
and selecting one tunnel next hop from the N equivalent tunnel next hops according to the operation result.
8. The apparatus of claim 7, wherein the forwarding unit selects a tunnel next hop from the N equivalent tunnel next hops according to the operation result comprises:
and selecting the next tunnel hop corresponding to the ID and the operation result from the next tunnel hops of the N equivalent tunnels.
9. The apparatus of claim 7, wherein the forwarding unit to perform the setting operation on the VXLAN ID and the N comprises:
and carrying out complementation operation on the VXLAN ID and the N.
10. The apparatus of claim 6, wherein the forwarding unit determining to broadcast the message through the VXLAN tunnel between the local VTEP and the remote VTEP comprises:
when the message is a broadcast message, if the VXLAN tunnel is used as an output port bound by the VSI ID and used for forwarding the message, determining that the message is broadcast through the VXLAN tunnel between the local VTEP and the remote VTEP;
and when the message is not a broadcast message, searching a forwarding table item matched with the message in a forwarding table corresponding to the VSIID, and if the forwarding table item is not searched and the VXLAN tunnel is used as an output port bound by the VSIID and used for forwarding the message, determining that the message is broadcast through the VXLAN tunnel between the VTEP and a remote VTEP.
CN201710501705.5A 2017-06-27 2017-06-27 Message broadcasting method and device based on VXLAN tunnel Active CN107547342B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710501705.5A CN107547342B (en) 2017-06-27 2017-06-27 Message broadcasting method and device based on VXLAN tunnel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710501705.5A CN107547342B (en) 2017-06-27 2017-06-27 Message broadcasting method and device based on VXLAN tunnel

Publications (2)

Publication Number Publication Date
CN107547342A CN107547342A (en) 2018-01-05
CN107547342B true CN107547342B (en) 2020-09-08

Family

ID=60970316

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710501705.5A Active CN107547342B (en) 2017-06-27 2017-06-27 Message broadcasting method and device based on VXLAN tunnel

Country Status (1)

Country Link
CN (1) CN107547342B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108234269B (en) * 2016-12-15 2021-09-21 新华三技术有限公司 Multicast message forwarding method and device
CN108322378B (en) * 2018-01-29 2021-06-29 新华三技术有限公司 Multicast message forwarding method and device
CN109639552B (en) * 2018-12-24 2022-02-11 新华三技术有限公司 Three-layer forwarding method and device
CN110995610B (en) * 2019-12-30 2023-04-25 杭州迪普科技股份有限公司 VXLAN tunnel message processing method and device and VTEP equipment
CN112688887B (en) * 2020-12-23 2022-07-12 新华三技术有限公司 Tunnel configuration method and node equipment
CN115086106B (en) * 2022-06-22 2023-12-19 杭州云合智网技术有限公司 HASH method with VXLAN known group broadcasting port as tunnel

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10097372B2 (en) * 2014-01-09 2018-10-09 Ciena Corporation Method for resource optimized network virtualization overlay transport in virtualized data center environments
EP3629529B1 (en) * 2014-03-27 2022-08-31 Nicira Inc. Ingress ecmp in virtual distributed routing environment
US9577927B2 (en) * 2014-06-30 2017-02-21 Nicira, Inc. Encoding control plane information in transport protocol source port field and applications thereof in network virtualization
CN105591974B (en) * 2014-10-20 2019-02-05 华为技术有限公司 Message processing method, apparatus and system
CN104702525B (en) * 2015-04-03 2018-01-05 盛科网络(苏州)有限公司 A kind of method and chipset for realizing virtualization load balancing in the chips
CN106161248B (en) * 2015-04-27 2019-03-29 新华三技术有限公司 Message forwarding method and device in a kind of VXLAN network
CN106559325B (en) * 2015-09-25 2020-06-09 华为技术有限公司 Path detection method and device
CN105763385B (en) * 2016-04-27 2019-05-07 新华三技术有限公司 Traffic scheduling method and device

Also Published As

Publication number Publication date
CN107547342A (en) 2018-01-05

Similar Documents

Publication Publication Date Title
CN107547342B (en) Message broadcasting method and device based on VXLAN tunnel
CN105812259B (en) A kind of message forwarding method and equipment
CN103841023B (en) The method and apparatus of data forwarding
US9680751B2 (en) Methods and devices for providing service insertion in a TRILL network
EP2945320B1 (en) Method, device and routing system for data transmission of network virtualization
US9929936B2 (en) Method for sending multicast packet and switch
US8848609B2 (en) Forwarding internet protocol version 6 link-local multicast to support roaming of wireless mobile client devices
WO2022062506A1 (en) Data processing method and apparatus, storage medium, and electronic apparatus
US20140003425A1 (en) Implementing a Multicast Virtual Private Network by Using Multicast Resource Reservation Protocol-Traffic Engineering
EP2942905A1 (en) Method and device for registering multicast source and establishing multicast path
CN108964940B (en) Message sending method and device and storage medium
CN101808004B (en) Method and system for realizing Anycast-RP mechanism
US20140146710A1 (en) Trill Network Communications Across an IP Network
CN108076682A (en) Mesh WLAN controller, wlan device and the operating method for WLAN supplies
US20160226753A1 (en) Scheme for performing one-pass tunnel forwarding function on two-layer network structure
CN109714274B (en) Method for acquiring corresponding relation and routing equipment
CN101534209B (en) A method and device for sending multicast messages
CN104022936B (en) A kind of tunnel establishing method and device
US10499305B2 (en) Method for transmitting data in wireless local area network mesh network, apparatus, and system
CN105187311B (en) A kind of message forwarding method and device
CN101119222B (en) Method, device and system for implementing multicast of HOPE network
CN108322378B (en) Multicast message forwarding method and device
CN108234269B (en) Multicast message forwarding method and device
US20190199633A1 (en) Method and apparatus for forwarding in information centric networking
CN103401788B (en) A kind of SPT method for building up and equipment

Legal Events

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