HTB and imq was used to control traffic.

|----|  eth0|------|eth2  |-----|
| B  |------|___A__|------|  D  |
|____|          |eth1     |_____|
              __|__
             | C  |
             |____|

A:three NIC was bind to br0:172.16.6.235/24
B:172.16.6.3/24
D:172.16.6.4/24
C:172.16.6.2/24

htb was used to control traffic on A
stuctrul is like that(default is 1:20):

              |----1:100 
   |------1:10|
1:1|          |____1:110 
   |
   |------1:20

#AC="tc filter add dev eth1 protocol ip parent 1:0
prio 1"
#$AC u32 match u32 0xac100600 0xffffff00 at 16 flowid
1:10
#$AC u32 match u32 0xac100603 0xffffffff at 16 flowid
1:100
I copy a file from C to B,
class 1:100 go into effect.
but when I copy a file from C to  D
class 1:10 did not go into effect
 class 1:20    take effect.
please tell me if filter can not be appended to parent
class, it can only be appended to leaf(end of class).
my htb version is htb3.6-020525




_________________________________________________________
Do You Yahoo!? 
���о�ͷ�ۻ���ԭ �����ԡ���˭��Ц��
http://sweepstakes.yahoo.com/bank_surveywave2/
_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Reply via email to