| CPC H04L 45/566 (2013.01) [H04L 12/4633 (2013.01); H04L 45/24 (2013.01)] | 18 Claims |

|
1. A packet forwarding method performed by a first node, the method comprising:
receiving a route to a destination node sent by a second node, wherein the route carries an identifier of the second node and a plurality of tunnel attributes, wherein the plurality of tunnel attributes are in a one-to-one correspondence with a plurality of tunnels from the first node to the second node;
obtaining a first packet destined for the destination node, wherein the first packet carries a first packet attribute;
determining a first tunnel from the plurality of tunnels based on the first packet attribute and the plurality of tunnel attributes; and
forwarding the first packet to the second node through the first tunnel of the plurality of tunnels;
wherein the route further carries a plurality of pieces of indication information, and the plurality of pieces of indication information are in a one-to-one correspondence with the plurality of tunnel attributes, and the method further comprises:
determining, from the plurality of pieces of indication information, first indication information that matches the first packet attribute; and
determining the first tunnel from the plurality of tunnels based on the first indication information, wherein a tunnel attribute of the first tunnel corresponds to the first indication information.
|