WO2014205784A1 - 一种在nvo3网络中处理组播报文的方法、装置和nvo3网络 - Google Patents

一种在nvo3网络中处理组播报文的方法、装置和nvo3网络 Download PDF

Info

Publication number
WO2014205784A1
WO2014205784A1 PCT/CN2013/078386 CN2013078386W WO2014205784A1 WO 2014205784 A1 WO2014205784 A1 WO 2014205784A1 CN 2013078386 W CN2013078386 W CN 2013078386W WO 2014205784 A1 WO2014205784 A1 WO 2014205784A1
Authority
WO
WIPO (PCT)
Prior art keywords
multicast message
multicast
port
nve
network
Prior art date
Application number
PCT/CN2013/078386
Other languages
English (en)
French (fr)
Inventor
郝卫国
厉益舟
李振斌
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201380000655.2A priority Critical patent/CN105264834B/zh
Priority to EP13888499.4A priority patent/EP3001609B1/en
Priority to PCT/CN2013/078386 priority patent/WO2014205784A1/zh
Publication of WO2014205784A1 publication Critical patent/WO2014205784A1/zh
Priority to US14/980,649 priority patent/US9768968B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1886Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with traffic restrictions for efficiency improvement, e.g. involving subnets or subdomains
    • 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/74Address processing for routing

Definitions

  • the present invention relates to the field of communications, and in particular, to network virtualization based on a three-layer network (English: network virtualization ization over layer 3 , abbreviation : NV03 ) Method, device, and NV03 network for processing multicast messages in the network. Background technique
  • NV03 can implement a Layer 2 virtual private network (English: virtual private network, abbreviation: VPN), virtual extended local area network (VXLAN) and network virtualization general routing encapsulation through MAC in IP encapsulation (English: virtual private network, abbreviation: VXLAN) : network virtualization generic routing encapsulation, abbreviation: NVGRE ) is two typical technologies for implementing NV03 networking.
  • VXLAN and NVGRE respectively enable Layer 2 packets in different VPNs to be transmitted across Layer 3 IP networks through MAC In UDP and MAC In GRE encapsulation.
  • the VXLAN and NVGRE tunnel encapsulations also include 24-bit virtual overlay networks. Network, abbreviated: VN) (VN ID). By encapsulating the VN ID in the packet, traffic isolation can be achieved between different virtual overlay networks.
  • a tenant in the data center can correspond to one or more virtual overlay networks.
  • the edge device of the VN is called the network virtual edge (English: network virtualization edge, NVE). Its main function is to add the tenant end system (English: tenant end system, abbreviation: TES) to the virtual overlay network.
  • the NVE can pass the VN.
  • the ID isolates traffic within different virtual overlay networks.
  • the NVE stores a multicast and unicast forwarding table for each virtual overlay network. For multicast traffic sent by the local TES (including unknown unicast, broadcast, and multicast, collectively referred to as multicast), according to local multicast.
  • the forwarding table is copied and sent to other TESs, and is replicated and forwarded to other remote NVEs according to the network-side multicast forwarding table corresponding to the virtual overlay network of the TES; when the multicast packets are sent to the remote NVE, the packets can be forwarded.
  • Head node replication or multicast hop-by-hop replication is encapsulated in unicast NV03.
  • the destination IP address of the tunnel is the IP address of the destination NVE.
  • the multicast replication mode is used.
  • the tunnel destination IP address is the multicast IP address. .
  • the correspondence between the VN and the multicast IP address is preset by the network administrator on each NVE.
  • the unicast packets sent by the TES are forwarded to the local TES or the remote NVE by using the unicast forwarding table.
  • the unicast packets are unicast NV03 encapsulation.
  • FIG. 1 is a schematic structural diagram of a NV03 network in the prior art.
  • Each TES accesses the VN through its own NVE.
  • the TES can access the network through multiple NVEs.
  • TES1 accesses the NV03 network through port 1 of NVE1 and port 2 of NVE2.
  • NVE1 and NVE2 connected to TES1 are called multi-homed NVE
  • port 1 of NVE1 and port 2 of NVE2 form a link aggregation group (English: l ink aggregation group, LAG for short);
  • TES 1 is called multi-homed TES;
  • NVE other than NVE is called the far-end NVE of multi-homed NVE.
  • the access mode is called multi-active (English: al l-active or active-active) access.
  • the multi-homing TES receives multiple multicast packets sent by the remote NVE.
  • the multi-homing NVE can provide a horizontal splitting mechanism to avoid the packets sent by the multi-homed TES through the NV03 network and loop back to the multi-homed TES.
  • the prior art provides a horizontal splitting method.
  • the multi-homed NVE is configured with an IP address for each LAG, as the source IP address when the multi-homed NVE sends a packet through the port in the LAG, and the multi-homed NVE Record the correspondence between the LAG and the IP address of the P.
  • the NVEs in the NV03 network advertise each other's LAG and IP address correspondences. Each NVE records the correspondence between other NVE LAGs and IP addresses.
  • the first NVE After receiving the multicast message sent by the second NVE, the first NVE searches for the correspondence between the LAG and the IP address of the first NVE record according to the source IP address in the multicast message, if the source IP address does not correspond to The LAG, the first NVE copies the multicast packet to all local ports corresponding to the VN ID according to the VN ID in the multicast packet; if the source IP address has a corresponding LAG, and the If the NVE belongs to the same LAG as the second NVE, the first NVE does not copy the multicast packet to the local port corresponding to the LAG.
  • the local port refers to the port that connects to the TES.
  • the present invention provides a method, a device, and an NV03 network for processing a multicast packet in an NV03 network, which is used to solve the problem of waste of IP address and degradation of forwarding performance caused by a TES multi-access scenario.
  • a first aspect of the present invention provides a method for processing a multicast packet in a network virtualization NV03 network based on a Layer 3 network, where the method includes: Receiving the first multicast packet;
  • the sender of the first multicast packet is the local multi-homing tenant terminal system (TES)
  • the ingress port of the first multicast packet and the VLAN ID of the virtual local area network are obtained, according to the ingress port and the The VLAN ID is obtained, and the virtual overlay network identifier VN ID of the multicast packet is obtained;
  • the ingress port Determining whether the ingress port is a designated forwarder DF of the VN ID; if the ingress port is a DF of the VN ID, encapsulating an extended NV03 header for the first multicast packet; The first multicast packet encapsulating the extended NV03 header is sent to the other NVEs; the extended NV03 header carries the VN ID of the first multicast packet and the link aggregation group identifier LAG ID corresponding to the ingress port.
  • the determining whether the ingress port is the designated forwarder DF of the VN ID comprises: according to the ingress port and the VN of the first multicast packet The ID looks up the DF table, and determines whether the ingress port is the DF of the VN ID of the first multicast message, and the DF table includes a VN ID, a port and a DF flag.
  • the method further includes: receiving a second multicast packet, where If the sender of the second multicast packet is the network virtual edge NVE, the second multicast packet is decapsulated by the NV03, and the second packet is obtained from the NV03 header of the second multicast packet.
  • the VN ID of the multicast packet If the sender of the second multicast packet is the network virtual edge NVE, the second multicast packet is decapsulated by the NV03, and the second packet is obtained from the NV03 header of the second multicast packet.
  • the VN ID of the multicast packet the local multicast forwarding entry corresponding to the VN ID of the second multicast packet is obtained, and the egress port in the local multicast forwarding entry is obtained; determining whether the egress port is
  • the DF of the VN ID of the second multicast packet processes the decapsulated second multicast packet according to the determination result.
  • the second aspect of the present invention provides an apparatus for processing a multicast message in a network virtualization NV03 network based on a three-layer overlay network, where the apparatus includes:
  • a receiving module configured to receive the first multicast packet
  • a determining module configured to determine a sender of the first multicast packet, and when determining that the sender of the multicast packet is a local multi-homing TES, triggering a first virtual overlay network identifier VN ID acquiring module;
  • the first VN ID obtaining module is configured to obtain an ingress port of the first multicast packet and a VLAN ID of the virtual local area network, and obtain a VN ID of the multicast packet according to the ingress port and the VLAN ID. ;
  • a first determining module configured to determine whether the ingress port is a designated forwarder DF of the VN ID; and if the ingress port is not a DF of the VN ID, triggering a first sending module; a sending module, configured to encapsulate an extended NV03 header for the first multicast packet, and send the first multicast packet encapsulating the extended NV03 header to another NVE; the extended NV03 header carries the first VN of a multicast message The ID and the link aggregation group identifier LAG ID corresponding to the ingress port.
  • the determining module is specifically configured to: search the DF table according to the ingress port and the VN ID of the first multicast packet, and determine whether the ingress port is The DF of the VN ID of the first multicast message, the DF table includes a VN ID, a port and a DF tag.
  • the device further includes a second VN ID acquiring module, an egress port obtaining module, and a second judging module; the receiving module is further configured to receive the second multicast packet; the determining module is further configured to determine a sender of the second multicast packet, and determine to send the multicast packet.
  • the second VN ID acquisition module is triggered when the party is the network virtual edge NVE, and the second VN ID acquisition module is configured to perform NV03 decapsulation on the second multicast packet, from the second group.
  • the egress port obtaining module is configured to search for a local multicast forwarding entry corresponding to the VN ID of the second multicast packet, and obtain The egress port in the local multicast forwarding entry;
  • the second judging module is configured to determine whether the egress port is the DF of the VN ID of the second multicast packet, and according to the determination result, The decapsulated multicast packet is processed.
  • a third aspect of the present invention provides a network virtualization NV03 network based on a three-layer overlay network, where the NV03 network includes a multi-homed tenant terminal system TES, a first multi-homing network virtual edge NVE, and a second multi-homed NVE.
  • the multi-homing TES is respectively connected to the first multi-homed NVE and the second multi-homed NVE; the TES is used to send the first multicast packet;
  • the first multi-homed NVE is configured to receive the first multicast packet, determine the sender of the first multicast packet, and determine that the first multicast packet is sent by the multi-homed TES Obtaining the ingress port of the first multicast packet and the VLAN ID of the virtual local area network, and acquiring the virtuality of the first multicast packet according to the ingress port of the first multicast packet and the VLAN ID.
  • the overlay network identifies the VN ID; determines whether the ingress port is the designated forwarder DF of the VN ID of the first multicast packet; and the ingress port is not the DF of the VN ID of the first multicast packet.
  • the NV03 header is encapsulated for the first multicast packet, and the first multicast packet encapsulated with the extended NV03 header is sent to other NVEs including the second multi-homed NVE; the extended NV03 header
  • the VN ID of the first multicast packet and the link aggregation group identifier LAG ID corresponding to the ingress port are carried.
  • the first multi-homed NVE searches the DF table according to the ingress port and the VN ID of the first multicast packet, and determines whether the ingress port is The DF of the VN ID of the first multicast message, the DF table includes a VN ID, a port and a DF tag.
  • the method further includes: the second multi-homing NVE is used to send the first
  • the second multicast message is further configured to receive the second multicast packet, and perform NV03 decapsulation on the second multicast packet, where the second multicast packet is Obtaining the VN ID of the second multicast packet in the NV03 header; searching for the local multicast forwarding entry corresponding to the VN ID of the second multicast packet, and obtaining the egress port in the local multicast forwarding entry Determining whether the egress port is the DF of the VN ID of the second multicast packet, and processing the decapsulated second multicast packet according to the determination result.
  • a fourth aspect of the present invention provides an apparatus for processing a multicast message in a network virtualization NV03 network based on a three-layer overlay network, where the apparatus includes: a processor, a memory, a network interface, and a bus, the processor, The memory and the network interface are both connected to the bus; the memory is for storing program instructions; the processor is for reading program instructions stored on the memory, and the method of the third aspect of the invention is executed according to the program instructions.
  • the first multi-homed NVE when receiving the first multicast packet from the multi-homing TES, determines that the ingress port of the first multicast packet is not the VN carried in the multicast packet.
  • the DF of the ID does not forward the first multicast packet to the local port, and the multi-homed TES ring is prevented from reclaiming the first multicast packet sent by itself, and the original NV03 header is extended.
  • the original LAG ID can avoid the waste of IP addresses and improve forwarding efficiency.
  • FIG. 1 is a schematic structural diagram of a NV03 network in the prior art
  • FIG. 2 is a schematic structural diagram of an NV03 network according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a method for processing a multicast packet in an NV03 network according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of an apparatus for processing a multicast packet in an NV03 network according to an embodiment of the present invention
  • the embodiment of the present invention provides an NV03 network.
  • the NV03 network 20 includes a multi-homing TES 21 and a plurality of multi-homed NVEs. For example, the first multi-homed NVE 22a and the second multi-homing in the figure.
  • the NVE 22b, the multi-homed TES 21 is connected to the first multi-homed NVE 22a and the second multi-homed NVE 22b, respectively.
  • the first multi-homing TES is used to send the first multicast packet, and the first multicast packet includes all the packets that need to be sent in the NV03 network through the multicast mode, for example, a broadcast packet, a multicast packet, or Unknown unicast message.
  • the first multi-homed NVE 22a is configured to receive the first multicast packet, determine the sender of the first multicast packet, and determine that the first multicast packet is sent by the multi-homing TES Obtaining an ingress port and a VLAN ID of the first multicast packet, and acquiring a VN ID of the first multicast packet according to the ingress port of the first multicast packet and the VLAN ID; Determining whether the ingress port is the DF of the VN ID of the first multicast packet; if the ingress port is not the DF of the VN ID of the first multicast packet, the first multicast is The packet encapsulation extension NV03 header is sent to the first multicast packet that encapsulates the extended NV03 header to the other NVEs that include the second multi-homed NVE; the extended NV03 header carries the first multicast packet The VN ID of the text and the link aggregation group identifier LAG ID corresponding to the ingress port.
  • the first multi-homed NVE may send the first multicast packet encapsulated with the extended NV03 header to other NVEs by means of a head-end copy mode or a multicast hop-by-hop copy mode.
  • the first multi-homed NVE copies a packet for each destination NVE, and sends the copied packet to each destination NVE through the unicast NV03 tunnel, respectively, outside the NV03 tunnel.
  • the destination IP address is the unicast IP address of each destination NVE. If the multicast hop-by-hop mode is used, the first multi-homed NVE sends the packet to each destination NVE through the multicast NV03 tunnel.
  • the outer IP address of the NV03 tunnel is the multicast IP address.
  • the correspondence between the VN ID and the multicast IP address is preset on the first multi-homed NVE.
  • the LAG ID only needs to be unique on each NVE, and the LAG ID in the extended NV03 header is the LAG ID assigned on the destination NVE.
  • the TES is connected to the port 1 of the NVE1, the port 2 of the NVE2, and the port 3 of the NVE3, the port 1, the port 2, and the port 3 form a LAG
  • the NVE1 is the LAG assigned the identifier 10
  • the NVE2 is the The identifier assigned by the LAG is 20, and the identifier assigned by the NVE3 to the LAG is 30.
  • the LAG ID in the extended NV03 header is 20 and 30 respectively.
  • the LAG ID needs to be unique to the entire network. For the above case, NVE1.
  • NVE2 and NVE3 record the LAG ID as 10.
  • the first multi-homed NVE searches the DF table according to the ingress port and the VN ID of the first multicast packet, and determines whether the ingress port is the first multicast packet.
  • the specified forwarder DF of the VN ID When in the DF table If there is no entry corresponding to the VN ID of the first multicast packet and the inbound port, or the DF flag in the found entry indicates that the ingress port is not a DF, it is determined that the ingress port is not The DF of the VN ID.
  • the first multi-homed NVE is further configured to record link aggregation group information, where the link aggregation group information includes a link aggregation group identifier and a port included in the link aggregation group;
  • the link aggregation group information is negotiated with the second multi-homed NVE, and one port is selected from all ports of the link aggregation group as the DF of the VN ID of the multi-homing TES 21, and the negotiation result is recorded in the DF table;
  • the VN ID is used to identify the VN to which the multi-homed TES 21 belongs;
  • the DF table includes a VN ID, a port and a DF flag, and the DF flag is used to identify whether the port is a DF of a certain VN ID.
  • the link aggregation group information shown in FIG. 2 includes a link aggregation group whose LAG ID is LAG 1, and includes a first port and a second port.
  • the first multi-homed NVE is further configured to receive the second multicast packet sent by the second multi-homed NVE, perform NV03 decapsulation on the second multicast packet, and use the second multicast packet from the second multicast packet.
  • the VN ID of the second multicast packet is obtained in the NV03 header; the local multicast forwarding entry corresponding to the VN ID of the second multicast packet is searched, and the local multicast forwarding entry is obtained.
  • the port determines, by the port, whether the outbound port is a designated forwarder DF of the VN ID of the second multicast packet, and processing the decapsulated second multicast packet according to the determining result.
  • the determining that the egress port is not the DF of the VN ID of the second multicast packet the first multi-homing NVE is further configured to discard the decapsulated second multicast. Message.
  • the determining that the egress port is the DF of the VN ID of the second multicast packet the first multi-homing NVE is further used to determine the second multicast packet. And whether the egress port has the same LAG ID, and the LAG ID of the second multicast packet is obtained from the NV03 header of the second multicast packet.
  • the first multi-homed NVE is further configured to discard the decapsulated second multicast packet, where the second multicast packet and the egress port have the same LAG ID;
  • the first multi-homing NVE is further configured to forward the decapsulated second multicast packet by using the egress port.
  • the local multicast forwarding table and the DF table only include ports. When the port is a port for receiving packets, it is an ingress port. When the port is used to send packets, That is the outgoing port.
  • the ingress port and the egress port only distinguish the direction of the multicast packet, and do not affect the information in the local multicast forwarding table or the DF table.
  • the first multi-homed NVE when receiving the first multicast packet from the multi-homing TES, determines that the ingress port of the first multicast packet is not the VN carried in the multicast packet.
  • the DF of the ID does not forward the first multicast packet to the local port, and the multi-homed TES ring is prevented from reclaiming the first multicast packet sent by itself.
  • the embodiment of the present invention further provides a method for processing a multicast packet in an NV03 network, where the method is applied to the NV03 network shown in FIG. 2, and may be performed by any one of the multiple multi-homed NVEs.
  • FIG. 3 illustrates the first multi-homed NVE as an example.
  • the method 30 includes:
  • the first multi-homing NVE receives the multicast packet.
  • the multicast packet includes all the packets that need to be sent in the NV03 network through the multicast mode, for example, a broadcast packet, a multicast packet, or an unknown unicast packet.
  • the first multiple-homed NVE determines the sender of the multicast packet. If the sender of the multicast packet is another NVE, step 303 is performed, and the multicast packet is sent. If the local multi-homing TES is performed, step 310 is performed. In step 302, if the multicast packet is an NV03 encapsulated packet, the sender of the multicast packet is determined to be another NVE. If the multicast packet is an Ethernet packet without the NV03 encapsulation, and the ingress port of the multicast packet is a port in the LAG, the sender of the multicast packet is determined to be a multi-homing TES.
  • the other NVE is any NVE other than the first multi-homed NVE in the NV03 network, and may be a multi-homed NVE, or may be a normal NVE 303, and the first multi-homed NVE pairs the multicast report. Performing NV03 decapsulation, from the second multicast packet
  • the VN ID of the multicast packet is obtained in the NV03 header.
  • the NV03 header here includes both the normal NV03 header and the extended NV03 header.
  • the first multi-homed NVE searches for the local multicast forwarding entry corresponding to the VN ID, and obtains an egress port in the local multicast forwarding entry.
  • the local multicast forwarding table is pre-configured or generated on the NVE. As shown in Table 1, each local multicast forwarding entry includes the VN ID, port, and virtual local area network identifier (VLAN ID).
  • VLAN ID virtual local area network identifier
  • the port When the first multi-homed NVE receives a multicast packet from a certain port, the port is referred to as an ingress port, and when the first multi-homed NVE sends a multicast packet from a port, the port is It is called the out port. In this step, due to The multicast packet is received from other NVEs and needs to be sent to the TES of the first multi-homed NVE connection. Therefore, the port is called an egress port. After the first multi-homed NVE finds the local multicast forwarding entry, the egress port is obtained from the local multicast forwarding entry. The first multi-homed NVE encapsulates the corresponding VLAN ID for the multicast packet before sending the multicast packet that is decapsulated by the NV03 to the egress port in the local multicast forwarding entry.
  • the first multi-homed NVE determines whether the egress port is a DF of the VN ID, and processes the decapsulated multicast packet according to the determining result. And the processing, in the case that the egress port is the DF of the VN ID, performing step 307, where the egress port is not In the case of the DF of the VN ID, step 306 is performed.
  • the DF is determined by the first multi-homed NVE and the second multi-homed NVE (other one or more multi-homed NVEs whose ports belong to the same LAG as the port of the first NVE), or is determined by the administrator. Pre-configured.
  • the first multi-homed NVE searches the DF table according to the VN ID and the egress port, and determines whether the egress port is the DF of the VN ID according to the found DF entry.
  • the DF table is pre-configured on the first multi-homed NVE or pre-generated by the first multi-homed NVE.
  • the entries of the DF table include a VN ID, an outgoing port, and a DF flag. The DF flag is used to identify whether the egress port is a DF of the VN ID.
  • the DF table does not have an entry corresponding to the VN ID and the egress port, or the DF flag in the found entry indicates that the egress port is not a DF, it is determined that the egress port is not the VN. ID DF.
  • the first multi-homed NVE discards the decapsulated multicast packet.
  • the first multi-homed NVE discards the multicast packet on the egress port, that is, the first NVE does not send the multicast packet to the multi-homed TES connected to the egress port in the local multicast forwarding entry. .
  • the first multi-homed NVE determines whether the multicast packet and the egress port have the same LAG ID, and if the multicast packet and the egress port have the same LAG ID, perform Step 308: If the multicast packet and the egress port do not have the same LAG ID, perform step 309.
  • the LAG ID of the multicast packet is obtained from the NV03 header of the multicast packet.
  • the multicast packet and the egress port do not have the same LAG ID, and the specific The normal NV03 header with the LAG ID, or the LAG ID carried in the NV03 header is an invalid value, or the LAG ID carried in the NV03 header is different from the LAG ID of the outgoing port.
  • the LAG ID of the egress port is pre-configured.
  • the first multi-homed NVE discards the decapsulated multicast packet.
  • the multicast packet and the egress port have the same link aggregation group identifier, which indicates that the multicast packet is passed by other multi-homed NVEs that belong to the same link aggregation group as the first multi-homed NVE.
  • the multicast message of the multi-homed TES from the egress port is forwarded by the non-DF port of the VN ID, and the multicast message sent by the multi-homing TES is looped back to the multi-homing TES.
  • the first multi-homed NVE discards the multicast packet on the egress port, that is, the multicast packet is not forwarded through the egress port.
  • the first multi-homed NVE forwards the decapsulated multicast packet by using the egress port.
  • the multicast packet and the egress port have different link aggregation group identifiers, indicating that the multicast packet is not a multicast packet from the egress port, and the multicast packet is sent to the
  • the egress port does not cause the multi-homed TES loop of the egress port connection, and the first multi-homed NVE forwards the group by using the egress port because the egress port is the DF corresponding to the VN ID.
  • the broadcast message does not cause the multi-homed TES of the egress port to repeatedly receive the multicast packet.
  • the first multi-homed NVE obtains the inbound port and the VLAN ID of the multicast packet, and obtains the VN ID of the multicast packet according to the ingress port and the VLAN ID.
  • the multicast packet sent by the multi-homing TES is not encapsulated in the NV03. Therefore, the packet does not carry the VN ID.
  • the local multicast forwarding table can be searched based on the ingress port and VLAN ID of the multicast packet. The VN ID of the multicast packet.
  • the local multicast forwarding table in this step is shown in Table 1.
  • the port that receives the multicast packet is called an ingress port because the multicast packet is a packet received from the multi-homing TES.
  • the first multi-homed NVE determines whether the ingress port is the DF of the VN ID. If the ingress port is the DF of the VN ID, step 312 is performed, where the ingress port is not In the case of the DF of the VN ID, step 313 is performed.
  • the first multi-homed NVE searches the DF table according to the ingress port and the VN ID of the multicast packet, and determines whether the ingress port is the DF of the VN ID of the first multicast packet.
  • the DF table includes the VN ID, port and DF flag.
  • the DF table does not have an entry corresponding to the VN ID of the multicast packet and the ingress port, or the DF flag in the found entry indicates that the ingress port is not a DF, determining the ingress port Not the DF of the VN ID.
  • the first multi-homed NVE performs normal NV03 encapsulation on the multicast packet and sends the multicast packet to another NVE.
  • the ingress port is the DF of the VN ID, and the packet of the VN ID can be forwarded. Therefore,
  • the first multi-homed NVE encapsulates the VN ID in the NV03 header of the multicast packet and sends the VN ID to other NVEs.
  • the first multi-homing NVE may further send the multicast packet to the local device through the local port other than the ingress port according to the local multicast forwarding table, and send the multicast packet. More TES than TES.
  • the normal NV03 package in this embodiment means that only the VN ID is carried in the encapsulated NV03 header.
  • the first multi-homed NVE is configured to extend the NV03 header of the multicast packet, and send the multicast packet encapsulating the extended NV03 header to another NVE.
  • the extended NV03 header in this embodiment is an NV03 header carrying a VN ID and a LAG ID.
  • the LAG ID is a LAG ID of the LAG to which the ingress port belongs.
  • the extended NV03 header may further carry a flag bit, where the flag bit is used to indicate that the extended NV03 header carries the LAG ID.
  • the first multi-homed NVE cannot multicast the group to the local port, because the ingress port is not the DF of the VN ID, and the loop is generated on the TES of the multicast packet.
  • the message is broadcast, and the multicast message can only be sent to other NVEs. Therefore, the first multi-homed NVE encapsulates the VN ID and the LAG ID of the ingress port into the multicast packet, so as to receive the second multi-homed NVE of the multicast packet, and determine the second Whether the multi-homed NVE can multicast the multicast packet to the local port.
  • FIG. 3 includes various possible processing flows after the first multi-homed NVE receives the multicast message.
  • Figure 3 can be decomposed into the following processing flows.
  • Each process can independently form a method for processing multicast packets in the NV03 network:
  • the process A includes steps 301, 302, 310, 311 and 312 for processing the first multicast message, and the feature of the first multicast message can be obtained by describing the foregoing steps.
  • the process B includes steps 301, 302, 310, 311 and 313 for processing the second multicast message, and the feature of the second multicast message can be obtained by describing the foregoing steps.
  • the process C includes steps 301, 302, 303, 304, 305, and 306 for processing a third multicast message, and the feature of the third multicast message can be obtained by describing the foregoing steps.
  • Step 301, 302, 303, 304, 305, 307, and 308 are used to process the fourth multicast message, and the feature of the fourth multicast message can be obtained by describing the foregoing steps.
  • the process E includes steps 301, 302, 303, 304, 305, 307 and 309 for processing the fifth multicast message, and the feature of the fifth multicast message can be obtained by describing the foregoing steps.
  • the above first, second, third, fourth and fifth are for illustrative purposes only and are not intended to limit the order of multicast messages.
  • the foregoing process AE can process the multicast packet independently. Therefore, the method for processing the multicast packet in the NV03 network in the embodiment of the present invention only needs to include at least one of the foregoing processes. Just one. When one of the processes is selected to be protected, the steps in the other processes may be considered as alternative embodiments of the method described in the embodiments of the present invention.
  • the first multi-homed NVE when the first multi-homed NVE receives the first multicast packet, and determines that the sender of the first multicast packet is a local multi-homing TES, the first multicast packet is received. After performing steps 310, 311 and 313, other steps are optional.
  • the first multi-homed NVE receives the second multicast packet in addition to the first multicast packet, and then performs 303- according to the feature of the second multicast packet. One or more steps in 309.
  • the first multi-homed NVE when receiving the first multicast packet from the multi-homing TES, determines that the ingress port of the first multicast packet is not the VN carried in the multicast packet.
  • the DF of the ID does not forward the first multicast packet to the local port, and the multi-homed TES ring is prevented from reclaiming the first multicast packet sent by itself, and the original NV03 header is extended.
  • the original LAG ID can avoid the waste of IP addresses and improve forwarding efficiency.
  • the embodiment of the present invention further provides an apparatus for processing a multicast packet in an NV03 network, which is used to perform the method shown in FIG. 3.
  • the apparatus 40 includes: a receiving module 401, configured to receive Multicast packet.
  • the multicast packet includes all the packets that need to be sent in the NV03 network through the multicast mode, for example, a broadcast packet, a multicast packet, or an unknown unicast packet.
  • the determining module 402 is configured to determine the sender of the multicast packet, and determine that the sender of the multicast packet is
  • the second VN ID obtaining module 403 is triggered.
  • the first VN ID acquiring module 410 is triggered.
  • the determining module 402 is specifically configured to: when the multicast packet is a packet encapsulated by the NV03, determine that the sender of the multicast packet is another NVE, and the multicast packet is not NV03. In the case of the encapsulated Ethernet packet, and the ingress port of the multicast packet is a port in the LAG, the sender of the multicast packet is determined to be a multi-homing TES.
  • the other NVE is any NVE in the NV03 network, and may be a multi-homed NVE or a normal NVE.
  • the second VN ID obtaining module 403 is configured to perform NV03 decapsulation on the multicast packet, and obtain a VN ID of the second multicast packet from the NV03 header of the multicast packet.
  • the NV03 header here includes both the normal NV03 header and the extended NV03 header.
  • the egress port obtaining module 404 is configured to search for a local multicast forwarding entry corresponding to the VN ID of the multicast packet obtained by the second VN ID obtaining module, and obtain an egress port in the local multicast forwarding entry. .
  • the local multicast forwarding table as shown in the embodiment of FIG.
  • the second determining module 405 is configured to determine whether the egress port is the DF of the VN ID; In the case of the DF of the VN ID, the third determining module 407 is triggered to trigger the first discarding module 406 if the egress port is not the DF of the VN ID.
  • the DF is determined by the multiple multi-homed NVE negotiation or pre-configured by an administrator.
  • the second determining module 405 is specifically configured to: according to the VN ID and the egress port, find a DF table, and determine, according to the found DF entry, whether the egress port is a DF of the VN ID.
  • the entry of the DF table includes a VN ID, an egress port, and a DF tag.
  • the DF flag is used to identify whether the egress port is a DF of the VN ID.
  • the DF table does not have an entry corresponding to the VN ID and the egress port, or the DF flag in the found entry indicates that the egress port is not a DF, it is determined that the egress port is not the VN. ID DF.
  • the first discarding module 406 is configured to discard the decapsulated multicast packet under the trigger of the second determining module 405. The first discarding module 406 is in the case that the plurality of multi-homed NVEs of the VN ID forwards the multicast packet to the message repeating problem caused by the multi-homing TES.
  • the first discarding module 406 is The multicast packet is discarded on the egress port.
  • the third determining module 407 is configured to determine whether the multicast packet and the egress port have the same LAG ID, and trigger the second when the multicast packet and the egress port have the same LAG ID.
  • the discarding module 408 triggers the third sending module 409 if the multicast packet and the egress port do not have the same LAG ID.
  • the LAG ID of the multicast packet is obtained from the NV03 header of the multicast packet.
  • the multicast packet and the egress port do not have the same LAG ID, and the method includes: the NV03 header is a normal NV03 header that does not carry the LAG ID, or the LAG ID carried in the NV03 header is an invalid value, or The LAG ID carried in the NV03 header is different from the LAG ID of the egress port.
  • the LAG ID of the egress port is pre-configured.
  • the second discarding module 408 is configured to discard the decapsulated multicast packet under the trigger of the third determining module.
  • the multicast packet and the egress port have the same link aggregation group identifier, indicating that the multicast packet is a non-DF that passes through the VN ID by other multi-homed NVEs that belong to the same link aggregation group as the device.
  • the multi-homed TES multicast packet from the egress port is forwarded by the port; the second discarding module is configured to prevent the multicast packet sent by the multi-homing TES from being looped back to the multi-homing TES.
  • 408 The multicast packet is discarded on the egress port, that is, the multicast packet is not forwarded through the egress port.
  • the third sending module 409 is configured to forward the decapsulated multicast packet by using the egress port.
  • the multicast packet and the egress port have different link aggregation group identifiers, indicating that the multicast packet is not a multicast packet from the egress port, and the multicast packet is sent to the
  • the egress port does not cause the multi-homed TES loop of the egress port connection, and the third sending module 409 forwards the group by using the egress port because the egress port is the DF corresponding to the VN ID.
  • the broadcast message does not cause the multi-homed TES of the egress port to repeatedly receive the multicast packet.
  • the first VN ID obtaining module 410 is configured to obtain an ingress port and a VLAN ID of the multicast packet, and obtain a VN ID of the multicast packet according to the ingress port and the VLAN ID.
  • the multicast message sent by the multi-homing TES is not encapsulated by the NV03, so the packet header does not carry the VN ID.
  • the first VN ID obtaining module 410 can be based on the ingress port and the VLAN of the multicast packet. The ID looks up the local multicast forwarding table and obtains the VN ID of the multicast packet.
  • the local multicast forwarding table in this step is shown in Table 1.
  • the port that receives the multicast packet is called an ingress port because the multicast packet is a packet received from the multi-homing TES.
  • the first determining module 411 is configured to determine whether the ingress port is the DF of the VN ID, and if the ingress port is the DF of the VN ID, triggering the second sending module 412, at the ingress port In the case of the DF that is not the VN ID, the first transmitting module 413 is triggered.
  • the first determining module 411 searches the DF table according to the ingress port and the VN ID, and determines whether the ingress port is a DF of a VN ID of the multicast packet, where the DF table includes a VN ID, Port with DF tag.
  • the DF table does not have an entry corresponding to the VN ID of the first multicast packet and the ingress port, or the DF flag in the found entry indicates that the ingress port is not a DF. And determining that the ingress port is not the DF of the VN ID.
  • the second sending module 412 is configured to perform normal NV03 encapsulation on the multicast packet and send the packet to another NVE.
  • the ingress port is the DF of the VN ID, and the packet of the VN ID can be forwarded. Therefore, the second sending module 412 encapsulates the VN ID in the multicast packet. NV03 header is sent to other NVEs.
  • the second sending module 412 may further send the multicast packet to the local device through the local port other than the ingress port according to the local multicast forwarding table, and send the multicast packet. More TES than TES.
  • the normal NV03 package in this embodiment means that only the VN ID is carried in the encapsulated NV03 header.
  • the first sending module 413 is configured to encapsulate the extended NV03 header for the multicast packet, and send the multicast packet encapsulating the extended NV03 header to other NVEs.
  • the extended NV03 header in this embodiment is an NV03 header carrying a VN ID and a LAG ID.
  • the LAG ID is The LAG ID of the LAG to which the ingress port belongs.
  • the extended NV03 header may further carry a flag bit, where the flag bit is used to indicate that the extended NV03 header carries the LAG ID.
  • the first sending module 413 cannot multicast the multicast packet to the local port, because the ingress port is not the DF of the VN ID, and the loop is generated on the TES of the multicast packet.
  • the multicast packet can only be sent to other NVEs. Therefore, the first sending module 413 encapsulates the VN ID and the LAG ID of the ingress port into the multicast packet, so as to receive the multi-return NVE of the multicast packet, determine whether the multi-homed NVE is The multicast packet can be multicast to the local port.
  • FIG. 4 includes various possible modules that need to participate in processing the multicast packet after receiving the multicast packet by the device that processes the multicast packet in the NV03 network.
  • the modules in Figure 4 can be divided into the following groups, each of which can independently form a device for processing multicast packets in the NV03 network:
  • the group A including the modules 401, 402, 410, 411 and 412, is configured to process the first multicast message, and the feature of the first multicast message can be obtained by describing the module.
  • the group B comprising modules 401, 402, 410, 411 and 413, is configured to process the second multicast message, and the feature of the second group message can be obtained by describing the module.
  • the group C comprising modules 401, 402, 404, 404, 405 and 406, is configured to process the third multicast message, and the characteristics of the third multicast message can be obtained by describing the module.
  • the group D including the modules 401, 402, 404, 404, 405, 407 and 408, is configured to process the fourth multicast message, and the feature of the fourth multicast message can be obtained by describing the module.
  • the group E including modules 401, 402, 404, 404, 405, 407, and 409, is configured to process the fifth multicast packet, and the characteristics of the fifth multicast packet can be obtained by describing the foregoing module.
  • the above first, second, third, fourth and fifth are for illustrative purposes only and are not intended to limit the order of multicast messages.
  • the above-mentioned groups of modules may be called separately because different multicast messages are processed, and any calling manner of each group of modules may be within the protection scope of the present invention.
  • the apparatus for processing multicast packets in the NV03 network in the foregoing embodiment of the present invention only needs to include at least the foregoing groups of modules. Any one of them can be. When one of the modules is selected to be protected, the modules in the other groups are considered to be alternative embodiments of the apparatus described in the embodiments of the present invention.
  • the receiving module 401 receives the first multicast packet, and if the determining module 402 determines that the sender of the first multicast packet is a local multi-homing TES, triggering the first VN ID acquiring module. 410.
  • the first determining module 411 and the first sending module 413 perform corresponding operations.
  • the receiving module In addition to receiving the first multicast packet, the 401 receives the second multicast packet, and then invokes one or more of the modules 403-409 according to the characteristics of the second multicast packet.
  • FIG. 5 is a schematic structural diagram of another apparatus for processing a multicast packet in an NV03 network according to an embodiment of the present invention.
  • the apparatus for processing a multicast packet in an NV03 network is shown in FIG. 50 includes a processor 501, a memory 502, a network interface 503, and a bus 504.
  • the processor 501, the memory 502, and the network interface 503 are all connected to the bus 504.
  • the processor 501 is configured to receive a multicast packet by using the network interface 503, and perform one or more of the processes A-E in the method shown in FIG. 3 according to the characteristics of the multicast packet.
  • the above processing performed by the processor 501 is generally controlled by one or more software programs, and the program instructions of the one or more software programs are stored in the memory 502.
  • the processor 51 reads The program instructions are taken, and some or all of the steps in the method shown in FIG. 3 are performed in accordance with the program instructions.
  • the device when the device receives the first multicast packet from the multi-homing TES, the device determines that the ingress port of the first multicast packet is not the DF of the VN ID carried in the multicast packet.
  • the first multicast packet is not forwarded to the local port, and the multi-homed TES ring is prevented from reclaiming the first multicast packet sent by itself, and the original NV03 header is extended, and the original LAG ID is used. You can avoid the waste of IP addresses and improve forwarding efficiency.
  • the above embodiments of the present invention are based on the same inventive concept, and therefore, the same terms in the respective embodiments have the same meanings and can be referred to each other.
  • the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

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

