[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: new to linux diffserv - having problems




You have to turn on the QOS features in the kernel configuration
before rebuilding the kernel (and after applying the patches).

Jean-Francois.

> -----Original Message-----
> From: owner-linux-diffserv@lrc.epfl.ch
> [mailto:owner-linux-diffserv@lrc.epfl.ch]On Behalf Of Gottimukkala
> Sivaram
> Sent: Monday, November 13, 2000 2:30 PM
> To: linux-diffserv@lrc.di.epfl.ch
> Subject: new to linux diffserv - having problems
> 
> 
> Hello,
> 
> 	i am having trouble setting up linux diffserv on my 
> redhat 6.2 box..please help.
> 
> 
> I did the following things...
> 
> a) since my kernel is 2.2.14, i downloaded the kernel patch 
> for diffserv and applied it.
> b) My system now runs the patched kernel...should i turn any 
> options son when i compile.
> c) i applied the patch that came with the diffserv to iproute2.
> d) i compiled iproute2 toget ip and tc.
> e) next i tried setting up a sample setting with the 
> following commands.
> 
> f) % tc qdisc add dev tr0 root handle 1:0 cbq bandwidth 1Mbit 
> cell 8 avpkt 1000 mpu 64
> (i only have a token ring still)
> 
> g) % tc class add dev tr0 parent 1:0 classid 1:1 cbq 
> bandwidth 1Mbit rate 1Mbit allot 1514 cell 8 weight 500Kbit 
> prio 8 maxburst 20 avpkt 1000
> 
> h) % tc class add dev tr0 parent 1:1 classid 1:2 cbq 
> bandwidth 1Mbit rate 300Kbit allot 1514 cell 8 weight 100Kbit 
> prio 3 maxburst 20 avpkt 1000 split 1:0 
> 
> i) % tc class add dev tr0 parent 1:1 classid 1:3 cbq 
> bandwidth 1Mbit rate 800Kbit allot 1514 cell 8 weight 400Kbit 
> prio 7 maxburst 20 avpkt 1000 split 1:0
> 
> j) % tc filter add dev eth0 parent 1:0 protocol ip prio 100 route
> 
> ------------------------------------------
> 
> here i get a problem. Tc comes back and says
> 
> RTNETLINK answers: Invalid argument
> Dump terminated
> 
> what does this mean and what is the problem. Please help.
> 
> -------------------------------------------
> 
> thanks in advance,
> siva.