LARTC
[Top] [All Lists]

[LARTC] prio not seeming to work

To: lartc@mailman.ds9a.nl
Subject: [LARTC] prio not seeming to work
From: "Bob Puff" <bob@nleaudio.com>
Date: Sun, 18 Feb 2007 18:32:09 -0500
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
Sender: lartc-bounces@mailman.ds9a.nl
Hello,

I am trying to mess with a prio type qdisc, and must be missing something. 
Here's my sample code:

tc qdisc add dev eth0 root handle 1: prio
tc filter add dev eth0 parent 1:0 prio 1 protocol ip u32 \
  match ip dst 208.0.0.0/8 flowid 1:1
tc filter add dev eth0 parent 1:0 prio 3 protocol ip u32 \
  match ip dst 0.0.0.0/0 flowid 1:3

I would assume that any traffic going to 208.x.x.x should be getting priority
over all other traffic.  But when I set up two simultaneous FTP uploads, one
to a server in the 208.x.x.x block and one to another not in that block, both
end up at the same transfer rate.. This is going into an ADSL line.

What am I missing?

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

<Prev in Thread] Current Thread [Next in Thread>