Re: TBF queuing and tc question
2005. július 15. 16:27,
Frederik Rousseau <firstname.lastname@example.org>
> 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
Yes, unfortunately we have to use an external D-LINK router, instead of a
linux based pc. That router does not have the capability to control bandwidth
rates, that is why I have to do it on my machine.
> iptables or any other type of traffic marking. This method is also
> described in the http://lartc.org/howto.
Then I must reread that howto!