From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastian Schneider" Date: Sun, 16 Mar 2003 11:05:39 +0000 Subject: Re: Re: [LARTC] Problems with route by fwmark Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org Great, it works now:=20 =20 Mar 16 11:59:15 persephone kernel: IN=3Deth0 OUT=3Deth2 SRC=192.168.1.146=20 DST=192.168.1.146 LEN=84 TOS=3D0x00 PREC=3D0x00 TTLb ID=3D0 DF PROTO=3DICMP= TYPE=3D8=20 CODE=3D0 IDQ311 SEQ%6=20 =20 Basti=20 =20 "Alexander W. Janssen" schrieb am 15.03.03 14:17:32:=20 > =20 > On Sat, Mar 15, 2003 at 01:38:23PM +0100, Sebastian Schneider wrote:=20 > > /usr/sbin/iptables -t mangle -A PREROUTING -i eth0 -j MARK --set-mark 1= 7=20 > ^= ^=20 > =20 > 0x17 = !=20 > > ip rule add fwmark 17 table m.table =20 > ^^=20 > 0x17 !=20 > =20 > I had the same problem once. I realized that iproute seems to treat your = 17=20 > implicitely as hexadecimal, whereas the iptables command accepts decimal = and=20 > hexdecimal values - depending on the 0x prefix. (Or was it vice versa? Ca= n't=20 > remember.)=20 > =20 > Alex.=20 > =20 > -- =20 > "Mr Data, when I said 'Fire at Will', I didn't mean for you to be so lite= ral."=20 > Instructions for use of this post: Insert tounge in cheek. Read as normal= .=20 > =20 =20 _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/