alex wrote:
>     I configure traffic shaping with Shorewall-4.0.2 and a little 
> misunderstood. In 'traffic_shaping.htm' of Shorewall documentation 
> written:
> 
> If the sum of the RATEs for all classes assigned to an INTERFACE exceed 
> that interfaces's OUT-BANDWIDTH, then the OUT-BANDWIDTH limit will not be 
> honored.
> 
>     But how understand follow example from same source?
> 
> #INTERFACE      MARK    RATE            CEIL            PRIORITY 
>    OPTIONS
> ppp0            1       full            full            1 
>       tcp-ack,tos-minimize-delay
> ppp0            2       9*full/10       9*full/10       2       default
> ppp0            3       8*full/10       8*full/10       2

It's a poor example. For a better one, see 
http://www.shorewall.net/XenMyWay-Routed.html. It contains the following:

#INTERFACE      MARK    RATE            CEIL            PRIORITY        OPTIONS
$EXT_IF         10      5*full/10       full            1               
tcp-ack,tos-minimize-delay
$EXT_IF         20      3*full/10       9*full/10       2               default
$EXT_IF         30      2*full/10       6*full/10       3
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE

The sum of the guarantees in the RATE column are less than 'full'.

-Tom
-- 
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to