I am forwarding your mail to the leaf-user list where hopefully an htb / bridge guru will be able to support you.
Jacques Le Jeudi 3 Octobre 2002 16:24, Muhammad Wicaksono Mursid a écrit : > Hello Jacques, > > I'm wicak, and i'm admin of one Wireless ISP in > Bandung Indonesia. I use bering rc03 for my main > router , and Linux Red Hat 7.3 for cache enggine. We > sell CIR 1:1 bandwidth to client , I use bandwidth > limiter in every wireless Router client and all use > LRP bering (we provided it to every client). I set it > with in TBF mode and limited by eth. All working very > good and my costumer was very happy with our > bandwidth. > > Yesterday i got one request from our customer to make > some dedicated bandwidth for their groups ( they have > some node wireless in different place which connected > in our access point). I was confused, because usualy > we use bandwidth limitter in client sides. But in this > case they want to allocate bandwidth for different > nodes which connected to our access point. > > I try to use bering rc3 in bridge mode, and try to use > HTB command ( tc was installed ) like this > > tc qdisc add dev eth0 root handle 1: htb default 12 > tc class add dev eth0 parent 1: classid 1:1 htb rate > 512kbps ceil 512kbps > tc class add dev eth0 parent 1:1 classid 1:2 htb rate > 128kbps ceil 128kbps > tc class add dev eth0 parent 1:2 classid 1:10 htb rate > 64kbps ceil 128kbps > tc class add dev eth0 parent 1:2 classid 1:11 htb rate > 64kbps ceil 128kbps > tc class add dev eth0 parent 1:1 classid 1:12 htb rate > 384kbps ceil 512kbps > tc qdisc add dev eth0 parent 1:10 handle 20: sfq > perturb 10 > tc qdisc add dev eth0 parent 1:11 handle 30: sfq > perturb 10 > tc qdisc add dev eth0 parent 1:12 handle 40: sfq > perturb 10 > tc filter add dev eth0 protocol ip parent 1:1 prio 1 > u32 match ip src 202.51.237.14 flowid 1:10 > tc filter add dev eth0 protocol ip parent 1:1 prio 1 > u32 match ip src 202.51.237.11 flowid 1:10 > > > Ip 202.51.237.14 and 202.51.237.11 is our wireless > customer`s IP in one group. > When i test it, it didn't work. I try to use ip > 202.51.237.14 and it didn't limited to 128 , and i > guess it that IP was classified to classid 1:12. I try > so hard but it didn't work. > Can HTB be used with bering bridge mode? > > Please help, and thank you very much. I'm sorry if my > english is not good. > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html