Minimum required ping time for computer on LAN

pingterminal

I want to ping all possible IPs in my LAN, and I have the code for it, but right now, I've already cut the weight time from 5s to 2s, and it's still about 8 minutes to test them all. How long should it take to ping an IP on my same LAN?

Thanks

Best Answer

It should take less than a millisecond to ping a host on the same physical network. In reality, networks get busy and hosts get slow - it might take 5 milliseconds.

Like UDP, there is no guarantee that you'll receive a reply at all.