Can't ping localhost?

Laurence Sanford lauasanf at wilderness.homeip.net
Sun Oct 1 04:08:25 PDT 2006


P.U.Kruppa wrote:
> On Sat, 30 Sep 2006, Chuck Swiger wrote:
>
>> Laurence Sanford wrote:
>>> Anyone got any ideas on this?
>>>
>>> lauasanf at colossus(~)$ ping 127.0.0.1
>>> PING 127.0.0.1 (127.0.0.1): 56 data bytes
>>> ping: sendto: Can't assign requested address
>>> ping: sendto: Can't assign requested address
>>> ping: sendto: Can't assign requested address
>>> ping: sendto: Can't assign requested address
>>> ping: sendto: Can't assign requested address
>>> ping: sendto: Can't assign requested address
>>> ^C
>>> --- 127.0.0.1 ping statistics ---
>>> 6 packets transmitted, 0 packets received, 100% packet loss
>>>
>>>
>>> lauasanf at colossus(~)$ ifconfig lo0
>>> lo0: flags=8008<LOOPBACK,MULTICAST> mtu 16384
>>
>> If there isn't an "inet 127.0.0.1" entry following, the loopback 
>> isn't properly configured.  Perhaps you have a "network_interfaces" 
>> entry listed in /etc/rc.conf which does not mention "lo0"...?
> I think this entry should live in /etc/defaults/rc.conf
>
> ifconfig_lo0="inet 127.0.0.1"   # default loopback device
>                 # configuration.
>
Thanks Uli, I checked based on your post, and it is there. Perhaps I 
have something running at startup that's breaking things? Looks like 
I'll be digging a little more to see what I can find.


More information about the freebsd-questions mailing list