Re: Problems when using tc.

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



On 26/03/2014 07:27, jason.zhao@xxxxxxxxxxxx wrote:
> On 3/25/2014 11:47 PM, jason.zhao@xxxxxxxxxxxx wrote:
>> [jason@localhost network]$ sudo tc filter add dev eth0  parent 0: protocol ip  u32 match ip dport 2323 0xffff flowid 1:0
>>
>> RTNETLINK answers: Operation not supported
>
> tc is extremely picky and hard to debug with such lovely specific
> errors. (<= blatant sarcasm)
>
>
>
>
>

This is an example TC script I used to use. This has port matching included.

http://pastebin.com/4ytunLSu

It's been a few years since I looked at tc (this comes from a rhel3 server)

But IIRC it worked fine.

Tris


*************************************************************
This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity 
to whom they are addressed. If you have received this email 
in error please notify postmaster@xxxxxxxx

The views expressed within this email are those of the 
individual, and not necessarily those of the organisation
*************************************************************
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux