CN110445702A - A kind of message forwarding method and equipment - Google Patents
A kind of message forwarding method and equipment Download PDFInfo
- Publication number
- CN110445702A CN110445702A CN201910615237.3A CN201910615237A CN110445702A CN 110445702 A CN110445702 A CN 110445702A CN 201910615237 A CN201910615237 A CN 201910615237A CN 110445702 A CN110445702 A CN 110445702A
- Authority
- CN
- China
- Prior art keywords
- data message
- multicast
- vxlan
- internal layer
- message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000005538 encapsulation Methods 0.000 claims abstract description 32
- RTZKZFJDLAIYFH-UHFFFAOYSA-N Diethyl ether Chemical compound CCOCC RTZKZFJDLAIYFH-UHFFFAOYSA-N 0.000 claims description 38
- 230000005540 biological transmission Effects 0.000 claims description 3
- 238000006424 Flood reaction Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000004907 flux Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4633—Interconnection of networks using encapsulation techniques, e.g. tunneling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/16—Multipoint routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
- H04L45/745—Address table lookup; Address filtering
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
This application provides a kind of message forwarding method and equipment, which includes: that the outer layer purpose IP address based on received VXLAN multicast data message in core duplicated multicast table finds matched multicast list;Multicast list includes more than two Multicast Tunnel exit ports and loopback mouth;For a received VXLAN multicast data message of each Multicast Tunnel exit port duplication of matched multicast list;The VXLAN multicast data message of a duplication is sent by each Multicast Tunnel exit port;The VXLAN multicast data message transmitted and received by loopback mouth;The VXLAN multicast data message of loopback is received by loopback mouth;The outer layer VXLAN encapsulation of received VXLAN multicast data message is removed, executes local forwarding for internal layer data message.The application is logical while can be realized the duplication forwarding of VXLAN multicast data message core, is performed locally two layers or three layers forwarding.
Description
Technical field
This application involves fields of communication technology, in particular to a kind of message forwarding method and equipment.
Background technique
Currently, in the network environment of Overlay, broadcast, unknown unicast, flux of multicast copy mode be broadly divided into unicast
The head end copy mode of routing and the core duplication for broadcasting routing mode.
In general, being adopted mostly when the website for needing to carry out two layers of interconnection by IP core network in data center network is more
It is reduced with core copy mode and saves flooding traffic to the occupancy of core network bandwidth resources.
In core copy mode, endpoint of a tunnel (the Virtual Extensible LAN of virtual expansible local area network
Tunnel End Point, VTEP) equipment receives the message that needs to flood (multicast data message, broadcasting data messages and unknown list
Multicast data message) after, it is the message progress VXLAN multicast encapsulation that floods, root according to the multicast ip address of the multicast group of place VXLAN
According to VXLAN encapsulate in multicast ip address VXLAN multicast message is sent into Internet protocol IP core equipment, then by core equipment
VXLAN multicast message is replicated, VXLAN multicast message is sent to other VTEP equipment of multicast group.
But in existing VXLAN core reproduction technology, IP kernel heart equipment receives VXLAN multicast message, cannot be by internal layer
Need to flood message forwarding locally-attached terminal, result in and need to be sent to these reports that flood of core equipment locally-attached terminal
Text can not be addressed to the purpose equipment that should be reached.
Summary of the invention
The application's is designed to provide a kind of message forwarding method and equipment, realizes that the core equipment of VXLAN network is held
Two layers or three layers of local line forwarding are executed while the duplication forwarding of row VXLAN multicast data message core.
To achieve the above object, the embodiment of the present application provides a kind of message forwarding method, is applied to virtual expansible office
Internet protocol IP core equipment in the network VXLAN of domain, wherein this method comprises: being based on received VXLAN multicast datagram
The outer layer purpose IP address of text finds matched multicast list in core duplicated multicast table;Multicast list includes more than two
Multicast Tunnel exit port and loopback mouth;It is a received for each Multicast Tunnel exit port duplication of matched multicast list
VXLAN multicast data message;The VXLAN multicast data message of a duplication is sent by each Multicast Tunnel exit port;Pass through
The VXLAN multicast data message that loopback mouth transmits and receives;The VXLAN multicast data message of loopback is received by loopback mouth;It removes
The outer layer VXLAN of received VXLAN multicast data message is encapsulated, and executes local forwarding for internal layer data message.
To achieve the above object, the embodiment of the present application also provides a kind of message forwarding equipments, comprising: VXLAN forwards mould
Block finds matching in core duplicated multicast table for the outer layer purpose IP address based on received VXLAN multicast data message
Multicast list;Multicast list includes more than two Multicast Tunnel exit ports and loopback mouth;For for matched multicast table
A received VXLAN multicast data message of each Multicast Tunnel exit port duplication of item;For being gone out by each Multicast Tunnel
Port sends the VXLAN multicast data message of a duplication;The VXLAN multicast data message transmitted and received by loopback mouth;This
Ground forwarding module, for receiving the VXLAN multicast data message of loopback by loopback mouth;Remove received VXLAN multicast packet
The outer layer VXLAN of message is encapsulated, and executes local forwarding for internal layer data message.
The beneficial effect of above scheme is that IP kernel heart equipment utilization loopback mouth sends and receives VXLAN multicast datagram
Text, and the outer layer VXLAN encapsulation of multicast data message is removed, the internal layer data message obtained after encapsulation will be removed and carry out local turn
Hair is performed locally two layers or three layers forwarding while can be realized the duplication forwarding of VXLAN multicast data message core.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows a kind of flow chart of message forwarding method provided by the embodiments of the present application;
Fig. 2 show the embodiment of the present application and provides the system schematic of virtual expansible local area network;
Fig. 3 shows in a kind of message forwarding method provided by the embodiments of the present application and executes local turn for internal layer data message
The flow chart of hair;
Fig. 4 shows in another message forwarding method provided by the embodiments of the present application and executes local for internal layer data message
The flow chart of forwarding;
Fig. 5 shows in another message forwarding method provided by the embodiments of the present application and executes local for internal layer data message
The flow chart of forwarding;
Fig. 6 shows in another message forwarding method provided by the embodiments of the present application and executes local for internal layer data message
The flow chart of forwarding;
Fig. 7 shows a kind of structural schematic diagram of network equipment provided by the embodiments of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
In attached drawing, technical solutions in the embodiments of the present application is illustrated.
Claimed is not intended to limit to the detailed description of the embodiments herein provided in the accompanying drawings below
The range of application, but it is merely representative of the selected embodiment of the application.
It should be noted that term " includes " will be used in the embodiment of the present application, for pointing out the spy stated thereafter
The presence of sign, but the other features of increase are not precluded.
For convenient for understanding the embodiment of the present application, first to a kind of message forwarding side disclosed in the embodiment of the present application
Method describes in detail.Message forwarding method provided by the embodiments of the present application is applied to virtual expansible local area network (Virtual
Extensible LAN, VXLAN) in Internet protocol IP core equipment, next, using IP kernel heart equipment as executing subject pair
The message forwarding method is described in detail.
As shown in Figure 1, being the flow chart of message forwarding method provided by the embodiments of the present application, the specific steps are as follows:
S101, the outer layer purpose IP address based on received VXLAN multicast data message are searched in core duplicated multicast table
To matched multicast list;Multicast list includes more than two Multicast Tunnel exit ports and loopback mouth.
In specific implementation, VXLAN endpoint of a tunnel (VXLAN Tunnel End Point, VTEP) equipment is receiving clothes
Business device transmission floods message (including multicast data message, broadcasting data messages and unknown unicast data message), general based on receiving
The multicast ip address of the multicast group of VSI belonging to the access circuit (AC, Acces circuit) of big vast message is as VXLAN multicast tunnel
The purpose IP address in road carries out VXLAN encapsulation, obtains VXLAN multicast data message;VTEP equipment is gone out by the tunnel of multicast group
VXLAN multicast data message is sent to IP kernel heart equipment by port.
After IP kernel heart equipment receives VXLAN multicast data message, the outer layer destination IP based on VXLAN multicast data message
Address finds matched multicast list in core duplicated multicast table, executes BUD device forwards.Here, multicast list includes two
A above Multicast Tunnel exit port and loopback mouth.
S102 is a received VXLAN multicast packet of each Multicast Tunnel exit port duplication of matched multicast list
Message.
S103 sends the VXLAN multicast data message of a duplication by each Multicast Tunnel exit port.
S104, the VXLAN multicast data message transmitted and received by loopback mouth;
S105 receives the VXLAN multicast data message of loopback by loopback mouth;
S106 removes the outer layer VXLAN encapsulation of received VXLAN multicast data message, executes sheet for internal layer data message
Ground forwarding.
The embodiment of the present application by sending and receiving VXLAN multicast data message in IP kernel heart equipment utilization loopback mouth, and
The outer layer VXLAN encapsulation for removing multicast data message will remove the internal layer data message obtained after encapsulation and carry out local forwarding, energy
While enough realizing the duplication forwarding of VXLAN multicast data message core, it is performed locally two layers or three layers forwarding.
Fig. 2 show the VXLAN schematic diagram of the embodiment of the present invention, wherein VTEP1, VTEP2, VTEP3 and the IP kernel heart are set
The standby same virtual switch instance VSI in VXLAN network.
Server1 sends the message that floods.Access circuit (Access Circuit, AC) AC1 that VTEP1 passes through receives general
Big vast message, in the Sever 4 of local AC4 connection of the (not shown) to same VSI that flood, according to the multicast group of VSI binding
Purpose IP address of the multicast ip address as the tunnel VXLAN, the message that will flood are encapsulated as VXLAN multicast data message, pass through IP
Forwarded VXLAN multicast data message.
IP kernel heart equipment receives VXLAN multicast data message, searches BUD multicast forward table according to outer layer purpose IP address
, which includes the exit port port1 in the tunnel VXLAN of connection VTEP2, the tunnel VXLAN for connecting VTEP3
Exit port port2 and loopback mouth.
IP kernel heart equipment be port1 and port2 respectively replicate portion VXLAN multicast data message, by exit port port1 with
Exit port port2 sends the VXLAN multicast data message of a duplication respectively;VXLAN multicast datagram is sent by loopback mouth
Text;The VXLAN multicast data message of loopback is received by loopback mouth;Remove the outer layer of received VXLAN multicast data message
VXLAN encapsulation executes local forwarding for internal layer data message.
In specific implementation, the message that floods that VTEP equipment receives can be including multicast data message or Broadcasting Datagram
Text or unknown unicast data message (MAC Address that the VTEP not yet learns).
The VXLAN multicast data message that IP kernel heart equipment is received by loopback mouth removes VXLAN encapsulation and executes locally two layers
Shown in method Fig. 3 of forwarding, wherein this method comprises:
S301, the type of message of identification internal layer data message are unicast.
S302 searches the MAC of the corresponding virtual switch instance VSI of VXLAN network identifier VNI of outer layer VXLAN encapsulation
Addresses forwarding table.
S303, in the matched MAC Address of target MAC (Media Access Control) address whether mac address forwarding table finds internal layer data message
List item;It is to execute step S304;It is no, execute step S305.
S304 sends internal layer data message by the access circuit AC of matched MAC Address list item.
S305 finds the broadcast forwarding table of VSI according to the VNI that outer layer VXLAN is encapsulated;For each AC for broadcasting forwarding table
Replicate a internal layer data message;Each AC by broadcasting forwarding table sends the internal layer data message of a duplication.
In specific implementation, core equipment removes the outer layer VXLAN encapsulation of VXLAN multicast data message, obtains Ethernet
Data message.Core equipment identifies that type of message is unicast according to the type of message field of Ethernet data message, searches VXLAN
The mac address table of VXLAN network identifier (VXLAN Network Identifier, VNI) corresponding VSI of field in encapsulation,
Target MAC (Media Access Control) address based on Ethernet data message is searched in mac address table.
If IP kernel heart equipment finds matched MAC Address list item from mac address forwarding table, then according to matched
Ethernet unicast data message is transmitted to Sever5 by the exit port AC3 of MAC Address list item, to realize local two layer message
Forwarding.
If IP kernel heart equipment does not find matched MAC Address list item in mac address forwarding table, then it is corresponding to search VNI
VSI broadcast table.In the present embodiment, IP kernel heart equipment is each AC, i.e. AC3 and AC6 of the broadcast forwarding table of VSI, multiple respectively
Make a Ethernet unicast data message.IP kernel heart equipment sends Ethernet unicast data message to Sever5 by AC3, passes through
AC6 sends Ethernet unicast data message to Sever6, realizes the forwarding of local two layers of unknown unicast message.
Based on horizontal segmentation principle, IP kernel heart equipment is re-send to after cannot decapsulating VXLAN multicast data message
In VXLAN network.IP kernel heart equipment can only send datagram to VSI in the equipment of local network, therefore IP kernel heart equipment is
The AC for connecting each local device replicates a broadcasting data messages.
The VXLAN multicast data message that IP kernel heart equipment is received by loopback mouth removes VXLAN encapsulation and carries out locally three layers
The method of forwarding is as shown in Figure 4, wherein this method comprises:
S401, the type of message of identification internal layer data message are unicast.
S402 searches the mac address forwarding table of the corresponding VSI of VNI of outer layer VXLAN encapsulation.
S403 executes lookup according to the unicast target MAC (Media Access Control) address of internal layer data message in mac address forwarding table.
S404 is determined according to the MAC Address list item found and is executed three layers of forwarding.
IP kernel heart equipment remove VXLAN multicast data message outer layer VXLAN encapsulation after, obtain internal layer data message with
And the corresponding unicast target MAC (Media Access Control) address of internal layer data message.Later, from the MAC of the outer layer VXLAN corresponding VSI of VNI encapsulated
In the forwarding table of location, the corresponding MAC Address list item of unicast target MAC (Media Access Control) address is searched;Wherein, unicast purpose MAC in MAC Address list item
The corresponding exit port in address is three layer interfaces, and instruction carries out three layers of forwarding.
S405 peels the ether net head of internal layer data message off.
S406 searches the corresponding MAC Address of internal layer destination IP and AC.
IP kernel heart equipment searches matched address according to the internal layer purpose IP address for peeling internal layer IP packet after ether net head off
Analysis protocol (Address Resolution Protocol, ARP) list item.IP kernel heart equipment equipment is from the ARP entry found
The corresponding MAC Address of middle acquisition internal layer purpose IP address and AC.
S407 encapsulates new ether net head according to the MAC Address found to peel the internal layer data message of ether net head off.
IP kernel heart equipment is encapsulated by purpose MAC Address of the corresponding MAC Address of IP address in ARP entry, in APR list item
The corresponding MAC Address of AC interface is that source MAC encapsulates new ether net head.
S408 sends the internal layer data message for having new ether net head by the corresponding AC of internal layer purpose IP address.
IP kernel heart equipment sends the Ethernet data message for having new ether net head, such VETP1 by AC in ARP entry
After the Ethernet data message of lookup forwarding-table item failure is flooded to IP kernel heart equipment as unknown unicast message, IP kernel heart equipment
Complete three layers of local forwarding.
When the message that floods that VTEP1 is received is broadcasting data messages, IP kernel heart equipment receives VXLAN group by loopback mouth
After multicast data message, it is as shown in Figure 5 to remove the local L 2 broadcast retransmission method of VXLAN encapsulation execution, wherein this method comprises:
S501, the type of message of identification internal layer data message are broadcast.
S502 searches the broadcast forwarding table of the corresponding VSI of VNI of outer layer VXLAN encapsulation.
IP kernel heart equipment remove VXLAN multicast data message outer layer VXLAN encapsulation after, according to VXLAN encapsulate in take
The VNI of band searches the broadcast forwarding table of corresponding VSI.
S503 replicates a internal layer data message to broadcast each AC of forwarding table.
S504, each AC by broadcasting forwarding table send the internal layer data message of a duplication.
IP kernel heart equipment sends the broadcasting data messages of a duplication by each AC that VSI broadcasts forwarding table, to complete
Broadcasting data messages are in two layers of local forwarding.
When what VTEP was received flood message is Layer 2 Multicast data message, IP kernel heart equipment receives VXLAN by loopback mouth
After multicast data message, remove VXLAN be encapsulated as Layer 2 Multicast data message execute local layer 2 forwarding method as shown in fig. 6,
Wherein, this method comprises:
S601, the type of message of identification internal layer data message are multicast.
S602, the VNI of multicast address and outer layer VXLAN encapsulation based on internal layer data message search corresponding multicast and turn
It delivers.
S603 is that each AC of multicast forward table replicates a internal layer data message.
As shown in Fig. 2, having recorded in the local multicast forwarding table MUD of IP kernel heart equipment and receiving multicast group addition agreement report
The AC of text is recorded in the local multicast forwarding table of VSI.If IP kernel heart equipment, which only passes through an AC, has received multicast group addition
The local multicast forwarding table of VSI of protocol massages, the storage of IP kernel heart equipment only includes an AC, if IP kernel heart equipment pass through it is more
A AC has received multicast group and protocol massages is added, and correspondingly the local multicast forwarding table of the VSI of IP kernel heart equipment storage includes to receive
Each AC of protocol massages is added to multicast group.In the present embodiment, it is multicast member that multicast forward table, which has recorded AC3 and AC6,
Exit port.
S604 sends the internal layer data message of a duplication by each AC of multicast forward table.
IP kernel heart equipment obtains all AC from multicast forward table, be multicast forward table each AC, i.e. AC3 and AC5,
A internal layer data message is replicated respectively, and the internal layer data message of a duplication is sent by the AC3 and AC5 of multicast forward table
To the equipment of each AC connection, to complete the forwarding of internal layer data message.
In above-described embodiment, IP kernel heart equipment and other VTEP device configurations have identical VXLAN Multicast Tunnel, and configuration should
The associated multicast list of multicast group tunnel.After IP kernel heart equipment receives the VXLAN multicast data message of VTEP1 transmission, it is based on
The outer layer purpose IP address of VXLAN multicast data message finds matched multicast forwarding list item, is able to carry out BUD equipment and turns
Hair, i.e., be not only forwarded VXLAN data message, while local turn is carried out after capable of decapsulating VXLAN data message
Hair.
Based on the same inventive concept, the embodiment of the present application also provides message corresponding with message forwarding method forwardings to set
It is standby, the principle solved the problems, such as due to the message forwarding equipment in the embodiment of the present application and the above-mentioned message forwarding side of the embodiment of the present application
Method is similar, therefore the implementation of message forwarding equipment may refer to the implementation of method, and overlaps will not be repeated.
A kind of Fig. 7 configuration diagram of the network equipment 700 provided by the embodiments of the present application.The network equipment 700 may be used as
The IP kernel heart equipment of VXLAN network comprising retransmission unit 710, processor (Central Processing Unit, CPU)
720 and memory 730 and multiple outside ports 7010.Retransmission unit 710 has VXLAN forwarding module 711, local forwarding mould
Block 712 and loopback mouth 713.
VXLAN forwarding module 711, for the outer layer purpose IP address based on received VXLAN multicast data message in core
Heart duplicated multicast table finds matched multicast list;Multicast list includes more than two Multicast Tunnel exit ports and loopback
Mouthful;For a received VXLAN multicast data message of each Multicast Tunnel exit port duplication for matched multicast list;With
In the VXLAN multicast data message for sending a duplication by each Multicast Tunnel exit port;It is transmitted and received by loopback mouth
VXLAN multicast data message.
Local forwarding module 712, for receiving the VXLAN multicast data message of loopback by loopback mouth;It removes received
The outer layer VXLAN of VXLAN multicast data message is encapsulated, and executes local forwarding for sending by loopback mouth for internal layer data message
Received VXLAN multicast data message;The VXLAN multicast data message of loopback is received by loopback mouth;Remove received VXLAN
The outer layer VXLAN of multicast data message is encapsulated, and executes local forwarding for internal layer data message.
Local forwarding module 712 is also used to identify that the type of message of internal layer data message is unicast, searches outer layer VXLAN
The mac address forwarding table of the corresponding virtual switch instance VSI of VXLAN network identifier VNI of encapsulation;According to internal layer data message
Target MAC (Media Access Control) address lookup is executed in mac address forwarding table;When searching matched MAC Address list item then, by matched
The access circuit AC of MAC Address list item sends internal layer data message;When not finding, looked into according to the VNI that outer layer VXLAN is encapsulated
The broadcast forwarding table of VSI is found, a internal layer data message is replicated to broadcast each AC of forwarding table, passes through broadcast forwarding table
Each AC sends the internal layer data message of a duplication.
Local forwarding module 712 is also used to identify that the type of message of internal layer data message for broadcast, searches outer layer VXLAN
The broadcast forwarding table of the corresponding VSI of the VNI of encapsulation;A internal layer data message is replicated to broadcast each AC of forwarding table;Pass through
The each AC for broadcasting forwarding table sends the internal layer data message of a duplication.
Local forwarding module 712 is also used to identify that the type of message of internal layer data message is unicast, is based on internal layer datagram
The unicast target MAC (Media Access Control) address of text searches the mac address forwarding table of the corresponding VSI of VNI of outer layer VXLAN encapsulation;Turn from MAC Address
In delivering, lookup is executed in mac address forwarding table according to the unicast target MAC (Media Access Control) address of internal layer data message and searches MAC Address
List item determines according to the MAC Address list item found and executes three layers of forwarding;It peels the ether net head of internal layer data message off, searches
The corresponding MAC Address of internal layer purpose IP address and AC, according to the MAC Address found, for the interior layer data for peeling ether net head off
Message encapsulates new ether net head, and the internal layer datagram for having new ether net head is sent by the corresponding AC of internal layer purpose IP address
Text.
Local forwarding module 712 is also used to identify that the type of message of internal layer data message is multicast, is based on internal layer datagram
The VNI of multicast address and outer layer the VXLAN encapsulation of text searches corresponding multicast forward table;It is replicated for each AC of multicast forward table
A internal layer data message;The internal layer data message of a duplication is sent by each AC of multicast forward table.
Above-described embodiment is only to illustrate the technical solution of the application.Those skilled in the art are to previous embodiment
Modification, variation or the replacement that documented technical solution is carried out should all be covered within the scope of protection of this application.Cause
This, the protection scope of the application should be subject to the protection scope in claims.
Claims (10)
1. a kind of message forwarding method, which is characterized in that applied to the Internet protocol in virtual expansible local area network VXLAN
IP kernel heart equipment, comprising:
Outer layer purpose IP address based on received VXLAN multicast data message finds matched group in core duplicated multicast table
Broadcast list item;The multicast list includes more than two Multicast Tunnel exit ports and loopback mouth;
For a received VXLAN multicast data message of each Multicast Tunnel exit port duplication of the matched multicast list;
The VXLAN multicast data message of a duplication is sent by each Multicast Tunnel exit port;
The received VXLAN multicast data message is sent by the loopback mouth;
The VXLAN multicast data message of loopback is received by the loopback mouth;
The outer layer VXLAN encapsulation of the received VXLAN multicast data message is removed, executes local turn for internal layer data message
Hair.
2. message forwarding method according to claim 1, which is characterized in that described to remove the received VXLAN multicast
The outer layer VXLAN of data message is encapsulated, and is executed local forwarding for internal layer data message and is included:
The type of message for identifying the internal layer data message is unicast;
The MAC Address for searching the corresponding virtual switch instance VSI of VXLAN network identifier VNI of the outer layer VXLAN encapsulation turns
It delivers;
Lookup is executed in the mac address forwarding table according to the target MAC (Media Access Control) address of the internal layer data message;
When finding matched MAC Address list item, described in the access circuit AC transmission by the matched MAC Address list item
Internal layer data message;
When not finding, the broadcast forwarding table of the corresponding VSI of the VNI is searched, each AC for the broadcast forwarding table is multiple
A internal layer data message of system;The internal layer data message of a duplication is sent by each AC of the broadcast forwarding table.
3. message forwarding method according to claim 1, which is characterized in that described to remove the received VXLAN multicast
The outer layer VXLAN of data message is encapsulated, and is executed local forwarding for internal layer data message and is included:
Identify the type of message of the internal layer data message for broadcast;
Search the broadcast forwarding table of the corresponding VSI of VNI of the outer layer VXLAN encapsulation;
For a internal layer data message of each AC duplication of the broadcast forwarding table;
The internal layer data message of a duplication is sent by each AC of the broadcast forwarding table.
4. message forwarding method according to claim 1, which is characterized in that described to remove the received VXLAN multicast
The outer layer VXLAN of data message is encapsulated, and is executed local forwarding for internal layer data message and is included:
The type of message for identifying the internal layer data message is unicast;
Search the mac address forwarding table of the corresponding VSI of VNI of the outer layer VXLAN encapsulation;
Lookup is executed in the mac address forwarding table according to the unicast target MAC (Media Access Control) address of the internal layer data message;
It is determined according to the MAC Address list item found and executes three layers of forwarding;
Peel the ether net head of the internal layer data message off;
Search the corresponding MAC Address of internal layer purpose IP address and AC;
According to the MAC Address found, new ether net head is encapsulated to peel the internal layer data message of ether net head off;
The internal layer data message for having new ether net head is sent by the corresponding AC of internal layer purpose IP address.
5. message forwarding method according to claim 1, which is characterized in that described to remove the received VXLAN multicast
The outer layer VXLAN of data message is encapsulated, and is executed local forwarding for internal layer data message and is included:
The type of message for identifying the internal layer data message is multicast;
The VNI of multicast address and outer layer VXLAN encapsulation based on the internal layer data message searches corresponding multicast and turns
It delivers;
For a internal layer data message of each AC duplication of the multicast forward table;
The internal layer data message of a duplication is sent by each AC of the multicast forward table.
6. a kind of message forwarding equipment, which is characterized in that the equipment includes, comprising:
VXLAN forwarding module, for the outer layer purpose IP address based on received VXLAN multicast data message in core copy group
It broadcasts table and finds matched multicast list;The multicast list includes more than two Multicast Tunnel exit ports and loopback mouth;
For a received VXLAN multicast data message of each Multicast Tunnel exit port duplication for the matched multicast list;
For sending the VXLAN multicast data message of a duplication by each Multicast Tunnel exit port;It is sent by the loopback mouth
The received VXLAN multicast data message;
Local forwarding module, for receiving the VXLAN multicast data message of loopback by the loopback mouth;It removes described received
The outer layer VXLAN of VXLAN multicast data message is encapsulated, and executes local forwarding for internal layer data message.
7. message forwarding equipment according to claim 6, which is characterized in that
The local forwarding module, the type of message of the internal layer data message is unicast for identification, searches the outer layer
The mac address forwarding table of the corresponding virtual switch instance VSI of VXLAN network identifier VNI of VXLAN encapsulation;According to described interior
The target MAC (Media Access Control) address of layer data message executes lookup in the mac address forwarding table;When the matched MAC Address list item of lookup
Then, the internal layer data message is sent by the access circuit AC of the matched MAC Address list item;When not finding,
The broadcast forwarding table of the corresponding VSI of the VNI is searched, for a interior layer data of each AC duplication of the broadcast forwarding table
Message sends the internal layer data message of a duplication by each AC of the broadcast forwarding table.
8. message forwarding equipment according to claim 6, which is characterized in that
The local forwarding module, the type of message of the internal layer data message is broadcast for identification, searches the outer layer
The broadcast forwarding table of the corresponding VSI of VNI of VXLAN encapsulation;For a internal layer of each AC duplication of the broadcast forwarding table
Data message;The internal layer data message of a duplication is sent by each AC of the broadcast forwarding table.
9. message forwarding equipment according to claim 6, which is characterized in that
The local forwarding module, the type of message of the internal layer data message is unicast for identification, searches the outer layer
The mac address forwarding table of the corresponding VSI of VNI of VXLAN encapsulation;According to the unicast target MAC (Media Access Control) address of the internal layer data message
Lookup is executed in the mac address forwarding table, is determined according to the MAC Address list item found and executes three layers of forwarding;Peel institute off
The ether net head of internal layer data message is stated, the corresponding MAC Address of internal layer purpose IP address and AC are searched, according to the MAC found
Address encapsulates new ether net head to peel the internal layer data message of ether net head off, is sent out by the corresponding AC of internal layer purpose IP address
Send the internal layer data message with new ether net head.
10. message forwarding equipment according to claim 6, which is characterized in that
The local forwarding module, the type of message of the internal layer data message is multicast for identification, is based on the interior number of plies
Corresponding multicast forward table is searched according to the VNI that the multicast address of message and the outer layer VXLAN are encapsulated;For the multicast forward table
A internal layer data message of each AC duplication;The internal layer of a duplication is sent by each AC of the multicast forward table
Data message.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910615237.3A CN110445702B (en) | 2019-07-09 | 2019-07-09 | Message forwarding method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910615237.3A CN110445702B (en) | 2019-07-09 | 2019-07-09 | Message forwarding method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN110445702A true CN110445702A (en) | 2019-11-12 |
| CN110445702B CN110445702B (en) | 2021-04-06 |
Family
ID=68429932
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910615237.3A Active CN110445702B (en) | 2019-07-09 | 2019-07-09 | Message forwarding method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110445702B (en) |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111262713A (en) * | 2020-01-03 | 2020-06-09 | 优刻得科技股份有限公司 | Message multicast processing method, processing device, readable medium and system |
| CN112019420A (en) * | 2020-09-04 | 2020-12-01 | 苏州盛科科技有限公司 | Method and device for realizing VXLAN edge node multicast message forwarding |
| CN112637705A (en) * | 2020-11-26 | 2021-04-09 | 新华三技术有限公司合肥分公司 | Method and device for forwarding in-band remote measurement message |
| CN112804158A (en) * | 2021-03-31 | 2021-05-14 | 四川新网银行股份有限公司 | Unknown unicast forwarding and control method for switch |
| CN113207049A (en) * | 2021-03-31 | 2021-08-03 | 新华三信息安全技术有限公司 | Multicast forwarding method and device |
| CN115334037A (en) * | 2022-08-10 | 2022-11-11 | 杭州云合智网技术有限公司 | VXLAN multicast forwarding table item updating system method and system |
| CN115665070A (en) * | 2022-10-17 | 2023-01-31 | 浪潮思科网络科技有限公司 | Message sending method, device, equipment and medium |
| CN119182744A (en) * | 2024-08-30 | 2024-12-24 | 新华三技术有限公司 | Method and equipment for realizing three-layer forwarding of multicast data message |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104158718A (en) * | 2014-08-25 | 2014-11-19 | 杭州华三通信技术有限公司 | A message processing method and device |
| CN106209648A (en) * | 2015-05-04 | 2016-12-07 | 杭州华三通信技术有限公司 | Multicast data packet forwarding method and apparatus across virtual expansible LAN |
| CN106878181A (en) * | 2016-12-29 | 2017-06-20 | 新华三技术有限公司 | A kind of message transmitting method and device |
| US20180006834A1 (en) * | 2015-03-25 | 2018-01-04 | International Business Machines Corporation | Logical multicasting in overlay networks |
| CN108199963A (en) * | 2017-12-27 | 2018-06-22 | 新华三技术有限公司 | Message forwarding method and device |
| CN108900422A (en) * | 2018-07-27 | 2018-11-27 | 新华三技术有限公司 | Multicast forward method, device and electronic equipment |
-
2019
- 2019-07-09 CN CN201910615237.3A patent/CN110445702B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104158718A (en) * | 2014-08-25 | 2014-11-19 | 杭州华三通信技术有限公司 | A message processing method and device |
| US20180006834A1 (en) * | 2015-03-25 | 2018-01-04 | International Business Machines Corporation | Logical multicasting in overlay networks |
| CN106209648A (en) * | 2015-05-04 | 2016-12-07 | 杭州华三通信技术有限公司 | Multicast data packet forwarding method and apparatus across virtual expansible LAN |
| CN106878181A (en) * | 2016-12-29 | 2017-06-20 | 新华三技术有限公司 | A kind of message transmitting method and device |
| CN108199963A (en) * | 2017-12-27 | 2018-06-22 | 新华三技术有限公司 | Message forwarding method and device |
| CN108900422A (en) * | 2018-07-27 | 2018-11-27 | 新华三技术有限公司 | Multicast forward method, device and electronic equipment |
Cited By (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111262713A (en) * | 2020-01-03 | 2020-06-09 | 优刻得科技股份有限公司 | Message multicast processing method, processing device, readable medium and system |
| CN112019420A (en) * | 2020-09-04 | 2020-12-01 | 苏州盛科科技有限公司 | Method and device for realizing VXLAN edge node multicast message forwarding |
| CN112637705A (en) * | 2020-11-26 | 2021-04-09 | 新华三技术有限公司合肥分公司 | Method and device for forwarding in-band remote measurement message |
| CN112637705B (en) * | 2020-11-26 | 2022-05-27 | 新华三技术有限公司合肥分公司 | Method and device for forwarding in-band remote measurement message |
| CN112804158A (en) * | 2021-03-31 | 2021-05-14 | 四川新网银行股份有限公司 | Unknown unicast forwarding and control method for switch |
| CN113207049A (en) * | 2021-03-31 | 2021-08-03 | 新华三信息安全技术有限公司 | Multicast forwarding method and device |
| CN112804158B (en) * | 2021-03-31 | 2021-09-21 | 四川新网银行股份有限公司 | Unknown unicast forwarding and control method for switch |
| CN113207049B (en) * | 2021-03-31 | 2022-05-27 | 新华三信息安全技术有限公司 | Multicast forwarding method and device |
| CN115334037A (en) * | 2022-08-10 | 2022-11-11 | 杭州云合智网技术有限公司 | VXLAN multicast forwarding table item updating system method and system |
| CN115334037B (en) * | 2022-08-10 | 2023-05-23 | 杭州云合智网技术有限公司 | VXLAN multicast forwarding table item updating system method and system |
| CN115665070A (en) * | 2022-10-17 | 2023-01-31 | 浪潮思科网络科技有限公司 | Message sending method, device, equipment and medium |
| CN119182744A (en) * | 2024-08-30 | 2024-12-24 | 新华三技术有限公司 | Method and equipment for realizing three-layer forwarding of multicast data message |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110445702B (en) | 2021-04-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110445702A (en) | A kind of message forwarding method and equipment | |
| US11044211B2 (en) | Multicast packet handling based on control information in software-defined networking (SDN) environment | |
| CN102413061B (en) | Message transmission method and equipment | |
| CN103841023B (en) | The method and apparatus of data forwarding | |
| US9448821B2 (en) | Method and system for realizing virtual machine mobility | |
| CN102263704B (en) | Topology construction method and device supporting layer 2 interconnection of data centers | |
| CN101227407B (en) | Method and apparatus for sending message based on two layer tunnel protocol | |
| CN102316030B (en) | Method for realizing two-layer internetworking of data center and device | |
| EP3070877A1 (en) | Evpn inter-subnet multicast forwarding | |
| CN108964940B (en) | Message sending method and device and storage medium | |
| US20130170490A1 (en) | System and method for discovering multipoint endpoints in a network environment | |
| EP2942905A1 (en) | Method and device for registering multicast source and establishing multicast path | |
| CN104243269A (en) | Processing method and device of messages in VxLAN (virtual extensible local area network) | |
| EP4016932A1 (en) | Evpn and vpls coexistence method, apparatus, and system | |
| CN104253698B (en) | Method and device for processing message multicast | |
| CN107040441B (en) | Cross-data-center data transmission method, device and system | |
| WO2019137355A1 (en) | Method and device for transmitting data, and network system | |
| EP4057578A1 (en) | Internet group management protocol host mobility in ethernet virtual private network multicast networks | |
| CN103581274A (en) | Message forwarding method and device in stacking system | |
| CN103685007B (en) | A kind of mac learning method when edge device message forwards and edge device | |
| CN102394825A (en) | Method and device for processing message | |
| US9548887B2 (en) | Proactive creation of multicast state in an overlay transport network to achieve fast convergence on failover | |
| EP2908476B1 (en) | Method and apparatus for sending multi-link transparent interconnected data frame | |
| CN119052196A (en) | Multicast traffic forwarding device, method, equipment and medium | |
| CN113114553A (en) | Method and device for realizing butt joint of different networks under EVPN |
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 |