Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 2002 19:39:11 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        "Dan Mahoney, System Admin" <danm@prime.gushi.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: IP Change
Message-ID:  <20020827183911.GB10747@happy-idiot-talk.infracaninophi>
In-Reply-To: <20020827130937.J49337-100000@prime.gushi.org>
References:  <20020827130937.J49337-100000@prime.gushi.org>

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




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