bridge and tc bandwith management

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I finally got iptables to work with my bridge using the kernel from arjanv's
page (2.6.3-2.1.253.2.1) ...  Im trying to now get tc to work so I can shape
some traffic.  When I enter the following commands , there are no errors,
however the tc rules are having no effect on the IP im trying to shape.

I just want to limit IP 10.0.0.17 to 512k, and  10.0.0.18 to 1024k and so
on,   Here are my tc rules

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
10.0.0.17 flowid 1:1
tc filter add dev $DEV parent 1: protocol ip prio 16 u32 match ip src
10.0.0.17 flowid 1:1


eth0 is internal interface ---\
                                         |------br0 (I gave br0 an IP just
for management)
eth1 is external interface---/

Any thoughts on why this doesnt work ?  I have used these same rules on
another Fedora box that acts as a NAT/router and that worked fine,
but this new box has to act has a bridge.

Thanks,
Ryan






[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux