You are here
MG - Fri, 2016/01/15 - 23:36
I have LAMP VM that is resetting to dhcp on reboot no matter what. I'm trying to configure it for static.
I tried editing /etc/network/interfaces, removing the "undefined interfaces"
I tried configuring from webmin
I tried running confconsole
Settings are applied and the IP changes immediately, but when I reboot someone rewrites /etc/network/interfaces to DHCP.
I've been trying and searching for hours now, can anyone help?
Linux version 4.2.6-1-pve (root@elsa) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Wed Dec 9 10:49:55 CET 2015
Forum:
If you do it from ConfConsole it should work
The only scenario I could imagine where it would keep giving you a DHCP IP (after setting static in confconsole) would be if you were running in a container (LXC, e.g. in Proxmox, or similar). In that scenario the host can override the guests networking config. The best way to resolve that is to set a static IP for your container (on the host).
Yes. It was Proxmox.
Yes. It was Proxmox.
Thank you!!
Add new comment