Traffic Shaping using TC

A year ago I configured a local ISP server for my friend. Later I created a PERL script to generate tc commands for Traffic shaping. I wanted to share a step by step guide on how to do that. As usual that didn’t saw the daylight. Today I saw a nice post on tc in here. At last I decided to publish my PERL script. You can get the Script in here :  github.com/neotohin . The script does some very basic things:

  1. add/edit cilent
  2. Remove client
  3. Set bw limit to client
  4. Generate the script file to be run in startup.

This was my first PERL script so if you are a perl guru please share your thoughts.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s