Solved

Ping localhost results with inconsistent results (but never less than 1ms)

Posted on 2013-06-04
3
446 Views
Last Modified: 2013-06-10
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?
0
Comment
Question by:benfixit
  • 2
3 Comments
 

Accepted Solution

by:
benfixit earned 0 total points
ID: 39220977
turns out it was malwarebytes.. Standard behavour when monitoring!
0
 
LVL 18

Expert Comment

by:Akinsd
ID: 39220993
Are these doamain computers

By localhost, I'm assuming you're running the following command
C:\Users\Owner>ping localhost

Pinging Owner.test.local [::1] with 32 bytes of data:
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms

Ping statistics for ::1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

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


C:\Users\Owner>ping -4 localhost

Pinging Owner.test.local [127.0.0.1] with 32 bytes of data:
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128

Ping statistics for 127.0.0.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms


C:\Users\Owner>ping -6 localhost

Pinging Owner.test.local [::1] with 32 bytes of data:
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms

Ping statistics for ::1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

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
0
 

Author Closing Comment

by:benfixit
ID: 39234139
100% correct
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
Arrow Electronics was searching for a KVM  (Keyboard/Video/Mouse) switch that could display on one single monitor the current status of all units being tested on the rack.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question