Hi

At 08:18 29.09.2004 -0400, M Lu wrote:
>Hi Jaap, thank you for the information.
>
>I have started to load tc.lrp, bash.lrp (as the wonder-script is a bash
>script) and load all modules specified in the qos-htb howto. I also modified
>slightly the script, commenting 4 lines
>
>#echo Please read the documentation in 'README' first
>#exit
>
>and
>
>#tc filter add dev $DEV parent 1: protocol ip prio 18 u32 \
>#   match ip dst 0.0.0.0/0 flowid 1:20

I doubt you can remove this filter without consequences.

>Running the script alone is OK but when run by 'shorewall restart', I need
>to replace $[9*$UPLINK/10] with $((9*$UPLINK/10)). I guess because 'bash' is
>not recognized within shorewall script.

this is the syntax I used:

#tc class add dev $DEV parent 1:1 classid 1:20 htb rate $[9*$UPLINK/10]kbit \
tc class add dev $DEV parent 1:1 classid 1:20 htb rate `expr 9 \* $UPLINK / 10`kbit \
   burst 6k prio 2

possibly the same thing. I did not have any performance degradation

cheers
Erich

THINK 
P�ntenstrasse 39 
8143 Stallikon 
mailto:[EMAIL PROTECTED] 
PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16




-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to