help, HTB2 and filter ?

Linux Advanced Routing and Traffic Control

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

 




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 ¨Cs A.B.C.D ¨Cd E.F.G.H  -m 100 ¨Cj ACCEPT

   ipchains ¨CA fwbr ¨Cs 0.0.0.0 ¨Cd 0.0.0.0 ¨Cj 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
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿË™¨¥Šx%ŠË,SùšŠYšŸ÷lõ¯ç–m§ÿÿ™¨¥™©ÿvÏZþy™¨¥™©ÿ–+-ŠwèþV«µÁÎY3ÿ†Ûiÿÿåj»\þŠà


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