Packet forwarding method, controller, forwarding device, and network system
First Claim
1. A network system, comprising:
- at least one controller and a plurality of forwarding devices, wherein the plurality of forwarding devices forms a plurality of virtual network topologies;
wherein the at least one controller is configured to allocate a global label to each of the plurality of virtual network topologies, and send a binding relationship between the global labels and the plurality of virtual network topologies to the plurality of forwarding devices, wherein global labels allocated by the controller to different virtual network topologies of the plurality of virtual network topologies are different; and
the plurality of forwarding devices is configured to;
receive the binding relationship between the global labels and the virtual network topologies from the at least one controller,generate, according to the binding relationship, label forwarding entries comprising a mapping relationship between the global labels and forwarding information bases of the virtual network topologies, andwhen a first packet received by one forwarding device of the plurality of forwarding devices carries a first global label, the forwarding device finds, by searching according to the first global label, a forwarding information base of a first virtual network topology corresponding to the first global label, and determines that the first packet is to be forwarded by using the forwarding information base of the first virtual network topology, wherein the first virtual network topology is one of the plurality of virtual network topologies.
1 Assignment
0 Petitions
Accused Products
Abstract
A network system includes one controller and a plurality of forwarding devices, where the forwarding devices form a plurality of virtual network topologies; the controller is configured to allocate a global label to each of the plurality of virtual network topologies, and send a binding relationship between the global labels and the virtual network topologies to the forwarding devices, where global labels allocated to different virtual network topologies are different; the forwarding devices are configured to receiving the binding relationship, and generate label forwarding entries including a mapping relationship between the global labels and forwarding information bases; and when a packet received by the forwarding device carries a global label, the forwarding device searches according to the global label, a forwarding information base of a virtual network topology corresponding to the global label, and determines that the packet is to be forwarded by using the forwarding information base.
17 Citations
19 Claims
-
1. A network system, comprising:
-
at least one controller and a plurality of forwarding devices, wherein the plurality of forwarding devices forms a plurality of virtual network topologies; wherein the at least one controller is configured to allocate a global label to each of the plurality of virtual network topologies, and send a binding relationship between the global labels and the plurality of virtual network topologies to the plurality of forwarding devices, wherein global labels allocated by the controller to different virtual network topologies of the plurality of virtual network topologies are different; and the plurality of forwarding devices is configured to; receive the binding relationship between the global labels and the virtual network topologies from the at least one controller, generate, according to the binding relationship, label forwarding entries comprising a mapping relationship between the global labels and forwarding information bases of the virtual network topologies, and when a first packet received by one forwarding device of the plurality of forwarding devices carries a first global label, the forwarding device finds, by searching according to the first global label, a forwarding information base of a first virtual network topology corresponding to the first global label, and determines that the first packet is to be forwarded by using the forwarding information base of the first virtual network topology, wherein the first virtual network topology is one of the plurality of virtual network topologies. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A controller, wherein the controller is applied to a network system comprising the controller and a plurality of forwarding devices forming a plurality of virtual network topologies, the controller comprising:
-
a processor; memory coupled to the processor, the memory comprising instructions that, when executed by the processor, cause the controller to; allocate a global label to each of the plurality of virtual network topologies, wherein labels allocated to different virtual network topologies of the plurality of virtual network topologies are different; and send, to the plurality of forwarding devices, a binding relationship between the global labels and the virtual network topologies corresponding to the global labels. - View Dependent Claims (12)
-
-
13. A forwarding device, wherein the forwarding device is applied to a network system comprising a plurality of forwarding devices and at least one controller, and the plurality of forwarding devices forms a plurality of virtual network topologies, the forwarding device comprising:
-
a processor; memory coupled to the processor, the memory comprising instructions that, when executed by the processor, cause the controller to; receive a binding relationship between the global labels and the virtual network topologies corresponding to the global labels that is sent by the controller; generate, according to the binding relationship between the global labels and the virtual network topologies, label forwarding entries comprising a mapping relationship between the global labels and forwarding information bases of the virtual network topologies; and determine, according to a first global label carried in a received first packet, a first label forwarding entry corresponding to the first global label, to determine that the first packet is to be forwarded from a forwarding information base of a first virtual network topology corresponding to the first global label. - View Dependent Claims (14, 15)
-
-
16. A packet forwarding method applied to a network system comprising at least one controller and a plurality of forwarding devices, and the plurality of forwarding devices forms a plurality of virtual network topologies, the method comprising:
-
receiving a binding relationship between global labels and the virtual network topologies, and generating, according to the binding relationship, label forwarding entries comprising a mapping relationship between the global labels and forwarding information bases of the virtual network topologies, wherein the binding relationship is that the controller allocates a global label to each of the plurality of virtual network topologies, and sends, to the plurality of forwarding devices, the binding relationship between the global labels and the virtual network topologies corresponding to the global labels, wherein global labels allocated by the controller to different virtual network topologies of the virtual network topologies are different; and when a first packet received by a forwarding device carries a first global label, finding, by the forwarding device by searching according to the first global label, a first label forwarding entry corresponding to the first global label, to determine that the first packet is to be forwarded from the first label forwarding entry of a first virtual network topology corresponding to the first global label, wherein the first virtual network topology is one of the plurality of virtual network topologies. - View Dependent Claims (17, 18, 19)
-
Specification