Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Linux traffic shaping script

Posted on 2005-04-03
Medium Priority
Last Modified: 2012-08-13
I need a fully customized script for traffic shaping in linux (using the tc program) that can split the traffic between 6 computers in the same lan. The linux server (redhat 9) has two NIC. The bandwidth is split equally between the computers that need traffic from internet. If it is only one computer online he gets all the bandwitdh, 2 computers > half bandwitdth, etc. I also need to prioritize the traffic for efficient bandwitdth management. The traffic for small ACK packets should have high priority, then the HTTP traffic and finally the downloads that require huge packets that slow down the conection. Also the must be a workaround so that the upload traffic doesn't slowdown the download traffic. Thank you all for help.
Question by:MohReh
1 Comment

Accepted Solution

CajunBill earned 1500 total points
ID: 13693701
Load balancing is a whole application, not just a script.
Try starting at


Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Make the most of your online learning experience.
Unable to change the program that handles the scan event from a network attached Canon/Brother printer/scanner. This means you'll always have to choose which program handles this action, e.g. ControlCenter4 (in the case of a Brother).
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question