iptables x iproute sparc64
gpr007
gpr007@terra.com.br
Sat, 9 Nov 2002 14:08:17 -0300
Hello,
I'm try to use iptables with --set-mark on mangle table to mark
packets and iproute2 rules to get the mark and route this packet,
but it is don=B4t work. I know that counters of rules of the iptables
don=B4t work, the --set-mark too? I know that problem is iptables,
because I put trace on kernel module and the mark is always zero
and the same trace on Intel is ok. I have Debian 3.0 on Sparc
280R, kernel version 2.4.19 and iptables-1.2.7a.
The rules:
iptables -t mangle -A PREROUTING -i eth0 -p tcp -j MARK --set-mark 0x1
ip rule add fwmark 0x1 lookup 2 prio 1
Thanks, Jo=E3o