WO2014067280A1 - 组播处理方法、装置及系统 - Google Patents
组播处理方法、装置及系统 Download PDFInfo
- Publication number
- WO2014067280A1 WO2014067280A1 PCT/CN2013/075566 CN2013075566W WO2014067280A1 WO 2014067280 A1 WO2014067280 A1 WO 2014067280A1 CN 2013075566 W CN2013075566 W CN 2013075566W WO 2014067280 A1 WO2014067280 A1 WO 2014067280A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- multicast
- address
- layer
- network
- source address
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4633—Interconnection of networks using encapsulation techniques, e.g. tunneling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/1886—Arrangements 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
- H04L12/4675—Dynamic sharing of VLAN information amongst network nodes
Definitions
- Multicast processing method device and system
- VXLAN Virtual extensible local area network
- VXLAN Machine, VM migration.
- VXLAN will eventually enable long-distance segmentation support for multi-tenant cloud networks.
- VXLAN mainly solves the problem of data center tenant isolation.
- the existing isolation methods are generally isolated by VLANs, but there are only 4096 VLANs, which cannot meet the isolation requirements of data center multi-tenancy.
- the VXLAN standard uses a 24-bit identifier called the VXLAN Network Identifier (VNI).
- VNI VXLAN Network Identifier
- Each management domain can define up to 16 million VNIs. Customer data is guaranteed to be separated because only the same VNI is running.
- the VM can communicate.
- FIG. 1 A schematic diagram of the networking of the VXLAN provided by the prior art is shown in FIG. 1. In the server SERVER in FIG.
- VTEP VXLAN Tunnel End Point
- the server supports a VXLAN Tunnel End Point (VTEP) function, wherein the VNI22 is A network identifier of VXLAN is assigned to a tenant.
- the VM of this tenant is distributed on SERVER1, SERVER3, SERVER4, and SERVER5.
- VMl-1 sends an ARP request packet, and the ARP request packet is first sent to VTEP1.
- VTEP1 does not learn the address of VM5-1, VTEP1 will The ARP request packet is encapsulated into a VXLAN broadcast packet.
- the Layer 3 broadcast is performed on the Layer 3 network.
- the broadcast address used is a Layer 3 multicast address corresponding to the VNI22. If the VTEP does not have a VNI22 tenant on the server, the VTEP. The broadcast packet will not be received. The VTEP on the server of the VNI22 tenant will receive the broadcast packet. For example, VTEP5 on SERVER5 will receive the broadcast packet. After that, VTEP5 strips the VLXAN of the broadcast packet. In the header, the ARP packet is received, and the ARP packet is broadcast to all VMs on the SERVER5. Since the target (target) of the ARP packet is VM5-1, only VM5-1 responds to the ARP request packet, and other VTEPs. No VM responds to the ARP request message.
- the ARP response packet sent by VM5-1 is also encapsulated as a VXLAN packet on VTEP5.
- VTEP5 sends the encapsulated VXLAN packet to VTEP1.
- VTEP1 strips the VXLAN header and obtains an ARP response packet and sends it to VM1-1.
- VETP1 performs ARP learning and generates corresponding ARP entries to ensure communication between VM1-1 and VM5-1.
- the management layer of the VXLAN management layer assigns a fixed IP address and a fixed Layer 3 multicast address to each VTEP.
- This fixed IP address or Layer 3 multicast address is used to encapsulate VXLAN unicast packets or multicast packets. Use, but this allocation is not suitable for some scenarios of VM multicast applications.
- the existing VXLAN does not support the IGMPv3 multicast source selection function.
- a prominent feature of IGMPv3 is the multicast source selection. Function, that is, the client can select a multicast source according to its own needs. In the existing VXLAN technology, only one IP address and one or more multicast addresses are assigned to the VTEP.
- the VTEP When processing the multicast packets, the VTEP encapsulates all the multicast packets in the VXLAN packet using the same multicast address.
- the source address of the VXLAN packet is the unicast address of the VTEP.
- the VTEP of the server where the multicast source is located is based on The received VXLAN packet cannot distinguish which multicast source is requested by the client. The multicast client cannot receive the multicast packet sent by the selected multicast source.
- the purpose of the embodiments of the present invention is to provide a multicast processing method, apparatus, and system in a VXLAN environment, which is to solve the problem that the multicast client in the prior art cannot correctly select a multicast source.
- the present invention provides a method for multicast processing, where the method includes:
- the VXLAN tunnel endpoint VTEP receives the configuration information sent by the management layer.
- the configuration information includes: the VM tenant ID, the mapping between the VM multicast address and the multicast address on the Layer 3 network, the VM multicast source address, and the Layer 3 network multicast. Mapping of source addresses;
- the VTEP receives the multicast packet sent by the VM that it manages, and after determining that the VM matches the VM tenant identifier, the VTEP encapsulates the multicast packet according to the VM multicast address and the Layer 3 network.
- the mapping between the multicast address and the destination address is encapsulated into a multicast address on the Layer 3 network, and the mapping is based on the mapping between the VM multicast source address and the Layer 3 network multicast source address.
- the VXLAN source address of the broadcasted 3 ⁇ 4 text is encapsulated into a Layer 3 network multicast source address, and the encapsulated multicast packet is sent to the Layer 3 network.
- the method further includes:
- the VTEP receives the multicast data packet sent by the VM that is managed by the VTEP, and performs XVLAN encapsulation on the multicast data packet after determining that the VM matches the VM tenant identifier, according to the VM multicast.
- the mapping between the address and the multicast address on the Layer 3 network encapsulates the destination address of the multicast data packet into a multicast address on the Layer 3 network, according to the VM multicast source address and the Layer 3 network multicast source address.
- the mapping relationship encapsulates the VXLAN source address of the multicast data packet into a Layer 3 network multicast source address, and sends the encapsulated multicast data packet to the Layer 3 network.
- the method further includes: when the multicast service ends, the VTEP receives the deletion command of the configuration information sent by the management layer, and And deleting the configuration information according to the deletion command.
- a multicast processing method includes:
- the VTEP of the VXLAN tunnel endpoint receives the configuration information sent by the management layer.
- the configuration information includes: the mapping between the VM tenant ID, the VM multicast address, and the multicast address on the Layer 3 network.
- the VTEP receives the VM multicast IGMP v3 message sent by the VM that it manages, and the IGMPv3 message carries the VM multicast address and the VM multicast source address;
- the VM multicast address in the IGMP v3 message is modified into three according to the mapping relationship between the VM multicast address and the multicast address on the Layer 3 network.
- the multicast address on the layer network is modified according to the mapping between the multicast source address of the VM and the multicast source address of the Layer 3 network.
- the multicast source address in the IGMPv3 message is modified to the multicast source address on the Layer 3 network.
- the subsequent IGMP v3 packets are sent to the Layer 3 network.
- the method further includes:
- the VTEP receives the multicast data packet sent by the other VTEPs in the VXLAN through the Layer 3 network, where the source address of the multicast data packet is a multicast source address on the Layer 3 network, and the destination address is a multicast address on the Layer 3 network;
- the VTEP decapsulates the multicast data packet according to the configuration information, and obtains the data in the multicast data packet, and sends the data in the multicast data packet to the VM.
- the method further includes: when the multicast service ends, the VTEP receives the deletion command of the configuration information sent by the management layer. And deleting the configuration information according to the delete command.
- a multicast processing apparatus includes: a receiving unit, configured to receive configuration information sent by a management layer; the configuration information includes: a VM tenant identifier, a VM multicast address, and a third layer The mapping relationship between the multicast address on the network and the mapping between the VM multicast source address and the Layer 3 network multicast source address.
- the receiving unit is further configured to receive a multicast packet sent by the VM that it manages;
- An encapsulating unit configured to perform XVLAN encapsulation on the multicast packet after determining that the VM matches the VM tenant identifier, according to the VM multicast address obtained from the receiving unit and on a Layer 3 network
- the multicast address mapping relationship encapsulates the source address and the destination address of the multicast packet into a multicast address on the Layer 3 network, according to the VM multicast source address and the Layer 3 network group obtained from the receiving unit.
- the source address mapping relationship encapsulates the VXLAN source address of the multicast message into a layer 3 network multicast source address;
- a sending unit configured to send the encapsulated multicast packet obtained from the encapsulating unit to the layer 3 network.
- the receiving unit is further configured to receive a multicast data packet sent by the VM that it manages;
- the encapsulating unit is further configured to: when determining that the VM matches the VM tenant identifier, performing XVLAN encapsulation on the multicast data packet, according to the VM multicast address and a multicast address on a Layer 3 network
- the mapping relationship encapsulates the destination address of the multicast data packet into a multicast address on the Layer 3 network, and the multicast data packet is obtained according to the mapping relationship between the VM multicast source address and the Layer 3 network multicast source address.
- the VXLAN source address is encapsulated into a Layer 3 network multicast source address; the packet is sent to the Layer 3 network.
- the device further includes: a deleting unit, configured to: when the multicast service ends, receive a deletion command of the configuration information sent by the management layer, and delete the configuration information according to the deleting command.
- a deleting unit configured to: when the multicast service ends, receive a deletion command of the configuration information sent by the management layer, and delete the configuration information according to the deleting command.
- a multicast processing apparatus includes: a receiving unit, configured to receive configuration information sent by the management layer, where the configuration information includes: a VM tenant identifier, a mapping relationship between a VM multicast address and a multicast address on a Layer 3 network, a VM multicast source address, and a Layer 3 network group Mapping relationship between broadcast source addresses;
- the receiving unit is further configured to receive an IGMP v3 message that is sent by the VM that is managed by the VM, and the IGMPv3 message carries a VM multicast address and a VM multicast source address;
- a modifying unit configured to determine, when the VM matches the VM tenant identifier, the IGMP v3 according to a mapping relationship between the VM multicast address obtained from the receiving unit and a multicast address on a Layer 3 network
- the VM multicast address in the message is modified to a multicast address on the Layer 3 network, and the IGMP v3 message is obtained according to the mapping relationship between the VM multicast source address obtained from the receiving unit and the Layer 3 network multicast source address.
- the multicast source address is modified into a multicast source address on the Layer 3 network.
- the sending unit is configured to send the modified IGMP v3 packet obtained from the modifying unit to the Layer 3 network.
- the device further includes:
- the receiving unit is further configured to receive a multicast data packet sent by the other VTEPs in the VXLAN through the Layer 3 network, where a source address of the multicast data packet is a multicast source on the Layer 3 network. Address, the destination address is a multicast address on the Layer 3 network;
- a decapsulating unit configured to obtain, according to the configuration information, the data in the multicast data packet after decapsulating the multicast data packet obtained by the receiving unit;
- a sending unit configured to send data in the multicast data packet obtained from the encapsulating unit to the VM.
- the method further includes: a deleting unit, configured to: when the multicast service ends, receive a deletion command of the configuration information sent by the management layer, and delete the configuration information according to the deleting command.
- a deleting unit configured to: when the multicast service ends, receive a deletion command of the configuration information sent by the management layer, and delete the configuration information according to the deleting command.
- a multicast processing system includes: a multicast source side VTEP, a multicast receiving side VTEP, and a management layer;
- the multicast source side VTEP and the multicast receiving side VTEP are respectively used by the receiving management layer to send
- the configuration information includes: a mapping relationship between a VM tenant ID, a VM multicast address, and a multicast address on a Layer 3 network, and a mapping relationship between a VM multicast source address and a Layer 3 network multicast source address;
- the VTEP of the multicast receiving side is further configured to receive the IGMP v3 message that is sent by the first VM that is managed by the first VM, and the IGMPv3 message carries the VM multicast address and the VM multicast source address.
- the VM multicast address in the IGMP v3 ⁇ text is modified to a Layer 3 network according to the mapping relationship between the VM multicast address and the multicast address on the Layer 3 network.
- the modified IGMP will be modified.
- the multicast source side VTEP is further configured to receive the multicast packet sent by the second VM that is managed by the multicast source. After determining that the second VM matches the VM tenant identifier, the multicast packet is XVLAN encapsulated.
- the source address and the destination address of the multicast message are encapsulated into a multicast address on the Layer 3 network according to the mapping relationship between the VM multicast address and the multicast address on the Layer 3 network, according to the VM multicast source address and the third layer.
- the mapping of the network multicast source address is used to encapsulate the VXLAN source address of the multicast packet into a Layer 3 network multicast source address; and the encapsulated multicast packet is sent to the Layer 3 network.
- the multicast source side VTEP is further configured to receive the multicast data packet sent by the first VM that is managed by the first source VM, and after determining that the first VM matches the VM tenant identifier,
- the destination address of the multicast data packet is encapsulated into a multicast address on the Layer 3 network according to the mapping relationship between the VM multicast address and the multicast address on the Layer 3 network.
- the VXLAN source address of the multicast data packet is encapsulated into a Layer 3 network multicast source address according to the mapping relationship between the VM multicast source address and the Layer 3 network multicast source address; and the encapsulated multicast data packet is sent. Giving the three-layer network;
- the multicast receiving side VTEP is further configured to receive the multicast data packet sent by the Layer 3 network, where the source address of the multicast data packet is a multicast source address on the Layer 3 network, and the destination address is a multicast address on the Layer 3 network; the data in the multicast data packet is obtained after the decapsulation of the multicast data packet according to the configuration information; and the data in the multicast data packet is sent to the Said second VM.
- the multicast source side VTEP is further configured to: when the multicast service ends, receive a deletion command of the configuration information sent by the management layer, and delete the configuration information according to the delete command;
- the broadcast receiving VTEP is further configured to receive a delete command of the configuration information sent by the management layer when the multicast service ends, and delete the configuration information according to the delete command.
- the technical solution provided by the present invention has the advantage of correctly selecting a multicast source.
- FIG. 1 is a network structure diagram of a VXLAN provided by the prior art
- FIG. 2 is a flow chart of a multicast processing method in a VXLAN according to an embodiment of the present invention
- FIG. 3 is a flowchart of a method for processing multicast in a VXLAN according to an embodiment of the present invention
- FIG. 4 is a structural diagram of a multicast processing apparatus according to an embodiment of the present invention
- FIG. 5 is a structural diagram of another multicast processing apparatus according to an embodiment of the present invention
- Network structure diagram of VXLAN
- FIG. 7 is a flowchart of a multicast processing method in a VXLAN according to an embodiment of the present invention. detailed description
- a specific embodiment of the present invention provides a method for multicast processing in a VXLAN, such as Figure 2, including
- a specific embodiment of the present invention provides a method for processing a multicast packet in a VXLAN, and the method is as shown in FIG. 2, including
- the VTEP receives the multicast message sent by the VM managed by the VTEP.
- the multicast After performing the XVLAN encapsulation of the multicast packet after determining that the VM matches the VM tenant identifier, the multicast is mapped according to the mapping relationship between the VM multicast address and the multicast address on the Layer 3 network.
- the source address and destination address of the packet are encapsulated into a multicast address on the Layer 3 network.
- the VXLAN source address of the multicast packet is encapsulated into three layers according to the mapping relationship between the VM multicast source address and the Layer 3 network multicast source address.
- the VTEP sends the encapsulated multicast packet to the Layer 3 network.
- the VTEP receives the multicast data packet sent by the VM managed by the VTEP.
- the XVLAN encapsulation of the multicast data packet after determining that the VM matches the VM tenant identifier, according to the mapping relationship between the VM multicast address and the multicast address on the Layer 3 network.
- the destination address of the multicast data packet is encapsulated into a multicast address on the Layer 3 network
- the VXLAN source address of the multicast data packet is encapsulated according to the mapping relationship between the VM multicast source address and the Layer 3 network multicast source address.
- S25-S27 in the above method is an optional step
- S25-S27 belongs to the operation of data transmission in the XVLAN environment
- S21-S24 belongs to the operation of control signaling in the XVLAN environment.
- the VTEP when receiving the multicast packet sent by the VM, the VTEP replaces the VM multicast address and the VM multicast source address of the multicast message with the VM multicast source address according to the configuration information.
- the multicast source address and the multicast address of the Layer 3 network are mapped to the VM (the multicast source side), and when the VM on the multicast receiving side sends the IGMP v3 message to the VM multicast (which carries the receiving)
- the VM multicast source selected by the side VM the multicast receiving VTEP modifies the source and destination addresses of the IGMP v3 ⁇ message to a Layer 3 multicast address and a multicast source address according to the configuration, and the IGMP v3 ⁇ It is sent to the Layer 3 network, so that the Layer 3 network can associate the VM on the multicast source side with the VM on the multicast join side.
- the Layer 3 network receives the multicast data packet sent by the multicast source.
- the VTEP can determine whether the multicast data packet belongs to the VM it manages according to the configuration information. If yes, the packet is decapsulated and sent, if not, directly discarded, so that the group in the VXLAN
- the broadcast client can select the multicast source to achieve the correct filtering of the multicast source.
- the foregoing method may further include: after the S27, the VTEP receives the deletion command of the configuration information sent by the management layer, and deletes the configuration information according to the deletion command.
- the specific method for determining whether the VM matches the VM tenant identifier may be: determining whether the VM matches the operator corresponding to the VM tenant identifier, and if yes, determining that the VM matches the VM tenant identifier, otherwise, the mismatch.
- the VM tenant ID can be: China Mobile's VM tenant ID or China Unicom VM tenant ID. If the VTEP determines whether the VM belongs to China Unicom or China Mobile, it can know whether the VM matches the VM tenant ID.
- the embodiment of the invention provides a multicast processing method in a VXLAN environment.
- the method is as shown in FIG. 3, and includes the following steps:
- the first VTEP receives the configuration information sent by the management layer.
- the configuration information includes: a mapping between a VM tenant ID, a VM multicast address, and a multicast address on a Layer 3 network, a VM multicast source address, and a Layer 3 network group. Mapping relationship between broadcast source addresses;
- the first VTEP receives the IGMP added to the VM multicast sent by the VM it manages.
- a v3 packet where the IGMPv3 packet carries a VM multicast address and a VM multicast source address;
- the first VTEP determines that the VM matches the VM tenant identifier (if the mismatch is determined, the IGMPv3 packet is directly discarded), and the first VTEP sends the IGMP v3 according to the configuration information.
- the VM multicast address in the text is modified to the multicast address on the Layer 3 network
- the VM multicast source address in the IGMP v3 is modified to the multicast source address on the Layer 3 network.
- the modified IGMP v3 is modified.
- the packet is sent to the Layer 3 network.
- the first VTEP receives the second VTEP (the second VTEP may also be multiple, where only one example is used herein), the multicast data packet sent by the Layer 3 network, the multicast datagram.
- the source address of the text is the multicast source address on the Layer 3 network
- the destination address is the multicast address on the Layer 3 network.
- the first VTEP decapsulates the multicast data packet according to the configuration information, obtains data in the multicast data packet, and sends the data in the multicast data packet to the first VTEP. Said VM. Specifically, after receiving the multicast data packet sent by the second VTEP through the Layer 3 network, the first VTEP determines whether the managed VM requests the multicast data packet, and if yes, Decapsulating the multicast data packet according to the configuration information, acquiring data in the multicast data packet, and transmitting data in the multicast data packet to the requesting the multicast data packet VM tenant; if no, discard the multicast data packet.
- the first VTEP and the second VTEP may be integrated on a server, switch or router.
- the embodiment of the present invention provides a method, when the first VTEP receives the IGMP v3 message sent by the VM on the multicast receiving side and joins the VM multicast (which carries the VM multicast source selected by the receiving side VM), the VTEP is configured according to the configuration. Modify the source and destination addresses of IGMPv3 messages to Layer 3 multicast addresses and multicast source addresses, and then send the IGMP v3 messages to the Layer 3 network. The Layer 3 network can then use the VMs on the multicast source side.
- the VTEP can determine the multicast according to the configuration information. Whether the data packet belongs to the VM it manages, such as If yes, the packet is sent after decapsulation. If no, it is directly discarded. In this way, the multicast client in the corresponding VXLAN can select the multicast source to achieve the correct selection of the multicast source.
- the foregoing method may further include: after the multicast is completed, receiving a deletion command of the configuration information sent by the management layer, and deleting the configuration information according to the deletion command.
- a specific embodiment of the present invention further provides a multicast processing apparatus.
- the VTEP includes:
- the receiving unit 41 is configured to receive configuration information sent by the management layer, where the configuration information includes: a VM tenant identifier, a mapping relationship between a VM multicast address and a multicast address on a Layer 3 network, a VM multicast source address, and a Layer 3 network. Mapping relationship between multicast source addresses;
- the receiving unit 41 is further configured to receive the multicast packet sent by the VM managed by the receiving unit.
- the encapsulating unit 42 is configured to perform XVLAN encapsulation on the multicast packet after determining that the VM matches the VM tenant identifier, and according to the VM multicast address and the three-layer network acquired from the receiving unit 41.
- the multicast address mapping relationship encapsulates the source address and the destination address of the multicast packet into a multicast address on the Layer 3 network, according to the VM multicast source address and the Layer 3 network group obtained from the receiving unit 41.
- the source address mapping relationship encapsulates the VXLAN source address of the multicast message into a layer 3 network multicast source address;
- the sending unit 43 is configured to send the encapsulated multicast packet obtained from the encapsulating unit 42 to the Layer 3 network.
- the multicast processing apparatus When receiving the multicast message, the multicast processing apparatus provided by the embodiment of the present invention replaces the VM multicast address and the VM multicast source address of the multicast message with the VM multicast source address according to the configuration information.
- the multicast group address and the multicast source address on the Layer 3 network so that the Layer 3 network distinguishes the multicast source address and multicast address of the Layer 3 network from the VM (multicast source side) according to the configuration information.
- the VM on the receiving side sends an IGMP v3 message to the VM multicast (that is, sends a source request)
- the multicast receiving VTEP sets the source address and destination of the IGMP v3 text according to the configuration.
- the address is changed to a Layer 3 multicast address and a multicast source address, and the IGMP v3 is transmitted to the Layer 3 network, so that the Layer 3 network can associate the VM on the multicast source side with the VM on the multicast join side.
- the Layer 3 network receives the multicast data packet sent by the multicast source and sends the multicast data packet to the multicast processing device, the multicast processing device can determine whether the multicast data packet is based on the configuration information.
- the VMs that belong to the management if yes, are decapsulated and sent, if not, directly discarded, so that the multicast client in the corresponding VXLAN can select the multicast source to achieve the correct selection of the multicast source.
- the receiving unit 41 is further configured to receive the multicast data packet sent by the VM managed by the VM.
- the encapsulating unit 42 is further configured to: after determining that the VM matches the VM tenant identifier, the multicast data.
- the destination address of the multicast data packet is encapsulated into a multicast address on the Layer 3 network according to the mapping relationship between the VM multicast address and the multicast address on the Layer 3 network, according to the VM.
- the mapping between the multicast source address and the Layer 3 network multicast source address encapsulates the VXLAN source address of the multicast data packet into a Layer 3 network multicast source address.
- the sending unit 43 is further configured to send the encapsulated multicast data packet obtained from the encapsulating unit 42 to the Layer 3 network.
- the foregoing multicast processing apparatus may further include: a deleting unit 44, configured to: when the multicast service ends, receive a deletion command of the configuration information sent by the management layer, and delete the configuration information according to the deleting command. .
- a deleting unit 44 configured to: when the multicast service ends, receive a deletion command of the configuration information sent by the management layer, and delete the configuration information according to the deleting command.
- the VTEP is as shown in FIG. 5, and includes:
- the receiving unit 51 is configured to receive configuration information sent by the management layer, where the configuration information includes: a VM tenant identifier, a mapping relationship between a VM multicast address and a multicast address on a Layer 3 network, a VM multicast source address, and a Layer 3 network. Mapping relationship between multicast source addresses;
- the receiving unit 51 is further configured to receive, by the VM managed by the VM, the IGMP v3 message that is added to the VM multicast, where the IGMPv3 message carries the VM multicast address and the VM multicast source address.
- a modifying unit 52 configured to determine, when the VM matches the VM tenant identifier, according to The mapping relationship between the VM multicast address obtained at the receiving unit 51 and the multicast address on the Layer 3 network modifies the VM multicast address in the IGMP v3 ⁇ file to a multicast address on the Layer 3 network, according to The mapping between the VM multicast source address and the Layer 3 network source address obtained from the receiving unit 51 modifies the multicast source address in the IGMP v3 message to the multicast source address on the Layer 3 network; The modified IGMP v3 message obtained from the modifying unit 52 is sent to the Layer 3 network.
- a specific embodiment of the present invention provides a multicast processing device that receives a IGMP v3 message sent by a VM on a multicast receiving side to join a VM multicast (ie, sends a source request), and the multicast processing device sources the IGMP v3 text according to the configuration.
- the address and the destination address are changed to the Layer 3 multicast address and the multicast source address, and the IGMP v3 is transmitted to the Layer 3 network.
- the Layer 3 network can join the VM on the multicast source side and the VM on the multicast side.
- the multicast processing device can determine the multicast data according to the configuration information. Whether the packet belongs to the VM it manages. If yes, it is sent after decapsulation. If it is not, it is directly discarded. Therefore, the multicast client in the corresponding VXLAN can select the multicast source to achieve the correct selection of the multicast source. .
- the receiving unit 51 is further configured to receive the multicast data packet sent by the other multicast processing device in the VXLAN through the Layer 3 network, where the source address of the multicast data packet is a multicast source on the Layer 3 network. Address, destination address is a multicast address on the Layer 3 network;
- the decapsulating unit 54 is configured to obtain the data in the multicast data packet after decapsulating the multicast data packet obtained from the receiving unit 51 according to the configuration information.
- the sending unit 53 is configured to send data in the multicast data packet obtained from the encapsulating unit 54 to the VM.
- the foregoing multicast processing apparatus may further include: a deleting unit 55, configured to: when the multicast service ends, receive a deletion command of the configuration information sent by the management layer, and delete the configuration information according to the deleting command. .
- a deleting unit 55 configured to: when the multicast service ends, receive a deletion command of the configuration information sent by the management layer, and delete the configuration information according to the deleting command.
- a specific embodiment of the present invention further provides a multicast processing system, where the processing system includes: Broadcast source side VTEP, multicast receiving side VTEP and management layer;
- the multicast source-side VTEP and the multicast-receiving-side VTEP are respectively used to receive configuration information sent by the management layer.
- the configuration information includes: mapping relationship between the VM tenant ID, the VM multicast address, and the multicast address on the Layer 3 network.
- the multicast source side VTEP is further configured to receive the multicast packet sent by the first VM that is managed by the multicast source, and perform XVLAN encapsulation on the multicast packet after determining that the first VM matches the VM tenant identifier.
- the source address and the destination address of the multicast packet are encapsulated into a multicast address on the Layer 3 network, according to the VM multicast source address and The mapping between the multicast source address of the Layer 3 network and the VXLAN source address of the multicast packet is encapsulated into a Layer 3 network multicast source address; the encapsulated multicast packet is sent to the Layer 3 network;
- the VTEP is further configured to receive an IGMP v3 message that is sent by the second VM that is managed by the second VM, and the IGMPv3 message carries a VM multicast address and a VM multicast source address; determining the VM and the VM tenant When the identifier is matched, the VM multicast address in the IGMP v3 is modified to a multicast address on the Layer 3 network according to the mapping relationship between the VM multicast address and the multicast address on the Layer 3 network, according to the VM.
- the multicast source side VTEP is further configured to receive a multicast data packet sent by the first VM that is managed by the multicast source, and to determine the multicast datagram after the VM matches the VM tenant identifier.
- the destination address of the multicast data packet is encapsulated into a multicast address on the Layer 3 network, according to the VM group.
- the mapping between the source address and the Layer 3 network multicast source address encapsulates the VXLAN source address of the multicast data packet into a Layer 3 network multicast source address.
- the encapsulated multicast data packet is sent to the Layer 3 network. ;
- the multicast receiving side VTEP is further configured to receive the multicast datagram sent by the Layer 3 network.
- the source address of the multicast data packet is a multicast source address on the Layer 3 network, and the destination address is a multicast address on the Layer 3 network.
- the multicast data packet is decapsulated according to the configuration information. Acquiring data in the multicast data packet; and sending data in the multicast data packet to the second VM.
- the multicast source side VTEP is further configured to: when the multicast service ends, receive a deletion command of the configuration information sent by the management layer, and delete the configuration information according to the delete command;
- the broadcast receiving VTEP is further configured to receive a delete command of the configuration information sent by the management layer when the multicast service ends, and delete the configuration information according to the delete command.
- Embodiments of the present invention provide a method for processing an IGMPv3 message in a VXLAN environment.
- the networking scenario of the method is as shown in FIG. 6, wherein all the VMs shown in FIG. 6 belong to the VNI 22, of course, in actual situations.
- the above VNI 22 can also be changed to other VNIs, such as VNI 21.
- VMl-1 and VMl-2 have a multicast address of 224.1.1.1 (the multicast address here is only for convenience of explanation. In actual cases, it can also be other multicast addresses).
- all three VMs are transmitting multicast packets with the multicast address 224.1.1.1, where VM1-1 and VM1-2 are located on the same SERVER1.
- VM5-1, VM6-1, and VM6-2 in this embodiment need to join the multicast group 224.1.1.1, but VM5-1 needs to join the multicast group with the multicast source 1.1.2.1. VM6-1 needs to join the multicast.
- the multicast group with the source 1.1.1.1 and the VM6-2 need to be added to the multicast group whose multicast source is 1.1.1.2.
- the method provided in this embodiment is shown in Figure 7.
- the management layer sends configuration information to all VTEPs of the VNI 22.
- the foregoing configuration information may be specifically: "VNI22 ( 1.1.1.1 , 224.1.1.1 ) ⁇ - > ( 2.2.2.2, 225.10.5.5 )
- VNI22 ( 1.1.1.2 , 224.1.1.1 ) ⁇ -- > ( 2.2.2.3 , 225.10.5.5 )
- VNI22 ( 1.1.2.1 , 224.1.1.1 ) ⁇ -- > ( 2.2.2.4 , 225.10.5.5 )
- llll represents the multicast source address of VMl-1 and 1.1.1.2 represents the multicast source of VMl-2 Address
- 1.1.2.1 indicates the multicast source address of VM2-1
- 224.1.1.1 indicates the VM multicast address
- ⁇ -> indicates the mapping relationship
- 225.10.5.5 indicates that the VM multicast address 224.1.1.1 is on the Layer 3 network (Layer3 Network)
- the mapped multicast address, 2.2.2.2 indicates the multicast source address of the MAC1-1 multicast source address 1.1.1.1 mapped on the Layer 3 Network
- 2.2.2.3 indicates the multicast source address of VM1-2 1.1 .1.2 the multicast source address mapped in the Layer 3 Network
- 2.2.2.4 indicates the multicast source address mapped by the multicast source address 1.1.2.1 of the VM2-1 in the Layer 3 Network;
- VTEP IP5 receives the multicast IGMPv3 message sent by VM5-1 (the VM multicast source address included in the packet is 1.1.2.1, VM multicast group address 224.1.1.1), VTEP (IP6) Receives the multicast IGMPv3 message sent by VM6-1 (the VM multicast source address is 1.1.1.1, the VM multicast address is 224.1.1.1), and the VTEP (IP6) receives the multicast IGMPv3 message sent by VM6-2.
- the format of the VM multicast source address is 1.1.1.2 and the VM multicast address is 224.1.1.1.
- the specific format of the IGMPv3 message added to the multicast is as follows:
- VM5-1 IGMPv3: JOIN 1.1.2.1, 224.1.1.1
- VM6-1 IGMPv3: JOIN 1.1.1.1, 224.1.1.1
- VM6-2 IGMPv3: JOIN 1.1.1.2, 224.1.1.1
- VTEP IP5 modifies IGMPv3: JOIN 1.1.2.1, 224.1.1.1 to IGMPv3: JOIN 2.2.2.4, 225.10.5.5 according to the above configuration information;
- VTEP IP6 according to the above configuration information IGMPv3: JOIN 1.1.1.1, 224.1.1.1 modified to IGMPv3: JOIN 2.2.2.2, 225.10.5.5;
- VTEP IP6 modifies IGMPv3: JOIN 1.1.1.2, 224.1.1.1 to IGMPv3 according to the above configuration information: JOIN 2.2.2.3 , 225.10.5.5.
- the VTEP adds the multicast IGMPv3 message to the VREP to modify the VM multicast address and the VM multicast source address of the IGMPv3 message according to the configuration information.
- the Layer 3 network learns the multicast source that the VTEP requests to join.
- the Layer 3 network sends the multicast packet to the corresponding multicast source.
- the VTEP decapsulates the VXLAN according to the VM status of the proxy and sends it to the corresponding VM. In this way, the multicast client in the corresponding VXLAN can select the multicast source to achieve the correct selection of the multicast source.
- each module or unit included is only divided according to functional logic, but is not limited to the above division, as long as the corresponding function can be realized; in addition, the specific name of each functional module is also They are only used to facilitate mutual differentiation and are not intended to limit the scope of the present invention.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
本发明适用于通信领域,提供了一种组播处理方法、装置及系统,所述方法包括:VTEP接收管理层发送的配置信息;VTEP接收其管理的VM发送的组播报文,在确定所述VM与所述VM租户标识匹配后对所述组播报文进行VXLAN封装时,根据所述VM组播地址与三层网络上的组播地址的映射关系将该组播报文的源地址和目的地址封装成三层网络上的组播地址,根据VM组播源地址与三层网络组播源地址的映射关系将组播报文的VXLAN源地址封装成三层网络组播源地址,将封装后的组播报文发送给三层网络。本发明提供的技术方案能够使VM正确选择组播源。
Description
组播处理方法、 装置及系统
本申请要求于 2012年 1 1月 2日提交中国专利局、 申请号为 201210433236.5、 发明名称为 "组播处理方法、 装置及系统" 的中国专利 申请的优先权, 其全部内容通过引用结合在本申请中。
技术领域 本发明属于通信领域, 尤其涉及一种 VXLAN中的组播处理方法、 装 置及系统。 背景技术 虚拟扩展局域网 ( Virtual extensible Local Area Network, VXLAN)是网 络虚拟化研究的热点, 它能够在物理网络上创建一个逻辑网络 (或扩展 VLAN) , 支持地理分散的数据中心之间实现远距离虚拟机 (Virtual
Machine , VM)迁移。 VXLAN最终会实现多租户云网络所需要的远距离分 割支持。 VXLAN主要解决数据中心租户隔离问题, 现有的隔离方法一般釆 用 VLAN进行隔离, 但是 VLAN只有 4096个, 不能满足数据中心多租户 的隔离需求。 VXLAN标准使用一个名为 VXLAN网络标识符 (VXLAN Network Identifier , VNI)的 24位标识符,每一个管理域能够定义多达 1600 万个 VNI , 客户数据会保证分离, 因为只有运行在同一个 VNI的 VM可以 进行通信。 现有技术提供的 VXLAN的组网示意图如图 1所示, 其中, 图 1中的服务 器 SERVER上虚拟出了多个 VM, 服务器支持 VXLAN 隧道终点 (VXLAN Tunnel End Point, VTEP )功能, 其中 VNI22是 VXLAN的一个网络标示符, 被分配给一个租户使用, 这个租户的 VM分布在 SERVER1、 SERVER3、 SERVER4、 SERVER5上, SERVER2和 SERVER6上没有该租户的 VM。 当
VMl-1需要和 VM5-1通信时候, VMl-1发送 ARP请求报文, 所述 ARP请求报 文首先被发送到了 VTEP1上, 当 VTEP1上没有学习到 VM5-1的地址时, VTEP1将所述 ARP请求报文封装成为 VXLAN广播报文, 在 Layer3 Network 上进行三层广播,使用的广播地址是 VNI22对应的一个三层组播地址; 如果 某个 VTEP所在的服务器上没有 VNI22的租户,这个 VTEP不会收到这个广播 报文; 有 VNI22租户的服务器上的 VTEP, 会收到这个广播报文, 比如 SERVER5上的 VTEP5会收到该广播报文, 之后, VTEP5剥掉该广播报文的 VLXAN头, 得到 ARP报文,并将该 ARP报文广播给 SERVER5上的所有 VM, 由于 ARP报文的目标( target )为 VM5-1 , 所以只有 VM5-1会响应该 ARP请 求报文, 其它 VTEP上没有 VM响应该 ARP请求报文。 VM5-1发送的 ARP响 应报文在 VTEP5上同样被封装为 VXLAN报文 , VTEP5将封装后的 VXLAN 报文发送给 VTEP1 , VTEP1剥掉 VXLAN头, 得到 ARP响应报文并发送给 VM1-1。 并且, VETP1会进行 ARP学习, 生成相应的 ARP表项, 保证后续 VM1-1和 VM5-1的通信。
VXLAN的管理层 Management Layer为每一个 VTEP分配固定的 IP地 址和固定的三层组播地址, 这个固定的 IP地址或三层组播地址用来在封装 VXLAN单播报文或组播报文的时候使用,但是这种分配对 VM的组播应用 的某些场景却不太合适, 存在以下的缺陷: 现有的 VXLAN不支持 IGMPv3的组播选源功能, IGMPv3的一个显著 特点就是组播源选择功能, 即客户端可以根据自己的需求选择组播源。 而 现有的 VXLAN技术中, 只分配一个 IP地址和一个或多个组播地址给 VTEP, VTEP在处理组播报文时, 将所有的组播报文使用同一个组播地址 封装在 VXLAN报文头中, VXLAN报文的源地址使用的是 VTEP的单播地 址, 当多个组播源在同一个 SERVER上, 并且组播源和发送组播请求的客 户端不在同一个 SERVER上的时候, 组播源所在的服务器的 VTEP根据接
收到的 VXLAN报文, 无法区分客户端请求的是该 SERVER下的哪个组播 源, 这样就造成组播客户端无法接收到所选择的组播源发送的组播报文。
发明内容
本发明实施例的目的在于提供一种 VXLAN环境中的组播处理方法、 装置和系统, 旨在解决现有技术的组播客户端无法正确的选择组播源的问 题。
一方面, 本发明提供一种组播处理的方法, 所述方法包括:
VXLAN隧道端点 VTEP接收管理层发送的配置信息;所述配置信息包 括: VM租户标识、 VM组播地址与三层网络上的组播地址的映射关系、 VM组播源地址与三层网络组播源地址的映射关系;
VTEP接收其管理的 VM发送的组播报文,在确定所述 VM与所述 VM 租户标识匹配后对所述组播报文进行 XVLAN封装时, 根据所述 VM组播 地址与三层网络上的组播地址的映射关系将该组播 ^艮文的源地址和目的地 址封装成三层网络上的组播地址, 根据 VM组播源地址与三层网络组播源 地址的映射关系将组播>¾文的 VXLAN源地址封装成三层网络组播源地址, 将封装后的组播报文发送给三层网络。
可选的, 所述方法还包括:
所述 VTEP接收其管理的 所述 VM发送的组播数据报文,在确定所述 VM与所述 VM租户标识匹配后对所述组播数据报文进行 XVLAN封装时 , 根据所述 VM组播地址与三层网络上的组播地址的映射关系将所述组播数 据报文的目的地址封装成三层网络上的组播地址, 根据 VM组播源地址与 三层网络组播源地址的映射关系将所述组播数据报文的 VXLAN源地址封 装成三层网络组播源地址, 将封装后的组播数据报文发送给三层网络。
可选的, 所述将封装后的组播数据报文发送给三层网络之后, 所述方 法还包括: 在组播业务结束时, VTEP接收管理层发送的所述配置信息的删除命令, 并根据所述删除命令删除所述配置信息。
另一方面, 提供一种组播处理方法, 所述方法包括:
虚拟扩展局域网 VXLAN隧道端点 VTEP接收管理层发送的配置信息; 所述配置信息包括: VM租户标识、 VM组播地址与三层网络上的组播地址 的映射关系, VM组播源地址与三层网络组播源地址的映射关系;
所述 VTEP接收其管理的 VM发送的加入 VM组播的 IGMP v3报文, 所述 IGMPv3报文携带 VM组播地址和 VM组播源地址;
所述 VTEP确定所述 VM与所述 VM租户标识匹配时, 根据所述 VM 组播地址与三层网络上的组播地址的映射关系将该 IGMP v3报文内的 VM 组播地址修改成三层网络上的组播地址, 根据 VM组播源地址与三层网络 组播源地址的映射关系将 IGMP v3报文内的组播源地址修改成三层网络上 的组播源地址, 将修改后的 IGMP v3报文发送给三层网络。
可选的, 所述方法还包括:
所述 VTEP接收所述 VXLAN中其他 VTEP通过所述三层网络发送的 组播数据报文, 所述组播数据报文的源地址为所述三层网络上的组播源地 址, 目的地址为所述三层网络上的组播地址;
所述 VTEP根据所述配置信息将所述组播数据报文解封装后获取所述 组播数据报文内的数据, 并将所述组播数据报文内的数据发送给所述 VM。
可选的, 所述将所述组播数据报文内的数据发送给所述 VM之后, 所 述方法还包括: 在组播业务结束时, VTEP接收管理层发送的所述配置信息的删除命令, 并根据所述删除命令删除所述配置信息。
下一方面, 提供一种组播处理装置, 所述组播处理装置包括: 接收单元, 用于接收管理层发送的配置信息; 所述配置信息包括: VM 租户标识、 VM组播地址与三层网络上的组播地址的映射关系、 VM组播源 地址与三层网络组播源地址的映射关系;
所述接收单元, 还用于接收其管理的 VM发送的组播报文;
封装单元, 用于在确定所述 VM与所述 VM租户标识匹配后对所述组 播报文进行 XVLAN封装时, 根据从所述接收单元处获取的所述 VM组播 地址与三层网络上的组播地址的映射关系将该组播 ^艮文的源地址和目的地 址封装成三层网络上的组播地址, 根据从所述接收单元处获取的 VM组播 源地址与三层网络组播源地址的映射关系将所述组播 ^艮文的 VXLAN源地 址封装成三层网络组播源地址;
发送单元, 用于将从所述封装单元处获取的封装后的组播报文发送给 三层网络。
可选的, 所述接收单元, 还用于接收其管理的所述 VM发送的组播数 据报文;
所述封装单元, 还用于在确定所述 VM与所述 VM租户标识匹配后对 所述组播数据报文进行 XVLAN封装时, 根据所述 VM组播地址与三层网 络上的组播地址的映射关系将所述组播数据报文的目的地址封装成三层网 络上的组播地址, 根据 VM组播源地址与三层网络组播源地址的映射关系 将所述组播数据报文的 VXLAN源地址封装成三层网络组播源地址; 报文发送给三层网络。
可选的, 所述装置还包括: 删除单元, 用于在组播业务结束时, 接收管理层发送的所述配置信息 的删除命令, 并根据所述删除命令删除所述配置信息。
还一方面, 提供一种组播处理装置, 所述装置包括:
接收单元, 用于接收管理层发送的配置信息; 所述配置信息包括: VM 租户标识、 VM组播地址与三层网络上的组播地址的映射关系、 VM组播源 地址与三层网络组播源地址的映射关系;
所述接收单元,还用于接收其管理的 VM发送的加入 VM组播的 IGMP v3报文, 所述 IGMPv3报文携带 VM组播地址和 VM组播源地址;
修改单元 , 用于确定所述 VM与所述 VM租户标识匹配时, 根据从所 述接收单元处获取的所述 VM组播地址与三层网络上的组播地址的映射关 系将所述 IGMP v3 ^艮文内的 VM组播地址修改成三层网络上的组播地址, 根据从所述接收单元处获取的 VM组播源地址与三层网络组播源地址的映 射关系将 IGMP v3报文内的组播源地址修改成三层网络上的组播源地址; 发送单元, 用于将从修改单元处获取的修改后的 IGMP v3报文发送给 三层网络。
可选的, 所述装置还包括:
所述接收单元, 还用于接收所述 VXLAN中其他 VTEP通过所述三层 网络发送的组播数据报文, 所述组播数据报文的源地址为所述三层网络上 的组播源地址, 目的地址为所述三层网络上的组播地址;
解封装单元, 用于根据所述配置信息将从所述接收单元处获取的所述 组播数据报文解封装后获取所述组播数据报文内的数据;
发送单元, 用于将从所述接封装单元处获取的所述组播数据报文内的 数据发送给所述 VM。
可选的, 还包括: 删除单元, 用于在组播业务结束时, 接收管理层发送的所述配置信息 的删除命令, 并根据所述删除命令删除所述配置信息。
最后一方面,提供一种组播处理系统,所述系统包括:组播源侧 VTEP、 组播接收侧 VTEP和管理层;
其中, 组播源侧 VTEP和组播接收侧 VTEP分别用于接收管理层发送
的配置信息; 所述配置信息包括: VM租户 ID、 VM组播地址与三层网络 上的组播地址的映射关系、 VM组播源地址与三层网络组播源地址的映射关 系;
组播接收侧 VTEP, 还用于接收其管理的第一 VM发送的加入 VM组 播的 IGMP v3报文, 所述 IGMPv3报文携带 VM组播地址和 VM组播源地 址; 在确定所述第一 VM与所述 VM租户标识匹配时, 根据所述 VM组播 地址与三层网络上的组播地址的映射关系将所述 IGMP v3 ^艮文内的 VM组 播地址修改成三层网络上的组播地址, 根据 VM组播源地址与三层网络组 播源地址的映射关系将 IGMP v3报文内的组播源地址修改成三层网络上的 组播源地址; 将修改后的 IGMP v3 4艮文发送给三层网络;
组播源侧 VTEP,还用于接收其管理的第二 VM发送的组播报文;在确 定所述第二 VM与所述 VM租户标识匹配后对所述组播报文进行 XVLAN 封装时, 根据所述 VM组播地址与三层网络上的组播地址的映射关系将该 组播 文的源地址和目的地址封装成三层网络上的组播地址, 根据 VM组 播源地址与三层网络组播源地址的映射关系将所述组播 4艮文的 VXLAN源 地址封装成三层网络组播源地址; 将封装后的组播报文发送给所述三层网 络。
可选的,所述组播源侧 VTEP,还用于接收其管理的所述第一 VM发送 的组播数据报文; 在确定所述第一 VM与所述 VM租户标识匹配后对所述 组播数据报文进行 XVLAN封装时, 根据所述 VM组播地址与三层网络上 的组播地址的映射关系将所述组播数据报文的目的地址封装成三层网络上 的组播地址, 根据 VM组播源地址与三层网络组播源地址的映射关系将所 述组播数据报文的 VXLAN源地址封装成三层网络组播源地址; 将封装后 的组播数据报文发送给所述三层网络;
所述组播接收侧 VTEP, 还用于接收三层网络发送的所述组播数据报 文, 所述组播数据报文的源地址为三层网络上的组播源地址, 目的地址为
三层网络上的组播地址; 根据所述配置信息所述组播数据报文解封装后获 取所述组播数据报文内的数据; 将所述组播数据报文内的数据发送给所述 第二 VM。
可选的, 所述组播源侧 VTEP, 还用于在组播业务结束时, 接收管理层 发送的所述配置信息的删除命令, 并根据所述删除命令删除所述配置信息; 所述组播接收侧 VTEP,还用于在组播业务结束时,接收管理层发送的 所述配置信息的删除命令, 并根据所述删除命令删除所述配置信息。
在本发明实施例中, 本发明提供的技术方案具有使正确选择组播源的 优点。 附图说明
图 1是现有技术提供的 VXLAN的组网结构图;
图 2是本发明具体实施方式提供的一种 VXLAN中组播处理方法的流 程图;
图 3是本发明具体实施方式提供的一种 VXLAN中处理组播处理方法 的流程图;
图 4是本发明具体实施方式提供的一种组播处理装置的结构图; 图 5是本发明具体实施方式提供的另一种组播处理装置的结构图; 图 6是本发明一实施例提供的 VXLAN的组网结构图;
图 7是本发明一实施例提供的 VXLAN中组播处理方法的流程图。 具体实施方式
为了使本发明的目的、 技术方案及优点更加清楚明白, 以下结合附图 及实施例, 对本发明进行进一步详细说明。 应当理解, 此处所描述的具体 实施例仅仅用以解释本发明, 并不用于限定本发明。
本发明具体实施方式提供一种 VXLAN 中组播处理的方法, 该方法如
图 2所示, 包括
本发明具体实施方式提供一种 VXLAN 中处理组播报文的方法, 该方 法如图 2所示, 包括
S21、 VXLAN隧道端点 VTEP接收管理层发送的配置信息; 所述配置 信息包括: VM租户标识、 VM组播地址与三层网络上的组播地址的映射关 系、 VM组播源地址与三层网络组播源地址的映射关系;
522、 VTEP接收其管理的 VM发送的组播 4艮文;
523、在确定所述 VM与所述 VM租户标识匹配后对所述组播报文进行 XVLAN封装时,根据所述 VM组播地址与三层网络上的组播地址的映射关 系将该组播报文的源地址和目的地址封装成三层网络上的组播地址, 根据 VM组播源地址与三层网络组播源地址的映射关系将组播 ^艮文的 VXLAN 源地址封装成三层网络组播源地址;
524、 VTEP将封装后的组播报文发送给三层网络。
S25、 VTEP接收其管理的 VM发送的组播数据报文;
S26、在确定所述 VM与所述 VM租户标识匹配后对所述组播数据报文 进行 XVLAN封装时, 根据所述 VM组播地址与三层网络上的组播地址的 映射关系将所述组播数据报文的目的地址封装成三层网络上的组播地址, 根据 VM组播源地址与三层网络组播源地址的映射关系将所述组播数据报 文的 VXLAN源地址封装成三层网络组播源地址;
S27、 将封装后的组播数据报文发送给三层网络。
需要说明的是, 上述方法中的 S25-S27 属于可选步骤, S25-S27 属于 XVLAN环境中数据传输的操作, S21-S24属于 XVLAN环境中控制信令的 操作。
本发明具体实施方式提供的方法中, VTEP在接收到 VM发送的组播报 文时, 根据配置信息将该组播^艮文的 VM组播地址和 VM组播源地址替换 成三层网络上的组播组地址和三层网络上的组播源地址, 这样三层网络就
根据该配置信息区分三层网络的组播源地址和组播地址对应那个 VM(组播 源侧), 当组播接收侧的 VM发送加入 VM组播的 IGMP v3报文时(其中 携带了接收侧 VM所选择的 VM组播源 ), 组播接收侧 VTEP根据配置将 IGMP v3 ^艮文的源地址和目的地址修改为三层组播地址和组播源地址, 将 该 IGMP v3 ^艮文发送到三层网络上,这样三层网络就可以将组播源侧的 VM 与组播加入侧的 VM对应起来, 如三层网络接收到组播源侧发送的组播数 据报文, 将组播数据报文发送给 VTEP后, VTEP就能根据该配置信息判断 该组播数据报文是否属于其管理的 VM, 如是, 则解封装后发送, 如否, 直 接丟弃, 这样 VXLAN 中的组播客户端就可以选择组播源, 以达到正确的 过滤组播源的目的。
可选的, 上述方法在 S27之后还可以包括: 在组播业务结束时, VTEP接收管理层发送的所述配置信息的删除命令, 并根据所述删除命令删除所述配置信息。 可选的, 上述判断 VM是否与 VM租户标识匹配的具体方法可以为: 判 断 VM是否与 VM租户标识对应的运营商匹配, 如匹配, 则确定 VM与 VM租 户标识匹配, 否则为不匹配。 这里的 VM租户标识具体可以为: 中国移动的 VM租户标识或中国联通 VM租户标识,则 VTEP判断该 VM是否属于中国联通或中国移动即可获知该 VM是否与 VM租户标识匹配。
本发明实施例提供一种 VXLAN环境中组播处理方法, 该方法如图 3 所示, 包括如下步骤:
S31、第一 VTEP接收 Management Layer发送的配置信息; 所述配置信 息包括: VM租户 ID、 VM组播地址与三层网络上的组播地址的映射关系 , VM组播源地址与三层网络组播源地址的映射关系;
S32、 所述第一 VTEP接收其管理的 VM发送的加入 VM组播的 IGMP
v3报文, 所述 IGMPv3报文携带 VM组播地址以及 VM组播源地址;
S33、所述第一 VTEP确定所述 VM与所述 VM租户标识匹配时(如确 定不匹配, 直接丟弃该 IGMPv3报文) , 所述第一 VTEP根据所述配置信 息将该 IGMP v3 ^艮文内的 VM组播地址修改成三层网络上的组播地址, 将 该 IGMP v3 ^艮文内的 VM组播源地址修改成三层网络上的组播源地址, 将 修改后的 IGMP v3报文发送给三层网络。
534、 所述第一 VTEP接收所述第二 VTEP (这里的第二 VTEP也可以 为多个, 这里仅用一个举例说明)通过三层网络发送的组播数据报文, 所 述组播数据报文的源地址为三层网络上的组播源地址, 目的地址为三层网 络上的组播地址;
535、 所述第一 VTEP根据所述配置信息将所述组播数据报文解封装后 获取所述组播数据报文内的数据, 并将所述组播数据报文内的数据发送给 所述 VM。 具体来说, 所述第一 VTEP接收到所述第二 VTEP通过三层网络发送的组 播数据报文后,判断是否有其管理的 VM请求过所述组播数据报文,如果是, 则将所述组播数据报文根据所述配置信息解封装, 获取所述组播数据报文 内的数据, 将所述组播数据报文内的数据发送给请求所述组播数据报文的 VM租户; 如否, 丟弃所述组播数据报文。
所述第一 VTEP和第二 VTEP可以集成在服务器、 交换机或路由器上。 本发明具体实施方式提供方法, 第一 VTEP接收到组播接收侧的 VM 发送的加入 VM组播的 IGMP v3报文时(其中携带了接收侧 VM所选择的 VM组播源 ) , VTEP根据配置将 IGMP v3报文的源地址和目的地址修改为 三层组播地址和组播源地址, 将该 IGMP v3 ^艮文到三层网络上, 这样三层 网络就可以将组播源侧的 VM与组播加入侧的 VM对应起来, 如三层网络 接收到组播源侧发送的组播数据报文, 将组播数据报文发送给 VTEP后, VTEP就能根据该配置信息判断该组播数据报文是否属于其管理的 VM,如
是, 则解封装后发送, 如否, 直接丟弃, 这样对应的 VXLAN 中组播客户 端就可以选择组播源, 以达到正确的选择组播源的目的。 可选的, 上述方法在 S35之后还可以包括: 在组播完成后, 接收 Management Layer发送的上述配置信息的删除命 令, 并根据删除命令删除上述配置信息。
本发明具体实施方式还提供一种组播处理装置, 该 VTEP如图 4所示, 包括:
接收单元 41 , 用于接收管理层发送的配置信息; 所述配置信息包括: VM租户标识、 VM组播地址与三层网络上的组播地址的映射关系、 VM组 播源地址与三层网络组播源地址的映射关系;
接收单元 41 , 还用于接收其管理的 VM发送的组播报文;
封装单元 42 , 用于在确定所述 VM与所述 VM租户标识匹配后对所述 组播报文进行 XVLAN封装且时,根据从接收单元 41处获取的所述 VM组 播地址与三层网络上的组播地址的映射关系将该组播 ^艮文的源地址和目的 地址封装成三层网络上的组播地址,根据从接收单元 41处获取的 VM组播 源地址与三层网络组播源地址的映射关系将所述组播 ^艮文的 VXLAN源地 址封装成三层网络组播源地址;
发送单元 43 ,用于将从封装单元 42处获取的封装后的组播报文发送给 三层网络。
本发明具体实施方式提供的组播处理装置在接收到 VM发送组播报文 时, 根据配置信息将该组播^艮文的 VM组播地址和 VM组播源地址替换成 三层网络上的组播组地址和三层网络上的组播源地址, 这样三层网络就根 据该配置信息区分三层网络的组播源地址和组播地址对应那个 VM(组播源 侧), 当组播接收侧的 VM发送加入 VM组播的 IGMP v3报文时(即发送 选源请求),组播接收侧 VTEP根据配置将 IGMP v3 文的源地址和目的地
址修改为三层组播地址和组播源地址, 将该 IGMP v3 ^艮文到三层网络上, 这样三层网络就可以将组播源侧的 VM与组播加入侧的 VM对应起来 , 如 三层网络接收到组播源侧发送的组播数据报文, 将组播数据报文发送给组 播处理装置后, 组播处理装置就能根据该配置信息判断该组播数据报文是 否属于其管理的 VM, 如是, 则解封装后发送, 如否, 直接丟弃, 这样对应 的 VXLAN 中组播客户端就可以选择组播源, 以达到正确的选择组播源的 目的。
可选的,接收单元 41 ,还用于接收其管理的 VM发送的组播数据报文; 封装单元 42 , 还用于在确定所述 VM与所述 VM租户标识匹配后对所 述组播数据报文进行 XVLAN封装时, 根据所述 VM组播地址与三层网络 上的组播地址的映射关系将所述组播数据报文的目的地址封装成三层网络 上的组播地址, 根据 VM组播源地址与三层网络组播源地址的映射关系将 所述组播数据报文的 VXLAN源地址封装成三层网络组播源地址;
发送单元 43 ,还用于将从封装单元 42处获取的封装后的组播数据报文 发送给三层网络。
可选的, 上述组播处理装置还可以包括: 删除单元 44, 用于在组播业务结束时, 接收管理层发送的所述配置信 息的删除命令, 并根据所述删除命令删除所述配置信息。
本发明具体实施方式还提供另一种组播处理装置, 该 VTEP如图 5所 示, 包括:
接收单元 51 , 用于接收管理层发送的配置信息; 所述配置信息包括: VM租户标识、 VM组播地址与三层网络上的组播地址的映射关系、 VM组 播源地址与三层网络组播源地址的映射关系;
接收单元 51 ,还用于接收其管理的 VM发送的加入 VM组播的 IGMP v3 报文, 所述 IGMPv3报文携带 VM组播地址和 VM组播源地址;
修改单元 52, 用于确定所述 VM与所述 VM租户标识匹配时, 根据从
接收单元 51处获取的所述 VM组播地址与三层网络上的组播地址的映射关 系将所述 IGMP v3 ^艮文内的 VM组播地址修改成三层网络上的组播地址, 根据从接收单元 51处获取的 VM组播源地址与三层网络组播源地址的映射 关系将 IGMP v3报文内的组播源地址修改成三层网络上的组播源地址; 发送单元 53 , 用于将从修改单元 52处获取的修改后的 IGMP v3报文 发送给三层网络。
本发明具体实施方式提供组播处理装置接收到组播接收侧的 VM发送 加入 VM组播的 IGMP v3 ^艮文时(即发送选源请求 ),组播处理装置根据配 置将 IGMP v3 文的源地址和目的地址修改为三层组播地址和组播源地 址, 将该 IGMP v3 ^艮文到三层网络上, 这样三层网络就可以将组播源侧的 VM与组播加入侧的 VM对应起来, 如三层网络接收到组播源侧发送的组 播数据报文, 将组播数据报文发送给组播处理装置后, 组播处理装置就能 根据该配置信息判断该组播数据报文是否属于其管理的 VM,如是,则解封 装后发送, 如否, 直接丟弃, 这样对应的 VXLAN 中组播客户端就可以选 择组播源, 以达到正确的选择组播源的目的。
可选的, 接收单元 51 , 还用于接收 VXLAN中其他组播处理装置通过 三层网络发送的组播数据报文, 所述组播数据报文的源地址为三层网络上 的组播源地址, 目的地址为三层网络上的组播地址;
解封装单元 54,用于根据所述配置信息将从接收单元 51处获取的所述 组播数据报文解封装后获取所述组播数据报文内的数据;
发送单元 53 ,用于将从接封装单元 54处获取的所述组播数据报文内的 数据发送给所述 VM。
可选的, 上述组播处理装置还可以包括: 删除单元 55, 用于在组播业务结束时, 接收管理层发送的所述配置信 息的删除命令, 并根据所述删除命令删除所述配置信息。
本发明具体实施方式还提供一种组播处理系统, 该处理系统包括: 组
播源侧 VTEP、 组播接收侧 VTEP和管理层;
其中, 组播源侧 VTEP和组播接收侧 VTEP分别用于接收管理层发送 的配置信息; 所述配置信息包括: VM租户 ID、 VM组播地址与三层网络 上的组播地址的映射关系、 VM组播源地址与三层网络组播源地址的映射关 系;
组播源侧 VTEP,还用于接收其管理的第一 VM发送的组播报文;在确 定所述第一 VM与所述 VM租户标识匹配后对所述组播报文进行 XVLAN 封装且时, 根据所述 VM组播地址与三层网络上的组播地址的映射关系将 该组播报文的源地址和目的地址封装成三层网络上的组播地址, 根据 VM 组播源地址与三层网络组播源地址的映射关系将所述组播 ^艮文的 VXLAN 源地址封装成三层网络组播源地址; 将封装后的组播报文发送给三层网络; 组播接收侧 VTEP, 还用于接收其管理的第二 VM发送的加入 VM组 播的 IGMP v3报文, 所述 IGMPv3报文携带 VM组播地址和 VM组播源地 址; 确定所述 VM与所述 VM租户标识匹配时, 根据所述 VM组播地址与 三层网络上的组播地址的映射关系将所述 IGMP v3 ^艮文内的 VM组播地址 修改成三层网络上的组播地址, 根据 VM组播源地址与三层网络组播源地 址的映射关系将 IGMP v3报文内的组播源地址修改成三层网络上的组播源 地址; 将修改后的 IGMP v3 4艮文发送给三层网络。
可选的,所述组播源侧 VTEP,还用于接收其管理的第一 VM发送的组 播数据报文; 在确定所述 VM与所述 VM租户标识匹配后对所述组播数据 报文进行 XVLAN封装时, 根据所述 VM组播地址与三层网络上的组播地 址的映射关系将所述组播数据报文的目的地址封装成三层网络上的组播地 址, 根据 VM组播源地址与三层网络组播源地址的映射关系将所述组播数 据报文的 VXLAN源地址封装成三层网络组播源地址; 将封装后的组播数 据报文发送给三层网络;
所述组播接收侧 VTEP, 还用于接收三层网络发送的所述组播数据报
文, 所述组播数据报文的源地址为三层网络上的组播源地址, 目的地址为 三层网络上的组播地址; 根据所述配置信息所述组播数据报文解封装后获 取所述组播数据报文内的数据; 将所述组播数据报文内的数据发送给所述 第二 VM。
可选的, 所述组播源侧 VTEP, 还用于在组播业务结束时, 接收管理层 发送的所述配置信息的删除命令, 并根据所述删除命令删除所述配置信息; 所述组播接收侧 VTEP,还用于在组播业务结束时,接收管理层发送的 所述配置信息的删除命令, 并根据所述删除命令删除所述配置信息。
实施例 本发明一实施例提供一种 VXLAN环境中处理 IGMPv3报文的方法, 该 方法的组网场景如图 6所示,其中如图 6所示的所有的 VM归属于 VNI22,当然 在实际情况中, 上述 VNI22也可以更改成其他的 VNI, 例如 VNI 21。 如图 4 所示, VMl-l和VMl-2为组播地址为224.1.1.1 (这里的组播地址仅仅是为了 方便说明进行的举例, 在实际情况中, 也可以为其他的组播地址) 的两个 不同的组播源,并且都在 SERVER1上, VM1-1发送( S,G )=(1.1.1.1 , 224.1.1.1) 的组播报文, VM1-2发送(S,G ) =(1.1.1.2, 224.1.1.1)的组播报文, 另外还 有一个组播组地址为 224.1.1.1的组播源 VM2- 1在 SERVER2上,它发送( S,G ) =(1.1.2.1 , 224.1.1.1)的组播报文。 如上所述, 这三个 VM都在发送组播地址 为 224.1.1.1的组播报文, 其中 VM1-1和 VM1-2位于同一个 SERVER1上。 本 实施例中的 VM5-1、 VM6-l和VM6-2需要加入组播组224.1.1.1 , 但是 VM5-1 需要加入组播源为 1.1.2.1的组播组, VM6-1需要加入组播源为 1.1.1.1的组播 组, VM6-2需要加入组播源为 1.1.1.2的组播组, 本实施例提供的方法如图 7 所示, 包括:
S71、 Management Layer发送配置信息给 VNI22的所有 VTEP; 上述配置信息具体可以为:
"VNI22 ( 1.1.1.1 , 224.1.1.1 ) <―— > ( 2.2.2.2, 225.10.5.5 )
"VNI22 : ( 1.1.1.2 , 224.1.1.1 ) <—— > ( 2.2.2.3 , 225.10.5.5 ) "
"VNI22 : ( 1.1.2.1 , 224.1.1.1 ) <—— > ( 2.2.2.4, 225.10.5.5 ) " 其中, l.l.l.l表示VMl-l的组播源地址, 1.1.1.2表示VMl-2的组播源地 址; 1.1.2.1表示 VM2-1的组播源地址; 224.1.1.1表示 VM组播地址; <—— > 表示映射关系, 225.10.5.5表示 VM组播地址 224.1.1.1在三层网络( Layer3 Network )映射的组播地址, 2.2.2.2表示 VM1-1的组播源地址 1.1.1.1在三层 网络( Layer3 Network ) 映射的组播源地址; 2.2.2.3表示 VM1-2的组播源地 址 1.1.1.2在三层网络( Layer3 Network ) 映射的组播源地址; 2.2.2.4表示 VM2-1的组播源地址 1.1.2.1在三层网络( Layer3 Network ) 映射的组播源地 址;
572、 VTEP ( IP5 )接收 VM5-1发送的加入组播的 IGMPv3报文(该报文 内包含的 VM组播源地址为 1.1.2.1 , VM组播组地址 224.1.1.1 ) , VTEP ( IP6 ) 接收 VM6-1发送的加入组播的 IGMPv3报文( VM组播源地址为 1.1.1.1 , VM 组播地址为 224.1.1.1 ) , VTEP ( IP6 )接收 VM6-2发送的加入组播的 IGMPv3 报文( VM组播源地址为 1.1.1.2 , VM组播地址为 224.1.1.1 ) ; 需要说明的是, 上述加入组播的 IGMPv3报文的具体格式如下:
"VM5-1 : IGMPv3: JOIN 1.1.2.1, 224.1.1.1"
"VM6-1 : IGMPv3: JOIN 1.1.1.1, 224.1.1.1" "VM6-2 : IGMPv3: JOIN 1.1.1.2, 224.1.1.1"
573、 VTEP ( IP5 )根据上述配置信息将 IGMPv3: JOIN 1.1.2.1, 224.1.1.1 修改成 IGMPv3: JOIN 2.2.2.4, 225.10.5.5; VTEP ( IP6 )根据上述配置信息将
IGMPv3: JOIN 1.1.1.1, 224.1.1.1修改成 IGMPv3: JOIN 2.2.2.2, 225.10.5.5; VTEP ( IP6 )根据上述配置信息将 IGMPv3: JOIN 1.1.1.2, 224.1.1.1修改成 IGMPv3: JOIN 2.2.2.3, 225.10.5.5。 本发明实施例提供的 VM向 VTEP发送加入组播 IGMPv3报文加入组播 后, VTEP将加入组播 IGMPv3报文根据配置信息对 IGMPv3报文的 VM组播 地址和 VM组播源地址修改后发送给三层网络, 三层网络就会获知 VTEP所 请求加入的组播源, 当接收到对应组播源的组播 4艮文时, 三层网络就会将 该组播报文发送到对应的 VTEP上, VTEP根据代理的 VM情况, 将 VXLAN 解封装后, 发送到对应的 VM上。 这样对应的 VXLAN中组播客户端就可以 选择组播源, 以达到正确的选择组播源的目的。
上述单元和系统实施例中, 所包括的各个模块或单元只是按照功能逻 辑进行划分的, 但并不局限于上述的划分, 只要能够实现相应的功能即可; 另外, 各功能模块的具体名称也只是为了便于相互区分, 并不用于限制本 发明的保护范围。
本领域技术人员可以理解, 本发明实施例提供的技术方案全部或部分 步骤是可以通过程序指令相关的硬件来完成。 比如可以通过计算机运行程 来完成。 该程序可以存储在可读取存储介质, 例如, 随机存储器、 磁盘、 光盘等。
以上所述仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡在 本发明的原则之内所作的任何修改、 等同替换和改进等, 均应包含在本发 明的保护范围之内。
Claims
1、 一种组播处理方法, 其特征在于, 所述方法包括:
VXLAN隧道端点 VTEP接收管理层发送的配置信息;所述配置信息包 括: VM租户标识、 VM组播地址与三层网络上的组播地址的映射关系、 VM组播源地址与三层网络组播源地址的映射关系;
VTEP接收其管理的 VM发送的组播报文,在确定所述 VM与所述 VM 租户标识匹配后对所述组播报文进行 XVLAN封装时, 根据所述 VM组播 地址与三层网络上的组播地址的映射关系将该组播 ^艮文的源地址和目的地 址封装成三层网络上的组播地址, 根据 VM组播源地址与三层网络组播源 地址的映射关系将组播>¾文的 VXLAN源地址封装成三层网络组播源地址, 将封装后的组播报文发送给三层网络。
2、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 所述 VTEP接收其管理的 所述 VM发送的组播数据报文,在确定所述
VM与所述 VM租户标识匹配后对所述组播数据报文进行 XVLAN封装时 , 根据所述 VM组播地址与三层网络上的组播地址的映射关系将所述组播数 据报文的目的地址封装成三层网络上的组播地址, 根据 VM组播源地址与 三层网络组播源地址的映射关系将所述组播数据报文的 VXLAN源地址封 装成三层网络组播源地址, 将封装后的组播数据报文发送给三层网络。
3、 根据权利要求 1所述的方法, 其特征在于, 所述将封装后的组播数 据报文发送给三层网络之后, 所述方法还包括: 在组播业务结束时, VTEP接收管理层发送的所述配置信息的删除命令, 并根据所述删除命令删除所述配置信息。
4、 一种组播处理方法, 其特征在于, 所述方法包括:
虚拟扩展局域网 VXLAN隧道端点 VTEP接收管理层发送的配置信息; 所述配置信息包括: VM租户标识、 VM组播地址与三层网络上的组播地址 的映射关系, VM组播源地址与三层网络组播源地址的映射关系;
所述 VTEP接收其管理的 VM发送的加入 VM组播的 IGMP v3报文, 所述 IGMPv3报文携带 VM组播地址和 VM组播源地址;
所述 VTEP确定所述 VM与所述 VM租户标识匹配时, 根据所述 VM 组播地址与三层网络上的组播地址的映射关系将该 IGMP v3报文内的 VM 组播地址修改成三层网络上的组播地址, 根据 VM组播源地址与三层网络 组播源地址的映射关系将 IGMP v3报文内的组播源地址修改成三层网络上 的组播源地址, 将修改后的 IGMP v3报文发送给三层网络。
5、 根据权利要求 4所述的方法, 其特征在于, 所述方法还包括: 所述 VTEP接收所述 VXLAN中其他 VTEP通过所述三层网络发送的 组播数据报文, 所述组播数据报文的源地址为所述三层网络上的组播源地 址, 目的地址为所述三层网络上的组播地址;
所述 VTEP根据所述配置信息将所述组播数据报文解封装后获取所述 组播数据报文内的数据, 并将所述组播数据报文内的数据发送给所述 VM。
6、 根据权利要求 4所述的方法, 其特征在于, 所述将所述组播数据报 文内的数据发送给所述 VM之后, 所述方法还包括: 在组播业务结束时, VTEP接收管理层发送的所述配置信息的删除命令, 并根据所述删除命令删除所述配置信息。
7、 一种组播处理装置, 其特征在于, 所述组播处理装置包括: 接收单元, 用于接收管理层发送的配置信息; 所述配置信息包括: VM 租户标识、 VM组播地址与三层网络上的组播地址的映射关系、 VM组播源 地址与三层网络组播源地址的映射关系;
所述接收单元, 还用于接收其管理的 VM发送的组播报文;
封装单元, 用于在确定所述 VM与所述 VM租户标识匹配后对所述组 播报文进行 XVLAN封装时, 根据从所述接收单元处获取的所述 VM组播 地址与三层网络上的组播地址的映射关系将该组播 ^艮文的源地址和目的地 址封装成三层网络上的组播地址, 根据从所述接收单元处获取的 VM组播
源地址与三层网络组播源地址的映射关系将所述组播 ^艮文的 VXLAN源地 址封装成三层网络组播源地址;
发送单元, 用于将从所述封装单元处获取的封装后的组播报文发送给 三层网络。
8、 根据权利要求 7所述的装置, 其特征在于,
所述接收单元, 还用于接收其管理的所述 VM发送的组播数据报文; 所述封装单元, 还用于在确定所述 VM与所述 VM租户标识匹配后对 所述组播数据报文进行 XVLAN封装时, 根据所述 VM组播地址与三层网 络上的组播地址的映射关系将所述组播数据报文的目的地址封装成三层网 络上的组播地址, 根据 VM组播源地址与三层网络组播源地址的映射关系 将所述组播数据报文的 VXLAN源地址封装成三层网络组播源地址; 报文发送给三层网络。
9、 根据权利要求 8所述的装置, 其特征在于, 还包括: 删除单元, 用于在组播业务结束时, 接收管理层发送的所述配置信息 的删除命令, 并根据所述删除命令删除所述配置信息。
10、 一种组播处理装置, 其特征在于, 所述装置包括:
接收单元, 用于接收管理层发送的配置信息; 所述配置信息包括: VM 租户标识、 VM组播地址与三层网络上的组播地址的映射关系、 VM组播源 地址与三层网络组播源地址的映射关系;
所述接收单元,还用于接收其管理的 VM发送的加入 VM组播的 IGMP v3报文, 所述 IGMPv3报文携带 VM组播地址和 VM组播源地址;
修改单元 , 用于确定所述 VM与所述 VM租户标识匹配时, 根据从所 述接收单元处获取的所述 VM组播地址与三层网络上的组播地址的映射关 系将所述 IGMP v3 ^艮文内的 VM组播地址修改成三层网络上的组播地址, 根据从所述接收单元处获取的 VM组播源地址与三层网络组播源地址的映
射关系将 IGMP v3报文内的组播源地址修改成三层网络上的组播源地址; 发送单元, 用于将从修改单元处获取的修改后的 IGMP v3报文发送给 三层网络。
11、 根据权利要求 10所述的装置, 其特征在于, 所述装置还包括: 所述接收单元, 还用于接收所述 VXLAN中其他 VTEP通过所述三层 网络发送的组播数据报文, 所述组播数据报文的源地址为所述三层网络上 的组播源地址, 目的地址为所述三层网络上的组播地址;
解封装单元, 用于根据所述配置信息将从所述接收单元处获取的所述 组播数据报文解封装后获取所述组播数据报文内的数据;
发送单元, 用于将从所述接封装单元处获取的所述组播数据报文内的 数据发送给所述 VM。
12、 根据权利要求 11所述的装置, 其特征在于, P还包括: 删除单元, 用于在组播业务结束时, 接收管理层发送的所述配置信息 的删除命令, 并根据所述删除命令删除所述配置信息。
13、一种组播处理系统,其特征在于, 所述系统包括: 组播源侧 VTEP、 组播接收侧 VTEP和管理层;
其中, 组播源侧 VTEP和组播接收侧 VTEP分别用于接收管理层发送 的配置信息; 所述配置信息包括: VM租户 ID、 VM组播地址与三层网络 上的组播地址的映射关系、 VM组播源地址与三层网络组播源地址的映射关 系;
组播接收侧 VTEP, 还用于接收其管理的第一 VM发送的加入 VM组 播的 IGMP v3报文, 所述 IGMPv3报文携带 VM组播地址和 VM组播源地 址; 在确定所述第一 VM与所述 VM租户标识匹配时, 根据所述 VM组播 地址与三层网络上的组播地址的映射关系将所述 IGMP v3 ^艮文内的 VM组 播地址修改成三层网络上的组播地址, 根据 VM组播源地址与三层网络组 播源地址的映射关系将 IGMP v3报文内的组播源地址修改成三层网络上的
组播源地址; 将修改后的 IGMP v3 4艮文发送给三层网络;
组播源侧 VTEP,还用于接收其管理的第二 VM发送的组播报文;在确 定所述第二 VM与所述 VM租户标识匹配后对所述组播报文进行 XVLAN 封装时, 根据所述 VM组播地址与三层网络上的组播地址的映射关系将该 组播 文的源地址和目的地址封装成三层网络上的组播地址, 根据 VM组 播源地址与三层网络组播源地址的映射关系将所述组播 4艮文的 VXLAN源 地址封装成三层网络组播源地址; 将封装后的组播报文发送给所述三层网 络。
14、 根据权利要求 13所述的系统, 其特征在于,
所述组播源侧 VTEP,还用于接收其管理的所述第一 VM发送的组播数 据报文; 在确定所述第一 VM与所述 VM租户标识匹配后对所述组播数据 报文进行 XVLAN封装时, 根据所述 VM组播地址与三层网络上的组播地 址的映射关系将所述组播数据报文的目的地址封装成三层网络上的组播地 址, 根据 VM组播源地址与三层网络组播源地址的映射关系将所述组播数 据报文的 VXLAN源地址封装成三层网络组播源地址; 将封装后的组播数 据报文发送给所述三层网络;
所述组播接收侧 VTEP, 还用于接收三层网络发送的所述组播数据报 文, 所述组播数据报文的源地址为三层网络上的组播源地址, 目的地址为 三层网络上的组播地址; 根据所述配置信息所述组播数据报文解封装后获 取所述组播数据报文内的数据; 将所述组播数据报文内的数据发送给所述 第二 VM。
15、 根据权利要求 14所述的系统, 其特征在于,
所述组播源侧 VTEP, 还用于在组播业务结束时,接收管理层发送的所 述配置信息的删除命令, 并根据所述删除命令删除所述配置信息; 所述组播接收侧 VTEP,还用于在组播业务结束时,接收管理层发送的所述 配置信息的删除命令, 并根据所述删除命令删除所述配置信息。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP13852327.9A EP2905930B1 (en) | 2012-11-02 | 2013-05-13 | Processing method, apparatus and system for multicast |
| US14/702,306 US9565033B2 (en) | 2012-11-02 | 2015-05-01 | Multicast processing method, apparatus and system |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210433236.5A CN103795636B (zh) | 2012-11-02 | 2012-11-02 | 组播处理方法、装置及系统 |
| CN201210433236.5 | 2012-11-02 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US14/702,306 Continuation US9565033B2 (en) | 2012-11-02 | 2015-05-01 | Multicast processing method, apparatus and system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2014067280A1 true WO2014067280A1 (zh) | 2014-05-08 |
Family
ID=50626404
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2013/075566 Ceased WO2014067280A1 (zh) | 2012-11-02 | 2013-05-13 | 组播处理方法、装置及系统 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US9565033B2 (zh) |
| EP (1) | EP2905930B1 (zh) |
| CN (1) | CN103795636B (zh) |
| WO (1) | WO2014067280A1 (zh) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105721359A (zh) * | 2014-12-04 | 2016-06-29 | 中兴通讯股份有限公司 | Vxlan报文传输方法及装置 |
| WO2016177315A1 (en) * | 2015-05-04 | 2016-11-10 | Hangzhou H3C Technologies Co., Ltd. | Multicast data packet forwarding |
| US20180351878A1 (en) | 2015-05-04 | 2018-12-06 | New H3C Technologies Co., Ltd. | Multicast data packet forwarding |
| US10164866B2 (en) | 2016-06-30 | 2018-12-25 | International Business Machines Corporation | Virtual extensible LAN intercommunication mechanism for multicast in networking |
| US10341223B2 (en) | 2015-05-04 | 2019-07-02 | New H3C Technologies Co., Ltd. | Multicast data packet forwarding |
Families Citing this family (24)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20150088499A (ko) * | 2014-01-24 | 2015-08-03 | 한국전자통신연구원 | 송신 노드의 ip 및 mac 테이블들 및 송신 노드와 연결된 서버의 arp 테이블을 관리하는 방법 및 장치 |
| US20150304450A1 (en) * | 2014-04-17 | 2015-10-22 | Alcatel Lucent Canada,Inc. | Method and apparatus for network function chaining |
| US9503277B2 (en) * | 2014-07-24 | 2016-11-22 | Cisco Technology, Inc. | Dynamic instantiation of remote virtual extensible local area network tunnel end points acquired through a control protocol |
| CN105376131B (zh) * | 2014-07-30 | 2019-01-25 | 新华三技术有限公司 | 一种组播迁移方法和网络设备 |
| CN105634955B (zh) * | 2014-11-05 | 2020-01-14 | 中兴通讯股份有限公司 | 流表更新方法及装置 |
| WO2017020236A1 (en) * | 2015-08-04 | 2017-02-09 | Nokia Technologies Oy | Interconnection of overlay networks |
| US20180270084A1 (en) * | 2015-11-10 | 2018-09-20 | Telefonaktiebolaget Lm Ericsson (Publ) | Technique for exchanging datagrams between application modules |
| CN107135118B (zh) * | 2016-02-29 | 2020-06-26 | 华为技术有限公司 | 一种单播通信方法、网关以及vxlan接入设备 |
| US10243916B2 (en) | 2016-04-07 | 2019-03-26 | Cisco Technology, Inc. | Control plane based technique for handling multi-destination traffic in overlay networks |
| US10581793B1 (en) * | 2016-04-29 | 2020-03-03 | Arista Networks, Inc. | Address resolution in virtual extensible networks |
| CN106209688B (zh) | 2016-07-13 | 2019-01-08 | 腾讯科技(深圳)有限公司 | 云端数据组播方法、装置和系统 |
| CN106302258B (zh) * | 2016-09-08 | 2019-06-04 | 杭州迪普科技股份有限公司 | 一种报文转发方法及装置 |
| CN109952744B (zh) | 2016-09-26 | 2021-12-14 | 河谷控股Ip有限责任公司 | 云网络中提供虚拟电路的方法和设备 |
| CN108512671A (zh) * | 2017-02-24 | 2018-09-07 | 华为技术有限公司 | 一种外层组播ip地址分配方法以及装置 |
| US10904134B2 (en) * | 2017-03-15 | 2021-01-26 | Nicira, Inc. | Multicast packet handling in logical networks |
| US10511548B2 (en) * | 2017-06-22 | 2019-12-17 | Nicira, Inc. | Multicast packet handling based on control information in software-defined networking (SDN) environment |
| US10503565B2 (en) * | 2017-07-17 | 2019-12-10 | Nicira, Inc. | System and method for multicasting data between networking interfaces of hypervisors |
| CN110351194B (zh) | 2018-04-04 | 2021-03-30 | 华为技术有限公司 | 一种组播组创建、组播组加入方法及装置 |
| CN108494691B (zh) * | 2018-06-22 | 2021-02-26 | 新华三技术有限公司 | 一种组播转发方法、装置及隧道端点设备 |
| US11316797B2 (en) | 2018-07-24 | 2022-04-26 | Vmware, Inc. | Queue filter configuration for multicast packet handling |
| US10979246B2 (en) | 2018-07-24 | 2021-04-13 | Nicira, Inc. | Multicast packet handling in software-defined networking (SDN) environments |
| CN111371667A (zh) * | 2019-10-23 | 2020-07-03 | 上海科技网络通信有限公司 | 一种面向云计算环境下基于VxLAN技术的LTE VPDN组网方法 |
| US11652748B2 (en) | 2021-07-01 | 2023-05-16 | Vmware, Inc. | Multicast routing through multi-tier edge gateways |
| US12177031B2 (en) * | 2022-03-21 | 2024-12-24 | International Business Machines Corporation | Enhanced endpoint multicast emulation |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101013950A (zh) * | 2007-02-07 | 2007-08-08 | 杭州华为三康技术有限公司 | 实现组播虚拟专用网绑定的方法及设备 |
| CN101374069A (zh) * | 2007-08-25 | 2009-02-25 | 华为技术有限公司 | 一种组播报文的转换方法、系统和设备 |
| CN102215172A (zh) * | 2011-06-21 | 2011-10-12 | 中兴通讯股份有限公司 | 一种实现跨虚拟专用局域网组播的方法和系统 |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7512124B2 (en) | 2002-12-31 | 2009-03-31 | Alcatel Lucent | Multicast optimization in a VLAN tagged network |
| CN100492977C (zh) * | 2006-07-18 | 2009-05-27 | 杭州华三通信技术有限公司 | 指定源组播协议无关组播模式下跨虚拟局域网组播的方法和系统 |
| EP2587755B1 (en) * | 2010-06-24 | 2016-04-27 | Huawei Technologies Co., Ltd. | Method, apparatus and system for implementing multicast |
| WO2012163032A1 (zh) * | 2011-10-29 | 2012-12-06 | 华为技术有限公司 | 处理组播的方法和装置 |
| US9325562B2 (en) * | 2012-05-15 | 2016-04-26 | International Business Machines Corporation | Overlay tunnel information exchange protocol |
| US9363227B2 (en) * | 2012-08-17 | 2016-06-07 | Cisco Technology, Inc. | Multicast source in group address mapping |
| US8978031B2 (en) * | 2012-08-21 | 2015-03-10 | International Business Machines Corporation | Processing of overlay networks using an accelerated network interface card |
| US8837476B2 (en) * | 2012-09-07 | 2014-09-16 | International Business Machines Corporation | Overlay network capable of supporting storage area network (SAN) traffic |
-
2012
- 2012-11-02 CN CN201210433236.5A patent/CN103795636B/zh active Active
-
2013
- 2013-05-13 WO PCT/CN2013/075566 patent/WO2014067280A1/zh not_active Ceased
- 2013-05-13 EP EP13852327.9A patent/EP2905930B1/en active Active
-
2015
- 2015-05-01 US US14/702,306 patent/US9565033B2/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101013950A (zh) * | 2007-02-07 | 2007-08-08 | 杭州华为三康技术有限公司 | 实现组播虚拟专用网绑定的方法及设备 |
| CN101374069A (zh) * | 2007-08-25 | 2009-02-25 | 华为技术有限公司 | 一种组播报文的转换方法、系统和设备 |
| CN102215172A (zh) * | 2011-06-21 | 2011-10-12 | 中兴通讯股份有限公司 | 一种实现跨虚拟专用局域网组播的方法和系统 |
Non-Patent Citations (2)
| Title |
|---|
| See also references of EP2905930A4 * |
| YUKIHIRO, NAKAGAWA ET AL.: "A Management Method of IP Multicast in Overlay Networks Using OpenFlow", HOTSDN' 12 PROCEEDINGS OF THE FIRST WORKSHOP ON HOT TOPICS IN SOFTWARE DEFINED NETWORKS, 13 August 2012 (2012-08-13), pages 91 - 96, XP058008070 * |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105721359A (zh) * | 2014-12-04 | 2016-06-29 | 中兴通讯股份有限公司 | Vxlan报文传输方法及装置 |
| WO2016177315A1 (en) * | 2015-05-04 | 2016-11-10 | Hangzhou H3C Technologies Co., Ltd. | Multicast data packet forwarding |
| US20180351878A1 (en) | 2015-05-04 | 2018-12-06 | 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 |
| 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 |
| US10164866B2 (en) | 2016-06-30 | 2018-12-25 | International Business Machines Corporation | Virtual extensible LAN intercommunication mechanism for multicast in networking |
Also Published As
| Publication number | Publication date |
|---|---|
| EP2905930B1 (en) | 2016-12-21 |
| EP2905930A4 (en) | 2015-10-28 |
| US20150236871A1 (en) | 2015-08-20 |
| US9565033B2 (en) | 2017-02-07 |
| EP2905930A1 (en) | 2015-08-12 |
| CN103795636B (zh) | 2017-04-12 |
| CN103795636A (zh) | 2014-05-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2014067280A1 (zh) | 组播处理方法、装置及系统 | |
| US11245631B2 (en) | Bum traffic control method, related apparatus, and system | |
| JP6034979B2 (ja) | パケット転送方法と装置及びデータセンターネットワーク | |
| EP3091696B1 (en) | Method and device for implementing virtual machine communication | |
| CN103200069B (zh) | 一种报文处理的方法和设备 | |
| US9374323B2 (en) | Communication between endpoints in different VXLAN networks | |
| CN113872845B (zh) | 建立vxlan隧道的方法及相关设备 | |
| CN105591916B (zh) | 一种报文传输方法及装置 | |
| CN104426680B (zh) | 数据传输方法、装置和系统 | |
| CN103944867B (zh) | 动态主机配置协议报文的处理方法、装置和系统 | |
| WO2017186181A1 (zh) | 网络访问控制 | |
| WO2015149253A1 (zh) | 数据中心的虚拟网络管理方法及数据中心系统 | |
| CN105763512A (zh) | Sdn虚拟化网络的通信方法和装置 | |
| WO2014205784A1 (zh) | 一种在nvo3网络中处理组播报文的方法、装置和nvo3网络 | |
| GB2497202A (en) | Transmitting frames between, possibly different, local VLANs by encapsulating frames for global VLAN tunnel | |
| CN104243269A (zh) | 一种虚拟扩展局域网报文的处理方法及装置 | |
| WO2018014803A1 (zh) | 报文转发 | |
| WO2015014187A1 (zh) | 一种支持多租户的数据转发方法和装置 | |
| WO2019137355A1 (zh) | 传输数据的方法、设备和网络系统 | |
| CN108270878A (zh) | 在vxlan中发送arp报文的方法、vtep设备 | |
| CN104579898A (zh) | 一种租户隔离方法及系统 | |
| WO2014134919A1 (zh) | 同一租户内服务器间的通信控制方法及网络设备 | |
| WO2014094420A1 (zh) | 一种报文的处理方法和装置 | |
| CN107623636B (zh) | 一种用户隔离方法和交换机 | |
| US20150229523A1 (en) | Virtual extensible local area network (vxlan) system of automatically configuring multicasting tunnel for segment of virtual extensible local area network according to life cycle of end system and operating method thereof |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13852327 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| REEP | Request for entry into the european phase |
Ref document number: 2013852327 Country of ref document: EP |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2013852327 Country of ref document: EP |