4

Will all the computers on the network will answer me?

Starfish
  • 2,735
  • 25
  • 28

4 Answers4

6

Nobody should answer your request, because every network interface should only answer for addresses bound to them (i.e. not for other interfaces).

  • 2
    This answer should have the caveat "Unless proxy ARP is enabled" Proxy ARP is almost always a bad idea (it was mostly useful in classful networks, which are very rare these days); however some equipment defaults to having it turned on, so it is something you need to be aware of when troubleshooting. – Russell Heilling Jun 15 '09 at 09:21
3

Linux boxes may respond.

http://lwn.net/Articles/45373/

"If a Linux system (with a default configuration) receives an ARP request on one of its interfaces, and that request is looking for an IP address assigned to any of the systems interfaces, the system will respond to the ARP request through the interface that received it. This response happens even if the interface involved is not the one to which the requested address has been assigned."

Haakon
  • 1,325
  • 7
  • 11
  • 1
    I did some testing with scapy in a mixed Linux and Windows to an arp request to 127.0.0.1. I didn't see any responses. – Haakon Jun 15 '09 at 12:19
2

This depends on how well-written (or buggy) the responding TCP/IP stacks are.

You shouldn't get any responses, but I've seen bizarre behavior before too...

Avery Payne
  • 14,536
  • 1
  • 51
  • 88
2

Given that RFC1122 (Requirements for Internet Hosts) states for the 127/8 address block:

Addresses of this form MUST NOT appear outside a host.

And RFC1812 (Requirements for IP Version 4 Routers) states:

  A router SHOULD NOT forward, except over a loopback interface, any
  packet that has a destination address on network 127.  A router
  MAY have a switch that allows the network manager to disable these
  checks.  If such a switch is provided, it MUST default to
  performing the checks.

The obvious question is why would you ever ARP for 127.0.0.1 if you are not meant to send packets to those addresses over anything other than loopback interfaces?

From your original question:

"Will all computers on the network answer me?" - No.

"What will happen?" - results will vary from nothing at all happening to getting responses from isolated hosts/gateways that are likely buggy or misconfigured.

Russell Heilling
  • 2,557
  • 19
  • 21