All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Strange error!?
@ 2004-11-22 13:46 Cow
  2004-11-22 13:58 ` Ilia Lindov
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Cow @ 2004-11-22 13:46 UTC (permalink / raw)
  To: lartc

I was using this setup and it worked fine untill i executed up2date in
Redhat and updated a lot of the packages in linux.

When i run the following script i get an error, which i pasted bellow.

Script i run:
        iptables -t mangle -A FORWARD -s 171.100.20.110 -j
MARK --set-mark 28
        iptables -t mangle -A POSTROUTING -s ! 171.100.20.96/27 -d
171.100.20.110 -j MARK --set-mark 29

        #Root QDiscs
        #### upstream
        tc qdisc add dev $WAN root handle 1: htb default 16
        #### downstream
        tc qdisc add dev $LAN root handle 1: htb default 16

        ########### Classes ###########

        ########### Uploads
        tc class add dev $WAN parent 1: classid 1:1 htb rate 100mbit
ceil 100mbit

        tc class add dev $WAN parent 1:1 classid 1:10 htb rate 64kbit
ceil 64kbit
        tc class add dev $WAN parent 1:1 classid 1:11 htb rate 128kbit
ceil 128kbit

        ########### Downloads
        tc class add dev $LAN parent 1: classid 1:1 htb rate 100mbit
ceil 100mbit

        tc class add dev $LAN parent 1:1 classid 1:10 htb rate 128kbit
ceil 128kbit
        tc class add dev $LAN parent 1:1 classid 1:11 htb rate 256kbit
ceil 256kbit

        ########### Filter and send to correct classid ###########
        ########### Downloads
        tc filter add dev $LAN parent 1:0 protocol ip prio 7 handle 29
fw classid 1:10

        ########### Uploads
        tc filter add dev $WAN parent 1:0 protocol ip prio 7 handle 28
fw classid 1:10

        ########### Making the QDiscs
        tc qdisc add dev $LAN parent 1:10 handle 10: sfq perturb 10
        tc qdisc add dev $LAN parent 1:11 handle 11: sfq perturb 10
        tc qdisc add dev $WAN parent 1:10 handle 10: sfq perturb 10
        tc qdisc add dev $WAN parent 1:11 handle 11: sfq perturb 10

THIS HAS WORKED BEFORE!

Now the error i get is:
Unknown qdisc "htb", hence option "default" is unparsable
Unknown qdisc "htb", hence option "default" is unparsable
Error: Qdisc "htb" is classless.
Error: Qdisc "htb" is classless.
Error: Qdisc "htb" is classless.
Error: Qdisc "htb" is classless.
Error: Qdisc "htb" is classless.
Error: Qdisc "htb" is classless.
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory
RTNETLINK answers: No such file or directory

What the hell happend?

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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

end of thread, other threads:[~2004-11-23 15:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-22 13:46 [LARTC] Strange error!? Cow
2004-11-22 13:58 ` Ilia Lindov
2004-11-22 14:01 ` Cow
2004-11-22 14:19 ` Ilia Lindov
2004-11-22 14:36 ` Cow
2004-11-22 14:43 ` Cow
2004-11-22 14:52 ` Ilia Lindov
2004-11-22 17:36 ` Cow
2004-11-23 15:21 ` Andy Furniss

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.