HTB stuff

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

 



I downloaded iproute2-2.4.7-now-ss010824.tar.gz and I did patched tc with
the htb3.6_tc.diff from htb3.6-020525.tgz and when I try to use a htb script
I get just errors. I did not patch the kernel, since I use kernel 2.4.21 and
I saw on - HTB Homepage that I need to patch it only if I run version 2.4.20
or earlier. Do also need the kernel patch ? Or maybe is something else
wrong?
Errors:
-------
RTNETLINK answers: No such file or directory
Deleted old root disk on eth0
Unknown filter "flowid", hence option "1:10" is unparsable
Unknown filter "flowid", hence option "1:2" is unparsable
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument
RTNETLINK answers: Invalid argument


Part of my script (the full script is accesible on
http://retea.hostingcenter.ro/htb.txt   ..is too long to post here) :
-------
/sbin/tc qdisc add dev eth1 root handle 1: htb default 10
/sbin/tc class add dev eth1 parent 1: classid 1:1 htb rate 10mbit

/sbin/tc class add dev eth1 parent 1:1 classid 1:10 htb rate 5mbit
/sbin/tc filter add dev eth1 protocol ip parent 1:10 prio 5 handle 6 flowid
1:10

/sbin/tc class add dev eth1 parent 1:1 classid 1:2 htb rate 5mbit
/sbin/tc filter add dev eth1 protocol ip parent 1:10 prio 5 handle 5 flowid
1:2


/sbin/tc class add dev eth1 parent 1:10 classid 4:11 htb rate 128kbit ceil
256kbit prio 5
/sbin/tc filter add dev eth1 parent 1:10 protocol ip prio 5 u32 match ip dst
192.168.254.10 flowid 4:11

Thanks!

Alex



-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux