From owner-freebsd-questions Fri Sep 21 9: 6:17 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mgw1.MEIway.com (mgw1.meiway.com [212.73.210.75]) by hub.freebsd.org (Postfix) with ESMTP id 47AE237B418 for ; Fri, 21 Sep 2001 09:06:15 -0700 (PDT) Received: from mail.Go2France.com (ms1.meiway.com [212.73.210.73]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id 23C4C16B13 for ; Fri, 21 Sep 2001 18:06:13 +0200 (CEST) Received: from IBM-HIRXKN66F0W.Go2France.com [66.64.14.18] by mail.Go2France.com with ESMTP (SMTPD32-6.06) id A8152B480044; Fri, 21 Sep 2001 18:17:25 +0200 Message-Id: <5.1.0.14.0.20010921110545.04b1c6c0@mail.Go2France.com> X-Sender: LConrad@Go2France.com@mail.Go2France.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 21 Sep 2001 11:05:50 -0500 To: freebsd-questions@freebsd.org From: Len Conrad Subject: Re: Changing Default Route Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >1. Has anyone out there crafted a shell script that can monitor whether >the default route is active? > if active, leave alone; if inactive change to abother route; if route > is back up, change back to it. > I have a link that keeps fluctuating and I seriously need something to > run out of cron to manage the > connectivity for me. I don't have sufficient skills to script this but > I believe someone could already > be doing that. well, a load-balancer could do that, in the sense when the balnacer probed the default route as not repsonding, it would be the same a "heavily overloaded" so the load balancer would route to another next-hop gateway ip. there's an RFC for redundant routing, take a look at this: /usr/ports/net/vrrpd sourceforge, too, IIRC Len http://MenAndMice.com/DNS-training http://BIND8NT.MEIway.com : ISC BIND 8.2.4 for NT4 & W2K http://IMGate.MEIway.com : Build free, hi-perf, anti-abuse mail gateways To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message