Cannot purge old IP address from server

1 post / 0 new
#1 Sat, 09/19/2015 - 15:47

Cannot purge old IP address from server

This is driving me absolutely nuts. I moved my virtual server from one host to another about a year ago. When I was with the old host, the static IP address was OLD_IP. With the new host, the static IP is NEW_IP.

Someplace in my system, that I have been unable to find. OLD_IP still lives and cause massive problems. After rebooting:

- Webmin->Networking->Network Configuration->Host Addresses  - OLD_IP is shown. (/etc/hosts)
- Webmin->Networking->Network Configuration->Network Interfaces
  venet0:0 OLD_IP
  venet0:1 NEW_IP (/etc/sysconfig/network-scripts/ifcfg-venet0:1)
- /etc/webmin/virtual-server/localips - OLD_IP is listed before NEW_IP
- Virtualmin->Addresses and Networking->Change IP Addresses - shows NEW_IP
- Virtualmin->Edit Virtual Server - shows NEW_IP
- Virtualmin->Change IP Address - shows NEW_IP
Problems that manifest:
- Virtualmin->Re-Check configuration: Progresses to 'Default IPv4 address for virtual servers is NEW_IP' almost immediately, then hangs for a minute
- All attempts at pinging any external site, via name or IP address fails.
- Email cannot be sent

When I issued a ifconfig command, it showed both venet0:0 (OLD_IP) and venet0:1. Once I did 'ifconfig venet0:0 down', then all of the problems described above disappeared.

Needless to say, I have repeatedly deleted OLD_IP wherever I find it, but it just keeps coming back. I am at a loss and desperately need help!