Subject: RE: Can't ping 127.0.0.1
To: Daniel Eggert <danieleggert@mac.com>
From: Nicolas Saurbier <Nicolas.Saurbier@biodata.de>
List: netbsd-help
Date: 08/14/2002 18:30:50
Or here=B4s anotherone: try "route flush"
I recognized, that sometimes, NetBSD tries to resolve
ip-addresses, don=B4t ask me, what I do wrong...

-----Original Message-----
From: Daniel Eggert [mailto:danieleggert@mac.com]
Sent: Mittwoch, 14. August 2002 18:25
To: Andy R
Cc: netbsd-help@netbsd.org
Subject: Re: Can't ping 127.0.0.1


=20
On Wednesday, Aug 14, 2002, at 02:52PM, Andy R <quadreverb@yahoo.com> =
wrote:

>--- Daniel Eggert <danieleggert@mac.com> wrote:
>> This is puzzling me:
>>=20
>> I've done a fresh install of 1.5.2. I set up
>> defaultrouter, hostname, and configured (one of my
>> 4) NIC. Nothing else -- standard install without
>> X11. But when I try to
>>     ping 127.0.0.1
>> nothing happens. I hope someone can point out to me,
>> what I'm doing wrong.
>
>What does the output of ifconfig -a (or ifconfig lo0)
>show?
>
>Did you attempt to set up firewalling? Blocking ICMP?
>
>Andy
>

I have no firewall and hence no ICMP blocking -- just a clean install. I =
setup my ip-number, router, and dns.

My NIC is configured as follows (pingvin is my hostname):
pingvin# ifconfig mc0
mc0: flags=3D8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu =
1500
        address: 00:a0:40:24:d4:8c
        media: Ethernet manual
        inet 130.225.92.238 netmask 0xffff0000 broadcast 130.225.255.255
        inet6 fe80::2a0::40ff:fe24:d48c%mc0 prefixlen 64 scopeid 0x1
and my loopback interface as follows:
pingvin# ifconfig lo0
lo0: flags=3D8009<UP,LOOPBACK,MULTICAST> mtu 33228
        inet 127.0.0.1 netmask 0xff000000
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
        inet6 ::1 prefixlen 128
When i do a ping to the loopback it looks like this:
pingvin# ping 127.0.0.1
PING localhost (127.0.0.1): 56 data bytes
^C
----localhost PING Statistics----
0 packets transmitted, 0 packets received,
I press <ctrl>-C after 30 sec. That's it. It looks very strange, but =
hope you can help me.=20

Daniel