All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rimas" <rmocius@auste.elnet.lt>
To: lartc@vger.kernel.org
Subject: [LARTC] routing to 2 different Internet connections
Date: Tue, 10 Sep 2002 10:39:48 +0000	[thread overview]
Message-ID: <marc-lartc-103165446624150@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103158485229636@msgid-missing>

[-- Attachment #1: Type: text/plain, Size: 414 bytes --]

Hi folks,

I have iptables rules:
iptables -A POSTROUTING -t nat -o eth0 -j MASQUERADE
iptables -A POSTROUTING -t nat -o eth2 -j MASQUERADE
That will masquerade all packets going out of the two external interfaces.

How to make a routing with iproute2 to direct packets from 
10.105.105.100-105 via eth0 and to direct packets from the rest of and
10.105.105.0/24 via eth2 ?

Thanks in advance

Rimas

[-- Attachment #2: Type: text/html, Size: 1155 bytes --]

      parent reply	other threads:[~2002-09-10 10:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-09 15:19 [LARTC] routing to 2 different Internet connections Rimas
2002-09-09 15:31 ` Martin A. Brown
2002-09-10 10:39 ` Rimas [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-103165446624150@msgid-missing \
    --to=rmocius@auste.elnet.lt \
    --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.