CPC H04L 61/4511 (2022.05) [H04L 12/46 (2013.01); H04L 61/2592 (2013.01); H04L 61/5046 (2022.05); H04L 2101/695 (2022.05)] | 18 Claims |
1. A method comprising:
receiving, at a service discovery server, from a first node in a first cluster, a service discovery request including a unique name;
determining, at the service discovery server, that the unique name resolves to a destination IP address of a second node in a second cluster;
determining that the destination IP address overlaps with an IP address range associated with the first cluster;
in response to determining that the destination IP address overlaps with the IP address range belonging to the first cluster, configuring a gateway to expect a network connection request from the first node in the first cluster that includes an IP address of the gateway and to treat the network connection request as a request directed to the destination IP address; and
sending a service discovery response to the first node in the first cluster, the service discovery response including the IP address of the gateway, but not the destination IP address,
wherein the gateway is accessible, simultaneously, by way of another IP address, which is provided to another node in the first cluster, in response to a request to the service discovery server from the another node in the first cluster to reach a third node in the second cluster.
|