Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Mar 2010 21:30:01 -0500
From:      Roger <rnodal@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: can't ping localhost
Message-ID:  <9d972bed1003101830r1aa2066et96655a2726bcdf7b@mail.gmail.com>
In-Reply-To: <20100311022344.GP30257@mech-cluster241.men.bris.ac.uk>
References:  <20100311022344.GP30257@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 10, 2010 at 9:23 PM, Anton Shterenlikht <mexas@bristol.ac.uk> w=
rote:
> I misconfigured my system somehow,
> so now I can't ping localhost:
>
> # ping localhost
> PING localhost (127.0.0.1): 56 data bytes
> ping: sendto: No route to host
> ping: sendto: No route to host
> ^C
>
> # cat /etc/hosts
> # $FreeBSD: head/etc/hosts 109997 2003-01-28 21:29:23Z dbaker $
> #
> ::1 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 localhost localhost.men.bris.=
ac.uk
> 127.0.0.1 =A0 =A0 =A0 =A0 =A0 =A0 =A0 localhost localhost.men.bris.ac.uk
>
> So far, can't find anything relevant
> on the net.
>
> Please advise
>
> many thanks
> anton
>
> --


Just a shot in the dark. Do you have a default route?

-r



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9d972bed1003101830r1aa2066et96655a2726bcdf7b>