Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 May 2004 19:57:48 +0200 (CEST)
From:      Olaf Hoyer <ohoyer@ohoyer.de>
To:        Adam Seniuk <adams@techweavers.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Dual Homed IP's
Message-ID:  <20040513195357.X4304@gaff.hhhr.ision.net>
In-Reply-To: <hxmw10.sp8zl8@dev10.techweavers.net>
References:  <hxmw10.sp8zl8@dev10.techweavers.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 12 May 2004, Adam Seniuk wrote:

> I have 2 mail servers, I would like to give those servers 2 ips so if one card
> dies the other will pick it up.
>
> But I am having a problem since most of the configurations that i have read
> up on have 2 different ip blocks. I have one large block that i can pick
> from.
>
> Example:
> em0 192.168.1.200
> em1 192.168.1.201
>
Hi!

For automated failover, there are kinda tricky solutions available.

for manual failover, simply bind the other address as an alias on the
same physical interface on one card, or use a /32 subnet mask on the
second NIC.

BTW: in case of mailers, you could also solve the problem with different
mx records:

>host yahoo.de
yahoo.de has address 217.12.3.11
yahoo.de mail is handled (pri=5) by mx4.mail.yahoo.com
yahoo.de mail is handled (pri=1) by mx1.mail.yahoo.com
yahoo.de mail is handled (pri=1) by mx2.mail.yahoo.com

So you could simply specify some fallback mailer that picks it up, no
fiddling with different IP...

HTH
Olaf

-- 
Olaf Hoyer        ohoyer@gaff.hhhr.ision.net
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)



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