From: Andy Furniss <andy.furniss@dsl.pipex.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] marked packets end up in wrong class
Date: Fri, 11 Nov 2005 16:10:21 +0000 [thread overview]
Message-ID: <4374C26D.2040603@dsl.pipex.com> (raw)
In-Reply-To: <48338.192.16.127.216.1131718875.squirrel@webmail.sys.kth.se>
David Blomberg wrote:
> Hello,
>
> I have recently started looking at tc and iptables. I have an htb-queue
> with two classes 1:10 and 1:20 where 1:20 is the default. Then I use
> iptables to mark all packets I send out on eth1. I then filter marked
> packets into class 1:10. I expected all packets sent on eth1 to end up in
> class 1:10, but some packets still go to 1:20. Did I do it wrong?
> qdisc sfq 20: parent 1:20 limit 128p quantum 1514b perturb 10sec
> Sent 1386 bytes 33 pkt (dropped 0, overlimits 0 requeues 0)
It's arp, iptables only sees ip traffic. If you don't specify an htb
default it will pass unshaped (It would get dropped with hfsc). If you
use a default class then I would use a tc filter
... protocol arp u32 match u32 0 0 ....
to send it to a high prio/interactive class.
Andy.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
prev parent reply other threads:[~2005-11-11 16:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-11 14:21 [LARTC] marked packets end up in wrong class David Blomberg
2005-11-11 15:32 ` David Blomberg
2005-11-11 16:10 ` 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=4374C26D.2040603@dsl.pipex.com \
--to=andy.furniss@dsl.pipex.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox