From: "Soulfly" <zob_soulfly@hotmail.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] adding ingress and egress
Date: Sat, 13 Apr 2002 00:07:36 +0000 [thread overview]
Message-ID: <marc-lartc-101865646031855@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101864973327493@msgid-missing>
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/
prev parent reply other threads:[~2002-04-13 0:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-12 22:10 [LARTC] adding ingress and egress Arvid Stuewe
2002-04-13 0:07 ` Soulfly [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-101865646031855@msgid-missing \
--to=zob_soulfly@hotmail.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox