From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerry Weaver Date: Mon, 24 May 2004 02:22:47 +0000 Subject: Re: [LARTC] Bandwidth Allocation... Message-Id: <40B15C77.5020804@it-procorp.com> List-Id: References: <40A2DE23.000010.00216@KASHMIR> In-Reply-To: <40A2DE23.000010.00216@KASHMIR> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Hi, I'm fairly new to this too, but if I understand correctly, you can do=20 this with htb. tc qdisc add dev eth0 root handle 1: htb tc class add dev eth0 parent 1: classid 1:1 htb rate tc class add dev eth0 parent 1:1 classid 1:10 htb rate 128kbit tc class add dev eth0 parent 1:1 classid 1:11 htb rate 128kbit tc filter add dev eth0 parent 1:1 protocol ip prio 1 u32 \ match ip src 192.168.1.1 flowid 1:10 tc filter add dev eth0 parent 1:1 protocol ip prio 1 u32 \ match ip src 192.168.1.2 flowid 1:11 It is my understanding that as long as these classes don't have a leaf =20 they will share excess bandwidth. Anyone else want to comment? Thanks, Gerry Esteban Wagner wrote: > Im configuring a server, to provide internet to 5 machines, with a=20 > dsl connection. > =20 > I m not in familiar with bandwidth shaping, so Im going to start=20 > reading about it. > =20 > What Im looking is something which let me assign the bandwidth in a=20 > dynamic way.(dynamic bandwidth allocation). > =20 > For example: > =20 > If I assign X bandwidht to each PC.(equal), and Pc1 is not using the=20 > %100 of the bandwidht assigned, I want the others PC in the network=20 > to be able to use the bandwidth PC 1 is not using. > =20 > Please let me know if this is possible. > If it is possible which HOWTO should i start reading?.And what tools=20 > do i need. > =20 > Considering I understand networks basics, and have experience on linux. > =20 > Thanks. > Wagner Esteban. > > > =09 > =09 > > _________________________________________________________________ > =20 > /IncrediMail/ - *El Email ha evolucionado finalmente* - *_Haga clic=20 > aqu=ED_* --=20 Gerry Weaver IT-Pro Corp. Office: (254) 883-9040 Mobile: (512) 663-9550 Fax : (254) 883-9041 _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/