Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: "Serdar KÖYLÜ" <skoylu@gizemcafe.net>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] policy routing problem
Date: Tue, 09 Dec 2003 13:58:25 +0000	[thread overview]
Message-ID: <marc-lartc-107097839711891@msgid-missing> (raw)
In-Reply-To: <marc-lartc-104748821401394@msgid-missing>

Hi, i'm a stupid :))

Sorry, i forget first policy: RTFM..

On Mon, 8 Dec 2003 20:21:06 +0200
Serdar KÖYLÜ <skoylu@gizemcafe.net> wrote:

> ip rule add fwmark 10001 table http

ip uses hexadecimal notation. This number really 0x10001

> ip route add default via 81.215.8.1 table http
> ip route flush cache
> iptables -t mangle -A PREROUTING -p tcp --dport 80 \
>   -j MARK --set-mark 10001

but, iptables uses radix decimal.

I try "--set-mark 0x10001" and it's work fine..
 
> 
> ip rule add from 212.174.154.219 table http
> 
> Wow... This machine can't reach internet for this reason :(( No
> routing.. 

But this reason don't resolved.. Why ? 

Thanks..
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

      parent reply	other threads:[~2003-12-09 13:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-12 16:55 [LARTC] policy routing problem Tomas Bonnedahl
2003-03-12 17:24 ` Tomas Bonnedahl
2003-03-12 18:19 ` Tomas Bonnedahl
2003-03-13  4:15 ` Martin A. Brown
2003-03-13 10:27 ` Tomas Bonnedahl
2003-12-08 18:21 ` Serdar KÖYLÜ
2003-12-09 13:58 ` Serdar KÖYLÜ [this message]

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-107097839711891@msgid-missing \
    --to=skoylu@gizemcafe.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox