From: Andy Furniss Date: Mon, 26 Jun 2006 11:51:52 +0000 Subject: Re: [LARTC] fwmark filter doesn't work as expected Message-Id: <449FCA58.2080507@andyfurniss.entadsl.com> List-Id: References: <448FE040.4000009@uznam.net.pl> In-Reply-To: <448FE040.4000009@uznam.net.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Micha=B3 Margula wrote: > Hello! >=20 > Currently I am marking packets with IPMARK, and then using following rul= es: >=20 > 1: class add dev eth0 parent 1:4 classid 1:100a htb rate $rate ceil > $ceil quantum 1600 > 2: qdisc add dev eth0 parent 1:100a handle 100a:0 sfq perturb 10 > 3: filter add dev eth0 protocol ip parent 1:0 pref 30 handle 4106 fw > classid 1:100a > 4: class add dev eth1 parent 1:2 classid 1:100a htb rate $rate ceil > $ceil quantum 1600 > 5: qdisc add dev eth1 parent 1:100a handle 100a:0 sfq perturb 10 > 6: filter add dev eth1 protocol ip parent 1:0 pref 30 u32 match ip dst > 10.100.0.10 flowid 1:100a >=20 > Tried to remove line 3 and just putting one line instead: >=20 > filter add dev eth0 parent 1:0 protocol ip pref 30 fw >=20 > But it does not work. Any ideas? >=20 You need to mark with the major number aswell so mark with 0x1100a Andy. _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc