All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] bandwidth allocation
@ 2002-04-04  9:28 simbo adeyemi
  2002-04-04 11:32 ` Vincent AE Scott
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: simbo adeyemi @ 2002-04-04  9:28 UTC (permalink / raw)
  To: lartc


pls, i'd like to perform traffic shapping and bandwidth allocation on my
linux server.
I want to be able to do everything that a device like packeteer
 floodgate's)and cisco's PIX would do.
I am using linux redhat v 6.2.
How do i go about this?

lara

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] bandwidth allocation
  2002-04-04  9:28 [LARTC] bandwidth allocation simbo adeyemi
@ 2002-04-04 11:32 ` Vincent AE Scott
  2002-04-04 13:14 ` Julián Muñoz
  2002-04-04 13:25 ` Vincent AE Scott
  2 siblings, 0 replies; 7+ messages in thread
From: Vincent AE Scott @ 2002-04-04 11:32 UTC (permalink / raw)
  To: lartc

simbo adeyemi(simbo@siotel.net)@Thu, Apr 04, 2002 at 10:30:48AM -0800:
> 
> pls, i'd like to perform traffic shapping and bandwidth allocation on my
> linux server.
> I want to be able to do everything that a device like packeteer
>  floodgate's)and cisco's PIX would do.
> I am using linux redhat v 6.2.
> How do i go about this?

i am no expert, but i reckon a good starting point would be:
 
 http://www.lartc.org/HOWTO//cvs/2.4routing/output/2.4routing.html
 http://lartc.org/docbook-html/

i have no experience with the products you mention, but there was a
comparsion made recently on this list between PIX and linux advanaced
routing features.  The archives are located here:

 http://mailman.ds9a.nl/pipermail/lartc/

HTH,
-vince

-- 
PGP key:  http://codex.net/pgp/pgp.asc

 Smash forehead on keyboard to continue... 

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] bandwidth allocation
  2002-04-04  9:28 [LARTC] bandwidth allocation simbo adeyemi
  2002-04-04 11:32 ` Vincent AE Scott
@ 2002-04-04 13:14 ` Julián Muñoz
  2002-04-04 13:25 ` Vincent AE Scott
  2 siblings, 0 replies; 7+ messages in thread
From: Julián Muñoz @ 2002-04-04 13:14 UTC (permalink / raw)
  To: lartc

On Thu, 4 Apr 2002, Vincent AE Scott wrote:

> i have no experience with the products you mention, but there was a
> comparsion made recently on this list between PIX and linux advanaced
> routing features.  The archives are located here:
>
>  http://mailman.ds9a.nl/pipermail/lartc/

I doesn't find nothing about this on the archive (searching "cisco",
"pix", or "comparison"). I what month could it be ?


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] bandwidth allocation
  2002-04-04  9:28 [LARTC] bandwidth allocation simbo adeyemi
  2002-04-04 11:32 ` Vincent AE Scott
  2002-04-04 13:14 ` Julián Muñoz
@ 2002-04-04 13:25 ` Vincent AE Scott
  2 siblings, 0 replies; 7+ messages in thread
From: Vincent AE Scott @ 2002-04-04 13:25 UTC (permalink / raw)
  To: lartc

Julián Muñoz(jmunoz@telefonica.net)@Thu, Apr 04, 2002 at 01:14:44PM +0000:
> On Thu, 4 Apr 2002, Vincent AE Scott wrote:
> 
> > i have no experience with the products you mention, but there was a
> > comparsion made recently on this list between PIX and linux advanaced
> > routing features.  The archives are located here:
> >
> >  http://mailman.ds9a.nl/pipermail/lartc/
> 
> I doesn't find nothing about this on the archive (searching "cisco",
> "pix", or "comparison"). I what month could it be ?

oops.  i think i might be suffering from list overload.  maybe it was on
the netfilter list.  just checked, i never kept a copy, but it was
within the last couple of weeks.

sorry 'bout that.


