Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 24th October 2009, 17:52
dpicella dpicella is offline
Senior Member
Join Date: Apr 2009
Posts: 116
Thanks: 9
Thanked 8 Times in 7 Posts
Default Migrating server setup to a new block of IPs and Gateway


I am faced with a situation where I have to migrate my server and all of its services to a new block of IP addresses and Gateway.

What happened was that I noticed that my server was blackballed from some of the major email providers such as hotmail through no fault of my own. My host provider sent me this message:

The netblock you are currently on is close to another customer that did mass
mailing, and the blacklists are because of them. Its been a long process trying
to get removed from those, so I think the best solution is just to change IPs.

For the time being, I have configured your postfix config to relay mail to a
relay server we have setup that is on a clean IP.
I modified /etc/postfix/main.cf to have a relayhost. While I was in there I
changed the hostname in it, it works better if its set to the server and not
I sent a test email to my own hotmail account and it got there, and not even in
the junk folder.

If you want new IPs, we can change your IPs to new ones. It can be done so both
new and old still work at the same time during the migration
To say the least, I have a great hosting service and support -- no it not GoDaddy are you kidding!! But now I have to do the dirty work.

I am on Fedora 10 and my webhosting is through ISPConfig3. I have the new block of IPs and the new gateway settings ready to go.

Here is my question(s):

1. What are the steps in the process?
# ifconfig still shows that my eth0:* is bound to the old IPs so I guess I have to start there ... then move on to ISPConfig3 ... I am thinking that is the way it goes, but if anyone has any good tips I would really appreciate it.

2. What is the best way to do this without interrupting my internet services if possible or at least minimizing down time? I have some webs that are sensitive to up time and it will be an issue if they are down for too long. Does the relay server allow me to keep the old IPs forwarded while all the new DNS settings resolve? How do I make that happen?

Last edited by dpicella; 24th October 2009 at 17:55.
Reply With Quote
Sponsored Links
Old 24th October 2009, 17:58
dpicella dpicella is offline
Senior Member
Join Date: Apr 2009
Posts: 116
Thanks: 9
Thanked 8 Times in 7 Posts

I noticed that root has no mail (normally I get pretty routine system messages from various services) ... I am assuming that is part of the process should resolve when this gets done. All webs and services on the server do otherwise appear to be working normally.

Cheers! Thanks for the help!!
Reply With Quote
Old 27th October 2009, 17:22
id10t id10t is offline
Senior Member
Join Date: Nov 2008
Posts: 242
Thanks: 2
Thanked 22 Times in 22 Posts

If hostnames are used everywhere then you just need to update your DNS stuff, and change your IP/gateway in your config files for your network device.
I'm a very happy linode.com customer, I'm sure you will be too!
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail server using Postfix, Dovecot, Mysql... Postfix virtual maps doesn't work?? tarasbuljba HOWTO-Related Questions 33 28th May 2010 15:33
ISPConfig setup for multiple external IPs debian-lover General 5 21st April 2008 12:56

All times are GMT +2. The time now is 04:49.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.