LARTC
[Top] [All Lists]

Re: [LARTC] Setting bandwidth to unlimited

To: lartc@mailman.ds9a.nl
Subject: Re: [LARTC] Setting bandwidth to unlimited
From: Andreas Unterkircher <unki@netshadow.at>
Date: Sat, 24 Mar 2007 07:21:47 +0100
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
In-reply-to: <SECUREClltcNdbUu2o8000011af@secure.exterus.net>
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
References: <SECUREClltcNdbUu2o8000011af@secure.exterus.net>
Sender: lartc-bounces@mailman.ds9a.nl
Make a filter which sent the traffic to an none existing class id. This
traffic will not apply to any class rule and will not be shaped. In fact
the only qdisc which is then limiting the traffic (and you can't avoid)
ist the root qdisc of the interface.

Cheers,
Andreas

On Fri, 2007-03-23 at 11:11 -0700, Joel Parker wrote:
> Hello,
>       I am using the following commands to "throttle" the bandwidth 
> of the NIC at eth0 :
> 
> tc qdisc del dev eth0 root
> tc qdisc add dev eth0 root handle 10: cbq bandwidth 100mbit avpkt 1000
> tc qdisc add dev eth0 root handle 10: htb
> tc class add dev eth0 parent 10: classid 10:1 cbq bandwidth 100mbit 
> rate        128kbit allot 1514 maxburst 20 avpkt 1000 bounded prio 3
> tc class add dev eth0 parent 10: classid 10:1 htb rate 128kbit
> 
> (1) First question is, will the above successfully throttle the 
> bandwidth of the nick to 128 kilibits per second ?
> 
> (2) Next question what value do I use for unlimited bandwidth ?
> 
> Thanks for the help,
> 
> -- Joel Parker
> 
> 
> 
> 
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
> 

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

<Prev in Thread] Current Thread [Next in Thread>