5

Host A wants to send something to Host B who is in a different network. Between them is Router 1. Host A sends an ARP broadcast but Router 1 is not answering it. Why is that so?

2
  • 1
    Not sure what you mean. Host A would ARP to find the MAC of Router 1 and the router would reply. Host A could then encapsulate the frame and forward it towards the router. Are you saying if Host A sends a broadcast in its subnet why the router does not forward that to Host B?
    – Daniel Dib
    Dec 2, 2013 at 17:56
  • 1
    if you truly have host a and host b in different networks, could you check their netmasks? It sounds like the netmask on host a is wrong Dec 2, 2013 at 18:27

1 Answer 1

8

The router will not do this by default, unless you enable Proxy ARP on that router's interface(s), but best practices dictate Proxy ARP should be disabled wherever possible.

However, host A should know by analyzing its own subnet mask (binary AND against its own subnet mask and Host B's address) that Host B is on a different network, and instead send the traffic to its default gateway (if one is configured), and if necessary, Host A will ARP for its default gateway's MAC address, which the router should respond to when appropriate.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.