All of lore.kernel.org
 help / color / mirror / Atom feed
From: o7sh@actcom.net.il
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Server and router on the same box
Date: Thu, 07 Jul 2005 22:43:08 +0000	[thread overview]
Message-ID: <200507080143.08465.o7sh@actcom.net.il> (raw)
In-Reply-To: <200507062353.46601.o7sh@actcom.net.il>


> To make upstream fully available to your webserver, I suggest using a PRIO
> qdisc with 2 bands... band one for webserver traffic, band two for
> everything else.
>
> The PRIO qdisc will make sure that your webserver always gets to send his
> packets first. LAN traffic will only be allowed to send when the webserver
> sent all his packets.
>
Hi again..
it sounds like just what I need but I find it hard to implement.
Here are my rules:
-----
tc qdisc add dev ppp0 root handle 1: prio
tc filter add dev ppp0 parent 1:0 protocol ip prio 1 u32 match ip sport 80 
0xffff flowid 1:1
tc filter add dev ppp0 parent 1:0 protocol ip prio 3 u32 
-----
I've been testing this for a while. But still got the dowload running while 
the upstream was full...
Can you explain why?

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

      parent reply	other threads:[~2005-07-07 22:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-06 20:53 [LARTC] Server and router on the same box o7sh
2005-07-07  4:39 ` Andreas Klauer
2005-07-07  8:51 ` o7sh
2005-07-07  9:18 ` Andreas Klauer
2005-07-07 22:43 ` o7sh [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=200507080143.08465.o7sh@actcom.net.il \
    --to=o7sh@actcom.net.il \
    --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.