CPC H04L 12/4633 (2013.01) [H04L 45/745 (2013.01); H04L 45/245 (2013.01); H04L 2212/00 (2013.01)] | 28 Claims |
1. A method for determining a Generic Routing Encapsulation (GRE) tunnel identifier, wherein the method is applied to a scenario in which there are at least two GRE tunnels between a hybrid access gateway (HAG) and a hybrid customer premises equipment (HCPE) and the at least two GRE tunnels are bonded, the method comprises:
receiving, by the HAG, a service packet that is sent by the HCPE through a first GRE tunnel, wherein the service packet comprises a source IP address of the first GRE tunnel carrying the service packet, and the first GRE tunnel is one of the at least two GRE tunnels; and
looking up, by the HAG, a correspondence table according to the source IP address of the first GRE tunnel carrying the service packet, to determine a tunnel identifier of the first GRE tunnel carrying the service packet, wherein the correspondence table comprises a correspondence between the source IP address of the first GRE tunnel and the tunnel identifier of the first GRE tunnel, and the tunnel identifier of the first GRE tunnel uniquely indicates the first GRE tunnel.
|