I think I am doing all well, but IMQ is not capturing my incoming packets (tc statics show 0 packets on imq0) How could I have a log to find where is the problem ? -- __o _ \<_ (_)/(_) Saludos de Julián EA4ACL -.- Foro Wireless Madrid http://opennetworks.rg3.net
did you ifconfig imq0 up ? On Tue, 28 May 2002, [ISO-8859-1] Julián Muńoz wrote:> > I think I am doing all well, but IMQ is not capturing my incoming packets > (tc statics show 0 packets on imq0) > > How could I have a log to find where is the problem ? > > -- > > __o > _ \<_ > (_)/(_) > > Saludos de Julián > EA4ACL > -.- > > Foro Wireless Madrid > http://opennetworks.rg3.net > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ > >
make sure imq0 is up and you have a rule like "iptables -t mangle -A PREROUTING -i eth0 -j IMQ". patrick Julián Muñoz wrote:>I think I am doing all well, but IMQ is not capturing my incoming packets >(tc statics show 0 packets on imq0) > >How could I have a log to find where is the problem ? >
On Tue, 28 May 2002, Patrick McHardy wrote:> make sure imq0 is up and you have a rule like "iptables -t mangle -A > PREROUTING -i eth0 -j IMQ".If you do "iptables -L PREROUTING -t mangle" just after this, I don''t see the IMQ rule in the list. I am using the precompiled iptables library (iptables 1.2.5), so maybe they don''t match well with my iptable (1.2.2) ? -- __o _ \<_ (_)/(_) Saludos de Julián EA4ACL -.- Foro Wireless Madrid http://opennetworks.rg3.net
Solved, I had to install a more modern iptable :-) Now ingress traffic shapping seem to work, just testing it with ksnuffle (in order to see the graph of the traffic) :-) On Wed, 29 May 2002, Julián Muñoz wrote:> On Tue, 28 May 2002, Patrick McHardy wrote: > > > make sure imq0 is up and you have a rule like "iptables -t mangle -A > > PREROUTING -i eth0 -j IMQ". > > If you do "iptables -L PREROUTING -t mangle" just after this, I don''t see > the IMQ rule in the list. > > I am using the precompiled iptables library (iptables 1.2.5), so > maybe they don''t match well with my iptable (1.2.2) ? > >-- __o _ \<_ (_)/(_) Saludos de Julián EA4ACL -.- Foro Wireless Madrid http://opennetworks.rg3.net