# US 2025/0211528 A1 · Sharing egress tunnel header rewrite table entries across virtual private network (vpn) tunnels

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

- Number: US 2025/0211528 A1
- Document ID: US20250211528A1
- Status: Published application
- Kind: A1
- Application number: 18/395,076
- Filed: 2023-12-22
- Published: 2025-06-26
- Earliest claimed: 2023-12-22
- Assignees: Arista Networks, Inc.
- Applicants: Arista Networks, Inc.
- Inventors: Vishal Bandekar; Binoshmon TB; Basil Saji
- Web page: https://patentgrep.com/patent/US20250211528A1

## CPC

- H04L 45/745: Address table lookup; Address filtering
- H04L 45/566: {Routing instructions carried by the data packet, e.g. active networks}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method of forwarding a data packet includes, in part, receiving the data packet at an ingress interface, reordering entries of the data packet such that a first forwarding equivalence class (FEC), indexed by a first forwarding lookup table, is caused to point to a virtual private network (VPN) identifier associated with a tunnel through which the data packet is to be forwarded. The reordering of the entries causes a second FEC to point to a multitude of common tunnel header entries. The second FEC is indexed by the first FEC and has a lower level than the first FEC. The data packet with the reordered entries is forwarded through the tunnel. The egress tunnel header rewrite table entries are also reordered in accordance with which the data packet is forwarded.

## Claims

### Claim 1

A method of forwarding a plurality of data packets, the method comprising:
receiving a first data packet at an ingress interface;
reordering entries of the first data packet such that a first forwarding equivalence class (FEC), indexed by a first forwarding lookup table, points to a virtual private network (VPN) identifier associated with a first tunnel through which the first data packet is to be forwarded, and a second FEC points to a plurality of common tunnel header entries, wherein the second FEC is indexed by the first FEC and has a lower level than the first FEC; and
forwarding the first data packet with the reordered entries through the first tunnel.

### Claim 2 (depends on 1)

The method of claim 1 further comprising:
reordering an egress tunnel header rewrite table entries in accordance with which the first data packet is forwarded.

### Claim 3 (depends on 1)

The method of claim 1 further comprising:
receiving a second data packet at the ingress interface;
reordering entries of the second data packet such that a third FEC, indexed by a second forwarding lookup table, points to the VPN identifier associated with a second tunnel through which the second data packet is to be forwarded, and a fourth FEC points to the plurality of common tunnel header entries, wherein the fourth FEC is indexed by the third FEC and has a lower level than the third FEC; and
forwarding the second data packet with the reordered entries through the second tunnel, wherein the first and second tunnels have same end points.

### Claim 4 (depends on 1)

The method of claim 1 wherein each of at least a subset of the common tunnel header entries provides an index to another one of the subset of the common tunnel header entries.

### Claim 5 (depends on 4)

The method of claim 4 wherein the plurality of common tunnel header entries is associated with at least one of a layer-2 VPN or a layer-3 VPN tunnel.

### Claim 6 (depends on 1)

The method of claim 1 further comprising:
reordering the entries of the first data packet such that a third FEC, indexed by the second FEC, points to a layer 2 header entry.

### Claim 7 (depends on 1)

The method of claim 1 wherein the plurality of common tunnel header entries comprises Internet Protocol version 6 (IPv6) tunnel header entry, segment routing header (SRH) entry, and a service ID (SID) entry.

### Claim 8

A network device comprising:
an ingress interface;
a memory; and
a control system configured to:
receive a first data packet at the ingress interface;
reorder entries of the first data packet such that a first forwarding equivalence class (FEC), indexed by a first forwarding lookup table, points to a virtual private network (VPN) identifier associated with a first tunnel through which the first data packet is to be forwarded by the network switch, and a second FEC points to a plurality of common tunnel header entries, wherein the second FEC is indexed by the first FEC and has a lower level than the first FEC; and
forward the first data packet with the reordered entries through the first tunnel.

### Claim 9 (depends on 8)

The network device of claim 8 wherein the control system is further configured to:
reorder an egress tunnel header rewrite table entries in accordance with which the first data packet is forwarded.

### Claim 10 (depends on 8)

The network device of claim 8 wherein the control system is further configure to:
receive a second data packet at the ingress interface;
reorder entries of the second data packet such that a third FEC, indexed by a second forwarding lookup table, points to the VPN identifier associated with a second tunnel through which the second data packet is to be forwarded, and a fourth FEC points to the plurality of common tunnel header entries, wherein the fourth FEC is indexed by the third FEC and has a lower level than the third FEC; and
forward the second data packet with the reordered entries through the second tunnel, wherein the first and second tunnels have same end points.

### Claim 11 (depends on 8)

The network device of claim 8 wherein each of at least a subset of the common tunnel header entries provides an index to another one of the subset of the common tunnel header entries.

### Claim 12 (depends on 11)

The network device of claim 11 wherein the plurality of common tunnel header entries is associated with at least one of a layer-2 VPN or a layer-3 VPN tunnel.

### Claim 13 (depends on 8)

The network device of claim 8 wherein the control system is further configure to:
reorder the entries of the first data packet such that a third FEC, indexed by the second FEC, points to a layer 2 header entry.

### Claim 14 (depends on 8)

The network device of claim 8 wherein the plurality of common tunnel header entries comprises Internet Protocol version 6 (IPv6) tunnel header entry, segment routing header (SRH) entry, and a service ID (SID) entry.

### Claim 15

A non-transitory computer readable medium comprising stored instructions, which when executed by a processor, cause the processor to:
receive a first data packet at the ingress interface;
reorder entries of the first data packet such that a first forwarding equivalence class (FEC), indexed by a first forwarding lookup table, points to a virtual private network (VPN) identifier associated with a first tunnel through which the first data packet is to be forwarded by the network switch, and a second FEC points to a plurality of common tunnel header entries, wherein the second FEC is indexed by the first FEC and has a lower level than the first FEC; and
forward the first data packet with the reordered entries through the first tunnel.

### Claim 16 (depends on 15)

The non-transitory computer readable medium of claim 15 wherein the instructions further cause the processor to:
reorder an egress tunnel header rewrite table entries in accordance with which the first data packet is forwarded.

### Claim 17 (depends on 15)

The non-transitory computer readable medium of claim 15 wherein the instructions further cause the processor to:
receive a second data packet at the ingress interface;
reorder entries of the second data packet such that a third FEC, indexed by a second forwarding lookup table, points to the VPN identifier associated with a second tunnel through which the second data packet is to be forwarded, and a fourth FEC points to the plurality of common tunnel header entries, wherein the fourth FEC is indexed by the third FEC and has a lower level than the third FEC; and
forward the second data packet with the reordered entries through the second tunnel, wherein the first and second tunnels have same end points.

### Claim 18 (depends on 15)

The non-transitory computer readable medium of claim 15 wherein each of at least a subset of the common tunnel header entries provides an index to another one of the subset of the common tunnel header entries.

### Claim 19 (depends on 18)

The non-transitory computer readable medium of claim 18 wherein the plurality of common tunnel header entries is associated with at least one of a layer-2 VPN or a layer-3 VPN tunnel.

### Claim 20 (depends on 15)

The non-transitory computer readable medium of claim 15 wherein the instructions further cause the processor to:
reorder the entries of the first data packet such that a third FEC, indexed by the second FEC, points to a layer 2 header entry.
