From: Grant Taylor <gtaylor@riverviewtech.net>
To: Mail List - Netfilter <netfilter@vger.kernel.org>
Subject: Re: Awkward scenario: 3 interfaces and 3 devices with same ip/subnet.
Date: Tue, 31 Aug 2010 10:25:57 -0500 [thread overview]
Message-ID: <4C7D1F05.4050704@riverviewtech.net> (raw)
In-Reply-To: <AANLkTinJT4DFyDe6doNKs5PfQs7C23frUGRjC8n_X6UG@mail.gmail.com>
On 08/31/10 09:49, Giacomo Bernardi wrote:
> Doesn't seem to work, despite I created the arp entry with:
> arp -s 10.2.0.1 00:11:22:33:44:55
The bogus IP will need to be in the same subnet to work. I.e. 10.0.0.11.
> To be honest I'm not surprised: how is the receiver of those datagram
> supposed to know they are for itself, since the dstip doesn't match
> the IP of the local incoming interface?
Sometimes it does, sometimes it doesn't. It really depends on how
things are configured on the destination device.
It's one of those "It might fail, but if it works, it's worth the 90
seconds it took to try it." things.
I often use this when I'm configuring devices (APs) that all share the
same IP address at initial configuration. I will set the MAC address in
the ARP cache and then connect / configure as need.
Grant. . . .
next prev parent reply other threads:[~2010-08-31 15:25 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-31 11:34 Awkward scenario: 3 interfaces and 3 devices with same ip/subnet Giacomo Bernardi
2010-08-31 13:41 ` Jan Engelhardt
2010-08-31 14:30 ` Grant Taylor
2010-08-31 14:49 ` Giacomo Bernardi
2010-08-31 15:25 ` Grant Taylor [this message]
2010-08-31 15:33 ` Giacomo Bernardi
2010-09-01 7:14 ` Marek Kierdelewicz
2010-09-02 11:28 ` Giacomo Bernardi
2010-09-02 15:56 ` Marek Kierdelewicz
2010-09-02 16:05 ` Giacomo Bernardi
2010-09-02 16:34 ` Marek Kierdelewicz
[not found] ` <AANLkTi=uKngWrWpxMQJjLP6qTkfsPay9E3+-CKk2+7NO@mail.gmail.com>
2010-09-02 16:54 ` Giacomo Bernardi
2010-09-02 17:19 ` Marek Kierdelewicz
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=4C7D1F05.4050704@riverviewtech.net \
--to=gtaylor@riverviewtech.net \
--cc=netfilter@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox