Strange error!?

Linux Advanced Routing and Traffic Control

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

 



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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux