From: Stef Coene Date: Thu, 13 Nov 2003 19:00:54 +0000 Subject: Re: [LARTC] [u32] match multiply IP addresses Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Thursday 13 November 2003 16:19, raptor wrote: > /sbin/tc filter add dev eth0 parent 1:1 protocol all prio 1 u32 match ip > dst x.x.x.10 match ip dst x.x.x.11 classid 2:7 > > Illegal "match" > > what is wrong with this... how to match multiply ip addresses ? > how many ip address checks I can chain ? 1. Just duplicate the filter : /sbin/tc filter add dev eth0 parent 1:1 protocol all prio 1 u32 match ip dst x.x.x.11 classid 2:7 /sbin/tc filter add dev eth0 parent 1:1 protocol all prio 1 u32 match ip dst x.x.x.11 classid 2:7 Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.openprojects.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/