From owner-freebsd-questions Sat Feb 8 02:57:15 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id CAA05660 for questions-outgoing; Sat, 8 Feb 1997 02:57:15 -0800 (PST) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id CAA05655 for ; Sat, 8 Feb 1997 02:57:12 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by root.com (8.7.6/8.6.5) with SMTP id CAA02629; Sat, 8 Feb 1997 02:58:25 -0800 (PST) Message-Id: <199702081058.CAA02629@root.com> X-Authentication-Warning: implode.root.com: Host localhost [127.0.0.1] didn't use HELO protocol To: vrick cc: questions@freebsd.org Subject: Re: ping In-reply-to: Your message of "Sat, 08 Feb 1997 04:38:00 EST." From: David Greenman Reply-To: dg@root.com Date: Sat, 08 Feb 1997 02:58:25 -0800 Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >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