# US 2019/0173851 A1 · Scaling gateway to gateway traffic using flow hash

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0173851 A1
- Document ID: US20190173851A1
- Status: Published application
- Kind: A1
- Application number: 15/831,214
- Filed: 2017-12-04
- Published: 2019-06-06
- Earliest claimed: 2017-12-04
- Assignees: Nicira, Inc.
- Applicants: Nicira, Inc.
- Inventors: Jayant Jain; Ly Loi; Anirban Sengupta; Yong Wang; Mike Parsa
- Web page: https://patentgrep.com/patent/US20190173851A1

## CPC

- H04L 9/3215: {using a plurality of channels (network architectures or network communication protocols using different networks H04L63/18)}
- H04L 9/0637: {Modes of operation, e.g. cipher block chaining [CBC], electronic codebook [ECB] or Galois/counter mode [GCM]}
- H04L 9/088: {Usage controlling of secret information, e.g. techniques for restricting cryptographic keys to pre-authorized uses, different access levels, validity of crypto-period, different key- or password length, or different strong and weak cryptographic algorithms (network architectures or network communication protocols for using time-dependent keys in a packet data network H04L63/068)}
- H04L 9/3236: {using cryptographic hash functions}
- H04L 12/4633: {Interconnection of networks using encapsulation techniques, e.g. tunneling}
- H04L 45/04: {Interdomain routing, e.g. hierarchical routing}
- H04L 45/50: using label swapping, e.g. multi-protocol label switch [MPLS]
- H04L 45/74: Address processing for routing
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- H04L 63/0485: {Networking architectures for enhanced packet encryption processing, e.g. offloading of IPsec packet processing or efficient security association look-up}
- H04L 63/164: {at the network layer}
- H04L 63/205: {involving negotiation or determination of the one or more network security mechanisms to be used, e.g. by negotiation between the client and the server or between peers or by selection according to the capabilities of the entities involved (negotiation of communication capabilities H04L69/24)}
- H04L 45/745: Address table lookup; Address filtering
- H04L 45/7453: using hashing
- H04L 2209/125: Parallelization or pipelining, e.g. for accelerating processing of cryptographic operations
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

For a network including multiple computers acting as tunnel endpoints in a network, some embodiments provide a method for distributing data messages among processors of a destination computer that receives encrypted data messages from a source computer. Each computer in some embodiments has a set of interfaces configured as tunnel endpoints connecting to multiple tunnels. The encrypted data messages are received at multiple interfaces of the destination computer and in some embodiments, include an identifier for a set of encryption parameters (e.g., a security parameter index). The encryption-parameter-set identifier is used to distribute encrypted data messages among processors of the destination computer.

## Claims

### Claim 1

A method for processing a plurality of encrypted data messages sent over a plurality of encryption-secured tunnels using a plurality of data message processing units of a first computer in a first datacenter, each encryption-secured tunnel identified by a unique security parameter index (SPI), the method comprising:
at the first computer, receiving the plurality of encrypted data messages through the plurality of encryption-secured tunnels established between the first computer and a second computer;
using an SPI of a particular encrypted data message to select a processing unit in the plurality of processing units to process the particular encrypted data message; and
using the selected processing unit to process the particular encrypted data message.

### Claim 2 (depends on 1)

The method of claim 1, wherein the SPI is an unencrypted header value used to identify decryption parameters for decrypting the encrypted data message.

### Claim 3 (depends on 2)

The method of claim 2, wherein using the SPI comprises hashing at least the unencrypted SPI of the particular encrypted data message to identify a particular processing unit to process the particular encrypted data message.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first computer comprises a plurality of interfaces, each interface serving as a tunnel endpoint for at least one encryption-secured tunnel.

### Claim 5 (depends on 1)

The method of claim 1, wherein at least one interface in the plurality of interfaces serves as a tunnel endpoint for multiple encryption-secured tunnels between the first computer and the second computer.

### Claim 6 (depends on 1)

The method of claim 1, wherein multiple encryption-secured tunnels in the plurality of encryption-secured tunnels are established between a first interface of the first computer and a second interface of the second computer.

### Claim 7 (depends on 1)

The method of claim 1,
wherein a first set of data messages received at a particular interface of the first computer over a first encryption-secured tunnel includes a first SPI to identify decryption parameters used for decrypting the first set of data messages, and
wherein a second set of data messages received at the particular interface over a second, different encryption-secured tunnel includes a second, different SPI to identify decryption parameters used for decrypting the second set of data messages.

