Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Feb 1997 02:58:25 -0800
From:      David Greenman <dg@root.com>
To:        vrick <vrick@loa.com>
Cc:        questions@freebsd.org
Subject:   Re: ping 
Message-ID:  <199702081058.CAA02629@root.com>
In-Reply-To: Your message of "Sat, 08 Feb 1997 04:38:00 EST." <Pine.SOL.3.94.970208043721.28186B-100000@deity.loa.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>Hi all,
>I have a question.
>On my FreeBSD system pinging localhost with 56 data bytes packets I have
>times areound 2-3 ms, while on the system of my friend (I installed
>the FreeBSD on his PC) the ping statistic gives time around 0.5- 0.8 ms
>
>How come on my system the time for each packet sent to localhost is so high?
>It does not look normal at all, I guess it.
>No data packets are lost but the times are like I told you before.
>Have you got any suggestion for this problem?

   That is rather odd. Ping localhost times here:

[implode:dg] ping localhost
PING localhost.root.com (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=255 time=0.158 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=0.163 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=255 time=0.162 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=255 time=0.161 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=255 time=0.171 ms
^C
--- localhost.root.com ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 0.158/0.163/0.171 ms


   Which version of FreeBSD is this? The only thing that comes to mind is that
there is a routing/configuration problem that is causing the packets to go out
your ethernet interface. Could it be that "localhost" is not defined as
127.0.0.1 in /etc/hosts?

-DG

David Greenman
Core-team/Principal Architect, The FreeBSD Project



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702081058.CAA02629>