# US 2016/0261428 A1 · Packet Forwarding

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

- Number: US 2016/0261428 A1
- Document ID: US20160261428A1
- Status: Published application
- Kind: A1
- Application number: 14/401,531
- Filed: 2013-09-04
- Published: 2016-09-08
- Earliest claimed: 2013-09-04
- Assignees: Hangzhou H3C Technologies Co., Ltd.
- Applicants: Hangzhou H3C Technologies Co., Ltd.
- Inventors: Xiaoheng Song; Guoliang Zheng
- Web page: https://patentgrep.com/patent/US20160261428A1

## CPC

- H04L 12/4633: {Interconnection of networks using encapsulation techniques, e.g. tunneling}
- H04L 12/413: with random access, e.g. carrier-sense multiple-access with collision detection [CSMA-CD]
- 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/66: {Layer 2 routing, e.g. in Ethernet based MAN's}
- H04L 45/745: Address table lookup; Address filtering
- H04L 61/103: across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

An ED within EVI network establishes an EVI tunnel for bearing Ethernet packets and an EVI extension tunnel for bearing IP packets, where both the EVI tunnel and the EVI extension tunnel are connected to a peer ED. The ED sends an Ethernet packet for layer 2 forwarding in an EVI forwarding instance through the EVI tunnel; and sends an IP packet for layer 3 forwarding in the EVI forwarding instance through the EVI extension tunnel.

## Claims

### Claim 1

A method for forwarding a packet by an Edge Device (ED), comprising:
establishing a first Ethernet Virtual Interconnection (EVI) tunnel for bearing Ethernet packets and a first EVI extension tunnel for bearing IP packets, both the first EVI tunnel and the first EVI extension tunnel being connected to a peer ED;
sending, through the first EVI tunnel, an Ethernet packet for layer 2 forwarding in an EVI forwarding instance; and
sending, through the first EVI extension tunnel, an IP packet for layer 3 forwarding in the EVI forwarding instance.

### Claim 2 (depends on 1)

The method of claim 1, wherein the sending, through the first EVI extension tunnel, the IP packet for layer 3 forwarding in the EVI forwarding instance comprises:
searching a Forwarding Information Base (FIB) based on a destination IP address of the IP packet;
encapsulating the IP packet into an IP over IP Generic Routing Encapsulation (GRE) packet containing a public layer 2 header and a first EVI extension tunnel header based on encapsulation information of the first EVI extension tunnel in a FIB entry matching the destination IP address; and
sending the IP over IP GRE packet through a public outbound interface in the FIB entry matching the destination IP address.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
receiving, through a second EVI tunnel, another Ethernet packet for layer 2 forwarding in the EVI forwarding instance, and performing layer 2 forwarding for the another Ethernet packet;
receiving, through a second EVI extension tunnel, another IP packet for layer 3 forwarding in the EVI forwarding instance, and performing layer 3 forwarding for the another IP packet, wherein:
the second EVI tunnel is connected to the ED by the peer ED and is used for bearing Ethernet packets, and the second EVI extension tunnel is connected to the ED by the peer ED and is used for bearing IP packets.

### Claim 4 (depends on 2)

The method of claim 2, further comprising:
when no FIB entry matching the destination IP is found in the FIB, generating an Address Resolution Protocol (ARP) request packet, and sending the generated ARP request packet through the first EVI tunnel; and
receiving an ARP response packet through a second EVI tunnel, and creating a new FIB entry in the FIB based on a sender IP address of the ARP response packet, the encapsulation information of the first EVI extension tunnel, and the public outbound interface.

### Claim 5

An Edge Device (ED) comprising a tunnel establishing module and a sending module, wherein:
the tunnel establishing module is to establish a first Ethernet Virtual Interconnection (EVI) tunnel for bearing Ethernet packets and a first EVI extension tunnel for bearing IP packets, both of the first EVI tunnel and the first EVI extension tunnel being connected to a peer ED; and
the sending module is to:
send, through the first EVI tunnel, an Ethernet packet for layer 2 forwarding in an EVI forwarding instance; and
send, through the first EVI extension tunnel, an IP packet for layer 3 forwarding in the EVI forwarding instance.

### Claim 6 (depends on 5)

The ED of claim 5, wherein the sending module comprises:
a processing sub-module to:
search a Forwarding Information Base (FIB) based on a destination IP address of the IP packet;
encapsulate the IP packet into an IP over IP Generic Routing Encapsulation (GRE) packet containing a public layer 2 header and a first EVI extension tunnel header based on encapsulation information of the first EVI extension tunnel in a FIB entry matching the destination IP address; and
a sending sub-module to send the IP over IP GRE packet through a public outbound interface in the FIB entry matching the destination IP address.

### Claim 7 (depends on 5)

The ED of claim 5, further comprising:
a receiving module to:
receive, through a second EVI tunnel, another Ethernet packet for layer 2 forwarding in the EVI forwarding instance, and perform layer 2 forwarding for the another Ethernet packet;
receive, through a second EVI extension tunnel, another IP packet for layer 3 forwarding in the EVI forwarding instance, and perform layer 3 forwarding for the another IP packet, wherein:
the second EVI tunnel is connected to the ED by the peer ED and is used for bearing Ethernet packets, and the second EVI extension tunnel is connected to the ED by the peer ED and is used for bearing IP packets.

### Claim 8 (depends on 6)

The ED of claim 6, wherein the processing sub-module is further to:
when no FIB item matching with the destination IP is found in the FIB, generate an Address Resolution Protocol (ARP) request packet, and send the ARP request packet through the first EVI tunnel;
receive an ARP response packet through a second EVI tunnel, and create a new FIB entry in the FIB based on a source IP address of the ARP response packet, the encapsulation information of the first EVI extension tunnel, and the public outbound interface.
