Patent ID: 8917724

Claim:
A method for performing a link aggregation on a link aggregation group, comprising a plurality of transport links, for sessions received at a first network node which is connected to a second network node via the link aggregation group, the method being executed in the first network node, wherein the link aggregation is optimized for the sessions destined for the second network node by selectively choosing a transport link for said sessions on the basis of a load on the transport links, the method comprising: for a most recently received packet of one of said sessions: executing a hashing on the basis of content of the most recently received packet; determining whether a hash associated with a previously received packet of said session is present in a cache, and selecting, for the most recently received packet, a same transport link that was selected for the previously received packet, when a hash associated with a previously received packet was found in the cache, or selecting, for the most recently received packet, a least loaded transport link and creating a new entry for said session in the cache, wherein said new entry is provided with the hash associated with said session and the selected transport link, in case no hash associated with a previously received packet of said session was found in the cache.