Comment 3 for bug 246161

Revision history for this message
Lucas Campbell (lucas-campbell) wrote :

Confirming that I've been seeing this bug for a while when doing fresh installs, specifically for server. It's a pain when setting up a new server, as if you don't remember to restart the server after making the change, you'll typically end visiting the physical machine again to solve the problem within the next day.

Steps to reproduce:

1. Change /etc/network/interfaces file and set change interface from using 'dhcp' to 'static' and give appropriate information for the static connection.
2. Run /etc/init.d/networking restart, the IP will be set to the new static IP.
3. Wait. For me is usually takes a few hours, but inevitably the machine will grab an IP from DHCP and overwrite the statically set one.

If you run a /etc/init.d/networking restart it will set the static IP again, and repeat the process. Only upon a restart of the system will this problem stop occurring.