Re: TC basic match problems

Linux Advanced Routing and Traffic Control

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

 



Peter Rabbitson wrote:
Hello,

I am attempting to match on a single bit of the NF mark value, and after hours of reading and googling I can not get the syntax right. It got to be something very simple, yet I can't find it. Any help will be greatly appreciated.


Hmm

wouldn't something like:

tc filter add dev eth0 proto ip prio 1 parent 1:0 u32 match mark 0x80 0x80 flowid 1:1

suffice ?


root@Arzamas:/etc/init.d# tc filter add dev wan_b protocol ip prio 2 parent 1:0 basic match meta\(nf_mark mask 0x80 eq 0x80\) flowid 1:0x80
RTNETLINK answers: No such file or directory
We have an error talking to the kernel

Are required modules loaded and/or options compiled ?

The syntax seems fine.
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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