Upload issue with traffic shaping linux

view full story

http://stackoverflow.com – So I want to limit the download and upload speed of a specific ip adress in a local network. To do this I are using a bach script running in a linux OS (Ubuntu 11.04). The issue here is that the upload shaper does not work. I have tried an alternate solution aswell though that does not work as intended Remove old shaping tc qdisc del dev eth1 root 2> /dev/null > /dev/null tc qdisc del dev eth1 ingress 2> /dev/null > /dev/null Create qdisc tc qdisc add dev eth1 root handle 1: htb default 30 Download shaper (works as intended) tc class add dev eth1 parent 1:1 classid 1:4 htb (HowTos)