On Wed, 2004-11-24 at 16:59 +0200, Claudiu Gafton wrote: > On Wed, 2004-11-24 at 15:15 +0100, LluÃs Gili wrote: > > 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. > > perturb 10 it's used by default!!! > nice parent class 5:1323 :o > > > 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 > > When you "--set-mark 1323", iptables try to transform it in HEX... give > it a lower value, like 132! 1323 in HEX = 52B and I think that it > doesn't know how to use 52B as a mark... Oh.... sorry, it works ! I put in PREROUTING a MARK 1323 and it was transformed OK into 0x52b ! I think that the problem it's the egress append! Please be more specific! > > > 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: > > > > 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 !!! -- Claudiu Gafton <lartc@xxxxx> Alvatec Data SRL _______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/