John McMonagle wrote:
Was just looking through the documentation and didn't notice that it is the development version :-(

Suppose I should look at the old method. There are a few things that do not make sense to me in the example at:
http://www.shorewall.net/traffic_shaping.htm#Downloads

Why is there a download limit for ppp in tcdevices?
I would think you would want the outgoing rules on eth0 to do the delays and dropping?

As clearly stated at the outset, this example extends the earlier example. The ppp0 stuff is simply copied from that earlier example.


In tcclasses have

eth0            1       100kbit         500kbit         1           tcp-ack
eth0            2       3mbit           6mbit           2
eth0            3       3mbit           6mbit           3
eth0            4       94mbit          full            default #for local 
traffic

I seen no rule  would put in a mark of 4?

It's the default -- it doesn't need a mark.

Assuming the incoming limit is 6mb
Sum of Rate of  mark 1,2 and 3 if slightly over 6mb.

The point if this example is to try to guarantee each of classes 2 and 3 at least half of the available bandwidth AND THAT'S ALL. If you want to do something different from that, then you will clearly need different class definitions.

-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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to