All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Combining ingress and egress ( IMQ+HTB)
@ 2003-06-25 18:37 Rajesh Srivastava
  2003-06-25 23:37 ` Joseph Watson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Rajesh Srivastava @ 2003-06-25 18:37 UTC (permalink / raw)
  To: lartc

I am successfully running ingress (IMQ) and egress (HTB) shaping on a
bridge.

Is there any way to combine and share the bandwidth between ingress and
egress?

Example:
I have set up www service for egress at 128 KB and ingress at 256 KB. The
shaping on them works fine separately. However, I want to create a single
virtual pipe for www traffic and limit both ingress and egress combined to
256 KB.

Thanks.

Rajesh


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

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

* Re: [LARTC] Combining ingress and egress ( IMQ+HTB)
  2003-06-25 18:37 [LARTC] Combining ingress and egress ( IMQ+HTB) Rajesh Srivastava
@ 2003-06-25 23:37 ` Joseph Watson
  2003-06-26  3:14 ` Fw: " Rajesh Srivastava
  2003-06-26 13:23 ` Patrick McHardy
  2 siblings, 0 replies; 4+ messages in thread
From: Joseph Watson @ 2003-06-25 23:37 UTC (permalink / raw)
  To: lartc

The way I understand it is summed up in a quote from "LEAF Bering user's 
guide"

---
In many cases like those of ISPs, the bandwidth allocation is for incoming and 
outgoing combined. Under such situations, in stock linux, a virtual device 
called IMQ has been created through which all traffic passes. Thus shaping on 
IMQ will enable shaping total traffic and not incoming and outgoing 
separately.
---

On Wednesday June 25 2003 02:37 pm, Rajesh Srivastava wrote:
> I am successfully running ingress (IMQ) and egress (HTB) shaping on a
> bridge.
>
> Is there any way to combine and share the bandwidth between ingress and
> egress?
>
> Example:
> I have set up www service for egress at 128 KB and ingress at 256 KB. The
> shaping on them works fine separately. However, I want to create a single
> virtual pipe for www traffic and limit both ingress and egress combined to
> 256 KB.
>
> Thanks.
>
> Rajesh
>
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

-- 
Regards

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

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

* Fw: [LARTC] Combining ingress and egress ( IMQ+HTB)
  2003-06-25 18:37 [LARTC] Combining ingress and egress ( IMQ+HTB) Rajesh Srivastava
  2003-06-25 23:37 ` Joseph Watson
@ 2003-06-26  3:14 ` Rajesh Srivastava
  2003-06-26 13:23 ` Patrick McHardy
  2 siblings, 0 replies; 4+ messages in thread
From: Rajesh Srivastava @ 2003-06-26  3:14 UTC (permalink / raw)
  To: lartc

[LARTC] Combining ingress and egress ( IMQ+HTB)I checked the guide and you
are right about it. However, I cannot get it to work,
if I remove egress qdisc the traffic stops following any rules.

Has anyone done this successfully before? Any pointers are welcome.

Thanks
Rajesh
------------------------------------
The way I understand it is summed up in a quote from "LEAF Bering user's
guide"

---
In many cases like those of ISPs, the bandwidth allocation is for incoming
and
outgoing combined. Under such situations, in stock linux, a virtual device
called IMQ has been created through which all traffic passes. Thus shaping
on
IMQ will enable shaping total traffic and not incoming and outgoing
separately.
---

On Wednesday June 25 2003 02:37 pm, Rajesh Srivastava wrote:
> I am successfully running ingress (IMQ) and egress (HTB) shaping on a
> bridge.
>
> Is there any way to combine and share the bandwidth between ingress and
> egress?
>
> Example:
> I have set up www service for egress at 128 KB and ingress at 256 KB. The
> shaping on them works fine separately. However, I want to create a single
> virtual pipe for www traffic and limit both ingress and egress combined to
> 256 KB.
>
> Thanks.
>
> Rajesh
>
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

--
Regards

Joseph Watson


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

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

* Re: [LARTC] Combining ingress and egress ( IMQ+HTB)
  2003-06-25 18:37 [LARTC] Combining ingress and egress ( IMQ+HTB) Rajesh Srivastava
  2003-06-25 23:37 ` Joseph Watson
  2003-06-26  3:14 ` Fw: " Rajesh Srivastava
@ 2003-06-26 13:23 ` Patrick McHardy
  2 siblings, 0 replies; 4+ messages in thread
From: Patrick McHardy @ 2003-06-26 13:23 UTC (permalink / raw)
  To: lartc

Hi Rajesh,
it should work fine with the latest version, just direct both directions to
the same imq device. If you're successful it would be nice if you can drop
me a short note.

Thanks,
Patrick

Rajesh Srivastava wrote:

>I am successfully running ingress (IMQ) and egress (HTB) shaping on a
>bridge.
>
>Is there any way to combine and share the bandwidth between ingress and
>egress?
>
>Example:
>I have set up www service for egress at 128 KB and ingress at 256 KB. The
>shaping on them works fine separately. However, I want to create a single
>virtual pipe for www traffic and limit both ingress and egress combined to
>256 KB.
>
>Thanks.
>
>Rajesh
>
>
>_______________________________________________
>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] 4+ messages in thread

end of thread, other threads:[~2003-06-26 13:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-25 18:37 [LARTC] Combining ingress and egress ( IMQ+HTB) Rajesh Srivastava
2003-06-25 23:37 ` Joseph Watson
2003-06-26  3:14 ` Fw: " Rajesh Srivastava
2003-06-26 13:23 ` Patrick McHardy

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.