Subject: Re: Can't ping 127.0.0.1
To: The Old Bear <oldbear@arctos.com>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-help
Date: 08/14/2002 20:17:11
--fdj2RfSjLxBAspz7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Wed, Aug 14, 2002 at 01:53:15PM -0400, The Old Bear wrote:
>=20
> I seem to recall a similar problem which also had me unable to ping
> other machines on my non-routed local network.
>=20
> It was solved once these machines (and localhost) were identified in
> /etc/hosts.
>=20
> Even though I was attempting to "ping" using only numeric IP
> addresses, the particular implementation appears to have been
> attempting to resolve the numeric IP against a name. The external
> nameserver had no idea about our internal 172.16.xxx.xxx addresses or
> of 127.0.0.1 loopback, and ping would just seem to hang and return
> nothing.
you have to use 'ping -n':
-n Numeric output only. No attempt will be made to look up symbolic
names for host addresses.
=20
regards,
--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org> ASCII Ribbon campaign against /"\=
--
-- <salo@silcnet.org> e-mail in gratuitous HTML and \ /=
--
-- Microsoft proprietary formats X =
--
-- PGPkey: http://Xtrmntr.org/salo.pgp / \=
--
-- Key Fingerprint: 75B2 2B96 CD75 0385 1C49 39B8 8B08 C30E 54BC 7263 =
--
--fdj2RfSjLxBAspz7
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (NetBSD)
iD8DBQE9Wp6niwjDDlS8cmMRAnraAJ9hilV5z729Cm+CYLxdt/aKC0CkkACbBGKB
l9yYtEXKpR26J+LQyifdWC8=
=6nUV
-----END PGP SIGNATURE-----
--fdj2RfSjLxBAspz7--