From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?Matias_Bj=F8rling?= Date: Fri, 16 May 2003 17:22:16 +0000 Subject: [LARTC] TC and Hashing HEX Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Hi I'm doing some hashing filtering with this script. tc qdisc add dev eth0 root handle 1: cbq avpkt 1000 bandwidth 100mbit tc class add dev eth0 parent 1: classid 1:2 cbq rate 2000kbit allot 1500 prio 5 bounded tc filter add dev eth0 parent 1:2 handle 2: protocol ip u32 divisor 254 tc filter add dev eth0 protocol ip parent 1: u32 match ip src 10.0.1.0/24 hashkey mask 0x000000ff at 12 link 2: tc class add dev eth0 parent 1:2 classid 1:11 cbq rate 160kbit allot 1500 prio 5 bounded isolated tc filter add dev eth0 protocol ip parent 1:2 u32 ht 2:2: match ip src 10.0.1.2 flowid 1:11 to tc class add dev eth0 parent 1:2 classid 1:263 cbq rate 160kbit allot 1500 prio 5 bounded isolated tc filter add dev eth0 protocol ip parent 1:2 u32 ht 2:fe: match ip src 10.0.1.254 flowid 1:263 But when i initialize the last line, i get an error. I think it's the last hex code FE, that tc wont accept, for the last "match ip" 254. I want to match on the last ip too, what's wrong? Thanks Regards Matias Bj=F8rling _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/