[CentOS] Problems when using tc.

2014-03-25 Thread jason.z...@sumscope.com






Hi, all,
I am a newbee to tc. I want to create a filter on port 2323, but got an error 
like this. Anyone can help me?
[jason@localhost network]$ sudo tc -s qdisc ls dev eth0 qdisc mq 0: root  Sent 
1483890 bytes 3617 pkt (dropped 0, overlimits 0 requeues 0)

 rate 0bit 0pps backlog 0b 0p requeues 0

[jason@localhost network]$ sudo tc filter add dev eth0  parent 0: protocol ip  
u32 match ip dport 2323 0x flowid 1:0

RTNETLINK answers: Operation not supported

We have an error talking to the kernel 

Regards,Jason


jason.z...@sumscope.com

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problems when using tc.

2014-03-26 Thread jason.z...@sumscope.com
On 3/25/2014 11:47 PM, jason.z...@sumscope.com wrote:
> [jason@localhost network]$ sudo tc filter add dev eth0  parent 0: protocol ip 
>  u32 match ip dport 2323 0x flowid 1:0
>
> RTNETLINK answers: Operation not supported

tc is extremely picky and hard to debug with such lovely specific 
errors. (<= blatant sarcasm)





-- 
john r pierce  37N 122W
somewhere on the middle of the left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos