* [LARTC] Bandwith control
@ 2004-04-13 14:00 cron
2004-04-13 21:32 ` Corey Hickey
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: cron @ 2004-04-13 14:00 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 627 bytes --]
Hello all,
I´ve read http://lartc.org/howto/ and now i am just confused, i think my skills with linux are not very good, so asking for help.
I have a linux box with two ethernets cards eth0(gateway 1mb) with is the host for
some sites and emails and eth1(nat interface) with provide internet acess to other 5 pcs.
I would like to limit the bandwith 512 k for the eth0 and 512 k for eth1 however whem there
is free bandwith in eth0 would be nice to eth1 use that bandwith so users can download fast
as there is bandwith and sites and emails don´t get slow.
Can someone point some directions?
Tks
Angelo
[-- Attachment #2: Type: text/html, Size: 1665 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] Bandwith control
2004-04-13 14:00 [LARTC] Bandwith control cron
@ 2004-04-13 21:32 ` Corey Hickey
2004-04-14 0:27 ` Damion de Soto
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Corey Hickey @ 2004-04-13 21:32 UTC (permalink / raw)
To: lartc
cron@odi.com.br wrote:
> Hello all,
>
> I´ve read http://lartc.org/howto/ and now i am just confused, i think my
> skills with linux are not very good, so asking for help.
>
> I have a linux box with two ethernets cards eth0(gateway 1mb) with is
> the host for
> some sites and emails and eth1(nat interface) with provide internet
> acess to other 5 pcs.
>
> I would like to limit the bandwith 512 k for the eth0 and 512 k for eth1
> however whem there
> is free bandwith in eth0 would be nice to eth1 use that bandwith so
> users can download fast
> as there is bandwith and sites and emails don´t get slow.
>
> Can someone point some directions?
>
> Tks
>
> Angelo
HTB is the qdisc you want.
http://luxik.cdi.cz/~devik/qos/htb/
-Corey
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] Bandwith control
2004-04-13 14:00 [LARTC] Bandwith control cron
2004-04-13 21:32 ` Corey Hickey
@ 2004-04-14 0:27 ` Damion de Soto
2004-04-14 15:50 ` cron
2004-04-14 16:34 ` ThE LinuX_KiD
3 siblings, 0 replies; 5+ messages in thread
From: Damion de Soto @ 2004-04-14 0:27 UTC (permalink / raw)
To: lartc
Ola Angelo,
> I have a linux box with two ethernets cards eth0(gateway 1mb) with is
> the host for some sites and emails and eth1(nat interface) with provide internet
> acess to other 5 pcs.
>
> I would like to limit the bandwith 512 k for the eth0 and 512 k for eth1
> however whem there is free bandwith in eth0 would be nice to eth1 use that bandwith so
> users can download fast as there is bandwith and sites and emails don´t get slow.
You can only shape outbound traffic (going OUT eth1 to LAN clients, or OUT eth0 to
the internet).
You can police incoming traffic to certain speeds, but it doesn't work as well as
shaping, and you can't use as many specific rules.
So, you can easily restrict the speed at which LAN users can access the internet.
You can also easily restrict the speed at which Internet users access your websites.
Use the HTB qdisc for this on eth0 and eth1.
To share bandwidth across from eth0 to eth1 starts getting difficult. If you need to
restrict bandwidth from the internet to the linux box, and share specified bandwidth
from eth1 to eth0, then you might need to use the IMQ device or something.
regards,
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Damion de Soto - Software Engineer email: damion@snapgear.com
SnapGear - A CyberGuard Company --- ph: +61 7 3435 2809
| Custom Embedded Solutions fax: +61 7 3891 3630
| and Security Appliances web: http://www.snapgear.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- Free Embedded Linux Distro at http://www.snapgear.org ---
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [LARTC] Bandwith control
2004-04-13 14:00 [LARTC] Bandwith control cron
2004-04-13 21:32 ` Corey Hickey
2004-04-14 0:27 ` Damion de Soto
@ 2004-04-14 15:50 ` cron
2004-04-14 16:34 ` ThE LinuX_KiD
3 siblings, 0 replies; 5+ messages in thread
From: cron @ 2004-04-14 15:50 UTC (permalink / raw)
To: lartc
After read the docs at http://luxik.cdi.cz/~devik/qos/htb/ i found
htb.init-v0.8.5.txt script, it do what i need,
however it says i have to pach my kernel, does anyone know if fedora core 1
already have htb by default?
Angelo
----- Original Message -----
From: "Corey Hickey" <bugfood-ml@fatooh.org>
To: <cron@odi.com.br>
Sent: Tuesday, April 13, 2004 2:31 PM
Subject: Re: [LARTC] Bandwith control
> cron@odi.com.br wrote:
> > Hello all,
> >
> > I´ve read http://lartc.org/howto/ and now i am just confused, i think my
> > skills with linux are not very good, so asking for help.
> >
> > I have a linux box with two ethernets cards eth0(gateway 1mb) with is
> > the host for
> > some sites and emails and eth1(nat interface) with provide internet
> > acess to other 5 pcs.
> >
> > I would like to limit the bandwith 512 k for the eth0 and 512 k for eth1
> > however whem there
> > is free bandwith in eth0 would be nice to eth1 use that bandwith so
> > users can download fast
> > as there is bandwith and sites and emails don´t get slow.
> >
> > Can someone point some directions?
> >
> > Tks
> >
> > Angelo
>
> HTB is the qdisc you want.
> http://luxik.cdi.cz/~devik/qos/htb/
>
> -Corey
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [LARTC] Bandwith control
2004-04-13 14:00 [LARTC] Bandwith control cron
` (2 preceding siblings ...)
2004-04-14 15:50 ` cron
@ 2004-04-14 16:34 ` ThE LinuX_KiD
3 siblings, 0 replies; 5+ messages in thread
From: ThE LinuX_KiD @ 2004-04-14 16:34 UTC (permalink / raw)
To: lartc
I use Fedora 1 and its haves HTB 3 built in kernel
regards
-> -----Mensaje original-----
-> De: lartc-admin@mailman.ds9a.nl [mailto:lartc-admin@mailman.ds9a.nl]En
-> nombre de cron@odi.com.br
-> Enviado el: Miércoles, 14 de Abril de 2004 12:50 p.m.
-> Para: lartc@mailman.ds9a.nl
-> Asunto: Re: [LARTC] Bandwith control
->
->
-> After read the docs at http://luxik.cdi.cz/~devik/qos/htb/ i found
-> htb.init-v0.8.5.txt script, it do what i need,
-> however it says i have to pach my kernel, does anyone know if
-> fedora core 1
-> already have htb by default?
->
->
-> Angelo
->
-> ----- Original Message -----
-> From: "Corey Hickey" <bugfood-ml@fatooh.org>
-> To: <cron@odi.com.br>
-> Sent: Tuesday, April 13, 2004 2:31 PM
-> Subject: Re: [LARTC] Bandwith control
->
->
-> > cron@odi.com.br wrote:
-> > > Hello all,
-> > >
-> > > I´ve read http://lartc.org/howto/ and now i am just
-> confused, i think my
-> > > skills with linux are not very good, so asking for help.
-> > >
-> > > I have a linux box with two ethernets cards eth0(gateway 1mb) with is
-> > > the host for
-> > > some sites and emails and eth1(nat interface) with provide internet
-> > > acess to other 5 pcs.
-> > >
-> > > I would like to limit the bandwith 512 k for the eth0 and
-> 512 k for eth1
-> > > however whem there
-> > > is free bandwith in eth0 would be nice to eth1 use that bandwith so
-> > > users can download fast
-> > > as there is bandwith and sites and emails don´t get slow.
-> > >
-> > > Can someone point some directions?
-> > >
-> > > Tks
-> > >
-> > > Angelo
-> >
-> > HTB is the qdisc you want.
-> > http://luxik.cdi.cz/~devik/qos/htb/
-> >
-> > -Corey
-> >
->
-> _______________________________________________
-> LARTC mailing list / LARTC@mailman.ds9a.nl
-> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
-> ---
-> Incoming mail is certified Virus Free.
-> Checked by AVG anti-virus system (http://www.grisoft.com).
-> Version: 6.0.657 / Virus Database: 422 - Release Date: 13/04/2004
->
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.657 / Virus Database: 422 - Release Date: 13/04/2004
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-04-14 16:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-13 14:00 [LARTC] Bandwith control cron
2004-04-13 21:32 ` Corey Hickey
2004-04-14 0:27 ` Damion de Soto
2004-04-14 15:50 ` cron
2004-04-14 16:34 ` ThE LinuX_KiD
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.