LARTC
[Top] [All Lists]

Re: [LARTC] about default filter command

To: Vincent Dautremont <vdautrem@ulb.ac.be>
Subject: Re: [LARTC] about default filter command
From: Andy Furniss <lists@andyfurniss.entadsl.com>
Date: Fri, 27 Jul 2007 11:30:13 +0100
Cc: lartc@mailman.ds9a.nl
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
In-reply-to: <5C822E76-E686-499C-B408-90EF00C1494C@ulb.ac.be>
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>
References: <5C822E76-E686-499C-B408-90EF00C1494C@ulb.ac.be>
Reply-to: lists@andyfurniss.entadsl.com
Sender: lartc-bounces@mailman.ds9a.nl
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1.2) Gecko/20070227 SeaMonkey/1.1.1
Vincent Dautremont wrote:


# tc filter add dev eth0 protocol ip parent 10: prio 2 flowid 10:2

just give me the error: "Unknown filter flowid, hence option 1:2 is unparsable"

I am not sure if that ever worked or not - I use

tc filter add dev eth0 protocol ip parent 10: prio 2 u32 match u32 0 0 flowid 10:2

which should catch all unclassified ip traffic.

When you put prio on root there is often a further buffer that has to fill before anything happens. Also arp goes to 1:2 unless you filter it elsewhere.

Andy.


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

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