[LARTC] cbq init for one port on a subnet

Linux Advanced Routing and Traffic Control

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

 



Hello,

We use cbq.init to limit bandwidth.  It works great on a per-user basis.
Now  I'd like to limit traffic from a netblock to the Internet on port 6699.

Network is 192.168.0.160  mask 255.255.255.224
eth0 is the gateway
eth1 connects the netblock in question

Is this the proper syntax;

DEVICE=eth0,10Mbit,1Mbit
RATE=100Kbit
WEIGHT=10Kbit
PRIO=5
RULE=6699 192.168.0.160/27,


Thanks!

Scott



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