# US 2022/0294758 A1 · Adaptive source address rewrite

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

- Number: US 2022/0294758 A1
- Document ID: US20220294758A1
- Status: Published application
- Kind: A1
- Application number: 17/485,789
- Filed: 2021-09-27
- Published: 2022-09-15
- Earliest claimed: 2021-03-10
- Assignees: Cisco Technology, Inc.
- Applicants: Cisco Technology, Inc.
- Inventors: Yoann Desmouceaux; Rucha Sanjay Vaidya; Murali Muniraman; Pierre Pfister
- Web page: https://patentgrep.com/patent/US20220294758A1

## CPC

- H04L 61/251: between different IP versions
- H04L 61/2514: between local and global IP addresses
- H04L 45/74: Address processing for routing
- H04L 45/85: Selection among different networks
- H04L 61/2503: Translation of Internet protocol [IP] addresses
- H04L 61/2557: Translation policies or rules
- H04L 61/5061: Pools of addresses
- H04L 47/125: by balancing the load, e.g. traffic engineering
- H04L 61/5007: Internet protocol [IP] addresses
- H04L 2101/659: Internet protocol version 6 [IPv6] addresses
- H04L 2101/677: Multiple interfaces, e.g. multihomed nodes
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

According to certain embodiments, a system comprises one or more processors and one or more computer-readable non-transitory storage media comprising instructions that, when executed by the one or more processors, cause one or more components of the system to perform operations. The operations comprise receiving a packet comprising a source address; selecting an uplink for the packet, the uplink selected from a plurality of uplinks based on an uplink selection policy; determining whether the source address is valid on the selected uplink; determining whether to keep or re-write the source address based on whether the source address is valid on the selected uplink; keeping the source address when the source address is valid on the selected uplink or re-writing the source address when the source address is not valid on the selected uplink; and sending the packet to the selected uplink.

## Claims

### Claim 1

A system, the system comprising:
one or more processors; and
one or more computer-readable non-transitory storage media comprising instructions that, when executed by the one or more processors, cause one or more components of the system to perform operations comprising:
receiving a packet comprising a source address;
selecting an uplink for the packet, the uplink selected from a plurality of uplinks based on an uplink selection policy;
determining whether the source address is valid on the selected uplink;
determining whether to keep or re-write the source address based on whether the source address is valid on the selected uplink;
keeping the source address when the source address is valid on the selected uplink or re-writing the source address when the source address is not valid on the selected uplink; and
sending the packet to the selected uplink.

### Claim 2 (depends on 1)

The system of claim 1, wherein determining whether the source address is valid on the selected uplink is based on whether a prefix of the source address corresponds to a prefix associated with the selected uplink.

### Claim 3 (depends on 1)

The system of claim 1, wherein the uplink selection policy indicates to select a first uplink for which the source address is valid unless a condition occurs indicating to select a second uplink for which the source address is not valid.

### Claim 4 (depends on 3)

The system of claim 3, wherein the uplink selection policy comprises at least one of the following conditions for selecting the second uplink:
the first uplink is down;
the first uplink does not appear to provide network access;
the packet comprises a type of traffic configured to be sent via the second uplink;
load-balancing indicates to send the packet via the second uplink; or
the source address is in a unique local address (ULA) prefix that is not valid on the first uplink.

### Claim 5 (depends on 1)

The system of claim 1, wherein, in response to determining to re-write the source address, the operations comprise selecting a new address from an address pool based at least in part on a hash function.

### Claim 6 (depends on 1)

The system of claim 1, wherein, in response to determining to re-write the source address, the operations comprise selecting a new address from an address pool based at least in part on a stateless function.

### Claim 7 (depends on 1)

The system of claim 1, wherein, in response to determining to re-write the source address, the operations comprise selecting a new address from an address pool based at least in part on a stateful function.

### Claim 8 (depends on 1)

The system of claim 1, the operations further comprising:
receiving a list of prefixes from a service provider associated with at least one of the plurality of uplinks; and
reserving a portion of the prefixes for re-writing addresses.

### Claim 9

A method, the method comprising:
receiving a packet comprising a source address;
selecting an uplink for the packet, the uplink selected from a plurality of uplinks based on an uplink selection policy;
determining whether the source address is valid on the selected uplink;
determining whether to keep or re-write the source address based on whether the source address is valid on the selected uplink;
keeping the source address when the source address is valid on the selected uplink or re-writing the source address when the source address is not valid on the selected uplink; and
sending the packet to the selected uplink.

### Claim 10 (depends on 9)

The method of claim 9, wherein determining whether the source address is valid on the selected uplink is based on whether a prefix of the source address corresponds to a prefix associated with the selected uplink.

### Claim 11 (depends on 9)

The method of claim 9, wherein the uplink selection policy indicates to select a first uplink for which the source address is valid unless a condition occurs indicating to select a second uplink for which the source address is not valid.

### Claim 12 (depends on 11)

The method of claim 11, wherein the uplink selection policy comprises at least one of the following conditions for selecting the second uplink:
the first uplink is down;
the first uplink does not appear to provide network access;
the packet comprises a type of traffic configured to be sent via the second uplink;
load-balancing indicates to send the packet via the second uplink; or
the source address is in a unique local address (ULA) prefix that is not valid on the first uplink.

### Claim 13

One or more computer-readable non-transitory storage media embodying instructions that, when executed by a processor, cause the performance of operations comprising:
receiving a packet comprising a source address;
selecting an uplink for the packet, the uplink selected from a plurality of uplinks based on an uplink selection policy;
determining whether the source address is valid on the selected uplink;
determining whether to keep or re-write the source address based on whether the source address is valid on the selected uplink;
keeping the source address when the source address is valid on the selected uplink or re-writing the source address when the source address is not valid on the selected uplink; and
sending the packet to the selected uplink.

### Claim 14 (depends on 13)

The one or more computer-readable non-transitory storage media of claim 13, wherein determining whether the source address is valid on the selected uplink is based on whether a prefix of the source address corresponds to a prefix associated with the selected uplink.

### Claim 15 (depends on 13)

The one or more computer-readable non-transitory storage media of claim 13, wherein the uplink selection policy indicates to select a first uplink for which the source address is valid unless a condition occurs indicating to select a second uplink for which the source address is not valid.

### Claim 16 (depends on 15)

The one or more computer-readable non-transitory storage media of claim 15, wherein the uplink selection policy comprises at least one of the following conditions for selecting the second uplink:
the first uplink is down;
the first uplink does not appear to provide network access;
the packet comprises a type of traffic configured to be sent via the second uplink;
load-balancing indicates to send the packet via the second uplink; or
the source address is in a unique local address (ULA) prefix that is not valid on the first uplink.

### Claim 17 (depends on 13)

The one or more computer-readable non-transitory storage media of claim 13, wherein, in response to determining to re-write the source address, the operations comprise selecting a new address from an address pool based at least in part on a hash function.

### Claim 18 (depends on 13)

The one or more computer-readable non-transitory storage media of claim 13, wherein, in response to determining to re-write the source address, the operations comprise selecting a new address from an address pool based at least in part on a stateless function.

### Claim 19 (depends on 13)

The one or more computer-readable non-transitory storage media of claim 13, wherein, in response to determining to re-write the source address, the operations comprise selecting a new address from an address pool based at least in part on a stateful function.

### Claim 20 (depends on 13)

The one or more computer-readable non-transitory storage media of claim 13, the operations further comprising:
receiving a list of prefixes from a service provider associated with at least one of the plurality of uplinks; and
reserving a portion of the prefixes for re-writing addresses.
