hi, I''m a beginner with qdiscs and other lartc stuff. After reading the howto and other related documents (i.e. some papers about linux and diffserv), I decided to start with some test. I found some example script to implement simple diffserv using dsmark, but, just after the first command: tc qdisc add dev eth1 handle 1:0 root dsmark indices 64 set_tc_index the system answered: unknown qdisc "dsmark". Then I supposed that my kernel doesn''t have iproute2, but I can''t find it in my redhat 7.2 distribution. Furthermore i read in the howto that this distribution has all needed enabled by default. Help me, please! Best regards, Luca Andreani
Hi Luca, On Tue, 11 Jun 2002, Andreani Luca wrote:> unknown qdisc "dsmark". > > Then I supposed that my kernel doesn''t have iproute2, but I can''t find it in > my redhat 7.2 distribution. Furthermore i read in the howto that this > distribution has all needed enabled by default.FAQ... unfortunately rh7.2 ships with a iproute2 version with diffserv support DISabled. Yes, everything needed is included in the default kernel, but they failed to include a way to use it. :) grep iproute from somewhere, change the first line in the file ''Config'' to ''TC_CONFIG_DIFFSERV=y'', recompile it. Kurt