Re: incoming traffic

Linux Advanced Routing and Traffic Control

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

 



<skip />
> Hello,
>
> i made this script :
> tc qdisc add dev eth0 handle ffff: ingress
<skip />
> The main goal is to limit incoming traffic from 138.96.20.23 to 15000kbit
> and the incoming traffic from 138.96.20.10 to 10000kbit. But the total must
> not exceed 20000kbit.
<skip />

Does it work? Afair, such setup is possible only with htb/cbq, not with 
policing filters. But I can stumble.

If so, consider to use imq (which can be unstable) or to shape outgoing 
traffic, if it is applicable (e.g., on a router).

If you do not have imq, but use OpenVZ or Xen with network in routed mode, you 
can try to use htb to shape traffic to a VE.
-- 
Peter V. Saveliev
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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