Patent ID: 8532108

Claim:
A method of sending a packet received from a source in a private enterprise network to a destination in a cloud network allocated to the private enterprise network, said method comprising: receiving, by a logical customer edge router in a Cloud Data Center in the cloud network, a Layer 2 packet from a source in the private enterprise network, wherein the logical customer edge router is located in a logical network in the cloud network comprising resources allocated to the private enterprise network and the Layer 2 packet is addressed to a destination in the logical network; querying, by the logical customer edge router, a directory server for a MAC address of the destination and a location IP address of the destination; encapsulating, by the logical customer edge router, the Layer 2 packet when the logical customer edge router determines the destination is within the logical network, wherein the Layer 2 packet is encapsulated with a header including the MAC address of the destination; further encapsulating, by the logical customer edge router, the Layer 2 packet with a header including the location IP address of the destination; and forwarding, by the logical customer edge router, the Layer 2 packet to the destination, wherein the logical customer edge router forwards the Layer 2 packet through the location IP address of the destination to the MAC address of the destination.