From: Peter Warasin <peter@endian.it>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Routing for multiple interfaces (marking ports)
Date: Sat, 04 Feb 2006 12:30:46 +0000 [thread overview]
Message-ID: <43E49E76.9070209@endian.it> (raw)
In-Reply-To: <003301c62979$0f45c490$0e001eac@NATANIEL>
hi
Nataniel Klug wrote:
> [root@ns2 iproute2]# ip rule
> 0: from all lookup local
> 50: from all lookup main
> 201: from 200.163.208.0/26 lookup 201
> 202: from 10.1.1.0/24 lookup 202
> 210: from all fwmark 0x2 lookup 202
> 222: from all lookup 222
> 32766: from all lookup main
> 32767: from all lookup default
>
> This prio reads tables from lower prio (0) to higher prio (32767) or it
> makes reading this the other way?
0 is the highest priority, this means the first rule which will be used.
so you must give your fwmark rule a higher priority, let's say 200, in
order to have it working. otherwise the rules with prio 201 let's go
packages from 200.163.208/26 to the link in 201 regardless of it's mark.
peter
--
:: e n d i a n
:: open source - open minds
:: peter warasin
:: http://www.endian.it :: peter@endian.it
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
prev parent reply other threads:[~2006-02-04 12:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-04 10:52 [LARTC] Routing for multiple interfaces (marking ports) Nataniel Klug
2006-02-04 12:30 ` Peter Warasin [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=43E49E76.9070209@endian.it \
--to=peter@endian.it \
--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