摘要 |
In an example, after receiving a first multicast packet from an underlay network, a virtual switch (vSwitch) determines a first virtual machine (VM) corresponding to a first underlay network multicast group identity and a first overlay network multicast group identity in the first multicast packet by using a category-1 entry, performs VXLAN decapsulation on the first multicast packet and sends the decapsulated first multicast packet to the first VM. After receiving a second multicast packet from a second VM, the vSwitch determines a second underlay network multicast group identity corresponding to a tenant ID of a tenant to which the second VM belongs and a second overlay network multicast group identity in the second multicast packet by using a category-2 entry, performs VXLAN encapsulation on the second multicast packet using the second underlay network multicast group identity, and forwards the encapsulated second multicast packet to the underlay network. |