% rpm -q kernel-image-ovz-smp kernel-image-ovz-smp-2.6.18-alt18 % rpm -q vzctl vzctl-3.0.22-alt1 I'm trying to configure some QoS in VE. I can add qdisc-s and classes without troubles, but adding tc filter is a problem. [root@router /]# tc qdisc show dev eth0 qdisc htb 1: r2q 10 default 30 direct_packets_stat 4 [root@router /]# tc class show dev eth0 class htb 1:1 root rate 120000bit ceil 120000bit burst 6Kb cburst 1749b class htb 1:10 parent 1:1 prio 1 rate 120000bit ceil 120000bit burst 6Kb cburst 1749b class htb 1:20 parent 1:1 prio 2 rate 108000bit ceil 108000bit burst 6Kb cburst 1734b class htb 1:30 parent 1:1 prio 3 rate 96000bit ceil 110000bit burst 6Kb cburst 1736b Trying to add filter: no errors reported, but filter is absent! [root@router /]# tc filter add dev eth0 parent 1:1 protocol ip prio 2 u32 match ip dport 80 0xffff flowid 1:20 [root@router /]# tc filter show dev eth0 [root@router /]# And there is not possible to add filter with filtertype "handle": [root@router /]# tc filter add dev eth0 parent 1:1 protocol ip prio 1 handle 1 fw classid 1:10 RTNETLINK answers: Invalid argument We have an error talking to the kernel P.S. eth0 is the physical interface that was moved from HN to VE with vzctl --netdev_add ...
Кстати tc filter в HN тоже не добавляется точно так же.
reassign
please test with kernel-image-ovz-smp-2.6.18-alt21 and post result here.
Nothing changed.
Поддержка данного ядра мною прекращена. Feel free to maintain.
Before adding "parent 1:1" filters need to create filter for "parent 1:0". NOTABUG