All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] bridging shaper
@ 2004-03-29 17:27 Ryan Rothert
  2004-03-29 18:13 ` Jon Anderson
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Ryan Rothert @ 2004-03-29 17:27 UTC (permalink / raw)
  To: lartc


Hello,

I have a transparent bridge/firewall setup using linux-2.6.3.  My iptables 
commands for the firewall seem to work fine, but my tc traffic shaper 
rules dont.   The tc rules seem to apply ok, but have no effect.

Here are my tc rules.  Basically im just trying to limit each IP in my 
internal /24 to 512k of bandwidth in and out.


DEV=eth0
tc qdisc del dev $DEV root
tc qdisc add dev $DEV root handle 1: cbq avpkt 1000 bandwidth 100mbit
tc class add dev $DEV parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 5 bounded isolated
tc filter add dev $DEV parent 1: protocol ip prio 16 u32 match ip dst 192.168.19.184 flowid 1:1
tc filter add dev $DEV parent 1: protocol ip prio 16 u32 match ip src 192.168.19.184 flowid 1:1
 

Any thoughts as to why this doesnt seem to work on a bridge?  It does work 
if the box is setup to be a router. 

Thanks,
Ryan 


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-03-30 11:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-29 17:27 [LARTC] bridging shaper Ryan Rothert
2004-03-29 18:13 ` Jon Anderson
2004-03-29 19:07 ` Ryan Rothert
2004-03-29 19:33 ` Jon Anderson
2004-03-29 19:49 ` Bart De Schuymer
2004-03-30  1:38 ` Jon Anderson
2004-03-30 11:13 ` miller69

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.