Answer the question
In order to leave comments, you need to log in
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
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.
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
ip address is bound to the mac address on the switching equipment, so this timeout
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question