From: Tomasz Paszkowski Date: Thu, 13 Jan 2005 09:06:29 +0000 Subject: Re: [LARTC] hashing filters Message-Id: <20050113090629.GB29469@krezus.e-wro.net> MIME-Version: 1 Content-Type: multipart/mixed; boundary="RASg3xLB4tUQ4RcS" List-Id: References: In-Reply-To: To: lartc@vger.kernel.org --RASg3xLB4tUQ4RcS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 12, 2005 at 07:08:03PM +0100, Valton Hashani wrote: change te script to: i=3D0; while [ $i -le 254 ] do hexi=3D`echo "obase=3D16; $i" | bc` tc filter add dev eth0 protocol ip parent 1:2 u32 ht 2:$hexi: match ip dst= 192.168.$j.$i flowid 1:3 i=3D$((i+1)) done connected with modifications from previous mail it should work. --=20 Tomasz Paszkowski Administrator Miejskie Sieci Informatyczne e-wro http://www.e-wro.pl --RASg3xLB4tUQ4RcS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFB5joVcNXOL98XeysRAur/AJkBcbCZkdsxO1+077EeaBEdn4ZT4wCfft1+ p0QvY3C9Fe6kTZAdFe5LbDc= =aS4w -----END PGP SIGNATURE----- --RASg3xLB4tUQ4RcS-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/