Hello group,
I have the following traffic control configuration currently in my system:
tc qdisc add dev eth1 root handle 1: htb default 10
tc class add dev eth1 parent 1: classid 1:1 htb rate 1mbit burst 15k
tc class add dev eth1 parent 1:1 classid 1:10 htb rate 768kbit ceil
1mbit burst 15k # Standard internet
tc class add dev eth1 parent 1:1 classid 1:20 htb rate 53kbit ceil 1mbit
burst 15k # Medium priority
tc class add dev eth1 parent 1:1 classid 1:30 htb rate 53kbit ceil
93kbit burst 15k # Lowest priority
tc qdisc add dev eth1 parent 1:10 handle 10: sfq perturb 10
tc qdisc add dev eth1 parent 1:20 handle 20: sfq perturb 10
tc qdisc add dev eth1 parent 1:30 handle 30: sfq perturb 10
tc filter add dev eth1 protocol ip parent 1: prio 1 handle 2 fw flowid
1:20 # Medium priority
tc filter add dev eth1 protocol ip parent 1: prio 1 handle 1 fw flowid
1:30 # Lowest priority
I today tried to modify it. Goals I already achieve:
* All connections which are unmarked go into the 1:10 class, which share
the bandwith using SFQ
* All connections marked with 1 should be limited to max. 93kbit ceiling
I want to add a third goal:
* All connection marked with 2 should get all the bandwith they need,
unless someone in 1:10 needs it. If someone in 1:10 needs it, it always
has priority and may starve mark 2 packets.
I really didn't get anything done. I tried fiddling with PRIOMAP with 2
bands, but did not get anything to work.
Could you offer me help?
Thanks,
Johannes
--
"Meine Gegenklage gegen dich lautet dann auf bewusste Verlogenheit,
verl?sterung von Gott, Bibel und mir und bewusster Blasphemie."
-- Prophet und Vision?r Hans Joss aka HJP in de.sci.physik