Patent attributes
A network system includes a server comprising a set of virtual routers configured to extend virtual networks to virtual machines. A virtual router of the set of virtual routers may receive a tunnel packet comprising a outer header and an inner packet that defines a first packet flow, and determine, based at least on the outer header, that the tunnel packet is associated with a first virtual network of the virtual networks. The virtual router may also associate, based on the inner packet, the tunnel packet to a layer three link of a plurality of layer three links coupling the virtual router to two or more top-of-rack switches in the virtual network, where the plurality of layer three links form a layer three multi-homing connection between the virtual router and the top-of-rack switches in the virtual network. The virtual router may transmit the tunnel packet via the layer three link.