Patent ID: 11888809
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 6:
7. The gateway according to claim 6, wherein the processor runs the computer-executable instructions in the memory to further:
receive a second packet sent by the second device, wherein a destination IP address of the second packet comprises the private network address of the first device, a destination MAC address of the second packet comprises the second MAC address of the gateway, a source IP address of the second packet comprises the private network address of the first device, and a source MAC address of the second packet comprises the MAC address of the second device;
obtain the MAC address of the first device from the second correspondence based on the private network address of the first device carried in the second packet, modify the destination MAC address of the second packet to the MAC address of the first device, and modify the source MAC address of the second packet to the first MAC address of the gateway; and
send a modified second packet to the first device through the communication tunnel.