摘要 |
Embodiments of the present invention provide a method for implementing a GRE tunnel, an access device and an aggregation gateway, where the method includes: obtaining, by the access device, an address of an aggregation gateway group, where the aggregation gateway group includes at least one aggregation gateway; sending, by using the address of the aggregation gateway group as a destination address, a tunnel setup request in which an address of the access device is encapsulated, where the tunnel setup request is used to request for setting up a first GRE tunnel; receiving a tunnel setup accept response sent back by a first aggregation gateway, and obtaining an address of the first aggregation gateway from the tunnel setup accept response, where the first aggregation gateway belongs to the aggregation gateway group; and configuring the address of the first aggregation gateway as a network side destination address of the first GRE tunnel. The embodiments of the present invention implement a dynamic setup of a GRE tunnel on an access network that uses an aggregation technology. |