[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: TBF queuing and tc question



LeVA wrote:
Hi!

I have an ADSL internet connection, so when I'm uploading at full rate, the downloads and the interactivity is slowing down. To work out this, I've set up this on my machine:

# /sbin/tc qdisc add dev eth0 root tbf rate 128kbit latency 50ms burst 1540

I read this from http://lartc.org/howto . This is great, my upload speed went down to ~16KByte/sec. This is what I wanted (almost). Now all the other local machines in my LAN have to download from me at 16KByte/sec rate (but this is obvious). What I'm trying to do, is to control the outgoing rate only, if I'm sending packets to our router, and not to control if I'm sending packets to any other machine on my network.

Is this possible, and if it is, please tell me how.

Thanks!

Daniel


Hi Daniel,

You simply have to put the traffic control (tc) on the ADSL connection, not on the "network connection".

Do you use a PPPoE connection on your computer? Then put the tc on the ppp connection. Do you use an external router? Then you have to manage the tc with iptables or any other type of traffic marking. This method is also described in the http://lartc.org/howto.

If this isn't want you asked, please provide some information :)


Regards,
Fred



Reply to: