Compleat Linux Traffic Control Configurator
Using the program
HTB class bandwidth rates are specified as percentages of the parent
class' bandwidth; ceiling bandwidth rates are specified as percentages
of the root class' bandwidth. This removes the computational effort
involved when determining bandwidths and eliminates the busywork involved
when the root class' bandwidth is changed. Here are a few guiding notes.
- Specify the link's available bandwidth in the root class ONLY.
- Specify the 'guaranteed' rate (Speed Limit) in subclasses as a
percentage of the parent class' rate.
- Specify the 'ceiling' rate (Courtesy Limit) as a percentage of
the root class' rate.
- Percentages can be integer (whole) numbers or floating point (real) numbers.
- A collapsed root class displays its assigned bandwidth and the
percentage of it that its direct child nodes have assigned.
- A collapsed subclass displays, in the form (%, %, %),
- its rate (Speed Limit) as a percentage of its parent's rate,
- its ceiling (Courtesy Limit) as a percentage of the root class' rate, and
- the percentage of its bandwidth assigned by its kids.
Click the Load/Save button to load, save, import or clear the configuration.
To load a saved config, select a config file to load, and click
'Load'. Alternatively, clear the text input area, paste your config
into the box, then click 'Import'.
To save your changes, click 'Save'.
To erase the configuration, click 'Clear'.
To renumber the nodes, click 'Renumber Maj/Min'.
This is useful if you have been
adding and deleting classes and qdiscs for a long time: major and minor numbers
can be as high as 65534. Few designs are expected to be that deep and complex;
renumbering is provided mostly as a means of tidying your designs.
To restore the default demo config, empty the text area and click
'Import'. Or click your browser's 'Reload' button.
Click the Worksheet button to edit the configuration.
- Click the large green 'A' to bypass/disable that item in the bash script.
- Click the large red/green 'not A' to activate that item.
- Click the large grey '+' to expand that tree.
- Click the large grey '-' to collapse that tree.
- Left-click the pop-up menu's title to dismiss the menu.
- Left-click another item to dismiss an existing menu and open the new one.
Click the Code Generator button to review the generated traffic control
script. Click the Save button to save the script to your computer for
tranfer to your router. Running the script with no arguments produces a usage
statement. Usable args are the standard stop, start and restart commands.
Click the Interface Config button to add NICs or to change NICs' colors.
Then click the Apply button to effect the changes.
Play with it and find the bugs. Remember to save early and often.
Like shaking an executive PDA (mini Etch-A-Sketch), reloading
the window restarts the program and all your work will vanish.
To import the configuration, the progam simply evals the content you
paste into the text area or the config you upload. Normally, this is a
security issue. But unless you are bent on doing malicious things to
yourself, it's probably not a concern at all.
click the Load or Save buttons. The host does not store your config
longer than is needed to bounce it to your browser for you to save it or for the
program to load it.
This program seems to work in Firefox, Epiphany, Konqueror, Opera 11.10, and IE7.
JS debugger available.