From owner-freebsd-isp Tue Oct 6 20:36:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA20704 for freebsd-isp-outgoing; Tue, 6 Oct 1998 20:36:40 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from hi.pu.ru (xi.pu.ru [193.124.85.215]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA20644 for ; Tue, 6 Oct 1998 20:36:34 -0700 (PDT) (envelope-from igor@hi.pu.ru) Received: (from igor@localhost) by hi.pu.ru (8.8.8/8.8.8) id HAA12076; Wed, 7 Oct 1998 07:36:32 +0400 (MSD) (envelope-from igor) Message-ID: <19981007073632.45886@pu.ru> Date: Wed, 7 Oct 1998 07:36:32 +0400 From: Igor Nikolaev To: Steven Fletcher , freebsd-isp@FreeBSD.ORG Subject: Re: IP Load balancing References: <361a2474.1852724@smtp.shellnet.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <361a2474.1852724@smtp.shellnet.co.uk>; from Steven Fletcher on Tue, Oct 06, 1998 at 02:22:50PM +0000 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Oct 06, 1998 at 02:22:50PM +0000, Steven Fletcher wrote: > If one server crashes then the other one takes over regardless. I use next standard solution: Two servers have installed ospf routing protocol and identical loopbacked ip numbers witch two different costs: /etc/gated.conf: ospf yes { backbone { stubhosts { 10.0.0.1 cost value; }; }; }; /etc/rc.conf: ifconfig_lo0_alias1="inet 10.0.0.1 netmask 0xffffffff" If first server (with cost 1) crashed, then all queries redirected to second server (with cost 2). > Steven Fletcher --- Igor Nikolaev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message