A method for establishing a tunnel between local gateways, and a gateway, which are used for solving the problem that the same accessed local service is interrupted before and after the switching of a UE, or the problem that a packet path of the same local service is roundabout, of the use of the prior art after the UE switches from an S-LGW to a T-LGW. The method of the present invention comprises: an RGW determining that a UE switches from an S-LGW to a T-LGW, wherein before the switching of the UE, a packet of a local service of the UE is forwarded, between the UE and an application server of the local service, by the S-LGW, and the local service comprises the same service which is accessed before and after the switching of the UE and is deployed in an S-LGW position; the RGW sending, to the S-LGW and the T-LGW, respectively, a first request message and a second request message for requesting that a tunnel is established, wherein the tunnel is used for transmitting, between the S-LGW and the T-LGW, the pac