From owner-freebsd-questions Tue Nov 21 14:49:47 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dns.comrax.com (dns.comrax.com [194.90.246.124]) by hub.freebsd.org (Postfix) with ESMTP id 5CCB537B4D7 for ; Tue, 21 Nov 2000 14:46:07 -0800 (PST) Received: by dns.comrax.com (Postfix, from userid 100) id 2072912C7A5; Wed, 22 Nov 2000 00:42:03 +0200 (IST) Received: from localhost (localhost [127.0.0.1]) by dns.comrax.com (Postfix) with ESMTP id 09D5981DC8 for ; Wed, 22 Nov 2000 00:42:03 +0200 (IST) Date: Wed, 22 Nov 2000 00:42:03 +0200 (IST) From: To: freebsd-questions@freebsd.org Subject: ipfw/natd Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello all, Sorry for the surge of questions from me today :) We have now a server being used as a Web server and a SQL server. Since we are about to get a new server for SQL, I'll need to split the SQL server and put it on the new machine. This is not a problem. What I want to know is: if the new SQL server fails for some reason, I want to use the old SQL server (still being hosted on the same old machine). I want to do this using a divert rule in ipfw. I still don't know how... If box A has IP: 192.168.40.50 & box B has IP: 192.168.40.10 I want to do something like: divert tcp from 192.168.40.50 192.168.40.10 for SQL queries... Thanks for your help again... Noor To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message