Combining ingress and egress ( IMQ+HTB)
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/
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/
[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/
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/