IP Library Granted Patent US 9,960,995
Granted Patent B2
US 9,960,995 · App. 14/768,439 · Granted May 1, 2018

Packet forwarding using a physical unit and a virtual forwarding unit

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 9,960,995
App. No.
14/768,439
Granted
May 1, 2018
Kind
B2
Abstract

In a method for forwarding a packet, a physical forwarding unit receives a data packet, may find a first subnet route based on a destination IP address of the data packet, and forwards the data packet to a virtual forwarding unit via an output interface of the first subnet route. The virtual forwarding unit receives the data packet may find a first host route based on the destination IP address of the data packet, and forwards the data packet based on the first host route.

Claims (41)

1. A method for forwarding a packet, comprising:

receiving, by a physical forwarding unit, a data packet;

in response to a determination that no host route matches a destination address of the data packet, finding, by the physical forwarding unit, a first subnet route connected to a virtual forwarding unit that matches the destination address of the data packet;

forwarding, by the physical forwarding unit, the data packet to the virtual forwarding unit via the found first subnet route, wherein the virtual forwarding unit is to forward the data packet to a destination; and

deleting, by the physical forwarding unit, a host route having a first aging indication at preset intervals, and updating a host route having a second aging indication as a host route having the first aging indication.

2. The method of claim 1 , comprising:

in response to a determination by the virtual forwarding unit that no host route matches the destination address of the data packet, forwarding, by the virtual forwarding unit to a general processing unit, the data packet for the general processing unit to forward the data packet to the destination.

3. The method of claim 1 , comprising:

finding, by the virtual forwarding unit, a first host route matching the destination address of the data packet and forwarding the data packet to the destination via the first host route;

calculating, by the virtual forwarding unit, a frequency of use of the first host route; and

based on the frequency of use of the first host route reaching a preset frequency threshold, sending, by the virtual forwarding unit, the first host route to the physical forwarding unit to be stored.

4. The method of claim 1 , comprising:

in response to a determination by the physical forwarding unit that a first host route matches the destination address of the data packet, forwarding, by the physical forwarding unit, the data packet to the destination via the first host route.

5. The method of claim 1 , comprising:

in response to a determination by the physical forwarding unit that a first host route matches the destination address of the data packet, updating, by the physical forwarding unit, an aging indication of the first host route from a first value to a second value.

6. The method of claim 1 , wherein the virtual forwarding unit is implemented by a general processing unit.

7. A network device for forwarding a packet, comprising:

a general processing unit, a virtual forwarding unit and a physical forwarding unit,

wherein the physical forwarding unit is to:

receive a data packet;

in response to a determination that no host route matches a destination address of the data packet, find a first subnet route connected to a virtual forwarding unit that matches the destination address of the data packet; and

forward the data packet to the virtual forwarding unit via the found first subnet route, wherein the virtual forwarding unit is to forward the data packet to a destination and

wherein the physical forwarding unit is to delete a host route having a first aging indication at preset intervals, and update a host route having a second aging indication as a host route having the first aging indication.

8. The network device of claim 7 , wherein the general processing unit is to forward the data packet when the virtual forwarding unit finds no host route matching the destination address.

9. The network device of claim 7 , wherein the virtual forwarding unit is to forward the data packet to the destination via a first host route and calculate a frequency of use of the first host route, and

based on the frequency of use of the first host route reaching a preset frequency threshold, the virtual forwarding unit is to send the first host route to the physical forwarding unit to be stored.

10. The network device of claim 7 , wherein, in response to a determination that a host route matches the destination address, the physical forwarding unit is to forward the data packet to the destination via the host route.

11. The network device of claim 7 , wherein the physical forwarding unit is to delete a host route having a first aging indication at preset intervals, and update a host route having a second aging indication as a host route having the first aging indication.

12. A non-transitory computer readable storage medium storing instructions that when executed by a processor of a device cause a physical forwarding unit of the device to:

receive a data packet;

in response to a determination that no host route matches a destination address of the data packet, find a subnet route connected to a virtual forwarding unit that matches the destination address of the data packet; and

forward the data packet to the virtual forwarding unit via the found subnet route, wherein the virtual forwarding unit is to forward the data packet to a destination,

wherein the processor is to cause the physical forwarding unit to delete a host route having a first aging indication at preset intervals, and update a host route having a second aging indication as a host route having the first aging indication.

13. The non-transitory computer readable storage medium of claim 12 , wherein the instructions are to cause the virtual forwarding unit to:

in response to a determination by the virtual forwarding unit that a first host route matches the destination address of the data packet, forward the data packet to the destination via the first host route; and

in response to a determination by the virtual forwarding unit that no host route matches the destination address of the data packet, forward the data packet to the processor for the processor to forward the data packet to the destination.

14. The non-transitory computer readable storage medium of claim 13 , wherein the instructions are to cause the virtual forwarding unit to:

calculate a frequency of use of the first host route; and

based on the frequency of use of the first host route reaching a preset frequency threshold, send the first host route to the physical forwarding unit to be stored.

15. The non-transitory computer readable storage medium of claim 12 , wherein the instructions are to cause the physical forwarding unit to:

in response to a determination by the physical forwarding unit that a host route matches the destination address, update an aging indication of the host route from a first value to a second value.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 22, 2016
From: H3C TECHNOLOGIES CO., LTD.; HANGZHOU H3C TECHNOLOGIES CO., LTD.
To: HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP
Reel/Frame 039767/0263 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 19, 2015
From: YOU, JUNPING; ZHENG, GUOLIANG; WANG, HONGYUAN; ZHAO, HAIFENG
To: HANGZHOU H3C TECHNOLOGIES CO., LTD.
Reel/Frame 036392/0189 →