Networking Forums

Networking Forums > Computer Networking > Linux Networking > Re: Configuring qdisc and tbf to throttle WAN but not LAN

Reply
Thread Tools Display Modes

Re: Configuring qdisc and tbf to throttle WAN but not LAN

 
 
nunya
Guest
Posts: n/a

 
      08-05-2003, 05:40 AM
On Mon, 04 Aug 2003 22:33:23 +0100, Richard Lamont wrote:

>
> I've spent hours and hours ploughing through docs and experimenting, but
> it's got to the stage where I need some help, pretty please.
>
> I have a number of machines on a LAN, connected to the net via an ADSL
> router.
>
> I'm throttling output from one machine to stop it hogging the ADSL uplink,
> thus:
>
> tc qdisc add dev eth0 root tbf limit 10k burst 22k rate 200kbit
>
> Unfortunately this also throttles traffic to other machines on the LAN.
>
> How do I change this so that the tbf throttles traffic to the Internet but
> not to other machines on the LAN? I specifically want to use tbf and to
> filter according to IP addresses only.
>
> The machine runs Debian sarge with kernel 2.4.20.
>
> (For the sake of argument, let's say my network address is 192.168.1.0/24,
> the router/gateway address is 192.168.1.1 and the machine to be throttled is
> 192.168.1.37.)
>
> TIA.

TBF does not do throttling by IP, only by interface. You may want to look
into CBQ or other options listed in:
http://www.tldp.org/HOWTO/ADSL-Bandw...agement-HOWTO/
http://en.tldp.org/HOWTO/Bandwidth-Limiting-HOWTO/
http://www.linuxguruz.com/iptables/h...ting.html#toc9
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
A throttle needed for UDP sendto()??? guuwwe@hotmail.com Linux Networking 6 03-09-2007 07:00 PM
ISP who DO NOT throttle ports diy-newby Broadband 18 02-14-2007 09:12 PM
Hardware to Throttle Bandwidth? gglave@softtracks.com Windows Networking 0 01-31-2006 07:35 PM
throttle bandwidth Mr. Backup Windows Networking 8 08-29-2005 04:10 PM
New to TC and qdisc Luke Robertson Linux Networking 0 11-24-2004 04:37 AM



1 2 3 4 5 6 7 8 9 10 11