US 11,811,656 B2
Direct communication between endpoints across remote sites
Gaurav Jindal, Pune (IN); Neeraj Mantri, Pune (IN); Rasik Jesadiya, Pune (IN); Rajesh Sahu, Pune (IN); and Dibakar Swain, Pune (IN)
Assigned to VMWARE, INC., Palo Alto, CA (US)
Filed by VMWARE, INC., Palo Alto, CA (US)
Filed on Mar. 3, 2021, as Appl. No. 17/190,480.
Claims priority of application No. 202141002006 (IN), filed on Jan. 15, 2021.
Prior Publication US 2022/0231944 A1, Jul. 21, 2022
Int. Cl. H04L 45/74 (2022.01); H04L 12/66 (2006.01); G06F 9/455 (2018.01); H04L 9/40 (2022.01); H04L 61/2503 (2022.01)
CPC H04L 45/74 (2013.01) [G06F 9/45558 (2013.01); H04L 12/66 (2013.01); H04L 61/2503 (2013.01); H04L 63/029 (2013.01); G06F 2009/45595 (2013.01)] 17 Claims
OG exemplary drawing
 
1. A method for direct communication between a source endpoint executing in a first datacenter and destination endpoints executing in a second datacenter, comprising:
receiving, at a gateway of the second datacenter, a first packet sent by the source endpoint in the first datacenter, the first packet having a header comprising at least:
a source internet protocol (IP) address corresponding to a public IP address of the first datacenter;
a destination IP address corresponding to a public IP address of the second datacenter;
a first source port number; and
a destination port number;
performing, at the gateway of the second datacenter, a destination network address translation (DNAT) process on the first packet to replace at least the destination IP address in the header of the first packet with a private IP address of a first destination endpoint executing in the second datacenter, wherein the DNAT process identifies the private IP address of the first destination endpoint by mapping at least the first source port number and the destination port number in the header of the first packet to the private IP address of the first destination endpoint;
transmitting the first packet to the first destination endpoint in the second datacenter based on the private IP address of the first destination endpoint inserted in the header of the first packet;
receiving, at the gateway of the second datacenter, a second packet having a header comprising at least:
the source IP address corresponding to the public IP address of the first datacenter;
the destination IP address corresponding to the public IP address of the second datacenter;
the destination port number; and
a second source port number;
performing, at the gateway of the second datacenter, the DNAT process on the second packet to replace at least the destination IP address in the header of the second packet with a private IP address of a second destination endpoint executing in the second datacenter, wherein the DNAT process identifies the private IP address of the second destination endpoint by mapping at least the second source port number and the destination port number in the header of the second packet to the second private IP address of the second destination endpoint; and
transmitting the second packet to the second destination endpoint in the second datacenter based on the private IP address of the second destination endpoint inserted in the header of the second packet.