I''ve been assigned the task of building a an ethernet bridge linux box to limit the traffic of our wireless isp and perform various other functions. I''ve chosen to use the lartc project as the basis for the bandwidth shaping portion of this system and have some questions. First off I was unable to get the policing filter to work for my application. All of the commands went through but I wasn''t able to throttle incoming traffic. To throttle incoming traffic I set up a queue on the external bridge interface to limit outgoing traffic to the internal interface. The same setup on the internal interface works for outgoing bandwidth. This seems to work correctly. The system I am designing has to coexist and syncronize with a dhcp server that runs on the same box. Static addresses would make my job easier but that would be no fun! The problem with dhcp and traffic control is that users ips can change and so must traffic filters. I''m confused as to how to change traffic filters. The only way I''ve been able to change filters is by deleting them my specifying the priority number or preference number. I will need to be changing the ip address in the filters according to changes in the dhcp leases file. Is there another way to identify a filter other than by priority? Identification by flow-id would make sense, but I can''t seem to get that to work. Any ideas? Hayden Myers Support Manager Skyline Network Technologies hayden@spinbox.com (410)583-1337 option 2 _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
The shaping for my project needs to limit individual users while giving each user equal priority. My thoughts are to create a root prio qdisc and then place a qdisc underneath that for each user. Inside each of those qdiscs will be the classes to subdivide traffic based on port. Is this the best way to accomplish what I want? Hayden Myers Support Manager Skyline Network Technologies hayden@spinbox.com (410)583-1337 option 2 _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Friday 18 October 2002 01:14, Hayden Myers wrote:> The shaping for my project needs to limit individual users while giving > each user equal priority. My thoughts are to create a root prio qdisc and > then place a qdisc underneath that for each user. Inside each of those > qdiscs will be the classes to subdivide traffic based on port. Is this > the best way to accomplish what I want?You can use the efsq (enhanced SFQ). This qdisc is based on the sfq qdisc, but you can create the hash keys based on ip addresses and/or ports (both src and dst). Attach that qdisc as the root qdisc and you are done. If you want more control, you have to add a cbq or htb qdisc as the root qdisc and create a class and filter for each user. 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/