Wondershaper is a package use to limit your bandwidth usage.

Setup

sudo apt-get install wondershaper

Configuration

sudo wondershaper eth0 300000 200000

Here, the config limit the bandwidth of eth0 to 300Mbps download and 200Mbps upload.

Don’t you know the network configuration ? you can use this command:

ifconfig