From: Andy Furniss <adf.lists@gmail.com>
To: lartc@vger.kernel.org
Subject: Re: traffic control on multiple interfaces
Date: Wed, 29 Oct 2014 16:01:23 +0000 [thread overview]
Message-ID: <54510F53.6000005@gmail.com> (raw)
In-Reply-To: <CAA5aLPi3WWWOCFxp+Y28b1=JiVgHBFSwWJieTpj6QzaxX6qu2w@mail.gmail.com>
Andy Furniss wrote:
> Akshat Kakkar wrote:
>> I am having a linux system with 4 nics (eth0-3) which is acting as
>> a router. I want to give my user a fix bandwidth of 2mbps upload
>> and 2mbps download. His traffic can come from eth0 or eth1 and it
>> can go out from eth2 or eth3 (depending on services he want to
>> access). So for this, I require tc to be working on "eth2 and eth3"
>> as single entity (for upload traffic); and "eth0 and eth1" as
>> single entity (for download traffic). I want to use egress control
>> and not ingress (using IMQ, etc.)
>>
>> What are options available to achieve this?
>
> Use 2 ifbs for tc and direct to one from eth0/1 and the other
> eth2/3.
Forgot to put - for egress on the eths if you don't have any "real"
qdisc on the eth you won't be able to add the filters to redirect, so
just add say prio.
next prev parent reply other threads:[~2014-10-29 16:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-27 12:36 traffic control on multiple interfaces Akshat Kakkar
2014-10-29 15:58 ` Andy Furniss
2014-10-29 16:01 ` Andy Furniss [this message]
2014-10-30 4:35 ` Akshat Kakkar
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=54510F53.6000005@gmail.com \
--to=adf.lists@gmail.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 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.