-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 18 Jun 2008, DAve wrote:
Good morning,
I have been told by my Network Administrator that we will be changing IP
blocks for several key services very soon. I have three new DNS servers
running NetBSD on the new IP block already. I also have two legacy DNS servers
(also on NetBSD) that I need to drag along behind me for a few more months.
My new IP block is 65.124.104.X and my old IP block is 65.196.224.X. Is it
possible to have a single machine answer for both IPs on a single interface?
The network Gods claim they can route the traffic to me no problem, but I am
unsure how to configure the alias for the interface.
Old address: 65.196.224.2
Netmask: 255.255.255.0
Gateway: 65.196.224.1
New address: 65.124.104.25
Netmask: 255.255.255.224
Gateway: 65.124.104.1
Is it even possible to alias the old address with the new gateway?
you can have both ip's on the same interface with:
ifconfig intX inet 65.124.104.25/27
ifconfig intX inet 65.196.224.2/24 alias
As for the default routes:
Depends on what your trying to do - i think you're going to have to talk
to your local network guys - if the machines that are trying to reach the
old ip's are reachable via the new gateway (and the new gateway won't be
confused by packets coming from old ip's coming in on it's new ip
interface[1]). Then just set the default route to the new gatway and be
done with it.