Re: Limit filters

Linux Advanced Routing and Traffic Control

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

 



On Wednesday 05 May 2004 18:37, PaweÅ Staszewski wrote:
> it is posible to do more than 2048 filter rules and classes like this:
>
>
>         /sbin/tc class add dev eth1 parent 1:15 classid 1:101 htb rate
> 1kbit ceil 6128kbit prio 1 quantum 1500 /sbin/tc filter add dev eth1
> protocol ip pref 0 parent 1: u32 match ip dst 10.10.24.17 flowid 1:101
> /sbin/tc qdisc add dev eth1 parent 1:101 handle 101: sfq
>
>
>
>         /sbin/tc class add dev eth1 parent 1:15 classid 1:102 htb rate
> 1kbit ceil 6128kbit prio 1 quantum 1500 /sbin/tc filter add dev eth1
> protocol ip pref 0 parent 1: u32 match ip dst 10.6.40.42 flowid 1:102
> /sbin/tc qdisc add dev eth1 parent 1:102 handle 102: sfq
>
>
>         /sbin/tc class add dev eth1 parent 1:15 classid 1:103 htb rate
> 1kbit ceil 6128kbit prio 1 quantum 1500 /sbin/tc filter add dev eth1
> protocol ip pref 0 parent 1: u32 match ip dst 10.6.84.37 flowid 1:103
> /sbin/tc qdisc add dev eth1 parent 1:103 handle 103: sfq
>
>
>         /sbin/tc class add dev eth1 parent 1:15 classid 1:104 htb rate
> 1kbit ceil 6128kbit prio 1 quantum 1500 /sbin/tc filter add dev eth1
> protocol ip pref 0 parent 1: u32 match ip dst 10.4.206.47 flowid 1:104
> /sbin/tc qdisc add dev eth1 parent 1:104 handle 104: sfq
>
> when i reach the 2048 number of the next inserted rule give a message :
>
> RTNETLINK answers: File exists
Just wondering, do you know the numbers are hex?

Stef

-- 
stef.coene@xxxxxxxxx
Â"Using Linux as bandwidth manager"
  Âhttp://www.docum.org/
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


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