Hello YANG Zhe!
On Sun, Jun 17, 2012 at 08:26:50PM +0800, YANG Zhe wrote: [...] > tc filter add dev wlan0 parent ffff: protocol ip pref 20 u32 match u32 > 0 0 action xt -s 8.8.8.8 -j MARK --set-mark 1 > > but neither --set-mark nor -s can be used. Not that I know anything about this, but I think you can /only/ use -j with the tc xt module. To accomplish what you want to do thus do "tc .... xt ... -j MYSETMARK1CHAIN" then use iptables to create that chain and add a rule to it that sets the mark to 1 for everything jumping there. Please report back with your result! -- Andreas Henriksson -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org