Ubuntu 12.04 box mysteriously switches from static ether config to dhcp
I have a computer in my office running Ubuntu 12.04 server. I have configured the only network interface to use a static ip through /etc/network/interfaces.
After a reboot, or a '/etc/init.d/networking restart', all is hunky dory and my server shows up at 10.1.0.11 (the address provided in interfaces). However, within 24 hours, I will find my proxy is broken (it is running squid and dnsmasq), I can't ssh to it, and the reason is because it has acquired a dhcp lease from the router and has a different address (in the range 10.1.0.100-254).
It is an Intel D525MW board. I have installed nothing at this point except git, dnsmasq, cups, and squid. It is a fanless board, and right now its in a case with no fans :D However, this change has happened a few times, and I somehow doubt it is heat.
Here is my /etc/network/interfaces:
When your system acquires a DHCP lease this means that there must be a DHCP client running on your system. Disable it and watch if that solves your problem.
|All times are GMT -5. The time now is 04:02 PM.|