All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sebastian Schneider" <pueba@web.de>
To: lartc@vger.kernel.org
Subject: Re: Re: [LARTC] Problems with route by fwmark
Date: Sun, 16 Mar 2003 11:05:39 +0000	[thread overview]
Message-ID: <marc-lartc-104781281118441@msgid-missing> (raw)

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/

                 reply	other threads:[~2003-03-16 11:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-104781281118441@msgid-missing \
    --to=pueba@web.de \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.