[LARTC] $100 USD to the first person that can provide the rules/scripts that will solve the QOS latency & bandwidth allocation issue !!!!

Darryl Miles lartc-list@the-morg.org
Thu, 04 Dec 2003 23:29:34 +0000


Darryl Miles wrote:

> # Match the IP address of the VPN tunnel endpoint, however if you are 
> on DSL
> #  with dynamic IP then you might as well scrap this value, otherwise 
> change
> #  "0.0.0.0/0" to just "10.0.0.something/32" or remove 

Opps...

to just "24.239.167.x/32", the point is if you are on dynamic IP its 
probably more trouble than its worth to also check this, it can be 
omited ("match ip src 0.0.0.0/0") and the config will still work.



This is the same as Steff's config (just 4 lines mangled by cut'n'paste):

> tc qdisc add dev eth1 root handle 1: htb default 20 tc class add dev 
> eth1 parent 1: classid 1:1 htb rate 600kbit ceil 640kbit burst 2k tc 
> class add dev eth1 parent 1:1 classid 1:10 htb rate 240kbit tc class 
> add dev eth1 parent 1:2 classid 1:20 htb rate 400kbit


> tc qdisc add dev eth1 root handle 1: htb default 20

> tc class add dev eth1 parent 1: classid 1:1 htb rate 600kbit ceil 
> 640kbit burst 2k

> tc class add dev eth1 parent 1:1 classid 1:10 htb rate 240kbit

> tc class add dev eth1 parent 1:2 classid 1:20 htb rate 400kbit 





-- 
Darryl L. Miles
M: 07968 320 114