Koozali.org: home of the SME Server

Traffic Shaping - QoS - Bandwidth limitation

Dave Owen

Traffic Shaping - QoS - Bandwidth limitation
« on: February 14, 2002, 07:54:11 AM »
I have e-smith running as the gateway for an internal browser testing network, and am trying to simulate modem connections for testing various websites.

I played with Shaper for a while, but Shaper is limited to one shaping per interface -- whereas I need one shaping per machine on the internal network.

I then set up a system using TC, which seems to be working well except for one minor detail -- the traffic isn't getting shaped!

By all accounts, at this very moment, traffic leaving the e-smith server with a destination of 192.168.230.101 (the machine I'm on right now) should be shaped to a 9600 baud connection. According to the results of TC QDISC SHOW DEV ETH0, TC CLASS SHOW DEV ETH0 and TC FILTER SHOW DEV ETH0, I have everything configured correctly.

My >guess< is that traffic on the e-smith server is bypassing TC entirely, and I have been unable to find a way to route it through TC.

Any suggestions on how to get traffic moving from the external network to the internal network would be appreciated.

I'm running 5.2.1, by the way.

David Brown

Re: Traffic Shaping - QoS - Bandwidth limitation
« Reply #1 on: February 14, 2002, 08:18:29 AM »
Dave, you might want to look at the Classed Based Queing features that the linux kernel supports to control your bandwidth.  This is controlled with the cbq.init script at http://uf.kadan.cz/cbq/

David Brown