Re: How to mark traffic on used bandwidth

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

 



On Monday 2008-06-23 12:35, Ivan Petrushev wrote:
>
>On Mon, Jun 23, 2008 at 11:23 AM, Anatoly Muliarski <x86ever@xxxxxxxxx> wrote:
>> Hi all,
>>
>> I have an upstream link with guaranteed bandwidth( name it B1 ) and extra
>> not-guaranteed bandwidth( name it B2 ).
>> How can I marking the traffic by using iptables?
>> I need one mark for B1 traffic and another for B2 traffic.
>> iptables provides -m limit match but it works with packets only,
>> but I need one based on bytes/bits per second.
>> I'll be appreciate for any ideas.

>If these two bandwitdths are on different interfaces (NICs), you can
>see real time stats with Gkrellm or other similar utility. ntop does
>it too, I think.

gkrellm/ntop won't help here.

There is -m rateest, but I have not used it before.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux