Rate Limit in a Bridge?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > Rate Limit in a Bridge?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Rate Limit in a Bridge?  
Fravo


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-19-07 12:32 PM

Hi all,

I have a bridge (br0) and I need to rate the number of packets per
second that is forwarded, is there a way to do this?

I`m trying with these rules

iptables -A FORWARD -m physdev --physdev-in eth0 -m limit --limit 1/
minute -j ACCEPT
iptables -A FORWARD -m physdev --physdev-out eth1 -m limit --limit 1/
minute -j ACCEPT

and nothing is done.

So, what can I do to solve this problem?






[ Post a follow-up to this message ]



    Re: Rate Limit in a Bridge?  
Komal


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-25-07 12:22 AM

On Oct 19, 4:47 pm, Fravo <fravo.cr...@gmail.com> wrote:
> Hi all,
>
> I have a bridge (br0) and I need to rate the number of packets per
> second that is forwarded, is there a way to do this?
>
> I`m trying with these rules
>
> iptables -A FORWARD -m physdev --physdev-in eth0 -m limit --limit 1/
> minute -j ACCEPT
> iptables -A FORWARD -m physdev --physdev-out eth1 -m limit --limit 1/
> minute -j ACCEPT
>
> and nothing is done.
>
> So, what can I do to solve this problem?

Concept of packet is related to layer 3 that is network layer.Bridge
operate at layer 2.You should use ebtables or Use a simple token
bucket filter.Rules you mention will not work with bridge.

Komal






[ Post a follow-up to this message ]



    Re: Rate Limit in a Bridge?  
Fravo


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-28-07 06:25 PM

On Oct 24, 4:58 pm, Komal <komal.sha...@gmail.com> wrote:
> On Oct 19, 4:47 pm, Fravo <fravo.cr...@gmail.com> wrote:
> 
> 
> 
> 
> 
> 
>
> Concept of packet is related to layer 3 that is network layer.Bridge
> operate at layer 2.You should use ebtables or Use a simple token
> bucket filter.Rules you mention will not work with bridge.
>
> Komal

Thanks, but does token bucket filter limit packet rate? I tried with
ebtables but the result is the same old shit...






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:42 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register