Can't change eth0 address - need help

I’m running InterWorx-CP v3.0.4
I have to renumber to a different subnet. I have 2 Nodeworx servers that just will not allow me to change the eth0 address. This is what I’ve been doing:

  1. Change /etc/sysconfig/network-scripts/ifcfg-eth0 to new address
  2. service network restart
  3. service iworx restart
    Bind IP-Aliases -FAILED-
  4. ifconfig & find missing IP address (usually old eth0 addr)
  5. ifconfig eth0:xx netmask
  6. /home/interworx/cron/ip.pex --sync
  7. service iworx restart (no errors)

Can’t bring up any websites in browser.
Can’t bring up Nodeworx cp using any eth0 addresses.

Thank goodness I can back out to the old eth0 address by:

  1. Change /etc/sysconfig/network-scripts/ifcfg-eth0 to old address
  2. service network restart
  3. service iworx restart

And everything works again.

Anybody else run into something like this??? There is a chance that I’ll be losing the old IPs this weekend. Then, I’m sunk I guess.


Solved - user error

Thank you Dan and Paul for putting your finger on the problem!

Turns out that while I was changing the ifcfg-eth0 info appropriately, I entirely missed changing the default route (gateway) in the /etc/sysconfig/network file.

Moral of the story… If there’s a network problem, shoot it like a network problem. :rolleyes:

No problem, glad we could help.