Patent ID: 11909637
Assignee: VMWARE LLC
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A method for connecting a physical gateway to a plurality of virtual local area networks (VLANs), the method comprising:
on a host computer that executes a virtual router and a virtual switch:
receiving a mapping between (i) VLAN identifiers for a plurality of tenant networks and (ii) overlay virtual network identifiers (VNIs) for a plurality of overlay networks associated with the plurality of tenant networks;
associating an interface of the virtual router with a parent logical port of the virtual switch in order to facilitate connectivity between the physical gateway and the plurality of tenant networks;
creating, for each particular tenant network, a child port on the virtual switch to serve as an interface for the particular tenant network, each particular child port associated with a particular VNI of the particular tenant network for which the particular child port is created;
associating the plurality of child ports with a plurality of child logical switches each of which is associated with one tenant network; and
for a packet received at the parent logical port of the virtual switch, (i) using the received mapping to map the packet's associated VLAN identifier to a particular VNI specified for a particular tenant network, (ii) passing the packet to the child port associated with the particular VNI, and (iii) sending the packet to the physical gateway from the particular child port along a tunnel with the associated particular VNI embedded in a header of the tunnel.