fwmark filter doesn't work as expected

Linux Advanced Routing and Traffic Control

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

 



Hello!

	Currently I am marking packets with IPMARK, and then using following rules:

	1: class add dev eth0 parent 1:4 classid 1:100a htb rate $rate ceil
$ceil quantum 1600
	2: qdisc add dev eth0 parent 1:100a handle 100a:0 sfq perturb 10
	3: filter add dev eth0 protocol ip parent 1:0 pref 30 handle 	4106 fw
classid 1:100a
	4: class add dev eth1 parent 1:2 classid 1:100a htb rate $rate ceil
$ceil quantum 1600
	5: qdisc add dev eth1 parent 1:100a handle 100a:0 sfq perturb 10
	6: filter add dev eth1 protocol ip parent 1:0 pref 30 u32 match ip dst
10.100.0.10 flowid 1:100a

Tried to remove line 3 and just putting one line instead:

	filter add dev eth0 parent 1:0 protocol ip pref 30 fw

But it does not work. Any ideas?

-- 
Michał Margula, alchemyx@xxxxxxxxxxxx, http://alchemyx.uznam.net.pl/
"W życiu piękne są tylko chwile" [Ryszard Riedel]
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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