***SPAM*** [LARTC] IFB & 802.1q

Marek Kierdelewicz marek at piasta.pl
Thu May 31 16:41:24 CEST 2007


Hi,

>tc filter add dev eth0.10 parent root protocol ip priority 10 u32 match
>u32 0 0 flowid 1: action mirred egress redirect dev ifb0
>tc filter add dev eth0.20 parent root protocol ip priority 10 u32 match
>u32 0 0 flowid 1: action mirred egress redirect dev ifb0

Try to add htb qdisc and attach your filter to qdisc instead of root. I
think I used such configuration some time ago. As for filter rule,
something like that worked for me:

tc filter add dev ethX.X protocol ip parent 1: prio 4 u32 match ip
dst 0.0.0.0/0 flowid :1 action mirred egress redirect dev ifbX

cheers,
Marek Kierdelewicz
KoBa ISP


More information about the LARTC mailing list