All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Re
@ 2001-06-22  1:54 Michal Kolesar
  2001-06-22  3:43 ` Jing Shen
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Kolesar @ 2001-06-22  1:54 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 2312 bytes --]

I dont use modules... I compiled all directly to the kernel....

but it seems that the u32 is not compiled in kernel...

but I have really care for compiling everithing in kernel..

kolisko

----- Original Message ----- 
From: "Stef Coene" <stafke@iname.com>
To: "Michal Kolesar" <kolesar@samba.cz>
Cc: <lartc@mailman.ds9a.nl>
Sent: Thursday, June 21, 2001 3:44 PM
Subject: Re: [LARTC] RTNETLINK answers: Invalid argument


> > Michal Kolesar wrote:
> > 
> > Hi all,
> > 
> > I have installed 2.4.5 kernel, Debian Potato.
> > 
> > my tc script:
> > #!/bin/bash
> > 
> > tc qdisc add dev eth1 root handle 20: cbq bandwidth 10Mbit avpkt 1000
> > echo root
> > tc class add dev eth1 parent 20:0 classid 20:1 cbq bandwidth 10Mbit
> > rate \
> > 10Mbit allot 1514 weight 1Mbit prio 8 maxburst 20 avpkt 1000
> > echo class
> > tc class add dev eth1 parent 20:1 classid 20:100 cbq bandwidth 10Mbit
> > rate \
> > 5Mbit allot 1514 weight 500Kbit prio 5 maxburst 20 avpkt 1000 \
> > bounded
> > echo 100
> > tc class add dev eth1 parent 20:1 classid 20:200 cbq bandwidth 10Mbit
> > rate \
> > 5Mbit allot 1514 weight 500Kbit prio 5 maxburst 20 avpkt 1000 \
> > bounded
> > echo 200
> > tc qdisc add dev eth1 parent 20:100 sfq quantum 1514b perturb 15
> > echo sfq100
> > tc qdisc add dev eth1 parent 20:200 sfq quantum 1514b perturb 15
> > echo sfq200
> > tc filter add dev eth1 parent 20:0 prio 25 u32 match ip src
> > 192.168.0.7 flowid 20:100
> > echo filter100
> > tc filter add dev eth1 parent 20:0 prio 50 u32 match ip src
> > 192.168.0.0/24 flowid 20:100
> > echo filter200
> > 
> > 
> > after running my tc script:
> > 0 root@gateway:/root# source /etc/init.d/tc
> > root
> > class
> > 100
> > 200
> > sfq100
> > sfq200
> > RTNETLINK answers: Invalid argument
> > filter100
> > RTNETLINK answers: Invalid argument
> > filter200
> Do you use modules? No: make sure you enabled everything,  Yes: make
> sure te modules are loaded.
> 
> Stef
> 
> -- 
> 
> stafke@iname.com        stef.coene@belgacom.net
> More QOS info : http://users.belgacom.net/staf/
> 
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
> 

[-- Attachment #2: Type: text/html, Size: 3719 bytes --]

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

* Re: [LARTC] Re
  2001-06-22  1:54 [LARTC] Re Michal Kolesar
@ 2001-06-22  3:43 ` Jing Shen
  0 siblings, 0 replies; 2+ messages in thread
From: Jing Shen @ 2001-06-22  3:43 UTC (permalink / raw)
  To: lartc

[-- Attachment #1: Type: text/plain, Size: 2258 bytes --]

I've met similar problem before. It seems sometime the system do not
work smoothly.

I solve the problem by execute the script as normal , then execute the
failed command  by hand , then it works.



> I dont use modules... I compiled all directly to the kernel....
>
> but it seems that the u32 is not compiled in kernel...
>
> but I have really care for compiling everithing in kernel..
>
> kolisko----- Original Message -----From: "Stef Coene"
> <stafke@iname.com>To: "Michal Kolesar" <kolesar@samba.cz>Cc:
> <lartc@mailman.ds9a.nl>Sent: Thursday, June 21, 2001 3:44 PMSubject:
> Re: [LARTC] RTNETLINK answers: Invalid argument > > Michal Kolesar
> wrote:
> > >
> > > Hi all,
> > >
> > > I have installed 2.4.5 kernel, Debian Potato.
> > >
> > > my tc script:
> > > #!/bin/bash
> > >
> > > tc qdisc add dev eth1 root handle 20: cbq bandwidth 10Mbit avpkt
> 1000
> > > echo root
> > > tc class add dev eth1 parent 20:0 classid 20:1 cbq bandwidth
> 10Mbit
> > > rate \
> > > 10Mbit allot 1514 weight 1Mbit prio 8 maxburst 20 avpkt 1000
> > > echo class
> > > tc class add dev eth1 parent 20:1 classid 20:100 cbq bandwidth
> 10Mbit
> > > rate \
> > > 5Mbit allot 1514 weight 500Kbit prio 5 maxburst 20 avpkt 1000 \
> > > bounded
> > > echo 100
> > > tc class add dev eth1 parent 20:1 classid 20:200 cbq bandwidth
> 10Mbit
> > > rate \
> > > 5Mbit allot 1514 weight 500Kbit prio 5 maxburst 20 avpkt 1000 \
> > > bounded
> > > echo 200
> > > tc qdisc add dev eth1 parent 20:100 sfq quantum 1514b perturb 15
> > > echo sfq100
> > > tc qdisc add dev eth1 parent 20:200 sfq quantum 1514b perturb 15
> > > echo sfq200
> > > tc filter add dev eth1 parent 20:0 prio 25 u32 match ip src
> > > 192.168.0.7 flowid 20:100
> > > echo filter100
> > > tc filter add dev eth1 parent 20:0 prio 50 u32 match ip src
> > > 192.168.0.0/24 flowid 20:100
> > > echo filter200
> > >
> > >
> > > after running my tc script:
> > > 0 root@gateway:/root# source /etc/init.d/tc
> > > root
> > > class
> > > 100
> > > 200
> > > sfq100
> > > sfq200
> > > RTNETLINK answers: Invalid argument
> > > filter100
> > > RTNETLINK answers: Invalid argument
> > > filter200
> > Do you use modules? No: make sure you enabled everything,  Yes: make
>
> > sure te modules are loaded.
> >
> > Stef
> >

[-- Attachment #2: Type: text/html, Size: 2716 bytes --]

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

end of thread, other threads:[~2001-06-22  3:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-22  1:54 [LARTC] Re Michal Kolesar
2001-06-22  3:43 ` Jing Shen

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.