Problems with route by fwmark
Great, it works now:
Mar 16 11:59:15 persephone kernel: IN=eth0 OUT=eth2 SRC2.168.1.146
DST2.168.1.146 LEN„ TOS=0x00 PREC=0x00 TTLb ID=0 DF PROTO=ICMP TYPE=8 CODE=0 IDQ311 SEQ%6
Basti
"Alexander W. Janssen" <[email protected]> schrieb am 15.03.03 14:17:32:
Quoted 10 lines · Sebastian Schneider
Quoted 1 line
/usr/sbin/iptables-t mangle -A PREROUTING -i eth0 -j MARK --set-mark 17^^ 0x17 !Quoted 1 line
ip rule add fwmark 17 table m.table
^^ 0x17 !
Quoted 11 lines
I had the same problem once. I realized that iproute seems to treat your 17 implicitely as hexadecimal, whereas the iptables command accepts decimal and hexdecimal values - depending on the 0x prefix. (Or was it vice versa? Can't remember.)
Alex.
Signature · 2 lines
"Mr Data, when I said 'Fire at Will', I didn't mean for you to be so literal." Instructions for use of this post: Insert tounge in cheek. Read as normal.
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/