From mboxrd@z Thu Jan 1 00:00:00 1970 From: Damion de Soto Date: Wed, 20 Aug 2003 00:24:19 +0000 Subject: Re: [LARTC] Please check the follow script for diffserv Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Steffen Moser and Raghuveer wrote: SM> If I then want to shape the traffic I send to the "ppp0" interface, SM> which bandwidth would be used for setting up a CBQ? SM> SM> I suppose that here the "virtual" (e.g. limited by the ISP) bandwidth SM> of my "ppp0" connection (e.g. 128 kbit/s) is the interesting one, not SM> the bandwidth of my "eth0" (10 Mbit/s), because the CBQ is attached SM> to the "ppp0" device and has nothing to do with the underlaying "eth0". SM> SM> Is this assumption correct? no. SM> SM> TIA, SM> Steffen R> R> Can you please tell me for HTB and CBQ what bandwidth should I use whether R> interface bandwidth or real/actual bandwidth....? R> Regards R> -Raghu as it says in the HOW-TO, the cbq device uses the ethernet speed (bandwidth) for idle time calculations. so when you create a cbq qdisc, it needs to know either 10mbit or 100mbit. you then use the 'interesting' DSL/ISP speeds for the classes. htb qdiscs don't need to know any speeds. regards. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Damion de Soto - Software Engineer email: damion@snapgear.com SnapGear --- ph: +61 7 3435 2809 | Custom Embedded Solutions fax: +61 7 3891 3630 | and Security Appliances web: http://www.snapgear.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/