All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Police to xxx mbit with port range
Date: Tue, 12 Feb 2002 08:23:24 +0000	[thread overview]
Message-ID: <marc-lartc-101350223402695@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101338578825092@msgid-missing>

On Monday 11 February 2002 23:32, Mark Beck wrote:
> Oh so helpful!
>
> In the howto it only mentions how to do this on a single port basis - and I
> cant find TC documentation:
>
> # tc filter add dev eth0 protocol ip parent 10: prio 1 u32 match ip sport
> 80 0xffff flowid 10:1
>
> I assume after the 80 we have a hex mask, so would the following match
> ports 10240->10751?
>
> # tc filter add dev eth0 protocol ip parent 10: prio 1 u32 match ip sport
> 10240 0x200 flowid 10:1
Goog guess :-)  But I never tried it myself.


Stef

-- 

stef.coene@docum.org
 More QOS info : http://www.docum.org/
 Title : "Using Linux as bandwidth manager"
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

      parent reply	other threads:[~2002-02-12  8:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-10 22:25 [LARTC] Police to xxx mbit with port range Mark beck
2002-02-11 10:04 ` Stef Coene
2002-02-11 22:32 ` Mark Beck
2002-02-12  8:23 ` Stef Coene [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=marc-lartc-101350223402695@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 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.