benfixit
asked on
Ping localhost results with inconsistent results (but never less than 1ms)
I have come across a few machines in recent times that are getting inconsistent ping reponses from localhost. this includes machines with brand new installs.
On a windows 8 machine I note the localhost ping is consistently longer than pinging the onsite router.
Anyone have any thoughts on what could be the cause?
On a windows 8 machine I note the localhost ping is consistently longer than pinging the onsite router.
Anyone have any thoughts on what could be the cause?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
100% correct
By localhost, I'm assuming you're running the following command
Take note of the ip address the name resolves to. If ::1, it's using ipv6. If 127.0.0.1, its using ipv4.
You can force the ping to either use ipv6 or ipv4 by appending the applicable switch
I'm adding the following just to shed more light.
Ping response time between two hosts connected to a switch =
1. Processing time for host A to package and send echo requests
2. Time it takes for the packets to get to the switch
3. Time it takes for the switch to process the packet and forward it
4. Time it takes for the packet to get to Host B
5. Time it takes host A to process and reply to the request.
6. Travel time back to Switch
7. Processing time on switch
8. Time it takes to get back to Host A
9. Processing time on Host A
Also