networking - intermittent ping failures even though host device has valid IP address -
i using ping command in cpp code , application use code determine whether particular device in network connected or disconnected based on ping response. sending below parameters ping command datablocksize [56] packetcount [1] timeout [1] host [ip address].
for 1 of devices intermittently ping failing , getting packets received 0. intermittent (some times ping success & times failure in span of seconds). not sure why ping failing though device has valid ip. can 1 please let me know reasons of ping command failure though device connected , has valid ip. if connection type matters, device connected through wifi.
often, network congestion. icmp, ping uses, low priority traffic, , first dropped in event there congestion on network. also, host being pinged busy respond. should check logs , interfaces of network devices in path see if there congestion.
Comments
Post a Comment