D
D
Dmitry Startsev2013-01-14 16:53:52
Computer networks
Dmitry Startsev, 2013-01-14 16:53:52

Transferring IP to another server - a big delay?

I have two servers on the same subnet. It is necessary that when one of them falls / disconnects, the second one takes away the virtual IP from it and raises it on its interface. After turning off one server and raising the IP on the other, it does not become available at this IP immediately, but with some indefinite delay, and quite a long one.
The provider's response was:
This is due to the rebuild of the switching equipment, since the rebuild of the switching equipment is not instantaneous, this is normal. To change this, either the timeout must expire, or outgoing packets must arrive from the server from the new port, there is no other way.
To the stupid question “how to send such a package?” I was sent to Wikipedia to read about switches ... I honestly read the article, but the answer did not appear - I am incompetent in networks.
Tell me, please, what exactly needs to be done to force the “restructuring of the switching equipment”, and so that IP from the Internet becomes available faster.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
D
dgeliko, 2013-01-14
@dstarcev

I have two servers on the same subnet. It is necessary that when one of them falls / disconnects, the second one takes away the virtual IP from it and raises it on its interface.

If the servers are on the same subnet and see each other normally, and, most importantly, you only need to transfer the cluster (virtual) IP, I advise you to install vrrpd. The setup is simple and just right for your needs.

S
Sergey Venediktov, 2013-01-14
@sven

In this particular case, you just need to ping a couple of packets from the server to any address on the network so that the switch sees that packets with that address start coming from another port and update the table.
If the IP is not the main one, then you need to do something like this:
ping -c 2 -I <ported IP> example.com

G
Gasoid, 2013-01-14
@Gasoid

ip address is bound to the mac address on the switching equipment, so this timeout

V
Valentin, 2013-01-14
@vvpoloskin

If you put a router on your border with the provider, and take the servers to the DMZ zone, you can behind NAT, if you forward the port, you can also influence the ARP table, and in general you can set up a normal reservation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question