Patent ID: 9560016
Date: 2017-01-31
CPC Classifications: H04L

Claim:
1. At a network device, a method for translating data packets between a Virtual Extensible Local Area Network (VXLAN) and an external network, the method comprising: receiving, from a plurality of first endpoints in a first virtual private network of the VXLAN and a plurality of second endpoints in a second virtual private network of the VXLAN, a plurality of data packets including a plurality of private addresses and local port numbers, wherein the first private virtual network is assigned a first external port number range and the second virtual private network is assigned a second external port number range different from and non-overlapping with the first external port number range, and wherein at least one of the first endpoints in the first virtual private network is assigned a same private address as at least one of the second endpoints in the second virtual private network; replacing the private addresses and local port numbers in data packets of the plurality of data packets originating from the first endpoints with a plurality of corresponding first public addresses and a plurality of corresponding first mapped port numbers selected from the first external port number range; replacing the private addresses and local port numbers in data packets of the plurality of data packets originating from the second endpoints with a plurality of corresponding second public addresses and a plurality of corresponding second mapped port numbers selected from the second external port number range, wherein the at least one of the first endpoints in the first virtual private network is assigned a same corresponding public address as the at least one of the second endpoints in the second virtual private network; and forwarding the plurality of data packets to the external network, wherein the data packets originating from each of the endpoints comprise a unique combination of public address and mapped port number.