If you have time to read a lot of material, this is a great website that will help you do just about anything you want. Just find that section that describes what you want to do with
iproute2. Originaly, I used the information in this document to throttle my upload to make sure it didn't interfere with my download speed. That was back when I was using a modem.