### Claim 8 (depends on 7)

The method of claim 7, wherein the first and second encryption-secured tunnels are established between a first interface of the first computer and a second interface of the second computer.

### Claim 9 (depends on 1)

The method of claim 1, wherein the encrypted data messages are encrypted using an internet protocol security (IPSec) protocol.

### Claim 10 (depends on 1)

The method of claim 1, wherein
the plurality of encryption-secured tunnels is a first plurality,
each encryption-secured tunnel implements a security policy identifying a source and destination of data messages requiring encryption,
a particular security policy is implemented by a second plurality of encryption-secured tunnels in the first plurality of encryption-secured tunnels, each of the second plurality of encryption-secured tunnels established between a different pair of interfaces of the first and second computers,
a third plurality of encryption-secured tunnels in the first plurality of encryption-secured tunnels implement a plurality of security policies, each encryption-secured tunnel in the third plurality of encryption-secured tunnels established between a first interface of the first computer and second interface of the second computer.

### Claim 11

A non-transitory machine readable medium storing a program for execution by a set of processing units, the program for processing a plurality of encrypted data messages sent over a plurality of encryption-secured tunnels using a plurality of data message processing units of a first computer in a first datacenter, each encryption-secured tunnel identified by a unique security parameter index (SPI), the program comprising sets of instructions for:
at the first computer, receiving the plurality of encrypted data messages through the plurality of encryption-secured tunnels established between the first computer and a second computer;
using an SPI of a particular encrypted data message to select a processing unit in the plurality of processing units to process the particular encrypted data message; and
using the selected processing unit to process the particular encrypted data message.

### Claim 12 (depends on 11)

The non-transitory machine readable medium of claim 11, wherein the SPI is an unencrypted header value used to identify decryption parameters for decrypting the encrypted data message.

### Claim 13 (depends on 12)

The non-transitory machine readable medium of claim 12, wherein the set of instructions for using the SPI comprises a set of instructions for hashing at least the unencrypted SPI of the particular encrypted data message to identify a particular processing unit to process the particular encrypted data message.

### Claim 14 (depends on 11)

The non-transitory machine readable medium of claim 11, wherein the first computer comprises a plurality of interfaces, each interface serving as a tunnel endpoint for at least one encryption-secured tunnel.

### Claim 15 (depends on 11)

The non-transitory machine readable medium of claim 11, wherein at least one interface in the plurality of interfaces serves as a tunnel endpoint for multiple encryption-secured tunnels between the first computer and the second computer.

### Claim 16 (depends on 11)

The non-transitory machine readable medium of claim 11, wherein multiple encryption-secured tunnels in the plurality of encryption-secured tunnels are established between a first interface of the first computer and a second interface of the second computer.

### Claim 17 (depends on 11)

The non-transitory machine readable medium of claim 11,
wherein a first set of data messages received at a particular interface of the first computer over a first encryption-secured tunnel includes a first SPI to identify decryption parameters used for decrypting the first set of data messages, and
wherein a second set of data messages received at the particular interface over a second, different encryption-secured tunnel includes a second, different SPI to identify decryption parameters used for decrypting the second set of data messages.

### Claim 18 (depends on 17)

The non-transitory machine readable medium of claim 17, wherein the first and second encryption-secured tunnels are established between a first interface of the first computer and a second interface of the second computer.

### Claim 19 (depends on 11)

The non-transitory machine readable medium of claim 11, wherein the encrypted data messages are encrypted using an internet protocol security (IPSec) protocol.

### Claim 20 (depends on 11)

The non-transitory machine readable medium of claim 11, wherein
the plurality of encryption-secured tunnels is a first plurality,
each encryption-secured tunnel implements a security policy identifying a source and destination of data messages requiring encryption,
a particular security policy is implemented by a second plurality of encryption-secured tunnels in the first plurality of encryption-secured tunnels, each of the second plurality of encryption-secured tunnels established between a different pair of interfaces of the first and second computers,
a third plurality of encryption-secured tunnels in the first plurality of encryption-secured tunnels implement a plurality of security policies, each encryption-secured tunnel in the third plurality of encryption-secured tunnels established between a first interface of the first computer and second interface of the second computer.
