All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Furniss <lists@andyfurniss.entadsl.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] fwmark filter doesn't work as expected
Date: Mon, 26 Jun 2006 11:51:52 +0000	[thread overview]
Message-ID: <449FCA58.2080507@andyfurniss.entadsl.com> (raw)
In-Reply-To: <448FE040.4000009@uznam.net.pl>

Micha³ Margula wrote:
> Hello!
> 
> 	Currently I am marking packets with IPMARK, and then using following rules:
> 
> 	1: class add dev eth0 parent 1:4 classid 1:100a htb rate $rate ceil
> $ceil quantum 1600
> 	2: qdisc add dev eth0 parent 1:100a handle 100a:0 sfq perturb 10
> 	3: filter add dev eth0 protocol ip parent 1:0 pref 30 handle 	4106 fw
> classid 1:100a
> 	4: class add dev eth1 parent 1:2 classid 1:100a htb rate $rate ceil
> $ceil quantum 1600
> 	5: qdisc add dev eth1 parent 1:100a handle 100a:0 sfq perturb 10
> 	6: filter add dev eth1 protocol ip parent 1:0 pref 30 u32 match ip dst
> 10.100.0.10 flowid 1:100a
> 
> Tried to remove line 3 and just putting one line instead:
> 
> 	filter add dev eth0 parent 1:0 protocol ip pref 30 fw
> 
> But it does not work. Any ideas?
> 

You need to mark with the major number aswell so mark with 0x1100a

Andy.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

      reply	other threads:[~2006-06-26 11:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-14 10:09 [LARTC] fwmark filter doesn't work as expected Michał Margula
2006-06-26 11:51 ` Andy Furniss [this message]

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=449FCA58.2080507@andyfurniss.entadsl.com \
    --to=lists@andyfurniss.entadsl.com \
    --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 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.