本发明提供了一种在NVO3网络中处理组播报文的方法、装置和NVO3网络。所述第一多归NVE接收多归TES发送的第一组播报文,获取所述第一组播报文的入端口和虚拟局域网标识VLAN ID;根据所述第一组播报文的入端口以及所述VLAN ID获取所述第一组播报文的虚拟叠加网标识VN ID;确定所述入端口是否为所述第一组播报文的VN ID的指定转发者DF;在所述入端口不是所述第一组播报文的VN ID的DF情况下,为所述第一组播报文封装扩展NVO3头;将所述封装了扩展NVO3头的第一组播报文发送给包括所述第二多归NVE的其他NVE;所述扩展NVO3头中携带所述第一组播报文的VN ID以及所述入端口对应的链路聚合组标识LAG ID。本发明能够解决TES多活接入场景下引起的IP地址浪费的问题。

Description

一种在 NV03网络中处理组播报文的方法、 装置和 NV03网络 技术领域 本发明涉及通信领域,尤其涉及一种在基于三层网络的网络虚拟化(英文: network virtual ization over layer 3 , 缩写: NV03 ) 网络中处理组播报文的方法、 装置和 NV03 网络。 背景技术
NV03 能够通过 MAC in IP 封装实现二层虚拟专用网 (英文: virtual private network, 缩写: VPN), 虚拟扩展局域网 (英文: virtual extensible local area network, 缩写: VXLAN)和网络虚拟化通用路由封装(英文: network virtualization generic routing encapsulation, 缩写: NVGRE ) 是实现 NV03组网的两种典型技术。 VXLAN和 NVGRE分别通过 MAC In UDP 和 MAC In GRE封装使不同 VPN内的二层报文能够跨三层 IP网络进行传输, VXLAN和 NVGRE 隧道封装中还分别包括 24bit的虚拟叠加网 (英文: virtual overlay network, 缩写: VN) 标识 (VN ID), 通过给报文中封装 VN ID, 不同虚拟叠加网之间能够实现流量隔离。 数据中心中一个租户可以对应一个或多个虚拟叠加网。
VN的边缘设备称为网络虚拟边缘 (英文: network virtual ization edge , 缩写: NVE ) , 其主要功能就是将租户终端系统 (英文: tenant end system, 缩写: TES ) 加入 虚拟叠加网, NVE能够通过 VN ID隔离不同虚拟叠加网内的流量。 NVE存储有每个虚拟 叠加网有对应的组播和单播转发表,对于本地 TES发送过来的组播流量(包括未知单播、 广播和组播, 这里统称为组播), 根据本地组播转发表, 向其它 TES复制发送, 根据所 述 TES的虚拟叠加网对应的网络侧组播转发表, 向其它远端 NVE进行复制转发; 组播报 文在向远端 NVE发送的时候, 可以通过头结点复制或组播逐跳复制两种方式, 头结点复 制方式采用单播 NV03封装, 隧道的目的 IP为目的 NVE的 IP地址, 采用组播复制方式, 隧道目的 IP为组播 IP地址。 VN和组播 IP地址的对应关系由网络管理员在每个 NVE上 预先设定。 NVE对于 TES发送的单播报文,通过查找单播转发表, 向本地 TES或远端 NVE 进行转发, 在向远端 NVE转发的时候, 需要进行所述单播报文进行单播 NV03封装。
如图 1所示, 为现有技术中 NV03网络的结构示意图。 其中, 各 TES分别通过各自 的 NVE接入 VN。 为了保证 TES的可靠性, 可以将 TES通过多个 NVE接入网络。 如图 1 中, TES1分别通过 NVE1的端口 1和 NVE2的端口 2接入 NV03网络。 这种接入方式被称 为多归接入, 连接 TES1的 NVE1和 NVE2被称为多归 NVE, NVE1的端口 1和 NVE2的端口 2构成跨设备的链路聚合组 (英文: l ink aggregation group, 简称: LAG); TES 1被称 为多归 TES; 多归 NVE之外的 NVE, 被称为多归 NVE的远端 NVE。 当所述多个多归 NVE 均能转发多归 TES 的报文时, 这种接入方式被称为多活 (英文: al l-active 或 active-active ) 接入。
在多活接入场景下, 对于 VN内的组播报文, 需要做到:
1、 各多归 NVE在向本地端口复制转发远端 NVE发送的组播报文时, 避免多归 TES 收到多份远端 NVE发送的组播报文; 以及
2、各多归 NVE之间能够提供水平分割机制,以避免将多归 TES发送的报文经过 NV03 网络又环回到该多归 TES。
现有技术提供了一种水平分割方法, 多归 NVE为每个 LAG分别配置一个 IP地址, 作为该多归 NVE通过所述 LAG中的端口发送报文时的源 IP地址, 所述多归 NVE记录所 述 LAG禾 P IP地址的对应关系。 NV03网络中的 NVE之间彼此通告每个 NVE的 LAG禾口 IP 地址的对应关系, 每个 NVE都记录其他 NVE的 LAG和 IP地址的对应关系。
当第一 NVE收到第二 NVE发送的组播报文后, 根据所述组播报文中的源 IP地址查 找所述第一 NVE记录的 LAG与 IP地址的对应关系, 如果该源 IP地址没有对应的 LAG, 则所述第一 NVE根据所述组播报文中的 VN ID向所有对应所述 VN ID的本地端口复制所 述组播报文; 如果该源 IP地址存在对应的 LAG, 并且所述第一 NVE与所述第二 NVE属于 同一 LAG, 则所述第一 NVE不向所述 LAG对应的本地端口复制所述组播报文。 其中, 所 述本地端口是指连接 TES的端口。
经过研究发现, 上述水平分割方法中多归 NVE需要为每个 LAG分配 IP地址, 如果 网络中 LAG数目很多, 会造成 IP地址的浪费, 并且, 每个多归 NVE需要针对每个其它 多归 NVE的 IP地址进行是否属于同一个 LAG的判断, 如果多归 NVE数目很多, 会降低 报文的转发效率。 发明内容
本发明提供了一种在 NV03网络中处理组播报文的方法、 装置和 NV03网络, 用于解决 TES多活接入场景下引起的 IP地址浪费、 转发性能降低的问题。
本发明第一方面提供了一种在基于三层网络的网络虚拟化 NV03网络中处理组播报 文的方法, 所述方法包括: 接收第一组播报文;
在所述第一组播报文的发送方为本地多归租户终端系统 TES的情况下, 获取所述第 一组播报文的入端口及虚拟局域网标识 VLAN ID, 根据所述入端口和所述 VLAN ID, 获取 所述组播报文的虚拟叠加网标识 VN ID;
确定所述入端口是否为所述 VN ID的指定转发者 DF; 在所述入端口为所述 VN ID的 DF的情况下, 为所述第一组播报文封装扩展 NV03头; 将所述封装了扩展 NV03头的第一组播报文发送给其他 NVE; 所述扩展 NV03头中携带所述 第一组播报文的 VN ID以及所述入端口对应的链路聚合组标识 LAG ID。
在所述第一方面的第一种实现方式中, 所述确定所述入端口是否为所述 VN ID的指定转发 者 DF包括: 根据所述入端口和所述第一组播报文的 VN ID查找 DF表, 确定所述入端口是 否为所述第一组播报文的 VN ID的 DF, 所述 DF表包括 VN ID, 端口与 DF标记。 基于所述第一方面或所述第一方面的第一种实现方式,在所述第一方面的第二种实 现方式中, 所述方法还包括: 接收第二组播报文, 在所述第二组播报文的发送方为网络虚拟边缘 NVE的情况下, 对所述第二组播报文进行 NV03解封装, 从所述第二组播报文的 NV03头中获取所述第二组 播报文的 VN ID; 查找所述第二组播报文的 VN ID对应的本地组播转发表项, 获取所述本 地组播转发表项中的出端口; 确定所述出端口是否为所述第二组播报文的 VN ID的 DF, 根据所述确定结果对所述解封装后的第二组播报文进行处理。
本发明第二方面提供了一种在基于三层叠加网的网络虚拟化 NV03网络中处理组播 报文的装置, 所述装置包括:
接收模块, 用于接收第一组播报文;
确定模块, 用于确定所述第一组播报文的发送方, 当确定所述组播报文的发送方为 本地多归 TES的情况下, 触发第一虚拟叠加网标识 VN ID获取模块;
所述第一 VN ID获取模块用于获取所述第一组播报文的入端口及虚拟局域网标识 VLAN ID, 根据所述入端口和所述 VLAN ID, 获取所述组播报文的 VN ID;
第一判断模块, 用于确定所述入端口是否为所述 VN ID的指定转发者 DF; 在所述入 端口不为所述 VN ID的 DF的情况下, 触发第一发送模块; 所述第一发送模块, 用于为所述第一组播报文封装扩展 NV03头; 将所述封装了扩展 NV03头的第一组播报文发送给其他 NVE; 所述扩展 NV03头中携带所述第一组播报文的 VN ID以及所述入端口对应的链路聚合组标识 LAG ID。
在所述第二方面的第一种实现方式中, 所述确定模块具体用于根据所述入端口和所述第 一组播报文的 VN ID查找 DF表, 确定所述入端口是否为所述第一组播报文的 VN ID的 DF, 所述 DF表包括 VN ID, 端口与 DF标记。 基于所述第二方面或所述第二方面的第一种实现方式,在所述第二方面的第二种实 现方式中, 所述装置还包括第二 VN ID获取模块、 出端口获取模块和第二判断模块; 所述接收模块还用于接收第二组播报文; 所述确定模块还用于确定所述第二组播报文的发送方,在确定所述组播报文的发送 方为网络虚拟边缘 NVE的情况下, 触发所述第二 VN ID获取模块; 所述第二 VN ID获取模块用于对所述第二组播报文进行 NV03解封装, 从所述第二组 播报文的 NV03头中获取所述第二组播报文的 VN ID; 所述出端口获取模块用于查找所述第二组播报文的 VN ID对应的本地组播转发表项, 获取所述本地组播转发表项中的出端口; 所述第二判断模块用于确定所述出端口是否为所述第二组播报文的 VN ID的 DF, 根 据所述确定结果对所述解封装后的组播报文进行处理。
本发明第三方面提供了一种在基于三层叠加网的网络虚拟化 NV03网络,所述 NV03网 络包括多归租户终端系统 TES, 第一多归网络虚拟边缘 NVE和第二多归 NVE, 所述多归 TES 分别连接所述第一多归 NVE和第二多归 NVE; 所述 TES用于发送第一组播报文;
所述第一多归 NVE用于接收所述第一组播报文, 确定所述第一组播报文的发送方; 在确定所述第一组播报文由所述多归 TES发送的情况下, 获取所述第一组播报文的入端 口和虚拟局域网标识 VLAN ID; 根据所述第一组播报文的入端口以及所述 VLAN ID获取所 述第一组播报文的虚拟叠加网标识 VN ID; 确定所述入端口是否为所述第一组播报文的 VN ID的指定转发者 DF; 在所述入端口不是所述第一组播报文的 VN ID的 DF情况下, 为所 述第一组播报文封装扩展 NV03头; 将所述封装了扩展 NV03头的第一组播报文发送给包括 所述第二多归 NVE的其他 NVE; 所述扩展 NV03头中携带所述第一组播报文的 VN ID以及所 述入端口对应的链路聚合组标识 LAG ID。
在所述第三方面的第一种实现方式中,所述第一多归 NVE根据所述入端口和所述第一组播报文的 VN ID查找 DF表, 确定所述入端口是否为所述第一组播报文的 VN ID的 DF, 所述 DF表包括 VN ID, 端口 与 DF标记。 基于所述第三方面或所述第三方面的第一种实现方式,在所述第三方面的第二种实 现方式中, 所述方法还包括: 所述第二多归 NVE用于发送第二组播报文; 所述第一多归 NVE还用于接收所述第二组播报文, 对所述第二组播报文进行 NV03解封装, 从所述第二 组播报文的 NV03头中获取所述第二组播报文的 VN ID; 查找所述第二组播报文的 VN ID对 应的本地组播转发表项, 获取所述本地组播转发表项中的出端口; 确定所述出端口是否 为所述第二组播报文的 VN ID的 DF, 根据所述确定结果对所述解封装后的第二组播报文 进行处理。
本发明第四方面提供了一种在基于三层叠加网的网络虚拟化 NV03网络中处理组播 报文的装置, 所述装置包括: 处理器、 存储器、 网络接口和总线, 所述处理器、 存储器 和网络接口均与总线连接; 所述存储器用于存储程序指令; 所述处理器用于读取所述存储器上存储的程序指令,根据所述程序指令执行本发明 第三方面的方法。
本发明上述实施例中, 第一多归 NVE在从多归 TES收到第一组播报文的时候, 通过判 断所述第一组播报文的入端口不是所述组播报文中携带的 VN ID的 DF, 则不向本地端口 转发所述第一组播报文, 避免了所述多归 TES环回收到自身发出的第一组播报文, 并且, 通过扩展原有的 NV03头, 利用原有的 LAG ID, 可以避免 IP地址的浪费, 提高转发效率。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例描述中 所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本发明的一些 实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据 这些附图获得其他的附图。
图 1为现有技术中 NV03网络的结构示意图;
图 2为本发明实施例提供的 NV03网络的结构示意图;
图 3为本发明实施例提供的 NV03网络中处理组播报文的方法的流程示意图; 图 4为本发明实施例提供的一种 NV03网络中处理组播报文的装置的结构示意图; 图 5为本发明实施例提供的另一种 NV03网络中处理组播报文的装置的流程示意图。 具体实施方式 本发明实施例提供了一种 NV03网络, 如图 2所示, 所述 NV03网络 20包括多归 TES 21 以及多个多归 NVE, 例如, 图中的第一多归 NVE 22a和第二多归 NVE 22b, 所述多归 TES 21 分别连接所述第一多归 NVE 22a和第二多归 NVE 22b。 所述第一多归 TES用于发送第一组 播报文;所述第一组播报文包括所有需要通过组播方式在 NV03网络中发送的报文,例如, 广播报文, 组播报或未知单播报文。 所述第一多归 NVE 22a用于接收所述第一组播报文, 确定所述第一组播报文的发送 方, 在确定所述第一组播报文由所述多归 TES发送的情况下, 获取所述第一组播报文的 入端口和 VLAN ID; 根据所述第一组播报文的入端口以及所述 VLAN ID获取所述第一组播 报文的 VN ID; 确定所述入端口是否为所述第一组播报文的 VN ID的 DF; 在所述入端口不 是所述第一组播报文的 VN ID的 DF情况下, 为所述第一组播报文封装扩展 NV03头; 将所 述封装了扩展 NV03头的第一组播报文发送给包括所述第二多归 NVE的其他 NVE; 所述扩展 NV03头中携带所述第一组播报文的 VN ID以及所述入端口对应的链路聚合组标识 LAG ID。 所述第一多归 NVE可以将所述封装了扩展 NV03头的第一组播报文通过头结点 ( head-end ) 复制方式或者组播逐跳复制方式发送给其他 NVE。 如果采用头结点复制方式, 所述第一多归 NVE为每个目的 NVE复制一份报文, 并分别 通过单播 NV03隧道将复制的报文送到每个目的 NVE, 所述 NV03隧道外层目的 IP地址为每 个目的 NVE的单播 IP地址。 如果采用组播逐跳复制方式, 所述第一多归 NVE通过组播 NV03 隧道将报文送到每个目的 NVE, NV03隧道外层目的 IP地址为组播 IP地址。 所述第一多归 NVE上预先设置了 VN ID和组播 IP地址的对应关系。 在采用头结点复制的情况下, LAG ID只需要在每个 NVE上唯一, 扩展 NV03头中 LAG ID 为目的 NVE上分配的 LAG ID。 比如 TES多归接入 NVE1的端口 1、 NVE2的端口 2、 NVE3的端口 3, 则端口 1, 端口 2和端口 3组成一个 LAG, NVE1为包括所述 LAG分配的标识为 10, NVE2为 所述 LAG分配的标识为 20, NVE3为所述 LAG分配的标识为 30, NVE1向 NVE2和 NVE3发送报文 的时候, 扩展 NV03头里面 LAG ID分别填写 20和 30。 在采用组播复制的情况下, LAG ID需要整个网络唯一, 同样对于上面的情况, NVE1、
NVE2、 NVE3都记录该 LAG的标识为 10, NVE1向 NVE2和 NVE3发送报文时候, 扩展 NV03头里 的 LAG ID均填写 10。 在一个实施例中, 所述第一多归 NVE根据所述入端口和所述第一组播报文的 VN ID查 找 DF表, 确定所述入端口是否为所述第一组播报文的 VN ID的指定转发者 DF。 当 DF表中 不存在与所述第一组播报文的 VN ID和所述入端口对应的表项, 或查找到的表项中的 DF 标记表明所述入端口不是 DF时, 确定所述入端口不为所述 VN ID的 DF。 在另一个实施例中, 所述第一多归 NVE还用于记录链路聚合组信息, 所述链路聚合 组信息包括链路聚合组标识以及链路聚合组中包括的端口; 根据所述链路聚合组信息与 所述第二多归 NVE协商, 从所述链路聚合组的所有端口中选择一个端口作为所述多归 TES 21的 VN ID的 DF, 在 DF表中记录协商结果; 所述 VN ID用于标识所述多归 TES 21所属的 VN; 所述 DF表包括 VN ID, 端口与 DF标记, 所述 DF标记用于标识端口是否为某个 VN ID的 DF。 例如, 图 2示出的链路聚合组信息中包括一个链路聚合组, 其 LAG ID为 LAG 1, 包括了第 一端口和第二端口。 所述第一多归 NVE还用于接收所述第二多归 NVE发送的第二组播报文,对所述第二组 播报文进行 NV03解封装, 从所述第二组播报文的 NV03头中获取所述第二组播报文的 VN ID; 查找所述第二组播报文的 VN ID对应的本地组播转发表项, 获取所述本地组播转发 表项中的出端口; 确定所述出端口是否为所述第二组播报文的 VN ID的指定转发者 DF, 根据所述确定结果对所述解封装后的第二组播报文进行处理。 在一个实施例中, 在确定所述出端口不是所述第二组播报文的 VN ID的 DF情况下, 所述第一多归 NVE还用于丢弃所述解封装后的第二组播报文。 在另一个实施例中, 在确定所述出端口是所述第二组播报文的 VN ID的 DF的情况下, 所述第一多归 NVE还用于确定所述第二组播报文和所述出端口是否具有相同的 LAG ID, 所述第二组播报文的 LAG ID是从所述第二组播报文的 NV03头中获得的。 在所述第二组播 报文和所述出端口具有相同的 LAG ID的情况下, 所述第一多归 NVE还用于丢弃所述解封 装后的第二组播报文; 在所述第二组播报文和所述出端口具有不同的 LAG ID的情况下, 所述第一多归 NVE还用于通过所述出端口转发所述解封装后的第二组播报文。 需要说明的是, 本发明实施例中, 本地组播转发表和 DF表中仅包括端口, 当该端口 为接收报文的端口时, 即为入端口, 当该端口用于发送报文时, 即为出端口。 因此, 入 端口和出端口只是针对组播报文的方向作出的区分, 不对本地组播转发表或者 DF表中的 信息产生影响。 本发明上述实施例中, 第一多归 NVE在从多归 TES收到第一组播报文的时候, 通过判 断所述第一组播报文的入端口不是所述组播报文中携带的 VN ID的 DF, 则不向本地端口 转发所述第一组播报文, 避免了所述多归 TES环回收到自身发出的第一组播报文, 并且, 通过扩展原有的 NV03头, 利用原有的 LAG ID, 可以避免 IP地址的浪费, 提高转发效率。 本发明实施例还提供了一种在 NV03网络中处理组播报文的方法,所述方法应用在图 2所示的 NV03网络中, 可以由所述多个多归 NVE中的任意一个执行, 图 3以第一多归 NVE为 例进行说明, 在上述 NV03网络实施例中没有明确的细节, 可以参考本实施例的描述。 如 图 3所示, 所述方法 30包括:
301、 第一多归 NVE接收组播报文。 所述组播报文包括所有需要通过组播方式在 NV03 网络中发送的报文, 例如, 广播报文, 组播报或未知单播报文。
302、 所述第一多归 NVE确定所述组播报文的发送方, 在所述组播报文的发送方为其 他 NVE的情况下, 执行步骤 303, 在所述组播报文的发送方为本地多归 TES的情况下, 执 行步骤 310 在步骤 302中, 在所述组播报文为 NV03封装的报文的情况下, 确定所述组播报文的 发送方为其他 NVE, 在所述组播报文为没有 NV03封装的以太报文, 且所述组播报文的入 端口为 LAG中的端口的情况下, 确定所述组播报文的发送方为多归 TES。 所述其他 NVE为 所述 NV03网络中除所述第一多归 NVE之外的任意 NVE,可以是多归 NVE,也可以是普通 NVE 303、 所述第一多归 NVE对所述组播报文进行 NV03解封装, 从所述第二组播报文的
NV03头中获取所述组播报文的 VN ID 这里的 NV03头既包括正常 NV03头, 也包括扩展 NV03头。 304、 所述第一多归 NVE查找 所述 VN ID对应的本地组播转发表项, 获取所述本地组播转发表项中的出端口。
NVE上预先配置或生成了本地组播转发表,如表 1所示, 每个本地组播转发表项包括 VN ID、 端口以及虚拟局域网标识 (VLAN ID) 表 1
Figure imgf000010_0001
当所述第一多归 NVE从某个端口接收组播报文时, 所述端口被称为入端口, 当所述 第一多归 NVE从某个端口发送组播报文时, 所述端口被称为出端口。 本步骤中, 由于所 述组播报文是从其他 NVE收到的, 需要发送给所述第一多归 NVE连接的 TES, 因此, 所述 端口被称为出端口。 所述第一多归 NVE查找到所述本地组播转发表项后, 从所述本地组播转发表项中获 取所述出端口。 所述第一多归 NVE在将经过 NV03解封装之后的组播报文从查找到的本地 组播转发表项中的出端口发送出去之前,为所述组播报文封装对应的 VLAN ID。
305、 所述第一多归 NVE确定所述出端口是否为所述 VN ID的 DF, 根据所述确定结果 对所述解封装后的组播报文进行处理。 所述根据所述确定结果对所述解封装后的组播报文进行处理,包括在所述出端口为 所述 VN ID的 DF的情况下, 执行步骤 307, 在所述出端口不为所述 VN ID的 DF的情况下, 执行步骤 306。 其中, 所述 DF是由所述第一多归 NVE与第二多归 NVE (指其端口与第一 NVE的端口属 于同一 LAG的其他一个或多个多归 NVE) 协商确定, 或者由管理员预先配置的。 在步骤 305中, 所述第一多归 NVE根据所述 VN ID和所述出端口, 查找 DF表, 根据查 找到的 DF表项确定所述出端口是否为所述 VN ID的 DF。 其中, 所述 DF表是预先配置在所 述第一多归 NVE上, 或者由所述第一多归 NVE预先生成的。 所述 DF表的表项包括 VN ID, 出端口和 DF标记。 所述 DF标记用于标识所述出端口是否为所述 VN ID的 DF。 当 DF表中不 存在与所述 VN ID和所述出端口对应的表项, 或查找到的表项中的 DF标记表明所述出端 口不是 DF时, 确定所述出端口不为所述 VN ID的 DF。
306、 所述第一多归 NVE丢弃所述解封装后的组播报文。 为了避免所述 VN ID的多个多归 NVE均转发组播报文给多归 TES引起的报文重复问题, 当所述第一多归 NVE的出端口不是该 VN ID的指定转发者时, 第一多归 NVE在该出端口上 丢弃所述组播报文, 即所述第一 NVE不向所述本地组播转发表项中的出端口连接的多归 TES发送所述组播报文。
307、 所述第一多归 NVE确定所述组播报文和所述出端口是否具有相同的 LAG ID, 在 所述组播报文和所述出端口具有相同的 LAG ID的情况下, 执行步骤 308, 在所述组播报 文和所述出端口不具有相同的 LAG ID的情况下, 执行步骤 309。 所述组播报文的 LAG ID 是从所述组播报文的 NV03头中获得的。 所述组播报文和所述出端口不具有相同的 LAG ID, 具体包括: 所述 NV03头为没有携 带 LAG ID的正常 NV03头, 或者所述 NV03头中携带的 LAG ID为无效值, 或者所述 NV03头中 携带的 LAG ID与所述所述出端口的 LAG ID不同。 其中, 所述出端口的 LAG ID是预先配置 的。
308、 所述第一多归 NVE丢弃所述解封装后的组播报文。
所述组播报文和所述出端口具有相同的链路聚合组标识, 表明所述组播报文是由与 所述第一多归 NVE属于同一链路聚合组的其他多归 NVE通过所述 VN ID的非 DF端口转 发的、 来自所述出端口连接的多归 TES的组播报文; 为了避免将所述多归 TES发送的组 播报文再环回给所述多归 TES, 所述第一多归 NVE在所述出端口上丢弃所述组播报文, 即不将所述组播报文通过所述出端口转发。
309、 所述第一多归 NVE通过所述出端口转发所述解封装后的组播报文。
所述组播报文和所述出端口具有不同的链路聚合组标识, 表明所述组播报文不是来 自所述出端口的组播报文,将所述组播报文发送给所述出端口不会引起所述出端口连接 的多归 TES的环路, 并且, 由于所述出端口为所述 VN ID对应的 DF, 所述第一多归 NVE 通过所述出端口转发所述组播报文也不会引起所述出端口连接的多归 TES重复收到所述 组播报文。 310、 所述第一多归 NVE获取所述组播报文的入端口和 VLAN ID, 根据所述入 端口和所述 VLAN ID获取所述组播报文的 VN ID。
由于多归 TES发送的组播报文没有经过 NV03封装, 所以报文头中没有携带 VN ID, 此时, 可以根据所述组播报文的入端口和 VLAN ID查找本地组播转发表, 获取所述组播 报文的 VN ID。
本步骤中的本地组播转发表如表 1所示, 由于所述组播报文为从多归 TES接收到的 报文, 则接收所述组播报文的端口被称为入端口。
311、 所述第一多归 NVE确定所述入端口是否为所述 VN ID的 DF, 在所述入端口为 所述 VN ID的 DF的情况下, 执行步骤 312, 在所述入端口不为所述 VN ID的 DF的情况 下, 执行步骤 313。 所述第一多归 NVE根据所述入端口和所述组播报文的 VN ID查找所述 DF表, 确定所述 入端口是否为所述第一组播报文的 VN ID的 DF, 所述 DF表包括 VN ID, 端口与 DF标记。 当 DF表中不存在与所述组播报文的 VN ID和所述入端口对应的表项, 或查找到的表项中的 DF标记表明所述入端口不是 DF时, 确定所述入端口不为所述 VN ID的 DF。
312、 所述第一多归 NVE对所述组播报文进行正常 NV03封装后发送给其他 NVE。 本步骤中, 由于所述入端口为所述 VN ID的 DF, 能够转发所述 VN ID的报文, 因此, 所述第一多归 NVE将所述 VN ID封装在所述组播报文的 NV03头后发送给其他 NVE。此外, 所述第一多归 NVE还可以根据本地组播转发表,将所述组播报文通过除所述入端口之外 的其他本地端口组播发送给本地除发送所述组播报文的多归 TES之外的其他 TES。
本实施例所说的正常 NV03封装, 是指封装后的 NV03头中仅携带 VN ID。
313、 所述第一多归 NVE为所述组播报文封装扩展 NV03头, 将所述封装了扩展 NV03 头的组播报文发送给其他 NVE。
本实施例所说的扩展 NV03头, 是携带 VN ID和 LAG ID的 NV03头。 所述 LAG ID为 所述入端口所属 LAG的 LAG ID。 此外, 所述扩展 NV03头中还可以进一步携带标志位, 所述标志位用于表明该扩展 NV03头中携带了 LAG ID。
本步骤中,由于所述入端口不是所述 VN ID的 DF,为了避免发送所述组播报文的 TES 上产生环路, 所述第一多归 NVE不能向本地端口组播发送所述组播报文, 而只能向其他 NVE发送该组播报文。 因此, 所述第一多归 NVE将所述 VN ID和所述入端口的 LAG ID 封装到所述组播报文中, 以便接收到所述组播报文的第二多归 NVE 判断所述第二多归 NVE是否能够向本地端口组播发送所述组播报文。
上述图 3为了清楚地解释本发明的技术方案, 因此包括了第一多归 NVE收到组播报 文之后各种可能的处理流程。 实际应用中, 针对不同的组播报文, 图 3可以分解成以下 处理流程, 每个流程都能够独立构成一个在 NV03网络中处理组播报文的方法:
流程 A, 包括步骤 301, 302, 310, 311和 312, 用于处理第一组播报文, 所述第一 组播报文的特征可以通过对上述步骤的描述获得。
流程 B, 包括步骤 301, 302, 310, 311和 313, 用于处理第二组播报文, 所述第二 组播报文的特征可以通过对上述步骤的描述获得。
流程 C, 包括步骤 301, 302, 303, 304, 305和 306, 用于处理第三组播报文, 所述 第三组播报文的特征可以通过对上述步骤的描述获得。
流程 D, 包括步骤 301, 302, 303, 304, 305, 307和 308, 用于处理第四组播报文, 所述第四组播报文的特征可以通过对上述步骤的描述获得。
流程 E, 包括步骤 301, 302, 303, 304, 305, 307和 309, 用于处理第五组播报文, 所述第五组播报文的特征可以通过对上述步骤的描述获得。
上述第一, 第二, 第三, 第四以及第五仅仅用于示例性说明, 并不用于对组播报文 顺序的限定。 由于上述流程 A-E都能够独立完成对一种组播报文的处理, 因此, 本发明 实施例中的在 NV03 网络中处理组播报文的方法, 只需要至少包括上述流程中的任意一 个即可。 当选择保护其中一个流程的时候, 其他流程中的步骤可以被认为是本发明实施 例所述方法的可选实施方式。
例如, 在一个实施例中, 第一多归 NVE接收第一组播报文, 确定所述第一组播报文 的发送方为本地多归 TES的情况下, 对该第一组播报文执行步骤 310, 311和 313, 则其 他步骤可选。 在另一个实施例中, 所述第一多归 NVE除接收所述第一组播报文外, 还接 收第二组播报文,然后根据所述第二组播报文的特征执行 303-309中的一个或多个步骤。 本发明上述实施例中, 第一多归 NVE在从多归 TES收到第一组播报文的时候, 通过判 断所述第一组播报文的入端口不是所述组播报文中携带的 VN ID的 DF, 则不向本地端口 转发所述第一组播报文, 避免了所述多归 TES环回收到自身发出的第一组播报文, 并且, 通过扩展原有的 NV03头, 利用原有的 LAG ID, 可以避免 IP地址的浪费, 提高转发效率。
本发明实施例另外提供了一种在 NV03 网络中处理组播报文的装置, 用于执行图 3 所示的方法, 如图 4所示, 所述装置 40包括: 接收模块 401,用于接收组播报文。所述组播报文包括所有需要通过组播方式在 NV03 网络中发送的报文, 例如, 广播报文, 组播报或未知单播报文。 确定模块 402, 用于确定所述组播报文的发送方, 在确定所述组播报文的发送方为
NVE的情况下, 触发第二 VN ID获取模块 403, 在确定所述组播报文的发送方为本地多归 TES的情况下, 触发第一 VN ID获取模块 410。 所述确定模块 402具体用于, 在所述组播报文为 NV03封装的报文的情况下, 确定所 述组播报文的发送方为其他 NVE, 在所述组播报文为没有 NV03封装的以太报文, 且所述 组播报文的入端口为 LAG中的端口的情况下, 确定所述组播报文的发送方为多归 TES。 所 述其他 NVE为所述 NV03网络中的任意 NVE, 可以是多归 NVE, 也可以是普通 NVE。 第二 VN ID获取模块 403, 用于对所述组播报文进行 NV03解封装, 从所述组播报文的 NV03头中获取所述第二组播报文的 VN ID。 这里的 NV03头既包括正常 NV03头, 也包括扩展 NV03头。 出端口获取模块 404,用于查找所述第二 VN ID获取模块获取的所述组播报文的 VN ID 对应的本地组播转发表项, 获取所述本地组播转发表项中的出端口。 所述本地组播转发表,如图 3所示实施例中的表 1 第二判断模块 405, 用于确定所述出端口是否为所述 VN ID的 DF; 在所述出端口为所 述 VN ID的 DF的情况下, 触发第三判断模块 407, 在所述出端口不为所述 VN ID的 DF的情 况下, 触发第一丢弃模块 406。 其中, 所述 DF是由所述多个多归 NVE协商确定, 或者由管理员预先配置的。 所述第二判断模块 405具体用于根据所述 VN ID和所述出端口, 查找 DF表, 根据查找 到的 DF表项确定所述出端口是否为所述 VN ID的 DF。 其中, 所述 DF表的表项包括 VN ID, 出端口和 DF标记。 所述 DF标记用于标识所述出 端口是否为所述 VN ID的 DF。 当 DF表中不存在与所述 VN ID和所述出端口对应的表项, 或 查找到的表项中的 DF标记表明所述出端口不是 DF时, 确定所述出端口不为所述 VN ID的 DF。 第一丢弃模块 406,用于在所述第二判断模块 405的触发下丢弃所述解封装后的组播 报文。 为了避免所述 VN ID的多个多归 NVE均转发组播报文给多归 TES引起的报文重复问题, 当所述出端口不是该 VN ID的指定转发者时, 第一丢弃模块 406在该出端口上丢弃所述组 播报文。 第三判断模块 407, 用于确定所述组播报文和所述出端口是否具有相同的 LAG ID, 在所述组播报文和所述出端口具有相同的 LAG ID情况下, 触发第二丢弃模块 408, 在所 述组播报文和所述出端口不具有相同的 LAG ID的情况下, 触发第三发送模块 409。 所述 组播报文的 LAG ID是从所述组播报文的 NV03头中获得的。 所述组播报文和所述出端口不具有相同的 LAG ID, 具体包括: 所述 NV03头为没有携 带 LAG ID的正常 NV03头, 或者所述 NV03头中携带的 LAG ID为无效值, 或者所述 NV03头中 携带的 LAG ID与所述所述出端口的 LAG ID不同。 其中, 所述出端口的 LAG ID是预先配置 的。
第二丢弃模块 408, 用于在所述第三判断模块的触发下丢弃所述解封装后的组播报 文。
所述组播报文和所述出端口具有相同的链路聚合组标识, 表明所述组播报文是由与 装置属于同一链路聚合组的其他多归 NVE通过所述 VN ID的非 DF端口转发的、 来自所 述出端口连接的多归 TES的组播报文; 为了避免将所述多归 TES发送的组播报文再环回 给所述多归 TES, 所述第二丢弃模块 408在所述出端口上丢弃所述组播报文, 即不将所 述组播报文通过所述出端口转发。 第三发送模块 409, 用于通过所述出端口转发所述解封装后的组播报文。
所述组播报文和所述出端口具有不同的链路聚合组标识, 表明所述组播报文不是来 自所述出端口的组播报文,将所述组播报文发送给所述出端口不会引起所述出端口连接 的多归 TES的环路, 并且, 由于所述出端口为所述 VN ID对应的 DF, 所述第三发送模块 409通过所述出端口转发所述组播报文也不会引起所述出端口连接的多归 TES重复收到 所述组播报文。
第一 VN ID获取模块 410, 用于获取所述组播报文的入端口和 VLAN ID, 根据所述入 端口和所述 VLAN ID获取所述组播报文的 VN ID。
由于多归 TES发送的组播报文没有经过 NV03封装, 所以报文头中没有携带 VN ID, 此时, 所述第一 VN ID获取模块 410可以根据所述组播报文的入端口和 VLAN ID查找本 地组播转发表, 获取所述组播报文的 VN ID。
本步骤中的本地组播转发表如表 1所示, 由于所述组播报文为从多归 TES接收到的 报文, 则接收所述组播报文的端口被称为入端口。
第一判断模块 411, 用于确定所述入端口是否为所述 VN ID的 DF, 在所述入端口为 所述 VN ID的 DF的情况下, 触发第二发送模块 412, 在所述入端口不为所述 VN ID的 DF的情况下, 触发第一发送模块 413。 所述第一判断模块 411根据所述入端口和所述 VN ID查找所述 DF表, 确定所述入端口 是否为所述组播报文的 VN ID的 DF, 所述 DF表包括 VN ID, 端口与 DF标记。 具体来说, 当 DF表中不存在与所述第一组播报文的 VN ID和所述入端口对应的表项, 或查找到的表项 中的 DF标记表明所述入端口不是 DF时, 确定所述入端口不为所述 VN ID的 DF。
第二发送模块 412, 用于对所述组播报文进行正常 NV03封装后发送给其他 NVE。 本步骤中, 由于所述入端口为所述 VN ID的 DF, 能够转发所述 VN ID的报文, 因此, 所述第二发送模块 412将所述 VN ID封装在所述组播报文的 NV03头后发送给其他 NVE。 此外, 所述第二发送模块 412还可以根据本地组播转发表, 将所述组播报文通过除所述 入端口之外的其他本地端口组播发送给本地除发送所述组播报文的多归 TES之外的其他 TES。
本实施例所说的正常 NV03封装, 是指封装后的 NV03头中仅携带 VN ID。
第一发送模块 413,用于为所述组播报文封装扩展 NV03头,将所述封装了扩展 NV03 头的组播报文发送给其他 NVE。
本实施例所说的扩展 NV03头, 是携带 VN ID和 LAG ID的 NV03头。 所述 LAG ID为 所述入端口所属 LAG的 LAG ID。 此外, 所述扩展 NV03头中还可以进一步携带标志位, 所述标志位用于表明该扩展 NV03头中携带了 LAG ID。
由于所述入端口不是所述 VN ID的 DF, 为了避免发送所述组播报文的 TES上产生环 路, 所述第一发送模块 413不能向本地端口组播发送所述组播报文, 而只能向其他 NVE 发送该组播报文。 因此, 所述第一发送模块 413将所述 VN ID和所述入端口的 LAG ID 封装到所述组播报文中, 以便接收到所述组播报文的多归 NVE判断所述多归 NVE是否能 够向本地端口组播发送所述组播报文。
上述图 4为了清楚地解释本发明的技术方案,因此包括了 NV03网络中处理组播报文 的装置收到组播报文之后需要参与处理所述组播报文的各种可能的模块。 实际应用中, 针对不同的组播报文, 图 4中的模块可以划分为以下几组, 每组都能够独立构成一个在 NV03网络中处理组播报文的装置:
组 A, 包括模块 401, 402, 410, 411和 412, 用于处理第一组播报文, 所述第一组 播报文的特征可以通过对上述模块的描述获得。
组 B, 包括模块 401, 402, 410, 411和 413, 用于处理第二组播报文, 所述第二组 播报文的特征可以通过对上述模块的描述获得。
组 C, 包括模块 401, 402, 404, 404, 405和 406, 用于处理第三组播报文, 所述第 三组播报文的特征可以通过对上述模块的描述获得。
组 D, 包括模块 401, 402, 404, 404, 405, 407和 408, 用于处理第四组播报文, 所述第四组播报文的特征可以通过对上述模块的描述获得。
组 E, 包括模块 401, 402, 404, 404, 405, 407和 409, 用于处理第五组播报文, 所述第五组播报文的特征可以通过对上述模块的描述获得。
上述第一, 第二, 第三, 第四以及第五仅仅用于示例性说明, 并不用于对组播报文 顺序的限定。 上述各组模块, 可以因为处理不同的组播报文被同时调用, 也可以被单独 调用,上述各组模块的任何调用方式在本发明的保护范围之内。 由于上述组 A-组 E都能 够独立完成对一种组播报文的处理, 因此, 本发明实施例中的在 NV03 网络中处理组播 报文的装置, 只需要至少包括上述各组模块中的任意一组即可。 当选择保护其中一组模 块的时候, 其他各组中的模块均被认为是本发明实施例所述装置的可选实施方式。
例如, 在一个实施例中, 接收模块 401接收第一组播报文, 确定模块 402确定所述 第一组播报文的发送方为本地多归 TES的情况下, 触发第一 VN ID获取模块 410, 第一 判断模块 411和第一发送模块 413执行相应的操作。 在另一个实施例中, 所述接收模块 401除接收所述第一组播报文外, 还接收第二组播报文, 然后根据所述第二组播报文的 特征调用模块 403-409中的一个或多个。
如图 5所示, 为本发明实施例中提供的另一种在 NV03网络中处理组播报文的装置 的结构示意图,如图所示,所述在 NV03网络中处理组播报文的装置 50包括处理器 501、 存储器 502、 网络接口 503和总线 504。 所述处理器 501、 存储器 502和网络接口 503 均与总线 504连接。
所述处理器 501用于通过所述网络接口 503接收组播报文,根据所述组播报文的特 征, 执行图 3所示方法中的流程 A-E中的一个或多个。
其中, 处理器 501执行的上述处理过程通常是由一个或多个软件程序控制完成, 所 述一个或多个软件程序的程序指令存放于存储器 502中, 当需要进行上述操作时, 处理 器 51读取所述程序指令, 并根据所述程序指令执行图 3所示方法中的部分或全部步骤。
本发明上述实施例中装置在从多归 TES收到第一组播报文的时候, 通过判断所述第 一组播报文的入端口不是所述组播报文中携带的 VN ID的 DF时, 不向本地端口转发所述 第一组播报文, 避免了所述多归 TES环回收到自身发出的第一组播报文, 并且, 通过扩 展原有的 NV03头, 利用原有的 LAG ID, 可以避免 IP地址的浪费, 提高转发效率。 本发明上述各实施例基于同一发明构思, 因此, 各实施例中的同一术语具有相同的 含义, 可以互相引用。
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤可以通过程 序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读取存储介质中, 该程序 在执行时, 执行包括上述方法实施例的步骤; 而前述的存储介质包括: R0M、 RAM, 磁碟 或者光盘等各种可以存储程序代码的介质。
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其限制; 尽管 参照前述实施例对本发明进行了详细的说明, 本领域的普通技术人员应当理解: 其依然 可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分技术特征进行等同替 换; 而这些修改或者替换, 并不使相应技术方案的本质脱离本发明各实施例技术方案的 范围。

