# US 2022/0294665 A1 · Packet Forwarding Between Hybrid Tunnel Endpoints

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

- Number: US 2022/0294665 A1
- Document ID: US20220294665A1
- Status: Published application
- Kind: A1
- Application number: 17/196,488
- Filed: 2021-03-09
- Published: 2022-09-15
- Earliest claimed: 2021-03-09
- Assignees: Arista Networks, Inc.
- Applicants: Arista Networks, Inc.
- Inventors: Michell Ryan JAMESON; Chandrashekhar APPANNA; Kaushik Kumar RAM
- Web page: https://patentgrep.com/patent/US20220294665A1

## CPC

- H04L 12/4633: {Interconnection of networks using encapsulation techniques, e.g. tunneling}
- H04L 12/4641: {Virtual LANs, VLANs, e.g. virtual private networks [VPN] (LAN interconnection over a bridge based backbone H04L12/462; encapsulation techniques H04L12/4633; routing of packets H04L45/00; packet switches H04L49/00; virtual private networks for security H04L63/0272)}
- H04L 45/74: Address processing for routing
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

In a virtual extensible local area network (VxLAN) that includes a deployment of aggregation VxLAN tunnel endpoints (VTEPs) and access point (AP) VTEPs, packet processing by the aggregation VTEPs includes distinguishing between Type 1 VTEPs and Type 2 VTEPs. When the source of an ingress packet and the next hop destination are both Type 1 VTEPs, the ingress packet is dropped.

## Claims

### Claim 1

A method in a network device comprising:
identifying a plurality of virtual extensible local area network (VxLAN) tunnel endpoints (VTEPs) at other ends of virtual tunnels to which the network device is connected;
designating the identified plurality of VTEPs as being a first VTEP type (Type 1) or a second VTEP type (Type 2);
storing a forwarding rule in the network device, the forwarding rule comprising match criteria to identify an ingress packet that (1) is sent by a Type 1 VTEP and (2) is associated with a next hop destination that is a Type 1 VTEP, the forwarding rule further comprising a DROP action to drop an ingress packet that matches the match criteria; and
processing a received ingress packet, including:
identifying a next hop destination associated with the received ingress packet;
dropping the received ingress packet in response to the received ingress packet matching the forwarding rule when (1) the received ingress packet is sent by a Type 1 VTEP and (2) the identified next hop destination is a Type 1 VTEP, by performing the DROP action of the forwarding rule; and
forwarding an egress packet generated from the received ingress packet to the identified next hop destination when either the received ingress packet is sent by a Type 2 VTEP or the identified next hop destination is a Type 2 VTEP.

### Claim 2 (depends on 1)

The method of claim 1, wherein a Type 1 VTEP is a network device that is an endpoint to a plurality of virtual tunnels, wherein a Type 2 VTEP is a network device that is an endpoint to a single virtual tunnel.

### Claim 3 (depends on 1)

The method of claim 1, wherein designating the identified plurality of VTEPs includes receiving an ingress packet from a first VTEP and designating the first VTEP as a Type 1 VTEP or a Type 2 VTEP based on information contained the received ingress packet.

### Claim 4 (depends on 3)

The method of claim 3, wherein the first VTEP is designated as Type 1 when the received ingress packet contains control plane data, wherein the first VTEP is designated as Type 2 when the received ingress packet contains data plane data.

### Claim 5 (depends on 1)

The method of claim 1, further comprising re-designating a first VTEP that is currently designated as Type 2 to be designated as Type 1 in response to receiving an ingress packet from the first VTEP that contains control plane data.

### Claim 6 (depends on 1)

The method of claim 1, wherein designating the identified plurality of VTEPs includes receiving VTEP designation information from a user.

### Claim 7 (depends on 1)

The method of claim 1, wherein designating VTEPs learned by the network device includes the network device receiving VTEP designation information from Type 1 VTEPs and Type 2 VTEPs.

### Claim 8

A network device comprising:
one or more computer processors; and
a computer-readable storage medium comprising instructions for controlling the one or more computer processors to:
receive an ingress packet over a first virtual tunnel from a sender device, wherein the sender device can be designated as Type 1 or Type 2;
decapsulate the ingress packet to recover an inner packet;
identify a next hop device using the inner packet, wherein the next hop device can be designated as Type 1 or Type 2; and
drop the ingress packet when both the sender device is designated as Type 1 and the next hop device is designated Type 1.

### Claim 9 (depends on 8)

The network device of claim 8, wherein Type 1 indicates a device that is an endpoint to a plurality of virtual tunnels, wherein Type 2 indicates a device that is an endpoint to a single virtual tunnel.

### Claim 10 (depends on 8)

The network device of claim 8, wherein the computer-readable storage medium further comprises instructions for controlling the one or more computer processors to generate an egress packet to be forwarded to the next hop device when either the sender device or the next hop device is designated Type 2.

### Claim 11 (depends on 10)

The network device of claim 10, wherein the computer-readable storage medium further comprises instructions for controlling the one or more computer processors to:
encapsulate the inner packet in a tunnel packet to generate the egress packet; and
forward the egress packet to the next hop device over a second tunnel different from the first tunnel.

### Claim 12 (depends on 8)

The network device of claim 8, wherein the computer-readable storage medium further comprises instructions for controlling the one or more computer processors to look up a rule among a plurality of forwarding rules, the plurality of forwarding rules including a first rule that represents the following match criteria:
the sender device being designated Type 1 AND
the next hop device being designated Type 1,
wherein the ingress packet is dropped when the first rule is matched.

### Claim 13 (depends on 12)

The network device of claim 12, wherein the inner packet is forwarded when the first rule is not matched.

### Claim 14 (depends on 8)

The network device of claim 8, wherein the computer-readable storage medium further comprises instructions for controlling the one or more computer processors to receive an ingress packet from a first device and designate the first device as Type 1 or Type 2 based on information contained the received ingress packet from the first device.

### Claim 15 (depends on 14)

The network device of claim 14, wherein the first device is designated as Type 1 when the received ingress packet from the first device contains control plane data, wherein the first device is designated as Type 2 when the received ingress packet from the first device contains data plane data.

### Claim 16

A network device comprising:
one or more computer processors; and
a computer-readable storage medium comprising instructions for controlling the one or more computer processors to:
receive an ingress packet over a first virtual tunnel from a sender device, the sender device being designated as Type 1 or Type 2;
decapsulate the ingress packet to recover an inner packet;
generate a flood list in response to a determination that the inner packet is a broadcast, unicast unknown, or multicast (BUM) packet; and
for each neighbor device in the flood list, drop the ingress packet in response to a determination that both the sender device and said each neighbor device are designated Type 1.

### Claim 17 (depends on 16)

The network device of claim 16, wherein Type 1 indicates a device that is an endpoint to a plurality of virtual tunnels, wherein Type 2 indicates a device that is an endpoint to a single virtual tunnel.

### Claim 18 (depends on 16)

The network device of claim 16, wherein the computer-readable storage medium further comprises instructions for controlling the one or more computer processors to forward the inner packet to said each neighbor device in response to a determination that the sender device is designated Type 2 or said each neighbor device is designated Type 2.

### Claim 19 (depends on 18)

The network device of claim 18, wherein forwarding the inner packet to the neighbor device comprises:
encapsulating the inner packet in an egress packet; and
transmitting the egress packet to the neighbor device over a second tunnel different from the first tunnel.

### Claim 20 (depends on 16)

The network device of claim 16, wherein the computer-readable storage medium further comprises instructions for controlling the one or more computer processors to look up a rule among a plurality of forwarding rules for each neighbor device in the flood list, the plurality of forwarding rules including a first rule that represents the following match criteria:
the sender device being designated Type 1 AND
the neighbor device being designated Type 1,
wherein the inner packet is forwarded when the first rule is not matched, wherein the ingress packet is dropped when the first rule is matched.
