Re: traffic control on multiple interfaces

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Andy of the info.

I want to use htb and filters to classify traffic.

Can IFBs provide good performance when handling data rate of 1gbps
with pkt size of say 64 bytes?



On Wed, Oct 29, 2014 at 9:31 PM, Andy Furniss <adf.lists@xxxxxxxxx> wrote:
> 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.
--
To unsubscribe from this list: send the line "unsubscribe lartc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux