I was wondering what would happen if you send an ICMP request with the correct mac address but the wrong ip on a local network. Would the request reach the computer with the correct mac address since the switch only cares about the mac address?

  • Did any answer help you? if so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you could provide and accept your own answer. – Ron Maupin Aug 13 '17 at 2:56

It is as you said. The computer with that MAC address will receive the ethernet frame, since on layer 2 it's all good. Then, looking at layer 3, it will discard the IP packet, since the IP address is incorrect.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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