From mboxrd@z Thu Jan 1 00:00:00 1970 From: o7sh@actcom.net.il Date: Thu, 07 Jul 2005 22:43:08 +0000 Subject: Re: [LARTC] Server and router on the same box Message-Id: <200507080143.08465.o7sh@actcom.net.il> List-Id: References: <200507062353.46601.o7sh@actcom.net.il> In-Reply-To: <200507062353.46601.o7sh@actcom.net.il> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org > 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