All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Devera <devik@cdi.cz>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Problems with filters & PRIO
Date: Fri, 01 Mar 2002 15:41:27 +0000	[thread overview]
Message-ID: <marc-lartc-101499735321120@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101499664819200@msgid-missing>

> tc qdisc add dev eth0 root handle 1: htb default 1
> tc class add dev eth0 parent 1: classid 1:1 htb rate 256kbit burst 15k
> tc qdisc add dev eth0 parent 1:1 handle 10: prio
> tc qdisc add dev eth0 parent 10:1 handle 11: sfq
> tc qdisc add dev eth0 parent 10:2 handle 12: sfq
> tc qdisc add dev eth0 parent 10:3 handle 13: sfq
> 
> This all works fine, ssh traffic falls straight into 11:, and scp
> traffic into 13:, everything else into 12:.
> 
> My problems come when I try to filter outbound traffic from port80
> into 13: (the lowpriority band).
> 
> This doesn't work:
> 
> tc filter add dev eth0 parent 1: protocol ip prio 10 u32 match ip sport 80 0xffff flowid 13:

try tc filter add dev eth0 parent 10: protocol ip prio 10 u32 match ip
sport 80 0xffff flowid 10:3
 
devik

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

  reply	other threads:[~2002-03-01 15:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-01 15:29 [LARTC] Problems with filters & PRIO Robert Collier
2002-03-01 15:41 ` Martin Devera [this message]
2002-03-01 16:00 ` Robert Collier

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-101499735321120@msgid-missing \
    --to=devik@cdi.cz \
    --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.