From owner-freebsd-questions Tue Aug 27 11:39:22 2002 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 EDF3537B401 for ; Tue, 27 Aug 2002 11:39:18 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 152FB43E6E for ; Tue, 27 Aug 2002 11:39:18 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk ([IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g7RIdG2b011262; Tue, 27 Aug 2002 19:39:16 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g7RIdBjJ011261; Tue, 27 Aug 2002 19:39:11 +0100 (BST) Date: Tue, 27 Aug 2002 19:39:11 +0100 From: Matthew Seaman To: "Dan Mahoney, System Admin" Cc: questions@FreeBSD.ORG Subject: Re: IP Change Message-ID: <20020827183911.GB10747@happy-idiot-talk.infracaninophi> References: <20020827130937.J49337-100000@prime.gushi.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020827130937.J49337-100000@prime.gushi.org> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Aug 27, 2002 at 01:12:54PM -0400, Dan Mahoney, System Admin wrote: > My upstream is making me change my IP addresses, and because of the DNS > delay I was wondering if anyone knew a way to use ipfw to forward my old > ip adresses internally onto my new ones (I can have them both configured > at the same time, but eventually the old ones will not route). You should be able to configure your system to run both sets of addresses simultaneously --- install the new address as the primary address on the interface and the old address as an alias. > Most daemons listen on all ips so I don't particularly care. The one that > worries me is apache, which will only answer certain request for certain > vhosts on certain IP addresses. That depends on the style of apache virtual host: IP v-hosts won't play ball, but Name based virtual hosts shouldn't be a problem. You probably don't need to use IP virtual hosts unless you're running multiple HTTPS servers. Name virtual hosts should work fine if you use the wild card: NameVirtualHost * in combination with running new and old addresses in parallel as above. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message