Hi ;
HTB2 patch for kernel 2.2.17
HTB2 patch for iproute2
Here is my script :
tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 10: htb default 20
tc class add dev eth0 parent 10: classid:10:1 htb rate 90mbit ceil
90mbit burst 2000
tc class add dev eth0 parent 10:1 classid 10:100 htb rate 10mbit ceil
30mbit prio 1
tc class add dev eth0 parent 10:1 classid 10:20 htb rate 80mbit ceil
90mbit prio 3
ipchains -A fwbr –s A.B.C.D –d E.F.G.H -m 100 –j ACCEPT
ipchains –A fwbr –s 0.0.0.0 –d 0.0.0.0 –j ACCEPT
BUT:
tc filter add dev eth1 protocol ip parent 10:1 prio 1 handle 100 fw
classid 10:100
OUTPUT : "RTNETLINK answers: Invaid argument"
i can try this in whatever stage of my script (before ipchainss, after
qdiscs and classes, whatever), it's always that "answer" :)
WHY??
thanks for your help
regards,
haipe