Dear all,

I want to redirect the incoming data to eth1 into ifb1 and at the same time mark it for further classification in the ifb device. I am using the following instruction:

# tc filter add dev eth1 parent ffff: protocol ip prio 1 u32 match u32 0 0 flowid 1:1 action ipt -j MARK --set-mark 10 action mirred egress redirect dev ifb1

However, I get the following error:

File not found
 failed to find target MARK

bad action parsing
parse_action: bad value (11:ipt)!
Illegal "action"

Anyone knows if I am missing any module? I have tried to insert all those that seemed relevant.

Otherwise, is there any other way to mark the packets before they are redirected to the ifb device? I have tried with iptables on the mangle table and forward chain, but it is not working. I have the feeling that packets are being redirected before iptables gets to mark them.

Any help is appreciated.

Best Regards

Daniel

_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to