Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
To: netfilter@lists.netfilter.org
Subject: Re: Two NICs, same network...
Date: Fri, 01 Jun 2007 00:41:03 +0200	[thread overview]
Message-ID: <465F4EFF.9010801@plouf.fr.eu.org> (raw)
In-Reply-To: <e53321d30705311516w353ffebbhcc0cacdde6d3fe67@mail.gmail.com>

Hello,

semi linux a écrit :
> 
> Let me ask this question another way - How to I setup my machine to
> use one interface (eth0) for ALL traffic with the exception of one IP
> destination/source port (which is on eth1)?

You need to setup a routing policy.

> Is this an iptables thing or is it a routing table thing?

Both.

> Can someone point me in the right direction?

Linux Advanced Routing & Traffic Control (LARTC) HOWTO.
Chapters 4 & 11.


  reply	other threads:[~2007-05-31 22:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-08 20:17 Two NICs, same network semi linux
2007-05-08 19:56 ` David Lang
2007-05-08 21:02   ` semi linux
2007-05-08 20:29     ` David Lang
2007-05-08 22:39     ` Sébastien CRAMATTE
2007-05-09 13:27     ` Mark L. Wise
2007-05-24 20:12       ` semi linux
2007-05-31 22:16         ` semi linux
2007-05-31 22:41           ` Pascal Hambourg [this message]
2007-06-01 11:52           ` Tommy W

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=465F4EFF.9010801@plouf.fr.eu.org \
    --to=pascal.mail@plouf.fr.eu.org \
    --cc=netfilter@lists.netfilter.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