Re: Bandwidth Throttling?
ulrich schwarz <[email protected]> Wed, 05 Oct 2005 14:00:00 +0200
| Newsgroups | gmane.network.nocat |
|---|---|
| Message-ID | <[email protected]> |
Kevin Hanser wrote: > Thanx for the suggestion... tried it, but unfortunately it still doesn't > seem to be throttling. What group should I be putting users into to > have them affected by the COOP settings in throttle.fw? Member, Co-op, > co-op, coop, ....? I've tried Member and Co-op so far, but neither > seems to get throttled.. > > Here's what the top of my throttle.fw looks like now: > > TOTAL_DOWN=3mbps > TOTAL_UP=3mbps > > OWNER_DOWN=3mbps # fw mark 1 > OWNER_UP=3mbps > OWNER_OPTIONS="" > > COOP_DOWN=1536kbps # fw mark 2 > COOP_UP=1536kbps > COOP_OPTIONS="bounded" > > PUBLIC_DOWN=256kbps # fw mark 3 > PUBLIC_UP=256kbps > PUBLIC_OPTIONS="bounded" > > OPTIONS="allot 1514 maxburst 20 avpkt 1000 prio 1" > METHOD="sfq quantum 1514b perturb 15" > > Or am I not getting throttled because there's only one user/computer > trying to use the connection as someone else mentioned? Does throttling > only occur when it's needed... ie, when there is more than one user > trying to use the bandwidth? I'm testing w/a computer hooked directly > to my gateway using a crossover right now so if that's the case....... without the option "bounded" throttling is done only when other classes use up the available bandwidth. with that option the clients get throttled wether there is free bandwidth or not. so this should work with a client connected per crossover cable. you could check iptables -L in order to see in which class you client gets permitted by taking a look at the FW mark. as long as i remember, it goes like this: FW mark | class 1 | owner (authentication needed and presence in nocat.conf) 2 | member/coop (authentication needed) 3 | public (pressed SKIP at login) HTH, regards ulric