A method for controlling network traffic based on a profile includes: allocating a bandwidth share to each of a plurality of network interface controllers; calculating an actually-allocated bandwidth based on the bandwidth share allocated to each of the network interface controllers and a bandwidth profile; and setting up the plurality of network interface controllers so that each of the network interface controllers operates with respective calculated, actually-allocated bandwidths. The maximum bandwidths available to the network interface controllers depending on packet sizes are profiled, so that different bandwidths are allocated for different packet sizes. As a result, network resources can be managed more precisely.