Link to home
Start Free TrialLog in
Avatar of kcgroup
kcgroupFlag for United States of America

asked on

linux traffic control - setting global bandwidth limit on a single vlan interface

First time looking at linux traffic controls.  It appears much more complicated than I'm qualified for.

I have a library with a 10mbps cable Internet connection.  Have segmented the internal network to a couple of internal vlans via my linux server (operating as a router).  

The problem: The public computer lab vlan is using all the internet access and the staff vlan then has problems using their internet.   Would like to limit the computer lab vlan to 6 or 7mbps.   We don't care about any specific qos for voip or ssh etc.

Does anyone have a tc set of command lines to setup a limit on traffic to and from a vlan interface on this linux router?

I see that zeroshell does this but I can't figure the end tc htb from the scripts zeroshell uses......

Appreciate any assistance you can give.
Thanks
Tom
SOLUTION
Avatar of noci
noci

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kcgroup

ASKER

I've requested that this question be closed as follows:

Accepted answer: 0 points for kcgroup's comment #a38835850

for the following reason:

Finally found a very good bandwidth control script.
Avatar of noci
noci

I disagree with better, as the script is essentially the same as the original, changes that are there are mainly for DEBIAN packaging purposes, and some usability in a DEBIAN context.
[ The original script could not run by itself, id needed to be edited on purpose ].

Besides the defaults, if you want some other prioritization the script still needs to be edited.
It is still required to read the readme's etc.

For the non-debian user there is more work involved.