* [LARTC] adding ingress and egress
@ 2002-04-12 22:10 Arvid Stuewe
2002-04-13 0:07 ` Soulfly
0 siblings, 1 reply; 2+ messages in thread
From: Arvid Stuewe @ 2002-04-12 22:10 UTC (permalink / raw)
To: lartc
Hi!
I'm trying to shape my traffic based on the sum of in- and outgoing traffic,
but haven't been able to find any hints in the HOWTO.
What I want is, that the sum of in- and outgoing traffic does not exceed a
given limit, but that both can borrow traffic. For example when there is no
incoming traffic, outgoing traffic may use all bandwidth, but when when
there is more incoming traffic, outgoing should stay below a limit. (just
like the webserver and smtp example from the CBQ-Chapter, but either with to
interfaces or with ingress and egress bounded together)
I was already considering writing a script that checks the current traffic
total and then adjusts the numbers in the qdiscs accordingly, but I think it
would be better if I could do it with iproute2 alone, but I just can't
figure out how.
Any suggestions?
Arvid
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] adding ingress and egress
2002-04-12 22:10 [LARTC] adding ingress and egress Arvid Stuewe
@ 2002-04-13 0:07 ` Soulfly
0 siblings, 0 replies; 2+ messages in thread
From: Soulfly @ 2002-04-13 0:07 UTC (permalink / raw)
To: lartc
If you use IMQ you can should be able to send all incoming/outgoing packets
to the same egress qdisc.You can use HTB with two classes below root qdisc,
one for incoming packets and one for outgoing packets. Just a thought but
well worth trying.
There will surly be problems though and some finetuning.
Can he use iptables to separate the incoming/outgoing packets from the IMQ
device?
I don't even know if all steps are solvable with routing and filtering...
anyone?
/Torgil
> Hi!
>
> I'm trying to shape my traffic based on the sum of in- and outgoing
traffic,
> but haven't been able to find any hints in the HOWTO.
>
> What I want is, that the sum of in- and outgoing traffic does not exceed a
> given limit, but that both can borrow traffic. For example when there is
no
> incoming traffic, outgoing traffic may use all bandwidth, but when when
> there is more incoming traffic, outgoing should stay below a limit. (just
> like the webserver and smtp example from the CBQ-Chapter, but either with
to
> interfaces or with ingress and egress bounded together)
>
> I was already considering writing a script that checks the current traffic
> total and then adjusts the numbers in the qdiscs accordingly, but I think
it
> would be better if I could do it with iproute2 alone, but I just can't
> figure out how.
>
> Any suggestions?
> Arvid
> _______________________________________________
> 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] 2+ messages in thread
end of thread, other threads:[~2002-04-13 0:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-12 22:10 [LARTC] adding ingress and egress Arvid Stuewe
2002-04-13 0:07 ` Soulfly
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox