From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?Llu=EDs_Gili?= Date: Wed, 24 Nov 2004 14:15:03 +0000 Subject: [LARTC] tc and iptables trouble Message-Id: <000a01c4d230$00a14a50$e00010ac@awacat.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0007_01C4D238.5F7BFFE0" List-Id: To: lartc@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C4D238.5F7BFFE0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 which will be the problem? I'm using Debian testing, with kernel 2.6.9 compiled with netfilter = patches, iptables 1.2.11, iproute2 2.6.9-1, and I have these modules = loaded:=20 Module Size Used by ebt_mark_m 1096 - ebt_mark 1096 - ebtables 17768 - ipt_mark 1128 - sch_wrr 11176 - sch_teql 4168 - sch_dsmark 5224 - cls_route 4936 - ipt_tcpmss 1640 - cls_tcindex 5256 - cls_u32 5772 - sch_ingress 2604 - ipt_TCPMSS 3208 - iptable_filter 1864 - ipt_MARK 1512 - cls_fw 3208 - iptable_mangle 1832 - ppp_async 7816 - crc_ccitt 1512 - ip_gre 8672 - sch_esfq 4936 - sch_netem 4808 - ipt_connlimit 2248 - ipt_connmark 1160 - sch_gred 5704 - sch_red 3368 - sch_hfsc 16360 - sch_cbq 13864 - sch_prio 3528 - sch_tbf 4168 - iptable_nat 20264 - ip_conntrack 37076 - ip_tables 13440 - ppp_mppe_mppc 13384 - ppp_generic 17788 - slhc 6312 - sch_sfq 4168 - sch_htb 20488 - rtc 8640 - 8139too 16936 - mii 3464 - crc32 3688 - Thank you for your time, and sorry my BAD english !!! ------=_NextPart_000_0007_01C4D238.5F7BFFE0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi all
I have a trouble configuring the = qdiscs, when I=20 indicate the "perturb 10" option to tc, i gives me this = error:
 
tc qdisc add dev eth0 parent 5:1323 = handle 1323 sfq=20 perturb 10
RTNETLINK answers: Invalid argument
 
if I don't put the "perturb 10" option, = it=20 works.
 
another question is about iptables, = when I indicate=20 the " --set-mark" option:
 
iptables -t mangle -A egress -s = 10.0.0.124 -j MARK=20 --set-mark 1323
iptables: Invalid argument
 
which will be the = problem?
I'm using Debian testing, with kernel = 2.6.9=20 compiled with netfilter patches, iptables 1.2.11, iproute2 2.6.9-1, and = I have=20 these modules loaded:
 
Module         &nbs= p;       =20 Size  Used=20 by
ebt_mark_m         &nb= sp;   =20 1096 =20 -
ebt_mark          =      =20 1096 =20 -
ebtables          =     =20 17768 =20 -
ipt_mark          =      =20 1128 =20 -
sch_wrr          &= nbsp;    =20 11176 =20 -
sch_teql          =      =20 4168 =20 -
sch_dsmark         &nbs= p;   =20 5224 =20 -
cls_route          = ;    =20 4936 =20 -
ipt_tcpmss         &nbs= p;   =20 1640 =20 -
cls_tcindex         &nb= sp;  =20 5256 =20 -
cls_u32          &= nbsp;     =20 5772 =20 -
sch_ingress         &nb= sp;  =20 2604 =20 -
ipt_TCPMSS         &nbs= p;   =20 3208 =20 -
iptable_filter         = =20 1864 =20 -
ipt_MARK          =      =20 1512 =20 -
cls_fw          &n= bsp;      =20 3208 =20 -
iptable_mangle         = =20 1832 =20 -
ppp_async          = ;    =20 7816 =20 -
crc_ccitt          = ;    =20 1512 =20 -
ip_gre          &n= bsp;      =20 8672 =20 -
sch_esfq          =      =20 4936 =20 -
sch_netem          = ;    =20 4808 =20 -
ipt_connlimit         &= nbsp;=20 2248 =20 -
ipt_connmark         &n= bsp; =20 1160 =20 -
sch_gred          =      =20 5704 =20 -
sch_red          &= nbsp;     =20 3368 =20 -
sch_hfsc          =     =20 16360 =20 -
sch_cbq          &= nbsp;    =20 13864 =20 -
sch_prio          =      =20 3528 =20 -
sch_tbf          &= nbsp;     =20 4168 =20 -
iptable_nat         &nb= sp; =20 20264 =20 -
ip_conntrack         &n= bsp;=20 37076 =20 -
ip_tables          = ;   =20 13440 =20 -
ppp_mppe_mppc          = 13384 =20 -
ppp_generic         &nb= sp; =20 17788 =20 -
slhc          &nbs= p;        =20 6312 =20 -
sch_sfq          &= nbsp;     =20 4168 =20 -
sch_htb          &= nbsp;    =20 20488 =20 -
rtc           = ;         =20 8640 =20 -
8139too          &= nbsp;    =20 16936 =20 -
mii           = ;         =20 3464 =20 -
crc32          &nb= sp;       =20 3688  -
Thank you for your time, and sorry my = BAD english=20 !!!
------=_NextPart_000_0007_01C4D238.5F7BFFE0-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/