Re: Awkward scenario: 3 interfaces and 3 devices with same ip/subnet.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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. . . .
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux