Dear Rimas, I think you trying to remove any qdisc already present on your egress queue. If you have not created any qdisc before trying to remove it, then defn't it will give such error. You need to redirect it to /dev/null. if you trying to do the same before creating the root qdisc. shekhar On Fri, 2002-11-08 at 18:38, Rimas wrote: > shekhar, > > >Make sure you had enable the HTB support in Kernel for Fair Queuing. > I did it. > > When I look to htb-start (debug file) I seethe error message only in one > place: > > # Fri Nov 8 10:56:35 GMT 2002 > > # ip link show > 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > 2: shaper0: <> mtu 1500 qdisc noop qlen 10 > link/ether > 3: eth0: <BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc pfifo_fast qlen 100 > link/ether 00:50:04:6c:3c:5b brd ff:ff:ff:ff:ff:ff > 4: eth1: <BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc pfifo_fast qlen 100 > link/ether 00:50:da:3c:d9:8b brd ff:ff:ff:ff:ff:ff > 5: eth2: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100 > link/ether 00:04:e2:26:3d:80 brd ff:ff:ff:ff:ff:ff > > # tc qdisc del dev eth0 root > RTNETLINK answers: No such file or directory > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > # tc qdisc add dev eth0 root handle 1 htb default 30 r2q 100 > > # ip link show > 1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > 2: shaper0: <> mtu 1500 qdisc noop qlen 10 > link/ether > 3: eth0: <BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc htb qlen 100 > link/ether 00:50:04:6c:3c:5b brd ff:ff:ff:ff:ff:ff > 4: eth1: <BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc pfifo_fast qlen 100 > link/ether 00:50:da:3c:d9:8b brd ff:ff:ff:ff:ff:ff > 5: eth2: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100 > link/ether 00:04:e2:26:3d:80 brd ff:ff:ff:ff:ff:ff > > # tc class add dev eth0 parent 1: classid 1:2 htb rate 5Mbit burst 15k > > # tc class add dev eth0 parent 1:2 classid 1:10 htb rate 5Mbit burst 15k > > # tc qdisc add dev eth0 parent 1:10 handle 10 sfq perturb 10 > > # tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip sport > 80 0xffff classid 1:10 > > # tc class add dev eth0 parent 1:2 classid 1:20 htb rate 3Mbit ceil 5Mbit > burst 15k > > # tc qdisc add dev eth0 parent 1:20 handle 20 sfq perturb 10 > > # tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip dport > 25 0xffff classid 1:20 > > # tc class add dev eth0 parent 1:2 classid 1:30 htb rate 1Kbit ceil 5Mbit > burst 15k > > # tc qdisc add dev eth0 parent 1:30 handle 30 sfq perturb 10 > > Any ideas? > > Thnak you > > Rimas > _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/