Claims

权利要求
1、 一种在基于三层叠加网的网络虚拟化 NV03网络中处理组播报文的方法, 其特征 在于, 包括:
接收第一组播报文;
在所述第一组播报文的发送方为本地多归租户终端系统 TES的情况下, 获取所述第 一组播报文的入端口及虚拟局域网标识 VLAN ID, 根据所述入端口和所述 VLAN ID, 获取 所述组播报文的虚拟叠加网标识 VN ID;
确定所述入端口是否为所述 VN ID的指定转发者 DF; 在所述入端口为所述 VN ID的 DF的情况下, 为所述第一组播报文封装扩展 NV03头; 将所述封装了扩展 NV03头的第一组播报文发送给其他 NVE; 所述扩展 NV03头中携带所述 第一组播报文的 VN ID以及所述入端口对应的链路聚合组标识 LAG ID。
2、根据权利要求 1所述的方法, 其特征在于, 所述确定所述入端口是否为所述 VN ID 的指定转发者 DF包括:
根据所述入端口和所述第一组播报文的 VN ID查找 DF表, 确定所述入端口是否为所 述第一组播报文的 VN ID的 DF, 所述 DF表包括 VN ID, 端口与 DF标记。
3、 根据权利要求 1或 2所述的方法, 其特征在于, 还包括: 接收第二组播报文, 在所述第二组播报文的发送方为网络虚拟边缘 NVE的情况下, 对所述第二组播报文进行 NV03解封装, 从所述第二组播报文的 NV03头中获取所述第二组 播报文的 VN ID; 查找所述第二组播报文的 VN ID对应的本地组播转发表项, 获取所述本 地组播转发表项中的出端口; 确定所述出端口是否为所述第二组播报文的 VN ID的 DF, 根据所述确定结果对所述解封装后的第二组播报文进行处理。
4、 根据权利要求 3所述的方法, 其特征在于, 所述根据所述确定结果对所述解封装 后的第二组播报文进行处理包括: 在确定所述出端口不是所述第二组播报文的 VN ID的 DF情况下, 丢弃所述解封装后 的第二组播报文。
5、 根据权利要求 3所述的方法, 其特征在于, 所述根据所述确定结果对所述解封装 后的第二组播报文进行处理包括: 在确定所述出端口是所述第二组播报文的 VN ID的 DF的情况下, 确定所述第二组播 报文和所述出端口是否具有相同的 LAG ID, 所述第二组播报文的 LAG ID是从所述第二组 播报文的 NV03头中获得的。
6、 根据权利要求 5所述的方法, 其特征在于, 在所述第二组播报文和所述出端口具有相同的 LAG ID的情况下, 所述方法还包括: 丢弃所述解封装后的第二组播报文。
7、 根据权利要求 5所述的方法, 其特征在于, 在所述第二组播报文和所述出端口具有不同的 LAG ID的情况下, 所述方法还包括: 通过所述出端口转发所述解封装后的第二组播报文。
8、 一种在基于三层叠加网的网络虚拟化 NV03网络中处理组播报文的装置, 其特征 在于, 包括:
接收模块, 用于接收第一组播报文;
确定模块, 用于确定所述第一组播报文的发送方, 当确定所述组播报文的发送方为 本地多归 TES的情况下, 触发第一虚拟叠加网标识 VN ID获取模块;
所述第一 VN ID获取模块用于获取所述第一组播报文的入端口及虚拟局域网标识 VLAN ID, 根据所述入端口和所述 VLAN ID, 获取所述组播报文的 VN ID;
第一判断模块, 用于确定所述入端口是否为所述 VN ID的指定转发者 DF; 在所述入 端口不为所述 VN ID的 DF的情况下, 触发第一发送模块; 所述第一发送模块, 用于为所述第一组播报文封装扩展 NV03头; 将所述封装了扩展 NV03头的第一组播报文发送给其他 NVE; 所述扩展 NV03头中携带所述第一组播报文的 VN ID以及所述入端口对应的链路聚合组标识 LAG ID。
9、 根据权利要求 8所述的装置, 其特征在于, 所述确定模块具体用于根据所述入端 口和所述第一组播报文的 VN ID查找 DF表, 确定所述入端口是否为所述第一组播报文的 VN ID的 DF, 所述 DF表包括 VN ID, 端口与 DF标记。
10、 根据权利要求 8或 9所述的装置, 其特征在于, 还包括第二 VN ID获取模块、 出 端口获取模块和第二判断模块; 所述接收模块还用于接收第二组播报文; 所述确定模块还用于确定所述第二组播报文的发送方,在确定所述组播报文的发送 方为网络虚拟边缘 NVE的情况下, 触发所述第二 VN ID获取模块; 所述第二 VN ID获取模块用于对所述第二组播报文进行 NV03解封装, 从所述第二组 播报文的 NV03头中获取所述第二组播报文的 VN ID; 所述出端口获取模块用于查找所述第二组播报文的 VN ID对应的本地组播转发表项, 获取所述本地组播转发表项中的出端口; 所述第二判断模块用于确定所述出端口是否为所述第二组播报文的 VN ID的 DF, 根 据所述确定结果对所述解封装后的组播报文进行处理。
11、 根据权利要求 10所述的装置, 其特征在于, 所述装置还包括第一丢弃模块; 所述第二判断模块还用于在确定所述出端口不是所述第二组播报文的 VN ID的 DF情 况下, 触发所述第一丢弃模块; 所述第一丢弃模块用于在所述第二判断模块的触发下丢弃所述解封装后的第二组 播报文。
12、 根据权利要求 10所述的装置, 其特征在于, 所述装置还包括第三判断模块; 所述第二判断模块还用于在确定所述出端口是所述第二组播报文的 VN ID的 DF的情 况下, 触发所述第三判断模块; 所述第三判断模块用于确定所述第二组播报文和所述出端口是否具有相同的 LAG ID, 所述第二组播报文的 LAG ID是从所述第二组播报文的 NV03头中获得的。
13、 根据权利要求 12所述的装置, 其特征在于, 所述装置还包括第二丢弃模块; 所述第三判断模块还用于在确定所述第二组播报文和所述出端口具有相同的 LAG ID 的情况下, 触发所述第二丢弃模块; 所述第二丢弃模块用于在所述第三判断模块的触发下丢弃所述解封装后的第二组 播报文。
14、 根据权利要求 12所述的装置, 其特征在于, 所述装置还包括第三发送模块; 所述第三判断模块还用于在确定所述第二组播报文和所述出端口具有不同的 LAG ID 的情况下, 触发所述第三发送模块; 所述第三发送模块用于通过所述出端口转发所述解封装后的第二组播报文。
15、 一种基于三层叠加网的网络虚拟化 NV03网络, 所述 NV03网络包括多归租户终端 系统 TES, 第一多归网络虚拟边缘 NVE和第二多归 NVE, 所述多归 TES分别连接所述第一多 归 NVE和第二多归 NVE; 其特征在于: 所述 TES用于发送第一组播报文; 所述第一多归 NVE用于接收所述第一组播报文, 确定所述第一组播报文的发送方; 在确定所述第一组播报文由所述多归 TES发送的情况下, 获取所述第一组播报文的入端 口和虚拟局域网标识 VLAN ID; 根据所述第一组播报文的入端口以及所述 VLAN ID获取所 述第一组播报文的虚拟叠加网标识 VN ID; 确定所述入端口是否为所述第一组播报文的 VN ID的指定转发者 DF; 在所述入端口不是所述第一组播报文的 VN ID的 DF情况下, 为所 述第一组播报文封装扩展 NV03头; 将所述封装了扩展 NV03头的第一组播报文发送给包括 所述第二多归 NVE的其他 NVE; 所述扩展 NV03头中携带所述第一组播报文的 VN ID以及所 述入端口对应的链路聚合组标识 LAG ID。
16、 根据权利要求 15所述的 NV03网络, 其特征在于, 所述第一多归 NVE根据所述入 端口和所述第一组播报文的 VN ID查找 DF表, 确定所述入端口是否为所述第一组播报文 的 VN ID的 DF, 所述 DF表包括 VN ID, 端口与 DF标记。
17、 根据权利要求 15或 16所述的 NV03网络, 其特征在于, 所述第二多归 NVE用于发送第二组播报文; 所述第一多归 NVE还用于接收所述第二组播报文, 对所述第二组播报文进行 NV03解 封装, 从所述第二组播报文的 NV03头中获取所述第二组播报文的 VN ID; 查找所述第二 组播报文的 VN ID对应的本地组播转发表项, 获取所述本地组播转发表项中的出端口; 确定所述出端口是否为所述第二组播报文的 VN ID的 DF, 根据所述确定结果对所述解封 装后的第二组播报文进行处理。
18、 根据权利要求 17所述的 NV03网络, 其特征在于, 在确定所述出端口不是所述第二组播报文的 VN ID的 DF情况下, 所述第一多归 NVE还 用于丢弃所述解封装后的第二组播报文。
19、 根据权利要求 17所述的 NV03网络, 其特征在于, 在确定所述出端口是所述第二组播报文的 VN ID的 DF的情况下, 所述第一多归 NVE还 用于确定所述第二组播报文和所述出端口是否具有相同的 LAG ID, 所述第二组播报文的 LAG ID是从所述第二组播报文的 NV03头中获得的。
20、 根据权利要求 19所述的 NV03网络, 其特征在于, 在所述第二组播报文和所述出端口具有相同的 LAG ID的情况下, 所述第一多归 NVE 还用于丢弃所述解封装后的第二组播报文。
21、 根据权利要求 19所述的 NV03网络, 其特征在于, 在所述解封装后的第二组播报文和所述出端口具有不同的 LAG ID的情况下, 所述第 一多归 NVE还用于通过所述出端口转发所述解封装后的第二组播报文。
22、 一种在基于三层叠加网的网络虚拟化 NV03网络中处理组播报文的装置, 包括处 理器、 存储器、 网络接口和总线, 所述处理器、 存储器和网络接口均与总线连接; 其特 征在于: 所述存储器用于存储程序指令; 所述处理器用于读取所述存储器上存储的程序指令,根据所述程序指令执行权利要 求 1-7中任意一项所述的方法。
PCT/CN2013/078386 2013-06-28 2013-06-28 一种在nvo3网络中处理组播报文的方法、装置和nvo3网络 WO2014205784A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201380000655.2A CN105264834B (zh) 2013-06-28 2013-06-28 一种在nvo3网络中处理组播报文的方法、装置和nvo3网络
EP13888499.4A EP3001609B1 (en) 2013-06-28 2013-06-28 Method and device for processing multicast message in nvo3 network, and nvo3 network
PCT/CN2013/078386 WO2014205784A1 (zh) 2013-06-28 2013-06-28 一种在nvo3网络中处理组播报文的方法、装置和nvo3网络
US14/980,649 US9768968B2 (en) 2013-06-28 2015-12-28 Method and apparatus for processing multicast packet on network virtualization over layer 3 (NVO3) network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/078386 WO2014205784A1 (zh) 2013-06-28 2013-06-28 一种在nvo3网络中处理组播报文的方法、装置和nvo3网络

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/980,649 Continuation US9768968B2 (en) 2013-06-28 2015-12-28 Method and apparatus for processing multicast packet on network virtualization over layer 3 (NVO3) network

