K
K
KIRNESS2021-03-03 10:47:56
Computer networks
KIRNESS, 2021-03-03 10:47:56

How to "bind" a pool of ip addresses of an enterprise to a domain so that transparent switching between them is possible?

The device accesses the domain, the domain forwards the packet to one of the pool of ip addresses, if it is possible to specify the order of addresses, it will be good at all, if the ip address is suddenly not available, then the packet is forwarded to another ip, and so on until the packet is delivered.
What can you advise?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Dmitriev, 2021-03-03
@KIRNESS

load balancer

H
hint000, 2021-03-03
@hint000

the domain is forwarding the packet
This phrase is as meaningful as "meat grinder predicts the future."
The domain cannot forward anything. A domain is an abstraction, not a physical entity.
The device is accessing a domain
The device cannot access the domain. The device consults DNS to resolve the domain name to an IP address. The device then accesses the host by its IP address.
DNS can give out multiple IP addresses in a round robin fashion. cyclically from the pool. In the event that the host is unavailable, this would be a bad option , as DNS does not keep track of availability and some clients will always knock on an unavailable host (they will cache the DNS response).
Option number one: DNS gives the client the entire pool at once, the client himself chooses an address from the pool, in case of unavailability, the client himself chooses another address.
Option number two: someone (program) keeps track of the availability of hosts and dynamically updates the pool in DNS.
Option number three: find hosting,guaranteeing a promising high level of availability; if once in three years it still became unavailable, then you can manually fix the DNS (if only there was a notice of unavailability).

K
ky0, 2021-03-03
@ky0

Nginx, HAproxy - depending on whether you have HTTP or something else.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question