From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lopsch Date: Wed, 24 Nov 2004 15:41:48 +0000 Subject: Re: [LARTC] tc and iptables trouble Message-Id: <41A4ABBC.1020503@lopsch.com> List-Id: References: <000a01c4d230$00a14a50$e00010ac@awacat.com> In-Reply-To: <000a01c4d230$00a14a50$e00010ac@awacat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: lartc@vger.kernel.org Lluís Gili schrieb: > Hi all > I have a trouble configuring the qdiscs, when I indicate the "perturb 10" option to tc, i gives me this error: > > tc qdisc add dev eth0 parent 5:1323 handle 1323 sfq perturb 10 > RTNETLINK answers: Invalid argument > > if I don't put the "perturb 10" option, it works. > > another question is about iptables, when I indicate the " --set-mark" option: > > iptables -t mangle -A egress -s 10.0.0.124 -j MARK --set-mark 1323 > iptables: Invalid argument > Egress is a Chain, in this case a user defined chain. It doesn´t stand for the egress used with qdiscs. If you didn´t use a command like this iptables -N egress, there isn´t a chain like egress. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/