All of lore.kernel.org
 help / color / mirror / Atom feed
From: Raphael Jacquot <raphael.jacquot@imag.fr>
To: Hervé <herve@lucidia.net>, netfilter@lists.netfilter.org
Subject: Re: Two NICS with same IP and same client IP
Date: Wed, 02 Feb 2005 11:28:03 +0100	[thread overview]
Message-ID: <4200AB33.1010308@imag.fr> (raw)
In-Reply-To: <5172.57.66.65.39.1107338261.squirrel@57.66.65.39>

Hervé wrote:
>>having 2 interfaces on the same box with the same IP address
>>
>>repeat after me :
>>
>>WILL NOT WORK
> 
> 
> Well, I can't see why not. Can you explain?

uh, because that's how routing in the server PC works. you have to have 
a different address for each interface.
your best bet is to either use the same interface (and change one of the 
client's IP to something else (like 192.168.100.3) like so :

server             |         __________         client 1
eth0:192.168.100.1 |--------| ethernet |------| 192.168.0.2
                    |        |  switch  |
                             |__________|------| 192.168.0.3
                                                 client 2

or... change one of the subnets to use a different prefix, like so :

Server             |         | Client 1
eth0:192.168.100.1 |---------| 192.168.100.2
                    |                              | Client 2
eth1:192.168.101.1 |------------------------------| 192.168.101.2


  parent reply	other threads:[~2005-02-02 10:28 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-02  9:35 Two NICS with same IP and same client IP 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 [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
2005-02-02 16:26 Hudson Delbert J Contr 61 CS/SCBN
2005-02-02 16:49 ` Tom Eastep
2005-02-02 16:47 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
2005-02-02 20:47     ` Hervé
2005-02-02 22:22 Hudson Delbert J Contr 61 CS/SCBN
2005-02-02 22:29 ` 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=4200AB33.1010308@imag.fr \
    --to=raphael.jacquot@imag.fr \
    --cc=herve@lucidia.net \
    --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 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.