Hello everybody, I am trying to understand the Advance routing and Traffic control. In the examples section of the how to an example script is given. Section 15.8.2 (the ultimate setup for Your internet connection) The example says download is 800 and upload is 220 ###### uplink # install root CBQ tc qdisc add dev ppp0 root handle 1: cbq avpkt 1000 bandwidth 10mbit Maybe I am misunderstanding it but even with a 256/64 Kbps ADSL with PPPOE is this 10mbit of bandwith parameter to be used since packets are coming through an ethernet ? Section 9.2.3.2 # tc qdisc add dev ppp0 root sfq perturb 10 # tc -s -d qdisc ls qdisc sfq 800c: dev eth0 quantum 1514b limit 128p flows 128/1024 perturb 10sec Sent 4812 bytes 62 pkts (dropped 0, overlimits 0) I believe this is a typo in the example since I got that idea clear Thanks and have a joyous holiday season -- Togan Muftuoglu "Even more amazing was the realization that God has Internet access. I wonder if He has a full newsfeed?" (By Matt Welsh)
On Wed, Dec 26, 2001 at 10:03:16AM +0200, Togan Muftuoglu wrote:> tc qdisc add dev ppp0 root handle 1: cbq avpkt 1000 bandwidth 10mbit > > Maybe I am misunderstanding it but even with a 256/64 Kbps ADSL with > PPPOE is this 10mbit of bandwith parameter to be used since packets are > coming through an ethernet ?Exactly.> Section 9.2.3.2 > > # tc qdisc add dev ppp0 root sfq perturb 10 > # tc -s -d qdisc ls > qdisc sfq 800c: dev eth0 quantum 1514b limit 128p flows 128/1024 perturb 10sec > Sent 4812 bytes 62 pkts (dropped 0, overlimits 0) > > I believe this is a typo in the example since I got that idea clearI don''t understand what you mean.> Thanks and have a joyous holiday seasonYou too! Regards, bert -- http://www.PowerDNS.com Versatile DNS Software & Services http://www.tk the dot in .tk Netherlabs BV / Rent-a-Nerd.nl - Nerd Available - Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc
* bert hubert; <ahu@ds9a.nl> on 26 Dec, 2001 wrote:> On Wed, Dec 26, 2001 at 10:03:16AM +0200, Togan Muftuoglu wrote:> Section 9.2.3.2 > > # tc qdisc add dev ppp0 root sfq perturb 10 ^^^^^ > # tc -s -d qdisc ls > qdisc sfq 800c: dev eth0 quantum 1514b limit 128p flows 128/1024 ^^^^^^^ the example command is for ppp0 yet the output for statistics is for eth0. It''s not a big deal since I understood the concept but I thought of it as a typo mistake. Thanks -- Togan Muftuoglu ----- End forwarded message ----- -- Togan Muftuoglu The only "intuitive" interface is the nipple. After that, it''s all learned. (Bruce Ediger, bediger@teal.csn.org, in comp.os.linux.misc, on X interfaces.)
On Wed, Dec 26, 2001 at 01:31:46PM +0200, Togan Muftuoglu wrote:> * bert hubert; <ahu@ds9a.nl> on 26 Dec, 2001 wrote: > > On Wed, Dec 26, 2001 at 10:03:16AM +0200, Togan Muftuoglu wrote: > > Section 9.2.3.2 > > > > # tc qdisc add dev ppp0 root sfq perturb 10 > ^^^^^ > > # tc -s -d qdisc ls > > qdisc sfq 800c: dev eth0 quantum 1514b limit 128p flows 128/1024 > ^^^^^^^ > the example command is for ppp0 yet the output for statistics is for > eth0. It''s not a big deal since I understood the concept but I thought > of it as a typo mistake.Fixed, thanks. Regards. -- http://www.PowerDNS.com Versatile DNS Software & Services http://www.tk the dot in .tk Netherlabs BV / Rent-a-Nerd.nl - Nerd Available - Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc