All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] simple (maybe idiot) question
@ 2000-10-13 17:38 Wingtung.Leung
  2000-10-13 19:08 ` bert
  2000-10-14 15:36 ` Wingtung.Leung
  0 siblings, 2 replies; 3+ messages in thread
From: Wingtung.Leung @ 2000-10-13 17:38 UTC (permalink / raw)
  To: lartc

<PRE>Hello,

I'm trying to get started with &quot;tc&quot;, using some online examples, but the
first line already returns an error.

=
$ tc qdisc add dev eth0 root handle 10:0 cbq bandwidth 10 Mbit avpkt 1000

RTNETLINK answers: Invalid argument
=

What could be wrong? There is a eth0 interface up and running. 

=
$ ip link 

2: eth0: &lt;BROADCAST,MULTICAST,UP&gt; mtu 1500 qdisc pfifo_fast qlen 100
    link/ether 00:e0:29:64:bf:87 brd ff:ff:ff:ff:ff:ff
=

I use RedHat 6.2 out of the box (kernel 2.2.14), have installed
iproute2-ss990630.

I don't mind a RTFM, it would be fine if someone could point me to the
right docs (except for the source code :-).


Thanks,

Tung






</PRE>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [LARTC] simple (maybe idiot) question
  2000-10-13 17:38 [LARTC] simple (maybe idiot) question Wingtung.Leung
@ 2000-10-13 19:08 ` bert
  2000-10-14 15:36 ` Wingtung.Leung
  1 sibling, 0 replies; 3+ messages in thread
From: bert @ 2000-10-13 19:08 UTC (permalink / raw)
  To: lartc

<PRE>On Fri, Oct 13, 2000 at 07:38:42PM +0200, Wingtung.Leung wrote:
&gt;<i> Hello,
</I>&gt;<i> 
</I>&gt;<i> I'm trying to get started with &quot;tc&quot;, using some online examples, but the
</I>&gt;<i> first line already returns an error.
</I>
You need lots of stuff enabled in the kernel. Perhaps the HOWTO should
feature a tiny chapter dedicated to this?

For you, this means that you need to recompile the kernel with QoS and
advanced routing features turned on. I asked Alan Cox of RedHat to enable
these features in the RedHat 7.0 kernel, and I think he did it.

Regards,

bert hubert

-- 
PowerDNS                     Versatile DNS Services  
Trilab                       The Technology People   
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet


</PRE>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [LARTC] simple (maybe idiot) question
  2000-10-13 17:38 [LARTC] simple (maybe idiot) question Wingtung.Leung
  2000-10-13 19:08 ` bert
@ 2000-10-14 15:36 ` Wingtung.Leung
  1 sibling, 0 replies; 3+ messages in thread
From: Wingtung.Leung @ 2000-10-14 15:36 UTC (permalink / raw)
  To: lartc

<PRE>Thank you, I solved the problem after recompiling the kernel with all
those features turned on. And there was a small type indeed: 10 Mbit
should be 10Mbit.

Thanks again for the help.

On Fri, 13 Oct 2000, bert hubert wrote:

&gt;<i> On Fri, Oct 13, 2000 at 07:38:42PM +0200, Wingtung.Leung wrote:
</I>&gt;<i> &gt; Hello,
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; I'm trying to get started with &quot;tc&quot;, using some online examples, but the
</I>&gt;<i> &gt; first line already returns an error.
</I>&gt;<i> 
</I>&gt;<i> You need lots of stuff enabled in the kernel. Perhaps the HOWTO should
</I>&gt;<i> feature a tiny chapter dedicated to this?
</I>&gt;<i> 
</I>&gt;<i> For you, this means that you need to recompile the kernel with QoS and
</I>&gt;<i> advanced routing features turned on. I asked Alan Cox of RedHat to enable
</I>&gt;<i> these features in the RedHat 7.0 kernel, and I think he did it.
</I>&gt;<i> 
</I>&gt;<i> 
</I>


</PRE>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-10-14 15:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-13 17:38 [LARTC] simple (maybe idiot) question Wingtung.Leung
2000-10-13 19:08 ` bert
2000-10-14 15:36 ` Wingtung.Leung

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.