主权项 |
1. A method for packet forwarding, comprising:
receiving, by a controller of a virtual switch system, an uplink packet forwarded by a virtual SDN (Software Defined Networking) switch hosted on a server; said uplink packet originating from a virtual machine (VM) hosted on said server; determining, by the controller, an outgoing interface from at least two uplink interfaces on the SDN switch respectively corresponding to aggregated member ports of a physical switch by using an aggregation algorithm according to the uplink packet; and generating, by the controller, a first flow table entry, and sending the first flow table entry to the SDN switch, wherein the first flow table entry is to instruct the SDN switch to forward a received uplink packet to the physical switch through the outgoing interface. |