[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1021
  • Last Modified:

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
0
kcgroup
Asked:
kcgroup
  • 2
  • 2
2 Solutions
 
nociSoftware EngineerCommented:
There is a script out there called the wondershaper, that should make it a lot simpler to handle.
http://lartc.org/wondershaper/
0
 
kcgroupAuthor Commented:
found a newer copy of wondershaper via debian package.  http://packages.debian.org/unstable/net/wondershaper much newer and better functionality
0
 
kcgroupAuthor Commented:
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.
0
 
nociSoftware EngineerCommented:
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.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now