[LARTC] $100 USD to the first person that can provide the rules/scripts that will solve the QOS latency & bandwidth allocation issue !!!!
Greg Freeman
gfreeman@westoncs.com
Thu, 4 Dec 2003 11:24:50 -0900
Stef,
The current set of rules I have in it are as follows:
tc qdisc add dev ipsec0 root handle 1: htb default 20=20
tc class add dev ipsec0 parent 1: classid 1:1 htb rate 600kbit ceil
640kbit burst 2k=20
tc class add dev ipsec0 parent 1:1 classid 1:10 htb rate 240kbit=20
tc class add dev ipsec0 parent 1:2 classid 1:20 htb rate 400kbit=20
tc filter add dev ipsec0 parent 1:0 prio 0 protocol ip handle 10 fw
flowid 1:10=20
tc filter add dev ipsec0 parent 1:0 prio 0 protocol ip handle 20 fw
flowid 1:20=20
iptables -A PREROUTING -t mangle -p ALL -j MARK --set-mark 20 iptables
-A PREROUTING -t mangle -p ALL -d 10.0.1.20 -j MARK --set-mark 10
iptables -A PREROUTING -t mangle -p ALL -j MARK --set-mark 20 iptables
-A PREROUTING -t mangle -p ALL -d 10.0.1.21 -j MARK --set-mark 10
iptables -A PREROUTING -t mangle -p ALL -j MARK --set-mark 20 iptables
-A PREROUTING -t mangle -p ALL -d 10.0.1.22 -j MARK --set-mark 10
This still does not solve the latency (or even seem to affect it, but
perhaps this is a better route in trying to solve this issue?) Please
let me know you thoughts,
Thanks
Greg
=20
-----Original Message-----
From: Stef Coene [mailto:stef.coene@docum.org]=20
Sent: Thursday, December 04, 2003 10:42 AM
To: Greg Freeman
Subject: Re: [LARTC] $100 USD to the first person that can provide the
rules/scripts that will solve the QOS latency & bandwidth allocation
issue !!!!
On Wednesday 03 December 2003 23:36, Greg Freeman wrote:
> Thanks Stef,
>
> If I knew how and what (to specifically state with the htb qdisc=20
> scripts I would try.
>
> Can I just substitute the word prio for sfq?
>
> If you could type the rules I should use it would help greatly, and if
> it works I would be happy to pay you.
Before I help you with the htb rules, do you have a kernel and tc binary
with htb support? =20
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.openprojects.net