LARTC
[Top] [All Lists]

[LARTC] Re: RED to use ECN (or work at all?)

To: lartc@mailman.ds9a.nl
Subject: [LARTC] Re: RED to use ECN (or work at all?)
From: Christian Benvenuti <christian.benvenuti@libero.it>
Date: Mon, 25 Jun 2007 22:21:17 +0200
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
Hi Daniel,

>Dear Community,
>
>sorry for the somewhat dumb question.  Maybe someone has any pointer  
>to how to setup the RED queue to mark pakets with ECN. In particular  
>what are appropriate parameter settings for limit, min, max, etc.
>
>All my trials end up with either "RTNETLINK answers: Invalid  
>argument", although the command line (at least for me) looks fine in  
>regard to what is said on the man page.
>
>"tc qdisc replace dev lo red limit 10kb min 2kb max 8kb avpkt 1000  
>burst 12 ecn" being one such example.

You did not specify where to attach the qdisc:
(see the keyword "root")

tc qdisc replace dev lo root \
        red limit 10kb min 2kb max 8kb avpkt 1000 burst 12 ecn

>I am using kernel version 2.6.16.29 and the most recent iproute2  
>package.
>
>Thanks in advance,
>Daniel

Regards
/Christian
[ http://benve.info ]


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

<Prev in Thread] Current Thread [Next in Thread>
  • [LARTC] Re: RED to use ECN (or work at all?), Christian Benvenuti <=