From: Sysadmin <sysadmin@e-positive.ee>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] 3 nic -s, 1 lan, 2 internet connections, ip based
Date: Thu, 10 Apr 2003 18:29:04 +0000 [thread overview]
Message-ID: <marc-lartc-104999944601218@msgid-missing> (raw)
In-Reply-To: <marc-lartc-104999439526968@msgid-missing>
[-- Attachment #1: Type: text/plain, Size: 1660 bytes --]
Hello
>Hm! Never heard of RH6.3 before. Probably the successor to RH9.
Sorry, typo, RH6.2, with 2.4.20 kernel&iptables, basically old distro with
all new goods included:)
>You need to take advantage of the RPDB. In particular, you may find this
>documentation helpful:
>
> http://linux-ip.net/html/adv-multi-internet.html
>
>http://linux-ip.net/html/adv-multi-internet.html#adv-multi-internet-outbound
>
>For some background on route selection:
>
> http://linux-ip.net/html/routing-selection.html
> http://linux-ip.net/html/routing-selection.html#routing-selection-adv
Seems there is examples for
Using Multiple Connections to the Internet for Inbound and Outbound
Connections and for Outbound traffic Using Multiple Connections to the
Internet and seems i need the second one, and this is almost not
documented, or maybe i just didn't find examples.
>Note, that routing and iptables must be synchronized in order for you to
>attain the desired result.
Synchronized? What You mean?
>If your default route in table main is through 213.34.9.x, then here's a
>teaser (you'll need to tweak it a bit to get things right):
>
># echo 5 link213180 >> /etc/iproute2/rt_tables
># ip rule add from 192.168.30.2 table link213180
> ...
># ip rule add from 192.168.30.5 table link213180
># ip route show table main \
> > | while read ROUTE ; do
> > ip route add table link213180 $ROUTE
> > done
># ip route change table link213180 default via 213.180.9.x
Do i need to use MARK in iptables rules? And can i use iptables route patch
http://www.netfilter.org/documentation/pomlist/pom-extra.html#ROUTE ?.
--
Mart Pirita
--
Mart Pirita
[-- Attachment #2: Type: text/html, Size: 2616 bytes --]
next prev parent reply other threads:[~2003-04-10 18:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-10 17:05 [LARTC] 3 nic -s, 1 lan, 2 internet connections, ip based routing and Sysadmin
2003-04-10 17:26 ` [LARTC] 3 nic -s, 1 lan, 2 internet connections, ip based routing Martin A. Brown
2003-04-10 18:29 ` Sysadmin [this message]
2003-04-10 19:13 ` [LARTC] 3 nic -s, 1 lan, 2 internet connections, ip based Martin A. Brown
2003-04-10 19:53 ` Sysadmin
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-104999944601218@msgid-missing \
--to=sysadmin@e-positive.ee \
--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.