CPC H04L 47/10 (2013.01) [H04L 12/4633 (2013.01)] | 20 Claims |
1. An apparatus, comprising:
a processor; and
a memory operatively coupled to the processor, the memory configured to host a virtual switch,
the virtual switch configured to receive a data packet from a first virtual resource of a first set of virtual resources hosted at a first network device to be sent to a second virtual resource of a second set of virtual resources hosted at a second network device,
the virtual switch configured to encapsulate the data packet to define an encapsulated data packet using a tunnel header including a first portion and a second portion, the first portion associated with the second network device, the second portion associated with a first data path from a plurality of data paths, the second portion having a source port identifier and a destination port identifier, the source port identifier and the destination port identifier including an output of a hash function using at least one of (1) an Internet Protocol (IP) address associated with the first virtual resource or (2) an IP address associated with the second virtual resource, as an input of the hash function, the output of the hash function identifying the first data path,
the virtual switch configured to send, via the first data path and not via a second data path from the plurality of data paths, the encapsulated data packet to the second virtual resource to balance traffic load between the first network device and the second network device.
|