CN109194560A - Method of multicasting and VTEP - Google Patents

Method of multicasting and VTEP Download PDF

Info

Publication number
CN109194560A
CN109194560A CN201810995123.1A CN201810995123A CN109194560A CN 109194560 A CN109194560 A CN 109194560A CN 201810995123 A CN201810995123 A CN 201810995123A CN 109194560 A CN109194560 A CN 109194560A
Authority
CN
China
Prior art keywords
vtep
multicast
distal end
address
local terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810995123.1A
Other languages
Chinese (zh)
Other versions
CN109194560B (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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201810995123.1A priority Critical patent/CN109194560B/en
Publication of CN109194560A publication Critical patent/CN109194560A/en
Application granted granted Critical
Publication of CN109194560B publication Critical patent/CN109194560B/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
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/16Multipoint routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering

Landscapes

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

Abstract

The application provides a kind of method of multicasting and VTEP, is related to the communications field, can be improved multicast forwarding efficiency.This method comprises: local terminal VTEP receives the routing of 3 classes and the routing of the one 2 class that distal end VTEP is sent, BUM forwarding table and multicast forward table are created, and the corresponding tunnel information of the duplication table of the IP address of distal end VTEP and BUM forwarding table is added in the duplication table of multicast forward table.If the IP multicast message that local terminal VTEP is received carries the IP address of designated multicast group, local terminal VTEP forwards IP multicast message to distal end VTEP according to the duplication table of multicast forward table.Wherein, the routing of 3 classes includes the IP address of distal end VTEP, and the routing of the one 2 class includes: the IP address of the VNI of distal end VTEP, native vlan mark and designated multicast group, and designated multicast group is added for distal end VTEP request in the routing of the one 2 class.

Description

Method of multicasting and VTEP
Technical field
This application involves the communications field more particularly to a kind of method of multicasting and VTEP.
Background technique
Virtual expansible local area network (Virtual eXtensible Local Area Network, abbreviation VXLAN), If ether Virtual Private Network (Ethernet Virtual Private Network, abbreviation EVPN) is a kind of widely used Virtual proprietary network (Virtual Private Network, abbreviation VPN) technology can use and connect initial data, such as media Enter control (Media Access Control, abbreviation MAC) layer data, encapsulated user data report (User Datagram Protocol, abbreviation UDP) head and the head VXLAN mode, achieve the purpose that 2 layers of message penetrate 3 layers of IP network.
Existing EVPN usually forwards all flows, such as broadcast, unknown unicast using same pass-through mode without distinction With multicast (Broadcast, Unknown unicas t, Multicast, abbreviation BUM) flow.Specifically, first according to boundary The 3 class route learnings of gateway protocol (Border Gateway Protocol, abbreviation BGP) EVPN to BUM member on network BUM forwarding table is established, all members then BUM flow being forwarded in BUM forwarding table.Wherein, it can wrap in BUM forwarding table Include at least tunnel VXLAN termination endpoint (VXLAN Tunnel End Point, abbreviation VTEP).
However, for designated multicast group, usually only part VTEP needs to receive flux of multicast in practical application, if Multicast forwarding is carried out by BUM forwarding table, will lead to the VTEP for not needing to receive designated groups flow still will receive flux of multicast, Network bandwidth is wasted, network operating efficiency is reduced.
Summary of the invention
The application provides a kind of method of multicasting and VTEP, can be avoided and does not need to receive message into designated multicast group VTEP forwards the message, to improve the efficiency to E-Packet in designated multicast group.
In order to achieve the above objectives, the application adopts the following technical scheme that
In a first aspect, the application provides a kind of method of multicasting, this method may include: local terminal virtually expansible local area network The tunnel VXLAN termination endpoint VTEP receives the 3 classes routing that distal end VTEP is sent, creation target broadcast, unknown unicast and multicast BUM Forwarding table;Wherein, the routing of 3 classes includes the IP address of distal end VTEP.Local terminal VTEP receives the one 2 class road that distal end VTEP is sent By creating corresponding multicast forward table, and by the corresponding tunnel information of the duplication table of the IP address of distal end VTEP and BUM forwarding table It is added in the duplication table of multicast forward table;Wherein, designated multicast group is added for distal end VTEP request in the routing of the one 2 class, the The routing of one 2 classes includes: VXLAN the mark VNI, local virtual local area network (Virtual local Area of distal end VTEP Network, abbreviation VLAN) mark and designated multicast group IP address.If the IP multicast message that local terminal VTEP is received carries There is the IP address of designated multicast group, then local terminal VTEP is broadcasted according to the duplication table of multicast forward table to distal end VTEP forwarding IP group Text.
Second aspect, the application provide a kind of VTEP, which includes: receiving module and forwarding module.Wherein, mould is received Block, for receiving the 3 classes routing of distal end VTEP transmission, creation target broadcast, unknown unicast and multicast BUM forwarding table;Wherein, 3 Class routing includes the IP address of distal end VTEP.Receiving module is also used to receive the one 2 class routing of distal end VTEP transmission, creation Corresponding multicast forward table, and the corresponding tunnel information of the duplication table of the IP address of distal end VTEP and BUM forwarding table is added to In the duplication table of multicast forward table;Wherein, designated multicast group, the one 2 class road is added for distal end VTEP request in the routing of the one 2 class By include: distal end VTEP VXLAN mark VNI, local virtual local area network VLAN mark and designated multicast group IP address. Forwarding module, if the IP address of designated multicast group is carried for the local terminal VTEP IP multicast message received, according to multicast The duplication table of forwarding table forwards IP multicast message to distal end VTEP.
The third aspect, the application provide a kind of VTEP, which includes: processor, transceiver and memory.Wherein, it deposits Reservoir is for storing one or more programs.The one or more program includes computer executed instructions, when VTEP operation, Processor executes the computer executed instructions of memory storage, so that the VTEP executes first aspect and its various optional In implementation it is one of any described in method of multicasting.
Fourth aspect, the application provide a kind of computer readable storage medium, are stored in computer readable storage medium Instruction, when computer executes the instruction, which, which executes in above-mentioned first aspect and its various optional implementations, appoints Method of multicasting described in one of meaning.
5th aspect, the application provides a kind of communication system, which includes more such as second aspects and its various In VTEP or more such as third aspect and its various optional implementations described in optionally one of any in implementation VTEP described in one of any.
Method of multicasting and VTEP provided by the present application, can be according to the routing of 3 classes and the one 2 class road that distal end VTEP is sent By foundation includes the VXLAN multicast forward table of the IP address of distal end VTEP and the IP address of designated multicast group, as local terminal VTEP When the IP multicast message received carries the IP address of the designated multicast group, local terminal VTEP can be by the IP multicast message to remote VTEP forwarding is held, rather than whole VTEP forwarding into the designated multicast group in addition to local terminal VTEP, it avoids to not needing The case where VTEP of the IP multicast message forwards the IP multicast message is received, can reduce the invalid IP forwarded in the multicast group The quantity of multicast message, reduces the ineffective occupation of network bandwidth, to improve the forward efficiency of whole network.
Detailed description of the invention
Structural schematic diagram of the Fig. 1 by the applicable communication system of method of multicasting provided by the embodiments of the present application and VTEP;
Fig. 2 is the flow diagram one of method of multicasting provided by the embodiments of the present application;
Fig. 3 is the flow diagram two of method of multicasting provided by the embodiments of the present application;
Fig. 4 is the flow diagram three of method of multicasting provided by the embodiments of the present application;
Fig. 5 is the flow diagram four of method of multicasting provided by the embodiments of the present application;
Fig. 6 is the flow diagram five of method of multicasting provided by the embodiments of the present application;
Fig. 7 is the structural schematic diagram one of VTEP provided by the embodiments of the present application;
Fig. 8 is the structural schematic diagram two of VTEP provided by the embodiments of the present application;
Fig. 9 is the structural schematic diagram three of VTEP provided by the embodiments of the present application.
Specific embodiment
Method of multicasting provided by the embodiments of the present application and VTEP are described in detail with reference to the accompanying drawing.
The terms "and/or", only a kind of incidence relation for describing affiliated partner, indicates that there may be three kinds of passes System, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, these three situations of individualism B.
Term " first " and " second " in the description of the present application and attached drawing etc. be for distinguishing different objects, or Person is used to distinguish the different disposal to same target, rather than is used for the particular order of description object.
In addition, the term " includes " being previously mentioned in the description of the present application and " having " and their any deformation, it is intended that It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further comprising the step of other are not listed or unit, or optionally It further include the other step or units intrinsic for these process, methods, product or equipment.
It should be noted that in the embodiment of the present application, " illustrative " or " such as " etc. words make example, example for indicating Card or explanation.Be described as in the embodiment of the present application " illustrative " or " such as " any embodiment or design scheme do not answer It is interpreted than other embodiments or design scheme more preferably or more advantage.Specifically, " illustrative " or " example are used Such as " word is intended to that related notion is presented in specific ways.
In the description of the present application, unless otherwise indicated, the meaning of " plurality " is refer to two or more.
Method of multicasting provided by the embodiments of the present application can be applied in communication system shown in FIG. 1.As shown in Figure 1, should Communication system may include: network cloud, and by above-mentioned network cloud, as (do not shown in Fig. 1 by the core equipment in network cloud Connected at least two VTEP out), such as VTEP1 and VTEP2.Wherein, every VTEP with a local virtual local area network (virtual local areanetwork, abbreviation VLAN) (not shown in figure 1) is connected.Wherein, VTEP1 may include BGP mould Block 11 and multicast forwarding module 12, BGP module 11 are mainly used for receiving the 3 classes routing of other VTEP transmission and the routing of 2 classes, or The routing of 3 classes and the routing of 2 classes that itself is sent to other VTEP, are such as carried on the Internet group pipe for the routing of above-mentioned 3 class and the routing of 2 classes It is received and dispatched in reason agreement (internet group management protocol, abbreviation IGMP) message.Multicast forwarding mould Block 12 is mainly used for the IP multicast message for forwarding VTEP1 to receive, or receives the IP multicast message of other VTEP forwarding, such as logical Network cloud is crossed, is forwarded between other VTEP of VTEP1 using forms such as unicast, multicast or unknown broadcast.
VTEP2 may include IGMP module 13 and BGP module 14.Wherein, IGMP module 13 be mainly used in VTEP2 and The terminal in native vlan network being connected with VTEP2, such as signaling is transmitted between personal computer, smart phone, such as receive The IGMP message of multicast group is added in the request that terminal in native vlan network is sent.
It should be noted that VTEP1 shown in FIG. 1 also may include IGMP module 13, VTEP2 included by VTEP2 It may include multicast forwarding module 12 included by VTEP1, the embodiment of the present application is without limitation.
In addition, VTEP1 shown in FIG. 1 and VTEP2 may belong to the same multicast group, different multicasts also may belong to Group, and the same VTEP can also belong to different multicast groups simultaneously, the embodiment of the present application is not construed as limiting.
It is appreciated that above-mentioned VTEP can apply that a multicast group is added, can also apply exiting the multicast group.
It should be noted that communication system shown in FIG. 1 can also include other VTEP in addition to VTEP1 and VTEP2, VTEP3 as shown in Figure 1.
As shown in Figure 1, it is assumed that VTEP1 (hereinafter referred to as local terminal VTEP) belongs to designated multicast group, i.e. VTEP1 is designated multicast The member VTEP of group.Below by taking designated multicast group is added in VTEP2 and VTEP3 (hereinafter referred to as distal end VTEP) application as an example, in detail Illustrate method of multicasting provided by the embodiments of the present application.
As shown in Fig. 2, the method for multicasting includes S201-S203:
S201, local terminal VTEP receive the 3 classes routing that distal end VTEP is sent, creation target broadcast, unknown unicast and multicast BUM Forwarding table.
Wherein, above-mentioned 3 class routing includes the internet-ip address of distal end VTEP, for establishing local terminal VTEP and distal end VTEP Between BGP EVPN neighborhood and BUM forwarding table.
As shown in Figure 1, local terminal VTEP may include BGP module and multicast forwarding module, distal end VTEP may include BGP mould Block and IGMP module, and local terminal VTEP is connected with distal end VTEP by respective BGP module.
Illustratively, the client in coupled native vlan network is received by its IGMP module in distal end VTEP After holding the IGMP information sent, distal end VTEP forwards above-mentioned IGMP information to local terminal VTEP by BGP module.Correspondingly, originally VTEP is held to receive the routing of 3 classes by its BGP module, so that the BGP EVPN neighbours established between local terminal VTEP and distal end VTEP are closed System and BUM forwarding table.Wherein, IGMP information carries above-mentioned 3 class routing.
For example, as shown in Figure 1, it is assumed that distal end VTEP is VTEP2, IP address are as follows: { 2.2.2.2 }, then local terminal VTEP root It is the BUM forwarding table of the IP address according to the 3 class Route establishment exit address: { outlet IP address 2.2.2.2 }.It needs to illustrate It is that above-mentioned outlet IP address can be one, or multiple.For example, above-mentioned BUM forwarding table: { outlet IP address 2.2.2.2;3.3.3.3}.Wherein, outlet IP address { 3.3.3.3 } can be other in addition to local terminal VTEP and distal end VTEP VTEP, the IP address of VTEP3 as shown in figure 1.
It is appreciated that working as distal end VTEP, IP address that local terminal VTEP is sent, carrying local terminal VTEP is received, such as When the 3 classes routing of { 1.1.1.1 }, the IP address that outlet IP address is local terminal VTEP can also be locally created at it in distal end VTEP BUM forwarding table wherein includes duplication table in BUM forwarding table, replicates the tunnel information including message forwarding in table, BUM forwarding table The establishment process of duplication table belong to the prior art, the embodiment of the present application repeats no more.
By the above method, every VTEP in above-mentioned multicast group can be the group outlet IP address be locally created Broadcast the BUM forwarding table of the IP address of other wholes VTEP in group in addition to this VTEP.
It is assumed that the IP address of above-mentioned multicast group is { 224.1.1.1 }.In the prior art, when local terminal VTEP receives purpose When IP address is not the IP multicast message of IP address { 224.1.1.1 } of above-mentioned multicast group, local terminal VTEP can turn according to above-mentioned BUM Outlet IP address in delivering, whole VTEP into the multicast group, in addition to local terminal VTEP forward the IP multicast message.
S202, local terminal VTEP receive the one 2 class routing that distal end VTEP is sent, and create corresponding multicast forward table, and will The corresponding tunnel information of duplication table of the IP address and BUM forwarding table of distal end VTEP is added in the duplication table of multicast forward table.
Wherein, designated multicast group is added for distal end VTEP request in the routing of the one 2 class, can be carried on IGMP and join message In.Wherein, the one 2 class routing includes: the VXLAN mark VNI and local virtual local area network VLAN mark of distal end VTEP, and refers to Determine the IP address of multicast group.
Illustratively, as shown in Figure 1, the IGMP that local terminal VTEP can receive distal end VTEP transmission by its BGP module adds Enter message.Wherein, IGMP information carries above-mentioned one 2 class routing.
For example it is assumed that the IGMP that said distal ends VTEP is sent joins message and carries VXLAN network belonging to the VTEP of distal end Mark (VXLAN Identifier, abbreviation VNI) 100, the native vlan mark 1000 being connected with distal end VTEP, distal end VTEP is asked Seek the MAC Address of the IP address { IP224.1.1.1 } of the multicast group of addition and the multicast group of distal end VTEP request addition { MAC01005E010101 }, then local terminal VTEP can join message the above- mentioned information of carrying according to IGMP, generate the one 2 class road By: { VNI 100, VLAN identify 1000, IP 224.1.1.1/32, MAC01005E010101/48 }.Wherein, 32 and 48 be to cover Code length.It is the prior art in view of mask-length, the embodiment of the present application repeats no more.
Then, local terminal VTEP can be routed according to the 3 classes routing received and above-mentioned one 2 class, established VXLAN multicast and turned It delivers.For example, local terminal VTEP can establish following VXLAN multicast forward table: { { VNI 100;VLAN 1000;IP 224.1.1.1};Next-hop 2.2.2.2 }.Wherein, { VNI 100;VLAN 1000;IP 224.1.1.1 } it is that VXLAN multicast turns The prefix delivered.
It wherein, include duplication table, the duplication with BUM forwarding table in the VXLAN multicast forward table that the embodiment of the present invention is established Table is created a mechanism using identical, and the corresponding tunnel information of duplication table of BUM forwarding table is added to VXLAN multicast forward table Duplication table in, tunnel information includes tunnel type and tunnel identifier.
So far, local terminal VTEP has learned that: distal end VTEP has been successfully joined designated multicast group, and local terminal VTEP is also at this Ground establishes VXLAN multicast forward table corresponding with distal end VTEP.
It is appreciated that local terminal VTEP also can receive other VTEP in addition to the distal end VTEP that the embodiment of the present invention is mentioned The routing of 3 classes and the routing of the one 2 class sent, establishes VXLAN multicast forward table corresponding with other above-mentioned VTEP, such as { { VNI 100;VLAN 1000;IP 224.1.1.1};Next-hop 2.2.2.2;3.3.3.3}.Wherein, next-hop ip address { 3.3.3.3 } For the IP address of other above-mentioned VTEP.
If the IP multicast message that S203, local terminal VTEP are received carries the IP address of designated multicast group, local terminal VTEP IP multicast message is forwarded to distal end VTEP according to the duplication table of multicast forward table.
Wherein, VXLAN multicast forward table includes: the VNI of distal end VTEP, native vlan mark and IP address, and specified The IP address of multicast group.
It illustratively, can be with if above-mentioned IP multicast message carries the IP address { IP224.1.1.1 } of designated multicast group According to { the next-hop 2.2.2.2 } in the VXLAN multicast forward table generated in S202, to distal end VTEP, as shown in Figure 1 VTEP2 forwards the IP multicast message, or according to { the next-hop 2.2.2.2 in the VXLAN multicast forward table generated in S202; 3.3.3.3 }, the IP multicast message is forwarded to distal end VTEP, VTEP2 and VTEP3 as shown in Figure 1.
Method of multicasting provided by the present application can be routed according to the routing of 3 classes and the one 2 class that distal end VTEP is sent, be established Include distal end VTEP IP address and designated multicast group IP address VXLAN multicast forward table, when local terminal VTEP is received IP multicast message when carrying the IP address of the designated multicast group, local terminal VTEP can be by the IP multicast message to distal end VTEP Forwarding, rather than into the designated multicast group in addition to local terminal VTEP whole VTEP forwarding, avoid to do not need receive should The VTEP of IP multicast message forwards the case where IP multicast message, can reduce the invalid IP group casting forwarded in the multicast group The quantity of text, reduces the ineffective occupation of network bandwidth, to improve the forward efficiency of whole network.
Optionally, as shown in figure 3, this method can also include S301:
If the IP multicast message that S301, local terminal VTEP are received does not carry the IP address of designated multicast group, local terminal VTEP All VTEP into the duplication table of BUM forwarding table forward IP multicast message.
Specifically, local terminal VTEP can be according to existing BUM forwarding table, into designated multicast group in addition to local terminal VTEP Whole VTEP forward IP multicast message.Same as the prior art in view of retransmission method described in S301, the embodiment of the present application is no longer It repeats.
Optionally, corresponding with S202, the VTEP of above-mentioned designated multicast group is had been added to, it, can also be with Shen such as distal end VTEP Please exit above-mentioned designated multicast group.Specifically, as shown in figure 4, this method can also include S401-S402:
S401, local terminal VTEP receive the routing of the 2nd 2 class.
Wherein, the routing of the 2nd 2 class leaves designated multicast group for distal end VTEP request, and the routing of the 2nd 2 class includes: distal end The VNI of VTEP, native vlan identify and the IP address of designated multicast group.
Specifically, local terminal VTEP receives the routing of the 2nd 2 class, can be local terminal VTEP reception and carries the routing of the 2nd 2 class IGMP leave message, and above-mentioned IGMP leave message is parsed, to generate the routing of the 2nd 2 class.
S402, local terminal VTEP are routed according to the 2nd 2 class, delete the IP address of the distal end VTEP in VXLAN multicast forward table.
Illustratively, if VNI and the VLAN mark and designated multicast group of the distal end VTEP that IGMP leave message carries IP address, identical as the content in the prefix of VXLAN multicast forward table respectively, then local terminal VTEP will be deleted corresponding with the prefix Next-hop ip address, the i.e. IP address { 2.2.2.2 } of distal end VTEP in deletion next-hop ip address.
If being appreciated that, VXLAN multicast forward table described in S202 is { { VNI 100;VLAN 1000;IP 224.1.1.1};Next-hop 2.2.2.2;3.3.3.3 }, then the next-hop IP in VXLAN multicast forward table is deleted in local terminal VTEP After { 2.2.2.2 } in address, local terminal VTEP received purpose IP address be { 224.1.1.1 } IP multicast message to VTEP3 forwarding, and no longer forwarded to VTEP2, to accomplish to forward IP multicast message with a definite target in view, to reduce in designated multicast The number of forwarding IP multicast message, can be improved the efficiency of forwarding IP multicast message in group.
Other than E-Packeting between the member VTEP in designated multicast group, it is also possible to need in designated multicast group It E-Packets between member VTEP and the VTEP (hereinafter referred to as non-member VTEP) for being not belonging to designated multicast group.Optionally, One 2 classes routing further include: the MAC address of designated multicast group.Correspondingly, as shown in figure 5, this method can be with Including S501-S502:
S501, local terminal VTEP send the routing of the 3rd 2 class to distal end VTEP.
Wherein, the 3rd 2 class routing includes: public network multicast services interface (Provider Network Multicast Service Interface, abbreviation PMSI) attribute, the MAC Address for arranging multicast tree and multicast group IP address, and use It is different from the MAC Address of multicast group in the MAC Address of agreement multicast tree.Wherein, PMSI attribute includes: tunnel type and tunnel mark Know symbol.
It should be noted that for arrange multicast tree MAC Address it is different from the MAC Address of designated multicast group, be in order to Distinguish the 2 classes routing that designated multicast group is added and the 2 classes routing for arranging multicast tree.For example, 2 classes of designated multicast group are added The MAC Address that routing includes can be the MAC Address of designated multicast group, and the MAC Address for being used to arrange multicast tree can be 0. In practical application, the MAC Address for arranging multicast tree may be the other values different from the MAC Address of designated multicast group, As long as the two value is different, can distinguish can.
S502, local terminal VTEP modify the corresponding multicast tree of multicast forward table according to PMSI attribute.
Specifically, as shown in fig. 6, S502 local terminal VTEP modifies the corresponding multicast tree of multicast forward table according to PMSI attribute, May include S601:
S601, local terminal VTEP are established using local terminal VTEP as tree root, according to the corresponding tunnel information of PMSI attribute with distal end VTEP is the new multicast tree of leaf, and known multicast forward table is switched to new multicast tree.
The embodiment of the present application can carry out the division of functional module or functional unit according to above method example to VTEP, For example, each functional module of each function division or functional unit can be corresponded to, it can also be by two or more function It can be integrated in a processing module.Above-mentioned integrated module both can take the form of hardware realization, can also use software Functional module or the form of functional unit are realized.It wherein, is signal to the division of module or unit in the embodiment of the present application Property, only a kind of logical function partition, there may be another division manner in actual implementation.
Fig. 7 shows the virtual tunnel expansible local area network VXLAN termination endpoint VTEP involved in above-described embodiment A kind of possible structural schematic diagram.The VTEP includes receiving module 701, forwarding module 702 and memory module 703.
Wherein, receiving module 701 create target broadcast, unknown unicast for receiving the 3 classes routing of distal end VTEP transmission With multicast BUM forwarding table;Wherein, the routing of 3 classes includes the IP address of distal end VTEP.
Receiving module 701 is also used to receive the one 2 class routing of distal end VTEP transmission, creates corresponding multicast forward table, And the corresponding tunnel information of the duplication table of the IP address of distal end VTEP and BUM forwarding table is added to the duplication table of multicast forward table In;Wherein, designated multicast group is added for distal end VTEP request in the routing of the one 2 class, and the routing of the one 2 class includes: distal end VTEP VXLAN identifies the IP address of VNI, local virtual local area network VLAN mark and designated multicast group.
Forwarding module 702, if carrying the IP address of designated multicast group for the local terminal VTEP IP multicast message received, IP multicast message is then forwarded to distal end VTEP according to the duplication table of multicast forward table.
Memory module 703, for storing instruction and data.
Optionally, forwarding module 702, if being also used to the IP multicast message that local terminal VTEP is received does not carry designated multicast group IP address, then to BUM forwarding table duplication table in all VTEP forward IP multicast message.
Optionally, receiving module 701 are also used to receive the 2nd 2 class routing of distal end VTEP transmission;Wherein, the 2nd 2 class road By leaving designated multicast group for distal end VTEP request, the routing of the 2nd 2 class includes: VNI, native vlan mark and designated multicast The IP address of group;
Correspondingly, in conjunction with Fig. 7, as shown in figure 8, the VTEP can also include: processing module 704;
Wherein, processing module 704 are also used to be routed according to the 2nd 2 class, delete the distal end in the duplication table of multicast forward table The IP address of VTEP.
Optionally, forwarding module 702 are also used to send the routing of the 3rd 2 class to distal end VTEP;Wherein, the 3rd 2 class routing packet It includes: the IP address of public network multicast services interface PMSI attribute, the MAC Address for arranging multicast tree and multicast group, and for about The MAC Address for determining multicast tree is different from the MAC Address of multicast group;
Processing module 704 is also used to modify the corresponding multicast tree of multicast forward table according to PMSI attribute.
Optionally, processing module 704 are also used to according to the corresponding tunnel information of PMSI attribute, and foundation is with local terminal VTEP Known multicast forward table is switched to new multicast tree using distal end VTEP as the new multicast tree of leaf by tree root.
VTEP provided by the present application can be routed according to the routing of 3 classes and the one 2 class that distal end VTEP is sent, and foundation includes There is the VXLAN multicast forward table of the IP address of distal end VTEP and the IP address of designated multicast group, as the IP that local terminal VTEP is received When multicast message carries the IP address of the designated multicast group, local terminal VTEP can turn the IP multicast message to distal end VTEP Hair, rather than whole VTEP forwarding into the designated multicast group in addition to local terminal VTEP, avoid to not needing to receive the IP The VTEP of multicast message forwards the case where IP multicast message, can reduce the invalid IP multicast message forwarded in the multicast group Quantity, reduce the ineffective occupation of network bandwidth, to improve the forward efficiency of whole network.
Fig. 9 shows another possible structural schematic diagram of VTEP involved in above-described embodiment.The VTEP includes: Processor 901 and communication interface 902.Processor 901 is for carrying out control management to the movement of VTEP, for example, executing above-mentioned deposit The step of storing up module 703, the execution of processing module 704, and/or other processes for executing techniques described herein.Communication Interface 902 is used to support the communication of VTEP Yu other network entities, for example, executing above-mentioned receiving module 701, forwarding module 702 The step of execution.VTEP can also include memory 903 and bus 904, memory 903 be used for store VTEP program code and Data.
Wherein, above-mentioned processor 901 can be processor or controller in VTEP, and the processor or controller can be real Existing or execution combines various illustrative logic blocks, module and circuit described in present disclosure.The processor or Controller can be central processing unit, general processor, digital signal processor, specific integrated circuit, field-programmable gate array Column or other programmable logic device, transistor logic, hardware component or any combination thereof.It may be implemented or holds Row combines various illustrative logic blocks, module and circuit described in present disclosure.The processor can also be with It is to realize the combination of computing function, such as combine comprising one or more microprocessors, DSP and the combination of microprocessor etc..
Communication interface 902 can be transceiver, transmission circuit, communication interface and input/output interface in VTEP etc..
Memory 903 can be the memory in VTEP, which may include volatile memory, such as deposit at random Access to memory;The memory also may include nonvolatile memory, such as read-only memory, flash memory, hard disk or solid State hard disk;The memory can also include the combination of the memory of mentioned kind.
Bus 904 can be expanding the industrial standard structure (Extended Industry Standard Architecture, abbreviation EISA) bus etc..Bus 904 can be divided into address bus, data/address bus, control bus etc..For just It is only indicated with a thick line in expression, Fig. 9, it is not intended that an only bus or a type of bus.
The embodiment of the present application provides a kind of communication system, which may include VTEP, user equipment, server, The VTEP is sent to the data packet of user equipment for forwarding server, to execute mobile network provided by the embodiments of the present application UDP traffic congestion processing method.Above method embodiment specifically may refer to for the description of VTEP, user equipment, server With the associated description in Installation practice, details are not described herein again.
Through the above description of the embodiments, it is apparent to those skilled in the art that, for description It is convenienct and succinct, only the example of the division of the above functional modules, in practical application, can according to need and will be upper It states function distribution to be completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, to complete All or part of function described above.The specific work process of the system, apparatus, and unit of foregoing description, before can referring to The corresponding process in embodiment of the method is stated, details are not described herein.
The embodiment of the present application also provides a kind of computer readable storage medium, and finger is stored in computer readable storage medium It enables, when computer executes the instruction, which can execute network in method flow shown in above method embodiment and set Standby performed each step.
Wherein, computer readable storage medium, such as electricity, magnetic, optical, electromagnetic, infrared ray can be but not limited to or partly led System, device or the device of body, or any above combination.The more specific example of computer readable storage medium is (non-poor The list of act) it include: the electrical connection with one or more conducting wires, portable computer diskette, hard disk, random access memory (Random Access Memory, abbreviation RAM), read-only memory (Read-Only Memory, abbreviation ROM), erasable type can Program read-only memory (Erasable Programmable Read Only Memory, abbreviation EPROM), register, hard disk, Optical fiber, portable compact disc read-only memory (Compact Disc Read-only Memory, abbreviation CD-ROM), light are deposited Memory device, magnetic memory device or above-mentioned any appropriate combination or the calculating of any other form well known in the art Machine readable storage medium storing program for executing.A kind of illustrative storage medium is coupled to processor, to enable a processor to from the storage medium Information is read, and information can be written to the storage medium.Certainly, storage medium is also possible to the component part of processor.Processing Device and storage medium can be located at application-specific IC (Application Specific Integrated Circuit, Abbreviation ASIC) in.In the embodiment of the present application, computer readable storage medium can be it is any include or storage program it is tangible Medium, the program can be commanded execution system, device or device use or in connection.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Change or replacement within the technical scope of the present application should all be covered within the scope of protection of this application.Therefore, this Shen Protection scope please should be subject to the protection scope in claims.

Claims (10)

1. a kind of method of multicasting characterized by comprising
Virtually termination endpoint VTEP in the tunnel expansible local area network VXLAN receives the 3 classes routing that distal end VTEP is sent to local terminal, creates mesh Mark broadcast, unknown unicast and multicast BUM forwarding table;Wherein, the 3 class routing includes the IP address of the distal end VTEP;
The local terminal VTEP receives the one 2 class routing that the distal end VTEP is sent, and creates corresponding multicast forward table, and by institute The corresponding tunnel information of duplication table of the IP address and the BUM forwarding table of stating distal end VTEP is added to the multicast forward table It replicates in table;Wherein, designated multicast group, the one 2 class road is added for distal end VTEP request in the one 2 class routing By the VXLAN mark VNI, local virtual local area network VLAN mark and the designated multicast group that include: the distal end VTEP IP address;
If the IP multicast message that the local terminal VTEP is received carries the IP address of the designated multicast group, the local terminal VTEP forwards the IP multicast message to the distal end VTEP according to the duplication table of the multicast forward table.
2. method of multicasting according to claim 1, which is characterized in that further include:
If the IP multicast message that the local terminal VTEP is received does not carry the IP address of the designated multicast group, the local terminal All VTEPs of the VTEP into the duplication table of the BUM forwarding table forward the IP multicast message.
3. method of multicasting according to claim 1, which is characterized in that further include:
The local terminal VTEP receives the 2nd 2 class routing that the distal end VTEP is sent;Wherein, the 2nd 2 class routing is used for institute State distal end VTEP request and leave the designated multicast group, the 2nd 2 class routing include: the VNI, native vlan mark and The IP address of the designated multicast group;
The local terminal VTEP is routed according to the 2nd 2 class, deletes the distal end in the duplication table of the multicast forward table The IP address of VTEP.
4. method of multicasting according to any one of claim 1-3, which is characterized in that further include:
The local terminal VTEP sends the routing of the 3rd 2 class to the distal end VTEP;Wherein, the 3rd 2 class routing includes: public network group The IP address of service interface PMSI attribute, the MAC Address for arranging multicast tree and the multicast group is broadcast, and described for arranging The MAC Address of multicast tree is different from the MAC Address of the multicast group;
The local terminal VTEP modifies the corresponding multicast tree of the multicast forward table according to the PMSI attribute.
5. method of multicasting according to claim 4, which is characterized in that the local terminal VTEP is repaired according to the PMSI attribute Change the corresponding multicast tree of the multicast forward table, comprising:
The local terminal VTEP is established according to the corresponding tunnel information of the PMSI attribute using the local terminal VTEP as tree root, with institute The new multicast tree that distal end VTEP is leaf is stated, the known multicast forward table is switched to the new multicast tree.
The endpoint VTEP 6. a kind of virtual tunnel expansible local area network VXLAN terminates characterized by comprising receiving module and turn Send out module;Wherein,
The receiving module, for receiving the 3 classes routing of distal end VTEP transmission, creation target broadcast, unknown unicast and multicast BUM Forwarding table;Wherein, the 3 class routing includes the IP address of the distal end VTEP;
The receiving module is also used to receive the one 2 class routing that the distal end VTEP is sent, creates corresponding multicast forwarding Table, and the corresponding tunnel information of duplication table of the IP address of the distal end VTEP and the BUM forwarding table is added to described group It broadcasts in the duplication table of forwarding table;Wherein, designated multicast group, institute is added for distal end VTEP request in the one 2 class routing State the one 2 class routing include: the distal end VTEP VXLAN mark VNI, local virtual local area network VLAN mark and it is described The IP address of designated multicast group;
The forwarding module, if carrying the IP of the designated multicast group for the local terminal VTEP IP multicast message received Address then forwards the IP multicast message to the distal end VTEP according to the duplication table of the multicast forward table.
7. VTEP according to claim 6, which is characterized in that
The forwarding module, if being also used to the IP multicast message that the local terminal VTEP is received does not carry the designated multicast group IP address, then all VTEP into the duplication table of the BUM forwarding table forward the IP multicast message.
8. VTEP according to claim 6, which is characterized in that further include: processing module;Wherein,
The receiving module is also used to receive the 2nd 2 class routing that the distal end VTEP is sent;Wherein, the 2nd 2 class routing The designated multicast group is left for distal end VTEP request, the 2nd 2 class routing includes: the VNI, native vlan mark The IP address of knowledge and the designated multicast group;
The processing module is deleted described remote in the duplication table of the multicast forward table for being routed according to the 2nd 2 class Hold the IP address of VTEP.
9. VTEP a method according to any one of claims 6-8, which is characterized in that
The forwarding module is also used to send the routing of the 3rd 2 class to the distal end VTEP;Wherein, the 3rd 2 class routing packet It includes: the IP address of public network multicast services interface PMSI attribute, the MAC Address for arranging multicast tree and the multicast group, and institute The MAC Address stated for arranging multicast tree is different from the MAC Address of the multicast group;
The processing module is also used to modify the corresponding multicast tree of the multicast forward table according to the PMSI attribute.
10. VTEP according to claim 9, which is characterized in that the local terminal VTEP modifies institute according to the PMSI attribute State the corresponding multicast tree of multicast forward table, comprising:
The processing module is also used to according to the corresponding tunnel information of the PMSI attribute, and establishing with the local terminal VTEP is tree The known multicast forward table is switched to the new multicast tree using the distal end VTEP as the new multicast tree of leaf by root.
CN201810995123.1A 2018-08-29 2018-08-29 Multicast method and VTEP Active CN109194560B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810995123.1A CN109194560B (en) 2018-08-29 2018-08-29 Multicast method and VTEP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810995123.1A CN109194560B (en) 2018-08-29 2018-08-29 Multicast method and VTEP

Publications (2)

Publication Number Publication Date
CN109194560A true CN109194560A (en) 2019-01-11
CN109194560B CN109194560B (en) 2021-06-22

Family

ID=64917071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810995123.1A Active CN109194560B (en) 2018-08-29 2018-08-29 Multicast method and VTEP

Country Status (1)

Country Link
CN (1) CN109194560B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110505152A (en) * 2019-09-11 2019-11-26 迈普通信技术股份有限公司 Route filtering method, device and electronic equipment
CN111083034A (en) * 2019-12-24 2020-04-28 浪潮思科网络科技有限公司 Method, equipment and medium for managing VXLAN tunnel under EVPN
CN111371667A (en) * 2019-10-23 2020-07-03 上海科技网络通信有限公司 LTE VPDN networking method based on VxLAN technology under cloud computing environment
CN111970201A (en) * 2020-08-28 2020-11-20 迈普通信技术股份有限公司 Multi-chip cascade forwarding system and forwarding control method
CN112688887A (en) * 2020-12-23 2021-04-20 新华三技术有限公司 Tunnel configuration method and node equipment
CN113472667A (en) * 2021-06-29 2021-10-01 新华三信息安全技术有限公司 Message forwarding method, device, node equipment and storage medium
CN115987912A (en) * 2022-12-21 2023-04-18 迈普通信技术股份有限公司 Message forwarding control method, device, equipment and storage medium
WO2024021764A1 (en) * 2022-07-25 2024-02-01 中兴通讯股份有限公司 Routing forwarding method, electronic device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104410560A (en) * 2014-11-27 2015-03-11 盛科网络(苏州)有限公司 Method for realizing BUM packet forwarding through NVGRE unicast
CN105262667A (en) * 2015-09-17 2016-01-20 杭州数梦工场科技有限公司 Method and device for controlling multicast transmission in Overlay network
CN105553848A (en) * 2014-10-22 2016-05-04 瞻博网络公司 Protocol independent multicast sparse mode (pim-sm) support for data center interconnect
JP2017034431A (en) * 2015-07-31 2017-02-09 日本電信電話株式会社 Communication system and communication method
CN106656722A (en) * 2016-12-12 2017-05-10 杭州迪普科技股份有限公司 VXLAN multicasting method and device
CN107612809A (en) * 2017-10-31 2018-01-19 新华三技术有限公司 A kind of multicast list synchronous method and equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105553848A (en) * 2014-10-22 2016-05-04 瞻博网络公司 Protocol independent multicast sparse mode (pim-sm) support for data center interconnect
CN104410560A (en) * 2014-11-27 2015-03-11 盛科网络(苏州)有限公司 Method for realizing BUM packet forwarding through NVGRE unicast
JP2017034431A (en) * 2015-07-31 2017-02-09 日本電信電話株式会社 Communication system and communication method
CN105262667A (en) * 2015-09-17 2016-01-20 杭州数梦工场科技有限公司 Method and device for controlling multicast transmission in Overlay network
CN106656722A (en) * 2016-12-12 2017-05-10 杭州迪普科技股份有限公司 VXLAN multicasting method and device
CN107612809A (en) * 2017-10-31 2018-01-19 新华三技术有限公司 A kind of multicast list synchronous method and equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
A. SAJASSI, ED,等: "A Network Virtualization Overlay Solution Using Ethernet VPN (EVPN)", 《WWW.RFC-EDITOR.ORG》 *
R. AGGARWAL,等: "BGP Encodings and Procedures for Multicast in MPLS/BGP IP VPNs", 《WWW.RFC-EDITOR.ORG》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110505152A (en) * 2019-09-11 2019-11-26 迈普通信技术股份有限公司 Route filtering method, device and electronic equipment
CN111371667A (en) * 2019-10-23 2020-07-03 上海科技网络通信有限公司 LTE VPDN networking method based on VxLAN technology under cloud computing environment
CN111083034A (en) * 2019-12-24 2020-04-28 浪潮思科网络科技有限公司 Method, equipment and medium for managing VXLAN tunnel under EVPN
CN111970201A (en) * 2020-08-28 2020-11-20 迈普通信技术股份有限公司 Multi-chip cascade forwarding system and forwarding control method
CN112688887A (en) * 2020-12-23 2021-04-20 新华三技术有限公司 Tunnel configuration method and node equipment
CN113472667A (en) * 2021-06-29 2021-10-01 新华三信息安全技术有限公司 Message forwarding method, device, node equipment and storage medium
CN113472667B (en) * 2021-06-29 2022-06-21 新华三信息安全技术有限公司 Message forwarding method, device, node equipment and storage medium
WO2024021764A1 (en) * 2022-07-25 2024-02-01 中兴通讯股份有限公司 Routing forwarding method, electronic device and storage medium
CN115987912A (en) * 2022-12-21 2023-04-18 迈普通信技术股份有限公司 Message forwarding control method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN109194560B (en) 2021-06-22

Similar Documents

Publication Publication Date Title
CN109194560A (en) Method of multicasting and VTEP
US11716262B2 (en) Control method, apparatus, and system for collecting traffic statistics
EP3193477B1 (en) Data plane learning of bi-directional service chains
EP3694163B1 (en) Method and device for implementing multicast service
JP6544401B2 (en) PACKET TRANSFER DEVICE, CONTROL DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PROGRAM
EP2378720A1 (en) Extranet networking method, system and device for multicast virtual private network
CN109194559B (en) Multicast method and VTEP device
CN106209688B (en) Cloud data multicast methods, devices and systems
CN103748835A (en) Dynamic updating of a label switched path
CN106357542B (en) The method and software defined network controller of multicast service are provided
CN109412949B (en) Data message transmission method and device
CN102571375B (en) Multicast forwarding method and device as well as network device
CN109561022A (en) A kind of multicast forward method and multicast router
CN103685032B (en) Message forwarding method and network address translation services device
WO2022068484A1 (en) Service chain address pool slicing method, device and system
US7548966B2 (en) Multi-layer user management method for multicasting proxy
CN114143795B (en) Local area network networking method and system based on 5G network
CN107294857B (en) Multicast distribution processing method, device and system
CN110351394A (en) Processing method and processing device, computer installation and the readable storage medium storing program for executing of network data
CN111865805B (en) Multicast GRE message processing method and system
EP3968584A1 (en) Method and apparatus for implementing multicasting
CN114221895A (en) Data transmission method, device and network equipment
CN108512671A (en) A kind of outer layer multicast ip address distribution method and device
CN114006780A (en) Method, equipment and system for forwarding message
CN114697300B (en) Data multicast realization method of high-timeliness communication system

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