Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Feb 2001 11:41:59 -0500
From:      Eric Fiterman <fiterman@torrentnet.com>
To:        freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org
Subject:   multiple IP addresses in /etc/hosts
Message-ID:  <3A82CC57.3D1F5AB4@torrentnet.com>

next in thread | raw e-mail | index | archive | help
Hi:

  Is it possible to have an application like ping or telnet iterate
through IP addresses for a given hostname, if a previous attempt fails?

  For example:

  in /etc/hosts:
---------------
  0.0.0.1 testhost
  0.0.0.2 testhost
  0.0.0.3 testhost
---------------

If I attempt to 'ping testhost', and the first entry (0.0.0.1) fails, is
there anything to configure which would allow an automatic attempt to
ping 0.0.0.2? Is this possible?

Thanks

Eric



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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