Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] newbie questions
Date: Mon, 05 May 2003 18:10:25 +0000	[thread overview]
Message-ID: <marc-lartc-105215852420581@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101933613003673@msgid-missing>

On Monday 05 May 2003 19:45, Graste wrote:
> Hi,
>
> since this is my first post to this mailing list, I want to start with some
> smaller questions: Are there any pages with information about the tc filter
> command and its uses? I found no really helpful ressources when it comes to
> u32 matches etc. Or are there man-pages available anywhere? I want to
> filter clients by their hardware address (mac address) not ip:
>
> tc filter add dev eth1 protocol ip parent 1:0 u32 match ???
The only doc I have is 
http://www.docum.org/stef.coene/qos/docs/u32-filter.html

> Is it only possible to check ip, icmp, tcp or udp protocol with the match
> statement? Or could I determine the hardware address too? That would be
> nice to know - because otherwise I think I have to use iptables to mark
> packets, don't I?
I'm not an u32 specialist my self.  But you can use any bit in the packet to 
match.

> Next (short) thing: Do the digits of the integer values that I use as
> identifiers for classes using htb need to have some sort of "order"? Or is
> the hierarchical order only given by the "parent x:y" statement (as I
> expect)?
The htb numbering has no special meaning.  Only the parent option is 
important.

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

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

  parent reply	other threads:[~2003-05-05 18:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-20 20:54 [LARTC] Newbie questions Carlos del Castillo
2002-04-20 21:12 ` Stef Coene
2002-04-21 21:42 ` Carlos del Castillo
2002-04-21 22:03 ` Patrick McHardy
2002-04-21 22:05 ` Patrick McHardy
2002-04-21 23:03 ` PiotR
2002-04-22  7:24 ` Stef Coene
2003-05-05 17:45 ` [LARTC] newbie questions Graste
2003-05-05 18:10 ` Stef Coene [this message]
2004-03-25 21:00 ` Paul Albert
2004-03-28 15:46 ` Stef Coene

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-105215852420581@msgid-missing \
    --to=stef.coene@docum.org \
    --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