IP Library Granted Patent US 11,683,272
Granted Patent B2
US 11,683,272 · App. 17/411,505 · Granted Jun 20, 2023

Packet processing method, packet forwarding apparatus, and packet processing apparatus

Inventors: Yuan Gao (Nanjing, CN); Tiyu Huang (Nanjing, CN); Wanmei Zeng (Shenzhen, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
H04L45/745H04L45/24H04L45/42H04L45/566H04L45/586
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,683,272
App. No.
17/411,505
Granted
Jun 20, 2023
Kind
B2
Abstract

This application discloses a packet processing method that is applied to an EVPN, where the EVPN includes a first network device and a second network device. The method includes: receiving, by the first network device, a VXLAN packet sent by the second network device, where the VXLAN packet includes a path identifier and a service packet, the path identifier indicates a path from the first network device to a VNF device through an IPU, and the service packet includes a destination IP address; determining, by the first network device based on the path identifier, first routing information; and forwarding, by the first network device, the service packet to the VNF device via the IPU based on the first routing information and the destination IP address.

Claims (49)

1. A packet processing method for an Ethernet virtual private network (EVPN), the EVPN comprises a first network device and a second network device, and the method comprises:

receiving, by the first network device, a virtual extensible local area network (VXLAN) packet sent by the second network device, wherein:

the VXLAN packet comprises a path identifier and a service packet;

the path identifier indicates a path from the first network device to a virtualized network function (VNF) device through an interface processing unit (IPU);

the first network device is connected to the IPU; and

the service packet comprises a destination Internet Protocol (IP) address, the destination IP address is an IP address of the VNF device, and the IPU is connected to the VNF device;

determining, by the first network device based on the path identifier, first routing information from equal-cost multipath (ECMP) routing information, wherein the first routing information indicates the path from the first network device to the VNF device through the IPU; and

forwarding, by the first network device, the service packet to the VNF device via the IPU based on the first routing information and the destination IP address.

2. The method according to claim 1 , wherein before the receiving, by the first network device, the VXLAN packet sent by the second network device, the method further comprises:

obtaining, by the first network device, the first routing information; and

including, by the first network device, the first routing information in the ECMP routing information.

3. The method according to claim 2 , wherein after the obtaining, by the first network device, the first routing information, the method further comprises:

generating, by the first network device, EVPN routing information based on the first routing information, wherein the EVPN routing information comprises the path identifier and the destination IP address; and

sending, by the first network device, the EVPN routing information to the second network device.

4. The method according to claim 1 , wherein the VXLAN packet further comprises a flag bit, and the flag bit indicates that the VXLAN packet comprises the path identifier.

5. A packet forwarding apparatus, wherein the packet forwarding apparatus is applied to an Ethernet virtual private network (EVPN), the EVPN further comprises a packet processing apparatus, and the packet forwarding apparatus comprises:

a non-transitory memory storing instructions; and

a processor coupled to the non-transitory memory; wherein the instructions, when executed by the processor, configure the packet forwarding apparatus to:

receive a virtual extensible local area network (VXLAN) packet sent by a packet generation apparatus, wherein:

the VXLAN packet comprises a path identifier and a service packet;

the path identifier indicates a path from the packet forwarding apparatus to a virtualized network function (VNF) device through an interface processing unit (IPU);

the packet forwarding apparatus is connected to the IPU;

the service packet comprises a destination Internet Protocol (IP) address; and

the destination IP address is an IP address of the VNF device, and the IPU is connected to the VNF device;

determine, based on the path identifier from the VXLAN packet, first routing information comprised in equal-cost multipath (ECMP) routing information, wherein the first routing information indicates the path from the packet forwarding apparatus to the VNF device through the IPU; and

forward the service packet to the VNF device via the IPU based on the first routing information and the destination IP address comprised in the VXLAN packet.

6. The packet forwarding apparatus according to claim 5 , wherein the instructions, when executed by the processor, further configure the packet forwarding apparatus to:

obtain the first routing information before the packet forwarding apparatus receives the VXLAN packet sent by the packet processing apparatus; and

include, in the ECMP routing information, the first routing information.

7. The packet forwarding apparatus according to claim 6 , wherein the instructions, when executed by the processor, further configure the packet forwarding apparatus configured to:

generate EVPN routing information based on the first routing information after the packet forwarding apparatus obtains the first routing information, wherein the EVPN routing information comprises the path identifier and the destination IP address; and

send, to the packet processing apparatus, the EVPN routing information.

8. The packet forwarding apparatus according to claim 5 , wherein the VXLAN packet further comprises a flag bit, and the flag bit is used to indicate that the VXLAN packet comprises the path identifier.

9. A packet processing apparatus for an Ethernet virtual private network (EVPN), the EVPN further comprises a packet forwarding apparatus, and the packet processing apparatus comprises:

a non-transitory memory storing instructions; and

a processor coupled to the non-transitory memory; wherein the instructions, when executed by the processor, configure packet processing apparatus to:

determine, based on equal-cost multipath (ECMP) routing information, to send a service packet to a virtualized network function (VNF) device via an interface processing unit (IPU), wherein:

the packet forwarding apparatus is connected to the IPU;

the IPU is connected to the VNF device, the service packet comprises a destination Internet Protocol (IP) address; and

the destination IP address is an IP address of the VNF device;

generate a virtual extensible local area network (VXLAN) packet, wherein:

the VXLAN packet comprises a path identifier and the service packet; and

the path identifier indicates a path from the packet forwarding apparatus to the VNF device through the IPU; and

send, to the packet forwarding apparatus, the VXLAN packet, wherein the path identifier triggers the packet forwarding apparatus to forward the service packet based on the path indicated by the path identifier.

10. The packet processing apparatus according to claim 9 , wherein the instructions, when executed by the processor, further configure the packet processing apparatus to:

before the packet processing apparatus generates the VXLAN packet, receive EVPN routing information sent by the packet forwarding apparatus, wherein the EVPN routing information comprises the path identifier and the destination IP address.

11. The packet processing apparatus according to claim 10 , wherein the instructions, when executed by the processor, further configure the packet processing apparatus to:

include the EVPN routing information in the ECMP routing information after the packet processing apparatus receives the EVPN routing information sent by the packet forwarding apparatus.

12. The packet processing apparatus according to claim 9 , wherein the VXLAN packet further comprises a flag bit, and the flag bit indicates that the VXLAN packet comprises the path identifier.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 18, 2023
From: GAO, YUAN; HUANG, TIYU; ZENG, WANMEI
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 063355/0494 →
Priority Claims (1)
CN 201910146394.4 · Feb 27, 2019 · national
Continuity (2)
Continuation PCTCN2019127868 · Dec 24, 2019
Related Publication 20210385163A1 · Dec 9, 2021