Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Marek Kierdelewicz <marek@piasta.pl>
To: lartc@vger.kernel.org
Subject: Re: ***SPAM*** [LARTC] IFB & 802.1q
Date: Thu, 31 May 2007 14:41:24 +0000	[thread overview]
Message-ID: <20070531164124.24927f39@catlap> (raw)

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

                 reply	other threads:[~2007-05-31 14:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070531164124.24927f39@catlap \
    --to=marek@piasta.pl \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox