From: Bob Tellefson <bob@zooid.com>
To: netfilter@lists.netfilter.org
Subject: Re: Two NICS with same IP and same client IP
Date: Wed, 2 Feb 2005 18:41:35 +0000 [thread overview]
Message-ID: <200502021841.35410.bob@zooid.com> (raw)
In-Reply-To: <18348031.1107363459685.JavaMail.rct@kale>
On Wednesday 02 February 2005 16:57, Hervé wrote:
> Basically, the network interface where the packet originated has to
> somehow be remembered at the routing stage. I only see source address
> mangling to do that...
>
It would seem that if you add two additional IPs to the NFS machine (on a
dummy interface) and do a local DNAT to those IPs based on the incoming nic,
that the correct routing tables/rules would be all that is needed to route
the return packets to the correct network.
Have a look at
http://www.policyrouting.org/PolicyRoutingBook/ONLINE/TOC.html
for the concepts and examples. Chapter 5, in particular, covers the routing
concepts your solution will need.
Note that ProxyARP uses the same ip on two interfaces and depends on the
proper routing table entries to do the right thing.
--
Bob Tellefson
Java network application development & hosting
next prev parent reply other threads:[~2005-02-02 18:41 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-02 16:47 Two NICS with same IP and same client IP Gary W. Smith
2005-02-02 16:51 ` Raphael Jacquot
[not found] ` <27594E8BA9D5CA458F5EF87D88B6B48F019948@pxtvjoexd01.pxt.primeexalia.co m>
2005-02-02 16:57 ` Hervé
2005-02-02 16:57 ` Hervé
[not found] ` <18348031.1107363459685.JavaMail.rct@kale>
2005-02-02 18:41 ` Bob Tellefson [this message]
2005-02-02 20:47 ` Hervé
-- strict thread matches above, loose matches on Subject: below --
2005-02-02 22:22 Hudson Delbert J Contr 61 CS/SCBN
2005-02-02 22:29 ` Jason Opperisano
2005-02-02 16:26 Hudson Delbert J Contr 61 CS/SCBN
2005-02-02 16:49 ` Tom Eastep
2005-02-02 9:35 Hervé
2005-02-02 9:48 ` Raphael Jacquot
[not found] ` <5172.57.66.65.39.1107338261.squirrel@57.66.65.39>
2005-02-02 10:28 ` Raphael Jacquot
2005-02-02 14:12 ` Jason Opperisano
2005-02-02 14:32 ` Hervé
2005-02-02 14:41 ` Jason Opperisano
2005-02-02 16:53 ` Hervé
2005-02-02 14:44 ` Raphael Jacquot
2005-02-02 16:40 ` Hervé
2005-02-02 16:22 ` Tom Eastep
2005-02-02 20:56 ` Jason Opperisano
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=200502021841.35410.bob@zooid.com \
--to=bob@zooid.com \
--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