Patent ID: 8902731

Claim:
A method for binding physical network ports, comprising: creating a virtual port, wherein the virtual port corresponds to a virtual network card in an application layer that is capable of being bound, in the application layer, with other created virtual ports through application layer software; adding multiple physical network ports, which need to be bound, to the created virtual port; when communications of the physical network ports in the virtual port are normal, identifying the physical network ports as being available; and when a packet needs to be received or transmitted, selecting one or more physical network ports from the available physical network ports according to a configured mode to receive or transmit the packet; wherein the step of selecting one or more physical network ports from the available physical network ports comprises: if the configured mode is a server load balancing mode, searching correspondence between stored quintuples of packets and physical network ports according to a quintuple of the packet to determine whether a corresponding physical network port exists; and if the corresponding physical network port exists, receiving or transmitting the packet through the determined physical port; if no corresponding physical network port exists, selecting a physical network port with minimum traffic from the available physical network ports, and receiving or transmitting the packet through the selected physical network port.