I am on Windows and LAN using the command line PING in this format:
ping -a -n 5 -S <source ip> <destination ip>
For the most part, it does what it is supposed to do but I have noticed 3 issues that I am curious to better understand.
Two machines, both offline, respond differently
- One says:
Reply from <source ip>: Destination host unreachable.
- Other says:
Request timed out.
Now my understanding is that unreachable means exactly what it says, can't be reached (obviously its off) but the other suggests that it is on, but just not responding (which shouldn't be the case here as it IS off) so why the difference in the way the result is reported?
Additionally, as you can see in the command, the option -a
is set which means it is supposed to resolve to machine name, but its not doing that in the results. I suspect it might be a NetBIOS issue but wanted to confirm.