From owner-freebsd-questions Thu Jan 27 18:50:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fh106.infi.net (fh106.infi.net [209.97.16.33]) by hub.freebsd.org (Postfix) with ESMTP id 1C0481590F for ; Thu, 27 Jan 2000 18:50:22 -0800 (PST) (envelope-from bsdbox@citizen.infi.net) Received: from citizen.infi.net (pm2-113.w66.infi.net [208.130.33.113]) by fh106.infi.net (8.8.8/8.8.8) with ESMTP id VAA10010 for ; Thu, 27 Jan 2000 21:50:19 -0500 (EST) Message-ID: <389103E4.78D1E910@citizen.infi.net> Date: Thu, 27 Jan 2000 21:50:12 -0500 From: Scott Gregory X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Detecting loss of Network Connection Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG To All, Are there any tools or utilities that I can use to detect when a network connection has been lost? I need a way to determine the loss of a network connection so I can kick off a script that will reconfigure an IP alias to another NIC and change some IPFW rules if my main NIC goes down (or the switch it connects to dies). Has anyone already created a tool that will do this? This solution would have to be light on system resources since it would need to run every couple seconds (at a maximum). Thanks, Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message