From owner-freebsd-questions@FreeBSD.ORG Thu May 13 10:57:43 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBC0D16A4CE for ; Thu, 13 May 2004 10:57:43 -0700 (PDT) Received: from gaff.hhhr.ision.net (gaff.hhhr.ision.net [195.180.9.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2782743D2D for ; Thu, 13 May 2004 10:57:43 -0700 (PDT) (envelope-from ohoyer@ohoyer.de) Received: from gaff.hhhr.ision.net (ohoyer@localhost [127.0.0.1]) by gaff.hhhr.ision.net (8.12.11/8.12.11) with ESMTP id i4DHvmvL004398; Thu, 13 May 2004 19:57:48 +0200 (CEST) (envelope-from ohoyer@ohoyer.de) Received: from localhost (ohoyer@localhost)i4DHvmUg004395; Thu, 13 May 2004 19:57:48 +0200 (CEST) (envelope-from ohoyer@ohoyer.de) X-Authentication-Warning: gaff.hhhr.ision.net: ohoyer owned process doing -bs Date: Thu, 13 May 2004 19:57:48 +0200 (CEST) From: Olaf Hoyer Sender: ohoyer@gaff.hhhr.ision.net To: Adam Seniuk In-Reply-To: Message-ID: <20040513195357.X4304@gaff.hhhr.ision.net> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: Dual Homed IP's X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2004 17:57:44 -0000 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)