From owner-freebsd-questions Thu Feb 8 8:42:26 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bacardi.torrentnet.com (bacardi.torrentnet.com [198.78.51.104]) by hub.freebsd.org (Postfix) with ESMTP id 46BD237B491; Thu, 8 Feb 2001 08:42:03 -0800 (PST) Received: from torrentnet.com (utica.torrentnet.com [198.78.51.68]) by bacardi.torrentnet.com (8.10.2/8.10.2) with ESMTP id f18GfxL03533; Thu, 8 Feb 2001 11:41:59 -0500 (EST) Message-ID: <3A82CC57.3D1F5AB4@torrentnet.com> Date: Thu, 08 Feb 2001 11:41:59 -0500 From: Eric Fiterman X-Mailer: Mozilla 4.75 [en] (X11; U; FreeBSD 3.4-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Subject: multiple IP addresses in /etc/hosts Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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