Skip to contentSkip to conversation

iptables-table empty, can't get tc to work...

LARTC André 3 participants 4 messages Jan 29, 2001 – Jan 30, 2001

lore
Share & tools
lore

André

author
#0 lore raw

<PRE>I have an ISDN connection here at my apartment and wanted to make sure to have enuf bandwidth to play a game while one of my roommates is surfing.
I compiled the 2.4 kernel for advanced routing and tos and iptables as modules.

I have iptables v1.2 and when adding a rule and then doing iptables -L the list is empty tho the rules are applied.

When I type:
tc qdisc add dev ippp0 root handle 1: cbq bandwidth 64kbit avpkt 1000 I get the error:
RTNETLINK answers: Invalid argument

I found two good howto-sites but neither of them helps:
<A HREF="http://www.ittc.ukans.edu/~rsarav/howto/howto.html">http://www.ittc.ukans.edu/~rsarav/howto/howto.html</A>
<A HREF="http://www.ds9a.nl/2.4Networking/HOWTO//cvs/2.4routing/output/2.4routing-9.html">http://www.ds9a.nl/2.4Networking/HOWTO//cvs/2.4routing/output/2.4routing-9.html</A>

I'd really appreciate some help.

Thanx in advance,
André Weidemann.

</PRE>

#1 lore raw

<PRE>Am Montag, 29. Januar 2001 18:56 schrieb André Weidemann:
&gt;<i> I have an ISDN connection here at my apartment and wanted to make sure </I>&gt;<i> to have enuf bandwidth to play a game while one of my roommates is </I>&gt;<i> surfing.
</I>&gt;<i> I compiled the 2.4 kernel for advanced routing and tos and iptables as </I>&gt;<i> modules.
</I>&gt;<i>
</I>
Try to compile this direct into the kernel. Not as modules.

Signature · 12 lines
CU
Stefan
Email: <A HREF="mailto:[email protected]">[email protected]</A>

----------------------------------------------------
My Box said: &quot;Install Win95 or better ...&quot; So I installed Linux.

Microsoft gives you Windows
Linux gives you the whole house


</PRE>
author
#2 lore raw
In reply to André

<PRE>Hi Stefan,
if I do compile it directly into the kernel it doesn't work at all. I get an error message like &quot;'filter' not found in table&quot;. I can't remember correctly.

But thx anyway,
André.

Stefan Bayer wrote:
&gt;<i>
</I>&gt;<i> Am Montag, 29. Januar 2001 18:56 schrieb André Weidemann:
</I>&gt;<i> &gt; I have an ISDN connection here at my apartment and wanted to make sure
</I>&gt;<i> &gt; to have enuf bandwidth to play a game while one of my roommates is
</I>&gt;<i> &gt; surfing.
</I>&gt;<i> &gt; I compiled the 2.4 kernel for advanced routing and tos and iptables as
</I>&gt;<i> &gt; modules.
</I>&gt;<i> &gt;
</I>&gt;<i>
</I>&gt;<i> Try to compile this direct into the kernel. Not as modules.
</I>&gt;<i> --
</I>&gt;<i> CU
</I>&gt;<i> Stefan
</I>&gt;<i> Email: <A HREF="mailto:[email protected]">[email protected]</A>
</I>&gt;<i>
</I>&gt;<i> ----------------------------------------------------
</I>&gt;<i> My Box said: &quot;Install Win95 or better ...&quot; So I installed Linux.
</I>&gt;<i>
</I>&gt;<i> Microsoft gives you Windows
</I>&gt;<i> Linux gives you the whole house
</I>&gt;<i>
</I>&gt;<i> _______________________________________________
</I>&gt;<i> LARTC mailing list / <A HREF="mailto:[email protected]">[email protected]</A>
</I>&gt;<i> <A HREF="http://mailman.ds9a.nl/mailman/listinfo/lartc">http://mailman.ds9a.nl/mailman/listinfo/lartc</A> HOWTO: <A HREF="http://ds9a.nl/2.4Routing/">http://ds9a.nl/2.4Routing/</A> </I>

</PRE>

#3 lore raw
In reply to André

<PRE>Am Montag, 29. Januar 2001 18:56 schrieben Sie:
&gt;<i> I have an ISDN connection here at my apartment and wanted to make sure </I>&gt;<i> to have enuf bandwidth to play a game while one of my roommates is </I>&gt;<i> surfing.
</I>&gt;<i> I compiled the 2.4 kernel for advanced routing and tos and iptables as </I>&gt;<i> modules.
</I>&gt;<i>
</I>&gt;<i> I have iptables v1.2 and when adding a rule and then doing iptables -L </I>&gt;<i> the list is empty tho the rules are applied.
</I>&gt;<i>
</I>&gt;<i> When I type:
</I>&gt;<i> tc qdisc add dev ippp0 root handle 1: cbq bandwidth 64kbit avpkt 1000 </I>&gt;<i> I get the error:
</I>&gt;<i> RTNETLINK answers: Invalid argument
</I>

You have to turn on the option
Prompt for development and/or incoplete code/drives
after that, you can select various options in the
networking -&gt; QoS and/or fair queueing
options menue.

Greetings
Steffen

</PRE>