* Re: [LARTC] Need some help on HTB and IMQ
2003-02-24 19:24 [LARTC] Need some help on HTB and IMQ hanumantha kavuluru
@ 2003-02-24 19:42 ` Stef Coene
2003-02-24 20:19 ` hanumantha kavuluru
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Stef Coene @ 2003-02-24 19:42 UTC (permalink / raw)
To: lartc
On Monday 24 February 2003 20:24, hanumantha kavuluru wrote:
> Hi All,
>
> I am fairly new to Linux and TC. I am currently implementing Bandwidth
> Management/Traffic Control for a gateway product which is based on Linux
> 2.4.18 kernel. I am required to implement some kind of a user based traffic
> control where each user(source IP) is allocated a fixed amount of
> bandwidth. I also need to do traffic shaping both for the eggress and
> ingress traffic. Going through LARTC documentation , I found that IMQ with
> HTB will suit my requirement. Is anybody using IMQ with HTB? Can HTB and
> IMQ work with 2.4.18 kernel? If so, where can i download all the patches?
> It is difficult for us to migrate to 2.4.20 kernel as most of the software
> has already been developed using 2.4.18 kernel.
http://luxik.cdi.cz/~patrick/imq/
http://luxik.cdi.cz/~devik/qos/htb/
And you don't need imq. If you have a gateway, you can shape on both
interface so you can control up- and download traffic.
Just wondering, what kind of software do you developped so you can not use
kernel 2.4.20 ??
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: [LARTC] Need some help on HTB and IMQ
2003-02-24 19:24 [LARTC] Need some help on HTB and IMQ hanumantha kavuluru
2003-02-24 19:42 ` Stef Coene
@ 2003-02-24 20:19 ` hanumantha kavuluru
2003-02-24 20:23 ` Stef Coene
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: hanumantha kavuluru @ 2003-02-24 20:19 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 2093 bytes --]
Hi All,
Thanks for the help. Stef, our product is already out in the market with 2.4.18 kernel. So if we change the kernel, we will have to go through a full QA cycle which is something we don't want to do :). BTW, I would like to have global limits on the Bandwidth per user irrespective of which interface the traffic might go.Can i do this without using IMQ? Also i want to do my own classification by setting the skb->priority field with the appropriate class ID. Is it possible to use this kind of classification with IMQ and HTB?
i really appreciate your help.
Thanks,
Hemanth
Stef Coene <stef.coene@docum.org> wrote:On Monday 24 February 2003 20:24, hanumantha kavuluru wrote:
> Hi All,
>
> I am fairly new to Linux and TC. I am currently implementing Bandwidth
> Management/Traffic Control for a gateway product which is based on Linux
> 2.4.18 kernel. I am required to implement some kind of a user based traffic
> control where each user(source IP) is allocated a fixed amount of
> bandwidth. I also need to do traffic shaping both for the eggress and
> ingress traffic. Going through LARTC documentation , I found that IMQ with
> HTB will suit my requirement. Is anybody using IMQ with HTB? Can HTB and
> IMQ work with 2.4.18 kernel? If so, where can i download all the patches?
> It is difficult for us to migrate to 2.4.20 kernel as most of the software
> has already been developed using 2.4.18 kernel.
http://luxik.cdi.cz/~patrick/imq/
http://luxik.cdi.cz/~devik/qos/htb/
And you don't need imq. If you have a gateway, you can shape on both
interface so you can control up- and download traffic.
Just wondering, what kind of software do you developped so you can not use
kernel 2.4.20 ??
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more
[-- Attachment #2: Type: text/html, Size: 2456 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: [LARTC] Need some help on HTB and IMQ
2003-02-24 19:24 [LARTC] Need some help on HTB and IMQ hanumantha kavuluru
2003-02-24 19:42 ` Stef Coene
2003-02-24 20:19 ` hanumantha kavuluru
@ 2003-02-24 20:23 ` Stef Coene
2003-02-24 20:40 ` hanumantha kavuluru
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Stef Coene @ 2003-02-24 20:23 UTC (permalink / raw)
To: lartc
On Monday 24 February 2003 21:19, hanumantha kavuluru wrote:
> Hi All,
> Thanks for the help. Stef, our product is already out in the market with
> 2.4.18 kernel. So if we change the kernel, we will have to go through a
> full QA cycle which is something we don't want to do :).
Ok
> BTW, I would like
> to have global limits on the Bandwidth per user irrespective of which
> interface the traffic might go.Can i do this without using IMQ?
So you want up + down = fixed bandwidth? Then you need IMQ.
> Also i want
> to do my own classification by setting the skb->priority field with the
> appropriate class ID. Is it possible to use this kind of classification
> with IMQ and HTB?
I don't know the internals of tc, but I think you can do.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: [LARTC] Need some help on HTB and IMQ
2003-02-24 19:24 [LARTC] Need some help on HTB and IMQ hanumantha kavuluru
` (2 preceding siblings ...)
2003-02-24 20:23 ` Stef Coene
@ 2003-02-24 20:40 ` hanumantha kavuluru
2003-02-25 10:38 ` Dragan Zubac
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: hanumantha kavuluru @ 2003-02-24 20:40 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 1257 bytes --]
Stef,
That is right. I want to do up+down = fixed bandwidth. Thanks for your help.
Hemanth
Stef Coene <stef.coene@docum.org> wrote:On Monday 24 February 2003 21:19, hanumantha kavuluru wrote:
> Hi All,
> Thanks for the help. Stef, our product is already out in the market with
> 2.4.18 kernel. So if we change the kernel, we will have to go through a
> full QA cycle which is something we don't want to do :).
Ok
> BTW, I would like
> to have global limits on the Bandwidth per user irrespective of which
> interface the traffic might go.Can i do this without using IMQ?
So you want up + down = fixed bandwidth? Then you need IMQ.
> Also i want
> to do my own classification by setting the skb->priority field with the
> appropriate class ID. Is it possible to use this kind of classification
> with IMQ and HTB?
I don't know the internals of tc, but I think you can do.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more
[-- Attachment #2: Type: text/html, Size: 1584 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: [LARTC] Need some help on HTB and IMQ
2003-02-24 19:24 [LARTC] Need some help on HTB and IMQ hanumantha kavuluru
` (3 preceding siblings ...)
2003-02-24 20:40 ` hanumantha kavuluru
@ 2003-02-25 10:38 ` Dragan Zubac
2003-02-25 18:32 ` Stef Coene
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Dragan Zubac @ 2003-02-25 10:38 UTC (permalink / raw)
To: lartc
Hi,
There is no options at all to 'shape' upload+download=fixed bandwidth
without using IMQ virtual device ? So if somebody is planning to give
customer fixed bandwidth regarless if a customer is 'uploading' or
'downloading',he (or she:) MUST use IMQ virtual device ? Anybody did some
tests of configuring same traffic shaping with and without using IMQ
device ? How IMQ device (kernel) will behave on heavy load traffic
(like VoIP,gaming,other 'real-time' traffic) comparing on mashine without
using IMQ virtual device ?
Does anybody did some test on using u32 filter and fw filter ? How does
each one behave on same mashine,same kernel,same traffic shaping
configuration ?
f2zubac
On Mon, 24 Feb 2003, Stef Coene wrote:
> On Monday 24 February 2003 21:19, hanumantha kavuluru wrote:
> > Hi All,
> > Thanks for the help. Stef, our product is already out in the market with
> > 2.4.18 kernel. So if we change the kernel, we will have to go through a
> > full QA cycle which is something we don't want to do :).
> Ok
>
> > BTW, I would like
> > to have global limits on the Bandwidth per user irrespective of which
> > interface the traffic might go.Can i do this without using IMQ?
> So you want up + down = fixed bandwidth? Then you need IMQ.
>
> > Also i want
> > to do my own classification by setting the skb->priority field with the
> > appropriate class ID. Is it possible to use this kind of classification
> > with IMQ and HTB?
> I don't know the internals of tc, but I think you can do.
>
> Stef
>
> --
>
> stef.coene@docum.org
> "Using Linux as bandwidth manager"
> http://www.docum.org/
> #lartc @ irc.oftc.net
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: [LARTC] Need some help on HTB and IMQ
2003-02-24 19:24 [LARTC] Need some help on HTB and IMQ hanumantha kavuluru
` (4 preceding siblings ...)
2003-02-25 10:38 ` Dragan Zubac
@ 2003-02-25 18:32 ` Stef Coene
2003-03-04 6:36 ` hare ram
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: Stef Coene @ 2003-02-25 18:32 UTC (permalink / raw)
To: lartc
On Tuesday 25 February 2003 11:38, Dragan Zubac wrote:
> Hi,
>
> There is no options at all to 'shape' upload+download=fixed bandwidth
> without using IMQ virtual device ?
You can only control traffic that leaves an interface and you can't combine 2
interfaces. But with the imq device, you can redirect whatever-you-want
traffic to the 1 device. So you can redirect traffic that leaves eth0 and
eth1 to the same device, you can combine both interfaces.
> So if somebody is planning to give
> customer fixed bandwidth regarless if a customer is 'uploading' or
> 'downloading',he (or she:) MUST use IMQ virtual device ? Anybody did some
> tests of configuring same traffic shaping with and without using IMQ
> device ?
No. But sometimes you need the imq device.
> How IMQ device (kernel) will behave on heavy load traffic
> (like VoIP,gaming,other 'real-time' traffic) comparing on mashine without
> using IMQ virtual device ?
Good.
> Does anybody did some test on using u32 filter and fw filter ? How does
> each one behave on same mashine,same kernel,same traffic shaping
> configuration ?
As long as you don't have more then 10^6 filter rules, you are fine :) You
should be more worry about active classes. I once created 5000 active
classes on a 486, 25Mhz, 8MB Ram and I was able to shape 10mbit without
remarkable delays.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: [LARTC] Need some help on HTB and IMQ
2003-02-24 19:24 [LARTC] Need some help on HTB and IMQ hanumantha kavuluru
` (5 preceding siblings ...)
2003-02-25 18:32 ` Stef Coene
@ 2003-03-04 6:36 ` hare ram
2003-03-04 6:39 ` S Mohan
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: hare ram @ 2003-03-04 6:36 UTC (permalink / raw)
To: lartc
Hi Stef
i was going through this thread
you mentioned if iam using this Linux box as a gateway,
i dont required IMQ to control ingress and egress
how can do with out IMQ, can you point me
i have 2 interface eth0 and eth1
like to control bandwidth for my users
both up and down
thanks
hare
----- Original Message -----
From: "Stef Coene" <stef.coene@docum.org>
To: "hanumantha kavuluru" <hkavuluru@yahoo.com>; <lartc@mailman.ds9a.nl>
Sent: Tuesday, February 25, 2003 1:12 AM
Subject: Re: [LARTC] Need some help on HTB and IMQ
> On Monday 24 February 2003 20:24, hanumantha kavuluru wrote:
> > Hi All,
> >
> > I am fairly new to Linux and TC. I am currently implementing Bandwidth
> > Management/Traffic Control for a gateway product which is based on Linux
> > 2.4.18 kernel. I am required to implement some kind of a user based
traffic
> > control where each user(source IP) is allocated a fixed amount of
> > bandwidth. I also need to do traffic shaping both for the eggress and
> > ingress traffic. Going through LARTC documentation , I found that IMQ
with
> > HTB will suit my requirement. Is anybody using IMQ with HTB? Can HTB and
> > IMQ work with 2.4.18 kernel? If so, where can i download all the
patches?
> > It is difficult for us to migrate to 2.4.20 kernel as most of the
software
> > has already been developed using 2.4.18 kernel.
> http://luxik.cdi.cz/~patrick/imq/
> http://luxik.cdi.cz/~devik/qos/htb/
> And you don't need imq. If you have a gateway, you can shape on both
> interface so you can control up- and download traffic.
>
> Just wondering, what kind of software do you developped so you can not use
> kernel 2.4.20 ??
>
> Stef
>
> --
>
> stef.coene@docum.org
> "Using Linux as bandwidth manager"
> http://www.docum.org/
> #lartc @ irc.oftc.net
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread* RE: [LARTC] Need some help on HTB and IMQ
2003-02-24 19:24 [LARTC] Need some help on HTB and IMQ hanumantha kavuluru
` (6 preceding siblings ...)
2003-03-04 6:36 ` hare ram
@ 2003-03-04 6:39 ` S Mohan
2003-03-04 6:58 ` hare ram
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: S Mohan @ 2003-03-04 6:39 UTC (permalink / raw)
To: lartc
This question comes up pretty often. Conceptually, we can do it in two ways.
1. All outgoing traffic is shaped on the interface which is internet facing
say eth0. Then the incoming traffic will go the LAN thro' eth1. In this case
shaping outgoing traffic on eth1 is nearly equivalent to shaping incoming
traffic on eth0 ( assuming all traffic is for the LAN and not for the host).
Another option to limit incoming traffic on eth0 is to use the ingress qdisc
and police rates to a cap and shape the bandwidth utilised on eth1 to the
LAN.
In the case above, bandwidth is apportioned as incoming and outgoing
separately. In the case of many ISPs, they would like to allocate bandwidth
for incoming + outgoing instead of dividing what is allotted further between
incoming and outgoing.
In such a case, IMQ device is used. Shaping IMQ will shape the aggregated
traffic of incoming+outgoing.
Mohan
-----Original Message-----
From: lartc-admin@mailman.ds9a.nl [mailto:lartc-admin@mailman.ds9a.nl]On
Behalf Of hare ram
Sent: 04 March 2003 11:54
To: Stef Coene; lartc@mailman.ds9a.nl
Subject: Re: [LARTC] Need some help on HTB and IMQ
Hi Stef
i was going through this thread
you mentioned if iam using this Linux box as a gateway,
i dont required IMQ to control ingress and egress
how can do with out IMQ, can you point me
i have 2 interface eth0 and eth1
like to control bandwidth for my users
both up and down
thanks
hare
----- Original Message -----
From: "Stef Coene" <stef.coene@docum.org>
To: "hanumantha kavuluru" <hkavuluru@yahoo.com>; <lartc@mailman.ds9a.nl>
Sent: Tuesday, February 25, 2003 1:12 AM
Subject: Re: [LARTC] Need some help on HTB and IMQ
> On Monday 24 February 2003 20:24, hanumantha kavuluru wrote:
> > Hi All,
> >
> > I am fairly new to Linux and TC. I am currently implementing Bandwidth
> > Management/Traffic Control for a gateway product which is based on Linux
> > 2.4.18 kernel. I am required to implement some kind of a user based
traffic
> > control where each user(source IP) is allocated a fixed amount of
> > bandwidth. I also need to do traffic shaping both for the eggress and
> > ingress traffic. Going through LARTC documentation , I found that IMQ
with
> > HTB will suit my requirement. Is anybody using IMQ with HTB? Can HTB and
> > IMQ work with 2.4.18 kernel? If so, where can i download all the
patches?
> > It is difficult for us to migrate to 2.4.20 kernel as most of the
software
> > has already been developed using 2.4.18 kernel.
> http://luxik.cdi.cz/~patrick/imq/
> http://luxik.cdi.cz/~devik/qos/htb/
> And you don't need imq. If you have a gateway, you can shape on both
> interface so you can control up- and download traffic.
>
> Just wondering, what kind of software do you developped so you can not use
> kernel 2.4.20 ??
>
> Stef
>
> --
>
> stef.coene@docum.org
> "Using Linux as bandwidth manager"
> http://www.docum.org/
> #lartc @ irc.oftc.net
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: [LARTC] Need some help on HTB and IMQ
2003-02-24 19:24 [LARTC] Need some help on HTB and IMQ hanumantha kavuluru
` (7 preceding siblings ...)
2003-03-04 6:39 ` S Mohan
@ 2003-03-04 6:58 ` hare ram
2003-03-04 8:33 ` Martin A. Brown
2003-03-04 11:59 ` hare ram
10 siblings, 0 replies; 12+ messages in thread
From: hare ram @ 2003-03-04 6:58 UTC (permalink / raw)
To: lartc
Hi Mohan
thanks for the brief explanation... about the IMQ
so when IMQ should be used when the both in/out traffic same ? like fixed
( 64kbps, irrespective of in and out)
or like IN is less and OUT is more ? or IN more and OUT less ? ( like 32 up
and 32 down or 16 up and 48 down)
thanks
hare
----- Original Message -----
From: "S Mohan" <smohan@vsnl.com>
To: <lartc@mailman.ds9a.nl>
Sent: Tuesday, March 04, 2003 11:57 AM
Subject: RE: [LARTC] Need some help on HTB and IMQ
>
> This question comes up pretty often. Conceptually, we can do it in two
ways.
>
> 1. All outgoing traffic is shaped on the interface which is internet
facing
> say eth0. Then the incoming traffic will go the LAN thro' eth1. In this
case
> shaping outgoing traffic on eth1 is nearly equivalent to shaping incoming
> traffic on eth0 ( assuming all traffic is for the LAN and not for the
host).
> Another option to limit incoming traffic on eth0 is to use the ingress
qdisc
> and police rates to a cap and shape the bandwidth utilised on eth1 to the
> LAN.
>
> In the case above, bandwidth is apportioned as incoming and outgoing
> separately. In the case of many ISPs, they would like to allocate
bandwidth
> for incoming + outgoing instead of dividing what is allotted further
between
> incoming and outgoing.
>
> In such a case, IMQ device is used. Shaping IMQ will shape the aggregated
> traffic of incoming+outgoing.
>
> Mohan
> -----Original Message-----
> From: lartc-admin@mailman.ds9a.nl [mailto:lartc-admin@mailman.ds9a.nl]On
> Behalf Of hare ram
> Sent: 04 March 2003 11:54
> To: Stef Coene; lartc@mailman.ds9a.nl
> Subject: Re: [LARTC] Need some help on HTB and IMQ
>
>
> Hi Stef
>
> i was going through this thread
> you mentioned if iam using this Linux box as a gateway,
> i dont required IMQ to control ingress and egress
>
> how can do with out IMQ, can you point me
>
> i have 2 interface eth0 and eth1
> like to control bandwidth for my users
> both up and down
>
> thanks
> hare
> ----- Original Message -----
> From: "Stef Coene" <stef.coene@docum.org>
> To: "hanumantha kavuluru" <hkavuluru@yahoo.com>; <lartc@mailman.ds9a.nl>
> Sent: Tuesday, February 25, 2003 1:12 AM
> Subject: Re: [LARTC] Need some help on HTB and IMQ
>
>
> > On Monday 24 February 2003 20:24, hanumantha kavuluru wrote:
> > > Hi All,
> > >
> > > I am fairly new to Linux and TC. I am currently implementing Bandwidth
> > > Management/Traffic Control for a gateway product which is based on
Linux
> > > 2.4.18 kernel. I am required to implement some kind of a user based
> traffic
> > > control where each user(source IP) is allocated a fixed amount of
> > > bandwidth. I also need to do traffic shaping both for the eggress and
> > > ingress traffic. Going through LARTC documentation , I found that IMQ
> with
> > > HTB will suit my requirement. Is anybody using IMQ with HTB? Can HTB
and
> > > IMQ work with 2.4.18 kernel? If so, where can i download all the
> patches?
> > > It is difficult for us to migrate to 2.4.20 kernel as most of the
> software
> > > has already been developed using 2.4.18 kernel.
> > http://luxik.cdi.cz/~patrick/imq/
> > http://luxik.cdi.cz/~devik/qos/htb/
> > And you don't need imq. If you have a gateway, you can shape on both
> > interface so you can control up- and download traffic.
> >
> > Just wondering, what kind of software do you developped so you can not
use
> > kernel 2.4.20 ??
> >
> > Stef
> >
> > --
> >
> > stef.coene@docum.org
> > "Using Linux as bandwidth manager"
> > http://www.docum.org/
> > #lartc @ irc.oftc.net
> >
> > _______________________________________________
> > LARTC mailing list / LARTC@mailman.ds9a.nl
> > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
> >
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: [LARTC] Need some help on HTB and IMQ
2003-02-24 19:24 [LARTC] Need some help on HTB and IMQ hanumantha kavuluru
` (8 preceding siblings ...)
2003-03-04 6:58 ` hare ram
@ 2003-03-04 8:33 ` Martin A. Brown
2003-03-04 11:59 ` hare ram
10 siblings, 0 replies; 12+ messages in thread
From: Martin A. Brown @ 2003-03-04 8:33 UTC (permalink / raw)
To: lartc
Hare,
: i was going through this thread you mentioned if iam using this Linux
: box as a gateway, i dont required IMQ to control ingress and egress how
: can do with out IMQ, can you point me
:
: i have 2 interface eth0 and eth1 like to control bandwidth for my users
: both up and down
Since the router can only shape traffic it sends, you can shape your
outbound (upload) traffic on your Internet connected interface, and you
can shape your inbound (download) traffic on the internal interface as you
transmit to your internal network. Another way to shape the download
bandwidth is to use policing or ingress filters with IMQ.
http://linux-ip.net/htb-script
As Mohan explained, traffic control can delay packets already received
from the Internet before sending them to the internal network application,
thus simulating a user-specified download bandwidth. Similarly, upload
bandwidth can be controlled/shaped by delaying packets bound for the
Internet before sending them up to the gateway.
By the way, Stef is on vacation this week. I believe he said he'd be
skiing.
Good luck,
-Martin
P.S. I'm thinking of changing my name to "A-router-can-only-shape-the-
traffic-it-sends." I forgot this *again* when I was writing this
script. Maybe then I'd remember!
--
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: [LARTC] Need some help on HTB and IMQ
2003-02-24 19:24 [LARTC] Need some help on HTB and IMQ hanumantha kavuluru
` (9 preceding siblings ...)
2003-03-04 8:33 ` Martin A. Brown
@ 2003-03-04 11:59 ` hare ram
10 siblings, 0 replies; 12+ messages in thread
From: hare ram @ 2003-03-04 11:59 UTC (permalink / raw)
To: lartc
Hi
tthanks, if the IMQ used, then if its keep queing the packets and send and
receive.
how about the performance, if like 2000 users or more connection. and
latency of the box
hare
----- Original Message -----
From: "Martin A. Brown" <mabrown-lartc@securepipe.com>
To: "hare ram" <hareram@sol.net.in>
Cc: <lartc@mailman.ds9a.nl>
Sent: Tuesday, March 04, 2003 2:03 PM
Subject: Re: [LARTC] Need some help on HTB and IMQ
>
> Hare,
>
> : i was going through this thread you mentioned if iam using this Linux
> : box as a gateway, i dont required IMQ to control ingress and egress how
> : can do with out IMQ, can you point me
> :
> : i have 2 interface eth0 and eth1 like to control bandwidth for my users
> : both up and down
>
> Since the router can only shape traffic it sends, you can shape your
> outbound (upload) traffic on your Internet connected interface, and you
> can shape your inbound (download) traffic on the internal interface as you
> transmit to your internal network. Another way to shape the download
> bandwidth is to use policing or ingress filters with IMQ.
>
> http://linux-ip.net/htb-script
>
> As Mohan explained, traffic control can delay packets already received
> from the Internet before sending them to the internal network application,
> thus simulating a user-specified download bandwidth. Similarly, upload
> bandwidth can be controlled/shaped by delaying packets bound for the
> Internet before sending them up to the gateway.
>
> By the way, Stef is on vacation this week. I believe he said he'd be
> skiing.
>
> Good luck,
>
> -Martin
>
> P.S. I'm thinking of changing my name to "A-router-can-only-shape-the-
> traffic-it-sends." I forgot this *again* when I was writing this
> script. Maybe then I'd remember!
>
> --
> Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com
>
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 12+ messages in thread