On Sat, Sep 01, 2001 at 02:29:14PM +0200, Matthias Welwarsky wrote:
> > > 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.
OK, I see it now. I think.
> > > 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.
Yes, I think I missed your point because I get lots of private mail saying
"But the OSI model says you can't do this!!", suggesting that I have just
proven that P = NP.
> > > 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?
You mean the direction from the clients, to the upstream device? I think
you should be able to filter on input device. If not, you should be able
to use fwmark. But, I'm really not the person to answer this kind of
questions.
cheers,
Lennert
_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://www.math.leidenuniv.nl/mailman/listinfo/bridge