Potty Page

October 17, 2003

Bandwidth issues fixed?

Well I thought I'd had it fixed, and then it broke again, lots... hopefully now the bandwidth limiting I've put on will actually work... and the website will stay up!

tc qdisc add dev eth1 root handle 1: htb default 11

tc class add dev eth1 parent 1: classid 1:1 htb rate 200kbit ceil 200kbit
tc class add dev eth1 parent 1:1 classid 1:10 htb rate 20kbit ceil 200kbit
tc class add dev eth1 parent 1:1 classid 1:11 htb rate 180kbit ceil 180kbit

tc filter add dev eth1 protocol ip parent 1:0 prio 1 u32 \
 match ip src 10.0.0.2 flowid 1:10

tc qdisc add dev eth1 parent 1:10 handle 20: pfifo limit 5
tc qdisc add dev eth1 parent 1:11 handle 40: sfq perturb 10

My fingers are very crossed this time around!

[Listening to: Artist - Line In Track 04]
Posted by Ed at October 17, 2003 4:16 PM | Geek |