Re: hashing filters

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 12, 2005 at 07:08:03PM +0100, Valton Hashani wrote:

change te script to:
i=0;
while [ $i -le 254 ]
do
	hexi=`echo "obase=16; $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=$((i+1))
done

connected with modifications from previous mail it should work.

-- 
Tomasz Paszkowski
Administrator
Miejskie Sieci Informatyczne e-wro
http://www.e-wro.pl

Attachment: pgpa6zmQdpj2M.pgp
Description: PGP signature


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux