# US 2025/0168038 A1 · Management of private network addressing for a computing element in multiple private networks

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

- Number: US 2025/0168038 A1
- Document ID: US20250168038A1
- Status: Published application
- Kind: A1
- Application number: 18/896,445
- Filed: 2024-09-25
- Published: 2025-05-22
- Earliest claimed: 2023-11-22
- Assignees: Tailscale Inc.
- Applicants: Tailscale Inc.
- Inventors: Maisem J. Ali; David Anderson; Bradley J. Fitzpatrick
- Web page: https://patentgrep.com/patent/US20250168038A1

## CPC

- H04L 12/4633: {Interconnection of networks using encapsulation techniques, e.g. tunneling}
- H04L 63/0272: {Virtual private networks}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Described herein are systems, methods, and software to manage source addressing associated with packets communicated across multiple private networks. In one example, a computing element is configured to identify a packet from a process with a first source IP address and determine a destination private network from a plurality of private networks for the packet. When the destination private network is not the primary private network, the computing element performs network address translation to translate the first source IP address to a second source IP address for the secondary private network. Once translation is performed, the computing element encapsulates the packet with the second source IP address and communicates the packet.

## Claims

### Claim 1

A method of operating a computing element comprising:
identifying a packet from a process on the computing element with a first source IP address;
identifying a destination private network from a plurality of private networks for the packet;
determining whether the destination private network is a primary private network or a secondary private network;
when the destination private network is a primary private network:
encapsulating the packet with the first source IP address to generate an encapsulated packet; and
communicating the encapsulated packet toward a destination computing element; and
when the destination private network is in a secondary private network:
performing network address translation to translate the first source IP address to a second source IP address for the secondary private network;
encapsulating the packet with the second source IP address; and
communicating the encapsulated packet toward a destination computing element.

### Claim 2 (depends on 1)

The method of claim 1, wherein the computing element comprises a physical computer.

### Claim 3 (depends on 1)

The method of claim 1, wherein the computing element comprises a virtual machine.

### Claim 4 (depends on 1)

The method of claim 1 further comprising:
receiving a configuration from a coordination service, wherein the configuration comprises source IP addresses for the plurality of private networks, destination IP addresses for the plurality of private networks, encryption parameters for the plurality of private networks, and public destination IP addresses for the plurality of private networks.

### Claim 5 (depends on 1)

The method of claim 1, wherein determining whether the destination private network is a primary private network or a secondary private network comprises:
identifying a destination IP address in the packet; and
determining whether the destination IP address corresponds to a destination in the primary private network of the secondary private network.

### Claim 6 (depends on 1)

The method of claim 1, wherein encapsulating the packet with the first source IP address comprises:
identifying encryption parameters and a public IP address associated with a destination for the packet; and
encapsulating the packet in accordance with the encryption parameters and the public IP address, wherein the public IP address is placed in an encapsulation header for the encapsulated packet.

### Claim 7 (depends on 1)

The method of claim 1, wherein encapsulating the packet with the second source IP address comprises:
identifying encryption parameters and a public IP address associated with a destination for the packet; and
encapsulating the packet in accordance with the encryption parameters and the public IP address, wherein the public IP address is placed in an encapsulation header for the encapsulated packet.

### Claim 8 (depends on 1)

The method of claim 1 further comprising:
generating a request to join a first private network of the plurality of private networks, wherein the request indicates at least a public IP address for the computing element and a public encryption key for the computing element;
communicating the request to a coordination service; and
receiving a configuration from the coordination service from the coordination service, wherein the configuration comprises source IP addresses for the first private network, destination IP addresses for the first private network, encryption parameters, and public destination IP addresses for the first private network.

### Claim 9

