All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: ***SPAM*** [LARTC] IFB & 802.1q
@ 2007-05-31 14:41 Marek Kierdelewicz
  0 siblings, 0 replies; only message in thread
From: Marek Kierdelewicz @ 2007-05-31 14:41 UTC (permalink / raw)
  To: lartc

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
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-05-31 14:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-31 14:41 ***SPAM*** [LARTC] IFB & 802.1q Marek Kierdelewicz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.