threefoldtech / cloud-container

A builder for a simple initramfs image to run container over virtiofs inside cloud-hypervisor
Apache License 2.0
0 stars 1 forks source link

Ping a remote ip after setting up the network interfaces to invalidate the gateway arp cache #9

Closed OmarElawady closed 7 months ago

OmarElawady commented 2 years ago

A delay occurs after deleting a vm and redeploying another with the same public ip until the public ip routes to the new machine. SSHing using ygg ip and pinging google for example makes it reachable instantly.

AbdelrahmanElawady commented 7 months ago

We do that here and we make sure routes used are the default gw associated with the public ip so it is no longer an issue.