Skip to contentSkip to conversation

Combining ingress and egress ( IMQ+HTB)

LARTC Rajesh Srivastava 3 participants 4 messages Jun 25, 2003 – Jun 26, 2003

lore
Share & tools
lore
#0 lore raw

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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw

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

Quoted 20 lines · Rajesh Srivastava

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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Signature · 6 lines
Regards

Joseph Watson
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw
In reply to Rajesh Srivastava

[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.
---

Quoted 12 lines · Rajesh Srivastava

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.

Quoted 8 lines

Thanks.

Rajesh

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

--
Regards

Joseph Watson

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#3 lore raw
In reply to Rajesh Srivastava

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

Quoted 12 lines · Rajesh Srivastava

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.

Quoted 10 lines

Thanks.

Rajesh

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/