? ? wrote:
Hello
I have 2 class-B networks (172.22.0.0/16 and 172.23.0.0/16, over 130k
of ip's) and need to setup
traffic tbf shapers with 64kb/s for each ip from 172.22.0.0/16 and
128kb/s for each ip from 172.23.0.0/16
just read lartc and don't understand how to use u32 for decreasing
Instead of
tc class add dev imq0 parent 1: classid 1:$clsid htb rate 128kbit
Use
tc class add dev imq0 parent 1:f000 classid 1:$clsid htb rate 128kbit
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
? ? wrote:
Hello!
yes, I no about 65000 rules and just add third interface to server. )
what about
tc filter add dev imq0 parent 1: prio 5 u32 ht 800:: match ip dst
172.22.0.0/17 hashkey mask 0x7f00 at 16 link 0: ?
shouldnt hashkey mask be 0x7fff instead of 0x7f00 ?
and if it
---BeginMessage---
? ? wrote:
Hello, Alexandru
I just adopt your script for B class net
is it correct?
tc qdisc add dev eth0 root handle 1: htb
tc class add dev eth0 parent 1: classid 1:f000 htb rate 620mbit
tc filter add dev eth0 parent 1: protocol ip prio 5 handle 0: u32
divisor
If you use HTB, you need to compile it with HTB_HSIZE set to at least 256 (in
sch_htb.c). Else your CPU will be fully loaded with even a few kpps traffic.
The problem is how HTB stores the classes, not very efficient when there are
thousands of them. I do not know if other qdiscs have the same
Hello
I have 2 class-B networks (172.22.0.0/16 and 172.23.0.0/16, over 130k
of ip's) and need to setup
traffic tbf shapers with 64kb/s for each ip from 172.22.0.0/16 and
128kb/s for each ip from 172.23.0.0/16
just read lartc and don't understand how to use u32 for decreasing
number of rules and