All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gabriel Paues <gabriel@sics.se>
To: lartc@vger.kernel.org
Subject: [LARTC] I can not set up filters
Date: Wed, 03 Jul 2002 14:35:06 +0000	[thread overview]
Message-ID: <marc-lartc-102570699018469@msgid-missing> (raw)

Hello!

I have set up a htb qdisc:
# tc qdisc show dev eth1
qdisc htb 1: r2q 10 default 12 direct_packets_stat 0

with the following classes attached to it

#tc class show dev eth1     
class htb 1:11 parent 1:1 prio 0 rate 80Kbit ceil 800Kbit burst 1575b
cburst 1969b 
class htb 1:1 root rate 800Kbit ceil 800Kbit burst 1969b cburst 1969b 
class htb 1:10 parent 1:1 prio 0 rate 240Kbit ceil 800Kbit burst 1772b
cburst 1969b 
class htb 1:12 parent 1:1 prio 0 rate 480Kbit ceil 800Kbit burst 1181b
cburst 1969b 

When I try to attach filters to it i get the following answer:
# tc filter add dev eth1 protocol ip parent 1:0 prio 1 u32 match ip
dport 80 0xffff flowid 1:10
RTNETLINK answers: Invalid argument

What am I doing wrong?

I Would really appreciate your help.

Regards,

Gabriel Paues
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

             reply	other threads:[~2002-07-03 14:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-03 14:35 Gabriel Paues [this message]
2002-07-03 14:42 ` [LARTC] I can not set up filters Martin Devera
2002-07-03 14:44 ` Gabriel Paues
2002-07-03 14:46 ` Bjoern Metzdorf
2002-07-03 14:54 ` Bjoern Metzdorf

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=marc-lartc-102570699018469@msgid-missing \
    --to=gabriel@sics.se \
    --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.