Patent ID: 8429647

Claim:
A method for migrating a virtual machine (VM) executing on a first host on a first network to a second host on a second network different from the first network, the method comprising: assigning to the VM a VM address (VMA) belonging to a VM network; publishing a first route to an associated network (AN) via a first virtual router executing on the first host when the VM is executing on the first host on the first network, wherein the AN is linked to the VM; migrating the VM from the first host to the second host, the VM maintaining the assigned VMA after migrating; and publishing a second route to the AN via a second virtual router executing on the second host after the start of the migrating of the VM to the second host, the first and second virtual routers having addresses belonging to the VM network, wherein the AN is still linked to the VM after migrating to the second host and wherein network packets to and from the VM flow through the virtual router where the VM is executing, wherein the publishing the first and second routes comprises propagating the first and second routes via the first and second virtual routers.