Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Oct 1998 07:36:32 +0400
From:      Igor Nikolaev <igor@pu.ru>
To:        Steven Fletcher <steven@shellnet.co.uk>, freebsd-isp@FreeBSD.ORG
Subject:   Re: IP Load balancing
Message-ID:  <19981007073632.45886@pu.ru>
In-Reply-To: <361a2474.1852724@smtp.shellnet.co.uk>; from Steven Fletcher on Tue, Oct 06, 1998 at 02:22:50PM %2B0000
References:  <361a2474.1852724@smtp.shellnet.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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