On Friday 11 October 2002 23:17, Albuquerque, Marcelo M wrote: > Stef, > > Thanks for the reply. > > I want my bridge to "emulate" a rate limit on the transmitter of the device > connected to that particular bridge interface. That's why I need an ingress > qdisc on each and every interface of my Linux bridge. This is what I tried: > tc qdisc add dev eth4 handle ffff: ingress > tc filter add dev eth4 parent ffff: protocol ip prio 50 u32 match ip \ > src 0.0.0.0/0 police rate 100kbit burst 10k drop flowid :1 > > I didn't obeserve any rate reduction though. I suspect that on the bridge, > packets are being forwarded and therefore the ip-related matches have no > effect. How can I have the 'police rate 100kbit' portion of the command > without the ip-related arguments? All packets arriving are ip related, so the above command should work. Can you test it without a switch? Connect the box to a hub, send some data and record the speed. Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/