A computing element comprising:
a storage system;
a processing system operatively coupled to the storage system; and
program instructions stored on the storage system that, when executed by the processing system, direct the computing element to:
identify a packet from a process on the computing element with a first source IP address;
identify a destination private network from a plurality of private networks for the packet;
determine whether the destination private network is a primary private network or a secondary private network;
when the destination private network is a primary private network:
encapsulate the packet with the first source IP address to generate an encapsulated packet; and
communicate the encapsulated packet toward a destination computing element; and
when the destination private network is in a secondary private network:
perform network address translation to translate the first source IP address to a second source IP address for the secondary private network;
encapsulate the packet with the second source IP address; and
communicate the encapsulated packet toward a destination computing element.

### Claim 10 (depends on 9)

The computing element of claim 9, wherein the computing element comprises a physical computer.

### Claim 11 (depends on 9)

The computing element of claim 9, wherein the computing element comprises a virtual machine.

### Claim 12 (depends on 9)

The computing element of claim 9, wherein the program instructions further direct the computing element to:
receive a configuration from a coordination service, wherein the configuration comprises source IP addresses for the plurality of private networks, destination IP addresses for the plurality of private networks, encryption parameters for the plurality of private networks, and public destination IP addresses for the plurality of private networks.

### Claim 13 (depends on 9)

The computing element of claim 9, wherein determining whether the destination private network is a primary private network or a secondary private network comprises:
identifying a destination IP address in the packet; and
determining whether the destination IP address corresponds to a destination in the primary private network of the secondary private network.

### Claim 14 (depends on 9)

The computing element of claim 9, wherein encapsulating the packet with the first source IP address comprises:
identifying encryption parameters and a public IP address associated with a destination for the packet; and
encapsulating the packet in accordance with the encryption parameters and the public IP address, wherein the public IP address is placed in an encapsulation header for the encapsulated packet.

### Claim 15 (depends on 9)

The computing element of claim 9, wherein encapsulating the packet with the second source IP address comprises:
identifying encryption parameters and a public IP address associated with a destination for the packet; and
encapsulating the packet in accordance with the encryption parameters and the public IP address, wherein the public IP address is placed in an encapsulation header for the encapsulated packet.

### Claim 16 (depends on 9)

The computing element of claim 9, wherein the program instructions further direct the computing element to:
generate a request to join a first private network of the plurality of private networks, wherein the request indicates at least a public IP address for the computing element and a public encryption key for the computing element;
communicate the request to a coordination service; and
receive a configuration from the coordination service from the coordination service, wherein the configuration comprises source IP addresses for the first private network, destination IP addresses for the first private network, encryption parameters, and public destination IP addresses for the first private network.

### Claim 17

A system comprising:
a plurality of computers:
a first computer of the plurality of computers:
identify a packet from a process on the first computer with a first source IP address;
identify a destination private network from a plurality of private networks for the packet;
determine whether the destination private network is a primary private network or a secondary private network;
when the destination private network is a primary private network:
encapsulate the packet with the first source IP address to generate an encapsulated packet; and
communicate the encapsulated packet toward a destination computer in the plurality of computers; and
when the destination private network is in a secondary private network:
perform network address translation to translate the first source IP address to a second source IP address for the secondary private network;
encapsulate the packet with the second source IP address; and
communicate the encapsulated packet toward a destination computer.

### Claim 18 (depends on 17)

The system of claim 17, wherein the first computer is further configured to receive a configuration from a coordination service, wherein the configuration comprises source IP addresses for the plurality of private networks, destination IP addresses for the plurality of private networks, encryption parameters for the plurality of private networks, and public destination IP addresses for the plurality of private networks.

### Claim 19 (depends on 18)

The system of claim 18, wherein the system further comprises the coordination service executing on one or more additional computers.

### Claim 20 (depends on 18)

The system of claim 18, wherein encapsulating the packet with the first source IP address comprises:
identifying encryption parameters and a public IP address associated with a destination for the packet; and
encapsulating the packet in accordance with the encryption parameters and the public IP address, wherein the public IP address is placed in an encapsulation header for the encapsulated packet.