Publications (1)

Publication Number Publication Date
WO2014205784A1 true WO2014205784A1 (zh) 2014-12-31

Family

ID=52140865

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/078386 WO2014205784A1 (zh) 2013-06-28 2013-06-28 一种在nvo3网络中处理组播报文的方法、装置和nvo3网络

Country Status (4)

Country Link
US (1) US9768968B2 (zh)
EP (1) EP3001609B1 (zh)
CN (1) CN105264834B (zh)
WO (1) WO2014205784A1 (zh)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016173271A1 (zh) * 2015-04-30 2016-11-03 华为技术有限公司 报文处理方法、设备及系统
CN106209689A (zh) * 2015-05-04 2016-12-07 杭州华三通信技术有限公司 从vxlan至vlan的组播数据报文转发方法和设备
WO2017117956A1 (zh) * 2016-01-04 2017-07-13 中兴通讯股份有限公司 一种信息传输方法及装置
CN107547341A (zh) * 2017-06-23 2018-01-05 新华三技术有限公司 虚拟扩展局域网vxlan的接入方法及装置
CN107733765A (zh) * 2016-08-12 2018-02-23 中国电信股份有限公司 映射方法、系统和相关设备
US10341223B2 (en) 2015-05-04 2019-07-02 New H3C Technologies Co., Ltd. Multicast data packet forwarding
US10511547B2 (en) 2015-05-04 2019-12-17 New H3C Technologies Co., Ltd. Multicast data packet forwarding

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10462058B2 (en) * 2014-10-24 2019-10-29 Telefonaktiebolaget Lm Ericsson (Publ) Multicast traffic management in an overlay network
US9716660B2 (en) * 2014-12-11 2017-07-25 Intel Corporation Hierarchical enforcement of service flow quotas
US9749221B2 (en) * 2015-06-08 2017-08-29 International Business Machines Corporation Multi-destination packet handling at overlay virtual network tunneling endpoints
CN106936939B (zh) * 2015-12-31 2020-06-02 华为技术有限公司 一种报文处理方法、相关装置及nvo3网络系统
US10063407B1 (en) 2016-02-08 2018-08-28 Barefoot Networks, Inc. Identifying and marking failed egress links in data plane
US10313231B1 (en) 2016-02-08 2019-06-04 Barefoot Networks, Inc. Resilient hashing for forwarding packets
US10326694B2 (en) * 2016-04-08 2019-06-18 Cisco Technology, Inc. Asymmetric multi-destination traffic replication in overlay networks
US10084687B1 (en) 2016-11-17 2018-09-25 Barefoot Networks, Inc. Weighted-cost multi-pathing using range lookups
US10404619B1 (en) 2017-03-05 2019-09-03 Barefoot Networks, Inc. Link aggregation group failover for multicast
US10237206B1 (en) 2017-03-05 2019-03-19 Barefoot Networks, Inc. Equal cost multiple path group failover for multicast
US11102108B2 (en) * 2017-08-31 2021-08-24 Oracle International Corporation System and method for a multicast send duplication instead of replication in a high performance computing environment
US11115330B2 (en) * 2018-03-14 2021-09-07 Juniper Networks, Inc. Assisted replication with multi-homing and local bias
CN113765815B (zh) * 2020-06-05 2024-03-26 华为技术有限公司 组播报文负载分担的方法、设备和系统
CN112019420B (zh) * 2020-09-04 2022-03-29 苏州盛科科技有限公司 一种vxlan边缘节点组播报文转发的实现方法及装置
CN112291116A (zh) * 2020-11-23 2021-01-29 迈普通信技术股份有限公司 链路故障检测方法、装置及网络设备
US11652748B2 (en) 2021-07-01 2023-05-16 Vmware, Inc. Multicast routing through multi-tier edge gateways

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868642A (zh) * 2012-10-09 2013-01-09 盛科网络(苏州)有限公司 在asic中实现nvgre报文转发的方法和装置
CN103095546A (zh) * 2013-01-28 2013-05-08 华为技术有限公司 一种处理报文的方法、装置及数据中心网络
WO2013067466A1 (en) * 2011-11-03 2013-05-10 Huawei Technologies Co., Ltd. Border gateway protocol extension for the host joining/leaving a virtual private network

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4836008B2 (ja) * 2006-01-06 2011-12-14 日本電気株式会社 通信システム、通信方法、ノード、およびノード用プログラム
US8724513B2 (en) * 2009-09-25 2014-05-13 Qualcomm Incorporated Methods and apparatus for distribution of IP layer routing information in peer-to-peer overlay networks
US8966040B2 (en) * 2010-07-06 2015-02-24 Nicira, Inc. Use of network information base structure to establish communication between applications
US8665883B2 (en) * 2011-02-28 2014-03-04 Alcatel Lucent Generalized multi-homing for virtual private LAN services
US20130142201A1 (en) * 2011-12-02 2013-06-06 Microsoft Corporation Connecting on-premise networks with public clouds
CN103580980B (zh) * 2012-07-24 2019-05-24 中兴通讯股份有限公司 虚拟网络自动发现和自动配置的方法及其装置
US9350558B2 (en) * 2013-01-09 2016-05-24 Dell Products L.P. Systems and methods for providing multicast routing in an overlay network
WO2014169251A1 (en) * 2013-04-12 2014-10-16 Huawei Technologies Co., Ltd. Service chain policy for distributed gateways in virtual overlay networks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013067466A1 (en) * 2011-11-03 2013-05-10 Huawei Technologies Co., Ltd. Border gateway protocol extension for the host joining/leaving a virtual private network
CN102868642A (zh) * 2012-10-09 2013-01-09 盛科网络(苏州)有限公司 在asic中实现nvgre报文转发的方法和装置
CN103095546A (zh) * 2013-01-28 2013-05-08 华为技术有限公司 一种处理报文的方法、装置及数据中心网络

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3001609A4 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10476796B2 (en) 2015-04-30 2019-11-12 Huawei Technologies Co., Ltd. Packet processing method, and device and system
WO2016173271A1 (zh) * 2015-04-30 2016-11-03 华为技术有限公司 报文处理方法、设备及系统
US10511547B2 (en) 2015-05-04 2019-12-17 New H3C Technologies Co., Ltd. Multicast data packet forwarding
US10326712B2 (en) 2015-05-04 2019-06-18 New H3C Technologies Co., Ltd. Multicast data packet forwarding
CN106209689A (zh) * 2015-05-04 2016-12-07 杭州华三通信技术有限公司 从vxlan至vlan的组播数据报文转发方法和设备
EP3292666A4 (en) * 2015-05-04 2018-03-14 New H3C Technologies Co., Ltd. Multicast data packet forwarding
JP2018518926A (ja) * 2015-05-04 2018-07-12 ニュー・エイチ・3・シィ・テクノロジーズ・カンパニー・リミテッドNew H3C Technologies Co., Ltd. マルチキャストデータパケット転送
US20180351878A1 (en) 2015-05-04 2018-12-06 New H3C Technologies Co., Ltd. Multicast data packet forwarding
CN106209689B (zh) * 2015-05-04 2019-06-14 新华三技术有限公司 从vxlan至vlan的组播数据报文转发方法和设备
US10341223B2 (en) 2015-05-04 2019-07-02 New H3C Technologies Co., Ltd. Multicast data packet forwarding
WO2017117956A1 (zh) * 2016-01-04 2017-07-13 中兴通讯股份有限公司 一种信息传输方法及装置
US10855576B2 (en) 2016-01-04 2020-12-01 Zte Corporation Information transmission method and device
CN107733765A (zh) * 2016-08-12 2018-02-23 中国电信股份有限公司 映射方法、系统和相关设备
CN107733765B (zh) * 2016-08-12 2020-09-08 中国电信股份有限公司 映射方法、系统和相关设备
CN107547341A (zh) * 2017-06-23 2018-01-05 新华三技术有限公司 虚拟扩展局域网vxlan的接入方法及装置
CN107547341B (zh) * 2017-06-23 2020-07-07 新华三技术有限公司 虚拟扩展局域网vxlan的接入方法及装置

