Patent ID: 8595819

Claim:
A method for providing a network gateway, comprising: receiving by the network gateway a session request for a session between a host and a server; establishing by the network gateway a host side session between the network gateway and the host, the network gateway comprising a plurality of processors; computing by the network gateway a sum of network addresses for the host side session; selecting by the network gateway a network address based on the sum to result in a calculated first processor identity of a first processor of the plurality of processors being the same as a calculated second processor identity of a second processor of the plurality of processors; establishing by the network gateway a server side session between the network gateway and the server using the selected network address; in response to receiving a first data packet from the host side session, calculating by the network gateway the first processor identity, comprising: assigning the first processor with the first processor identity to process the first data packet, modifying the first data packet by substituting a host network address in the first data packet with the selected network address, and sending the modified first data packet to the server side session; and in response to receiving a second data packet from the server side session, calculating by the network gateway the second processor identity, comprising: assigning the second processor with the second processor identity to process the second data packet.