On Saturday 01 September 2001 03:05, Lennert Buytenhek wrote:
> On Tue, Aug 21, 2001 at 09:39:24PM +0200, Matthias Welwarsky wrote:
> > Hi all,
>
> Hi,
>
> > I'm trying to set up a transparent traffic shaper using tc and a linux
> > bridge. I'm having certain problems with this, namely because I cannot
> > make up tc filters based on ip addresses or protocols.
>
> Why not?
because a bridge is not supposed to know about things like "IP" or protocols
above Ethernet level. That's why I cannot make up filters based on IP
addresses or protocols. Just assume you have one ip network but two classes
of clients with distinct requirements of bandwidth. Assume they're
differentiated by location, not by ip addresses. You'll see that your
question is pointless.
> > As the bridge is supposed to be transparent, no routing shall take place.
> > That also implies that filters cannot be added based on ip addresses or
> > networks.
>
> I don't really see why.
See above. I think you're completely missing my point.
> > Is it possible to shape the traffic just based on the outgoing interface?
>
> It should be.. don't add filters?
Well, assume I use CBQ, how would I route traffic into a class without a
filter? Of course, I can use TBF, which is classles, but TBF is far from
accurate.
regards,
Matthias
_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://www.math.leidenuniv.nl/mailman/listinfo/bridge