problem with tc filter

Linux Advanced Routing and Traffic Control

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

 



Hi,

It seems I can't sort this thing out:

the same tc filter rule works ok when using u32 classifier with ip src
x.x.x.x   but it doesn't work when substituting src with dst... the same
exact rule....

and for patient people here is the proof:

-----------------------------
tc filter add dev eth1 parent 1: protocol ip prio 3 u32 match ip src
80.97.88.16/28 flowid 1:11

tc -s -d class show dev eth1

class htb 1:11 parent 1:1 prio 0 quantum 1000 rate 64Kbit ceil 512Kbit
burst 1680b/8 mpu 0b cburst 2254b/8 mpu 0b level 0
 Sent 1003576 bytes 5017 pkts (dropped 0, overlimits 0)
 rate 2937bps 21pps
 lended: 5012 borrowed: 5 giants: 0
 tokens: 163300 ctokens: 27588

-------------------------------------
tc filter add dev eth1 parent 1: protocol ip prio 3 u32 match ip dst
80.97.88.16/28 flowid 1:11

tc -s -d class show dev eth1

class htb 1:11 parent 1:1 prio 0 quantum 1000 rate 64Kbit ceil 512Kbit
burst 1680b/8 mpu 0b cburst 2254b/8 mpu 0b level 0
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
 lended: 0 borrowed: 0 giants: 0
 tokens: 168099 ctokens: 28187

_______________________________________________
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