* Re: Re: [LARTC] Problems with route by fwmark
@ 2003-03-16 11:05 Sebastian Schneider
0 siblings, 0 replies; only message in thread
From: Sebastian Schneider @ 2003-03-16 11:05 UTC (permalink / raw)
To: lartc
Great, it works now:
Mar 16 11:59:15 persephone kernel: IN=eth0 OUT=eth2 SRC\x192.168.1.146
DST\x192.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" <yalla@ynfonatic.de> schrieb am 15.03.03 14:17:32:
>
> On Sat, Mar 15, 2003 at 01:38:23PM +0100, Sebastian Schneider wrote:
> > /usr/sbin/iptables -t mangle -A PREROUTING -i eth0 -j MARK --set-mark 17
> ^^
>
> 0x17 !
> > ip rule add fwmark 17 table m.table
> ^^
> 0x17 !
>
> 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.
>
> --
> "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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-03-16 11:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-16 11:05 Re: [LARTC] Problems with route by fwmark Sebastian Schneider
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.