-- 
PGP key:  http://codex.net/pgp/pgp.asc

 2 + 2 = 5 for extremely large values of 2. 

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [LARTC] Bandwidth Allocation...
@ 2004-05-13  2:32 Esteban Wagner
  2004-05-24  2:22 ` Gerry Weaver
  2004-05-24  2:37 ` Gerry Weaver
  0 siblings, 2 replies; 7+ messages in thread
From: Esteban Wagner @ 2004-05-13  2:32 UTC (permalink / raw)
  To: lartc


[-- Attachment #1.1: Type: Text/Plain, Size: 750 bytes --]

Im configuring   a server, to provide internet to 5 machines, with a dsl
connection. 
 
I m not in familiar with bandwidth shaping, so Im going to start reading
about it.
 
What Im looking is something which let me assign the bandwidth in a dynamic
way.(dynamic bandwidth allocation).
 
For example:
 
If I assign X bandwidht to each PC.(equal), and Pc1 is not using the %100 of
the bandwidht assigned, I want the others  PC in the network to be able to
use the bandwidth PC 1 is not using.
 
Please let me know if this is possible.
If it is possible which HOWTO should i start reading?.And what tools do i
need.
 
Considering I understand networks basics, and have experience on linux.
 
Thanks.
Wagner Esteban.

[-- Attachment #1.2: Type: Text/HTML, Size: 2761 bytes --]

<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="IncrediMail 1.0" name=GENERATOR>
<!--IncrdiXMLRemarkStart>
<IncrdiX-Info>
<X-FID>FLAVOR00-NONE-0000-0000-000000000000</X-FID>
<X-FVER>4.0</X-FVER>
<X-CNT>;</X-CNT>
</IncrdiX-Info>
<IncrdiXMLRemarkEnd-->
</HEAD>
<BODY style="BACKGROUND-POSITION: 0px 0px; FONT-SIZE: 12pt; MARGIN: 5px 10px 10px; FONT-FAMILY: Arial" bgColor=#ffffff background="" scroll=yes ORGYPOS="0">
<TABLE id=INCREDIMAINTABLE cellSpacing=0 cellPadding=2 width="100%" border=0>
<TBODY>
<TR>
<TD id=INCREDITEXTREGION style="FONT-SIZE: 12pt; CURSOR: auto; FONT-FAMILY: Arial" width="100%">
<TABLE id=INCREDIMAINTABLE cellSpacing=0 cellPadding=2 width="100%" border=0>
<TBODY>
<TR>
<TD id=INCREDITEXTREGION style="FONT-SIZE: 12pt; CURSOR: auto; FONT-FAMILY: Arial" width="100%">
<DIV>Im configuring&nbsp;&nbsp; a server, to provide internet to 5 machines, with a dsl connection. </DIV>
<DIV>&nbsp;</DIV>
<DIV>I m not in familiar with bandwidth shaping, so Im going to start reading about it.</DIV>
<DIV>&nbsp;</DIV>
<DIV>What Im looking is something which let me assign the bandwidth in a dynamic way.(dynamic bandwidth allocation).</DIV>
<DIV>&nbsp;</DIV>
<DIV>For example:</DIV>
<DIV>&nbsp;</DIV>
<DIV>If I assign X bandwidht to each PC.(equal), and Pc1 is not using the %100 of the bandwidht assigned, I want the others &nbsp;PC in the network to be able to use the bandwidth PC 1 is not using.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Please let me know if this is possible.</DIV>
<DIV>If it is possible which HOWTO should i start reading?.And what tools do i need.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Considering I understand networks basics, and have experience on linux.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks.</DIV>
<DIV>Wagner Esteban.</DIV></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD id=INCREDIFOOTER width="100%">
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD width="100%"></TD>
<TD id=INCREDISOUND vAlign=bottom align=middle></TD>
<TD id=INCREDIANIM vAlign=bottom align=middle></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><SPAN id=IncrediStamp><SPAN dir=ltr><FONT face="Arial, Helvetica, sans-serif" size=2>_________________________________________________________________<BR><FONT face="Comic Sans MS" size=2><A href="http://www.incredimail.com/redir.asp?ad_id=310&amp;lang=10"><IMG alt="" hspace=0 src="cid:69EE4136-99E1-481C-B515-18588AA8EBB6" align=baseline border=0></A>&nbsp; <I>IncrediMail</I> - <B>El Email ha evolucionado finalmente</B> - </FONT><A href="http://www.incredimail.com/redir.asp?ad_id=310&amp;lang=10"><FONT face="Times New Roman" size=3><B><U>Haga clic aquí</U></B></FONT></A></SPAN></SPAN></FONT></BODY></HTML>

[-- Attachment #2: IMSTP.gif --]
[-- Type: image/gif, Size: 494 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] Bandwidth Allocation...
  2004-05-13  2:32 [LARTC] Bandwidth Allocation Esteban Wagner
@ 2004-05-24  2:22 ` Gerry Weaver
  2004-05-24  2:37 ` Gerry Weaver
  1 sibling, 0 replies; 7+ messages in thread
From: Gerry Weaver @ 2004-05-24  2:22 UTC (permalink / raw)
  To: lartc

Hi,

I'm fairly new to this too, but if I understand correctly, you can do 
this with htb.


tc qdisc add dev eth0 root handle 1: htb

tc class add dev eth0 parent 1: classid 1:1 htb rate  <your total 
bandwidth>

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  
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 
> dsl connection.
>  
> I m not in familiar with bandwidth shaping, so Im going to start 
> reading about it.
>  
> What Im looking is something which let me assign the bandwidth in a 
> dynamic way.(dynamic bandwidth allocation).
>  
> For example:
>  
> If I assign X bandwidht to each PC.(equal), and Pc1 is not using the 
> %100 of the bandwidht assigned, I want the others  PC in the network 
> to be able to use the bandwidth PC 1 is not using.
>  
> Please let me know if this is possible.
> If it is possible which HOWTO should i start reading?.And what tools 
> do i need.
>  
> Considering I understand networks basics, and have experience on linux.
>  
> Thanks.
> Wagner Esteban.
>
>
> 	
> 	
>
> _________________________________________________________________
> <http://www.incredimail.com/redir.asp?ad_id10&lang\x10>  
> /IncrediMail/ - *El Email ha evolucionado finalmente* - *_Haga clic 
> aquí_* <http://www.incredimail.com/redir.asp?ad_id10&lang\x10>


-- 
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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [LARTC] Bandwidth Allocation...
  2004-05-13  2:32 [LARTC] Bandwidth Allocation Esteban Wagner
  2004-05-24  2:22 ` Gerry Weaver
@ 2004-05-24  2:37 ` Gerry Weaver
  1 sibling, 0 replies; 7+ messages in thread
From: Gerry Weaver @ 2004-05-24  2:37 UTC (permalink / raw)
  To: lartc

Hi,

Sorry, I forgot something. I didn't add the "ceil" parameter.

tc qdisc add dev eth0 root handle 1: htb

tc class add dev eth0 parent 1: classid 1:1 htb rate  <your total 
bandwidth>

tc class add dev eth0 parent 1:1 classid 1:10 htb rate 128kbit ceil 
<your total bandwidth>
tc class add dev eth0 parent 1:1 classid 1:11 htb rate 128kbit ceil 
<your total bandwidth>

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

Thanks,
Gerry

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-05-24  2:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-13  2:32 [LARTC] Bandwidth Allocation Esteban Wagner
2004-05-24  2:22 ` Gerry Weaver
2004-05-24  2:37 ` Gerry Weaver
  -- strict thread matches above, loose matches on Subject: below --
2002-04-04  9:28 [LARTC] bandwidth allocation simbo adeyemi
2002-04-04 11:32 ` Vincent AE Scott
2002-04-04 13:14 ` Julián Muñoz
2002-04-04 13:25 ` Vincent AE Scott

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.