On 8/9/10 5:17 AM, Mariano Absatz wrote:
> On Sun, Aug 8, 2010 at 11:29, Tom Eastep <[email protected]> wrote:
>> On 8/8/10 6:23 AM, Mariano Absatz wrote:
>>> On Sat, Aug 7, 2010 at 11:39, Tom Eastep <[email protected]
>>> <mailto:[email protected]>> wrote:
>>>> But using complex traffic shaping, it is easy to do what you want.
>>>>
>>>> a) Specify the limit you want in the OUT-BANDWIDTH column for your
>>>> outgoing interface.
>>>>
>>>> b) Define a single default class that can use all of that limit.
>>>>
>>> So... if I put back in *shorewall.conf *the:
>>>
>>> *TC_ENABLED=Internal*
>>>
>>> line and put into *tcdevices*:
>>>
>>> *1:eth0  1750kbit  1750kbit*
>>>
>>> and into *tcclasses*:
>>> *
>>> eth0 - FULL FULL 3 default*
>>>
>>> that would be enough?
>>
>> a) Don't capitalize 'full'. This is Unix -- everything is
>>   case-sensitive.
>> b) I would put full/2 in the RATE column, just to be safe. Since there
>>   is only one class, there is no need to guarantee any more.
> 
> Well, apparently using "-" for the MARK field in tcclasses is an error
> in this context:
>    ERROR: Missing MARK : /etc/shorewall/tcclasses (line 11)
> I changed that field to a "1".

You could have also specified the 'classify' option for the interface.
> 
> Do I have to add the tcrules file? I wrote one like this:
> 1 0.0.0.0/0 0.0.0.0/0 all

There is no need to mark any packets if you have specified 'default' for
the class.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to