Subject: Re: Can't ping 127.0.0.1
To: Andy R <quadreverb@yahoo.com>
From: Daniel Eggert <danieleggert@mac.com>
List: netbsd-help
Date: 08/14/2002 09:25:12
 
On Wednesday, Aug 14, 2002, at 02:52PM, Andy R <quadreverb@yahoo.com> wrote:

>--- Daniel Eggert <danieleggert@mac.com> wrote:
>> This is puzzling me:
>> 
>> 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=8863<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=8009<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. 

Daniel