PDA

View Full Version : Server IP Change questions


hubbadubba
06-23-2007, 07:46 PM
Physically moving a server to a new hosting facility. Have changed the IP address in /etc/sysconfig/network-scripts/ifcfg-eth0. Two problems:

1. In the Interworx Control Panel, old IP addresses are still listed as available for shared and dedicated IP addresses for sites

2. Routing table information still lists old addresses. Tried manually fixing this with "route" command, but they come back after reboot

Fr3d
06-24-2007, 05:52 AM
You need to remove the IP addresses from IWorx's IP address section - once that's done, they won't come back after a reboot, and neither should the routing stuff.

IWorx-Socheat
06-24-2007, 10:35 AM
Once the unwanted IPs show up as "inactive" in IWorx-CP, you may need to run, from the command line:

~iworx/cron/ip.pex --sync

to remove those IPs for good.

hubbadubba
06-24-2007, 02:26 PM
Thanks, that did the trick.