| CPC H04L 45/34 (2013.01) [H04L 45/16 (2013.01); H04L 45/74 (2013.01)] | 20 Claims |

|
9. A first network device, comprising:
a non-transitory memory storing instructions; and
a processor coupled to the non-transitory memory,
wherein the instructions, when executed by the processor, cause the first network device to be configured to:
obtain a first packet, wherein the first packet comprises a multicast packet;
determine a next-hop destination address (DA) of the multicast packet based on a source address (SA) of the multicast packet from a source device and a first correspondence relationship, wherein the SA of the multicast packet identifies a multicast path out of a plurality of multicast paths, the source device corresponding to a plurality of SAs including the SA, each SA of the plurality of SAs corresponding to a different multicast path of the plurality of multicast paths, the multicast path corresponding to the multicast packet, and the first correspondence relationship comprises the SA of the multicast packet and the next-hop DA of the multicast packet corresponding to the first network device and the multicast path;
obtain a second packet based on the next-hop DA of the multicast packet, wherein the second packet is a unicast packet obtained after internet protocol version 6 (IPv6) encapsulation is performed on the multicast packet; and
forward the second packet along the multicast path based on the next-hop DA of the multicast packet.
|