# US 2022/0286396 A1 · Systems and methods for maintaining consistency between interfaces of locally sourced packets

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

- Number: US 2022/0286396 A1
- Document ID: US20220286396A1
- Status: Published application
- Kind: A1
- Application number: 17/750,590
- Filed: 2022-05-23
- Published: 2022-09-08
- Earliest claimed: 2020-02-25
- Assignees: Cisco Technology, Inc.
- Applicants: Cisco Technology, Inc.
- Inventors: Enke Chen; Jun Zhuang
- Web page: https://patentgrep.com/patent/US20220286396A1

## CPC

- H04L 45/24: Multipath
- H04L 45/7452: Multiple parallel or consecutive lookup operations (lookup operation involving Bloom filters H04L45/7459)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

In one embodiment, a method includes performing, by a router, a destination address lookup of an IP packet in a Forwarding Information Base (FIB) and identifying, by the router, an equal cost multi-path (ECMP) object from the destination address lookup. The ECMP object includes a plurality of paths for forwarding the IP packet to a destination associated with a destination address. The method further includes determining, by the router, a source interface associated with the IP packet, determining, by the router, that the source interface matches an egress interface associated with a path among the plurality of paths, and communicating, by the router, the IP packet based on the path to the destination using the egress interface.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A network element, comprising:
one or more processors; and
one or more computer-readable non-transitory storage media coupled to the one or more processors and comprising instructions that, when executed by the one or more processors, cause the network element to perform operations comprising:
identifying a first path and a second path for forwarding an IP packet to a destination associated with a destination address;
determining that the first path is associated with a private network and the second path is associated with a public network;
determining a source interface associated with the IP packet;
determining that the source interface matches an egress interface associated with the first path; and
communicating the IP packet based on the first path to the destination using the egress interface.

### Claim 22 (depends on 21)

The network element of claim 21, the operations further comprising detecting an identifier for the source interface within an auxiliary header for the IP packet to determine the source interface associated with the IP packet.

### Claim 23 (depends on 21)

The network element of claim 21, the operations further comprising performing a source address lookup of the IP packet in a Forwarding Information Base (FIB) to determine the source interface associated with the IP packet, wherein the FIB associates a source address with the source interface.

### Claim 24 (depends on 21)

The network element of claim 21, the operations further comprising performing a source address lookup of the IP packet in a database to determine the source interface associated with the IP packet, wherein the database maps a source address to the source interface.

### Claim 25 (depends on 21)

The network element of claim 21, wherein:
the IP packet is an Internet Protocol version 4 (IPv4) packet or an Internet Protocol Version 6 (IPv6) packet;
the IP packet is a locally sourced IP packet having a private IP source address; and
the first path to the destination includes a wide area network (WAN) having a private IP address.

### Claim 26 (depends on 21)

The network element of claim 21, wherein:
the first path is associated with a private IP address; and
the second path is associated with a public IP address.

### Claim 27 (depends on 21)

The network element of claim 21, wherein the source interface is:
specified by an application running on the router; or
determined by performing a route lookup in a routing table.

### Claim 28

A method, comprising:
identifying a first path and a second path for forwarding an IP packet to a destination associated with a destination address;
determining that the first path is associated with a private network and the second path is associated with a public network;
determining a source interface associated with the IP packet;
determining that the source interface matches an egress interface associated with the first path; and
communicating the IP packet based on the first path to the destination using the egress interface.

### Claim 29 (depends on 28)

The method of claim 28, further comprising detecting an identifier for the source interface within an auxiliary header for the IP packet to determine the source interface associated with the IP packet.

### Claim 30 (depends on 28)

The method of claim 28, further comprising performing a source address lookup of the IP packet in a Forwarding Information Base (FIB) to determine the source interface associated with the IP packet, wherein the FIB associates a source address with the source interface.

### Claim 31 (depends on 28)

The method of claim 28, further comprising performing a source address lookup of the IP packet in a database to determine the source interface associated with the IP packet, wherein the database maps a source address to the source interface.

### Claim 32 (depends on 28)

The method of claim 28, wherein:
the IP packet is an Internet Protocol version 4 (IPv4) packet or an Internet Protocol Version 6 (IPv6) packet;
the IP packet is a locally sourced IP packet having a private IP source address; and
the first path to the destination includes a wide area network (WAN) having a private IP address.

### Claim 33 (depends on 28)

The method of claim 28, wherein:
the first path is associated with a private IP address; and
the second path is associated with a public IP address.

### Claim 34 (depends on 28)

The method of claim 28, wherein the source interface is:
specified by an application running on the router; or
determined by performing a route lookup in a routing table.

### Claim 35

One or more computer-readable non-transitory storage media embodying instructions that, when executed by a processor, cause the processor to perform operations comprising:
identifying a first path and a second path for forwarding an IP packet to a destination associated with a destination address;
determining that the first path is associated with a private network and the second path is associated with a public network;
determining a source interface associated with the IP packet;
determining that the source interface matches an egress interface associated with the first path; and
communicating the IP packet based on the first path to the destination using the egress interface.

### Claim 36 (depends on 35)

The one or more computer-readable non-transitory storage media of claim 35, the operations further comprising detecting an identifier for the source interface within an auxiliary header for the IP packet to determine the source interface associated with the IP packet.

### Claim 37 (depends on 35)

The one or more computer-readable non-transitory storage media of claim 35, the operations further comprising performing a source address lookup of the IP packet in a Forwarding Information Base (FIB) to determine the source interface associated with the IP packet, wherein the FIB associates a source address with the source interface.

### Claim 38 (depends on 35)

The one or more computer-readable non-transitory storage media of claim 35, the operations further comprising performing a source address lookup of the IP packet in a database to determine the source interface associated with the IP packet, wherein the database maps a source address to the source interface.

### Claim 39 (depends on 35)

The one or more computer-readable non-transitory storage media of claim 35, wherein:
the IP packet is an Internet Protocol version 4 (IPv4) packet or an Internet Protocol Version 6 (IPv6) packet;
the IP packet is a locally sourced IP packet having a private IP source address; and
the first path to the destination includes a wide area network (WAN) having a private IP address.

### Claim 40 (depends on 35)

The one or more computer-readable non-transitory storage media of claim 35, wherein:
the first path is associated with a private IP address; and
the second path is associated with a public IP address.