Also Published As

Publication number Publication date
CN105264834B (zh) 2018-12-07
CN105264834A (zh) 2016-01-20
EP3001609A1 (en) 2016-03-30
US9768968B2 (en) 2017-09-19
US20160142220A1 (en) 2016-05-19
EP3001609B1 (en) 2017-08-09
EP3001609A4 (en) 2016-06-01

Similar Documents

Publication Publication Date Title
WO2014205784A1 (zh) 一种在nvo3网络中处理组播报文的方法、装置和nvo3网络
US11240065B2 (en) NSH encapsulation for traffic steering
US20230328006A1 (en) Interactions Between A Broadband Network Gateway And A Fifth Generation Core
CN109218178B (zh) 一种报文处理方法及网络设备
CN106936939B (zh) 一种报文处理方法、相关装置及nvo3网络系统
US9667541B2 (en) Virtual MAC address, mask-based, packet forwarding
WO2016101646A1 (zh) 以太虚拟网络的接入方法及装置
EP2224645B1 (en) A method and equipment for transmitting a message based on the layer-2 tunnel protocol
CN114124618B (zh) 一种报文传输方法及电子设备
CN110445702B (zh) 一种报文转发方法及设备
WO2014086047A1 (zh) 一种转发报文的方法、装置和数据中心网络
KR20150023620A (ko) 개별 관리들을 이용하는 vlan 태깅된 패킷들의 가상 포워딩 인스턴스들의 원단 주소들로의 라우팅
WO2014067280A1 (zh) 组播处理方法、装置及系统
WO2015074394A1 (zh) 一种报文转发方法及装置
US10673737B2 (en) Multi-VRF universal device internet protocol address for fabric edge devices
WO2019137355A1 (zh) 传输数据的方法、设备和网络系统
WO2020019958A1 (zh) Vxlan报文封装及策略执行方法、设备、系统
WO2020108531A1 (zh) 报文转发
WO2008017270A1 (fr) Procédé, dispositif et système ethernet supportant un acheminement multidiffusion à source spécifique
WO2021013233A1 (zh) Evpn报文转发方法、系统、存储介质和终端
US11102115B2 (en) Forwarding packet
CN108696414A (zh) 多归接入方法、装置及多归属节点
CN112134776B (zh) 生成组播转发表项的方法和接入网关
WO2021093463A1 (zh) 报文转发的方法、第一网络设备以及第一设备组
WO2022117018A1 (zh) 报文传输的方法和装置

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201380000655.2

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13888499

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2013888499

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2013888499

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE