| CPC H04L 12/4633 (2013.01) [H04L 43/0876 (2013.01)] | 21 Claims |

|
1. A method comprising:
executing, by a computer system, a hypervisor that supports a virtualized computing instance;
implementing, by the hypervisor, a logical overlay network comprising a virtual switch implemented by the hypervisor and having multiple ports, the virtual switch comprising a forwarding table with entries that implement at least a portion of a logical switch in the logical overlay network, each of the ports of the virtual switch corresponding to a respective virtual network interface card (VNIC) implemented by the virtualized computing instance;
monitoring, in the logical overlay network, multiple virtual tunnel endpoints (VTEP) that are configured in the hypervisor for overlay networking, wherein the multiple VTEPs include a first VTEP and a second VTEP;
in response to detecting a state transition associated with the first VTEP from a healthy state to an unhealthy state, identifying mapping information that associates the virtualized computing instance the first VTEP; and
updating the mapping information to associate the virtualized computing instance with the second VTEP and migrating the virtualized computing instance from the first VTEP in the unhealthy state to the second VTEP in the healthy state; and
in response to detecting an egress packet from the virtualized computing instance to a destination, generating and sending an encapsulated packet towards the destination based on the updated mapping information, wherein the encapsulated packet includes the egress packet and an outer header identifying the second VTEP to be a source VTEP.
|