Can't ping localhost?

Chuck Swiger cswiger at mac.com
Sat Sep 30 06:44:50 PDT 2006


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"...?

-- 
-Chuck


More information about the freebsd-questions mailing list