OpenVZ Container loses IP address every night at 11PM

jonc

Member
Jul 3, 2013
40
0
6
I have a container configured with a static IP address in /etc/network/interfaces, however, every night at 11PM the CT reverts to a random DHCP address.
How is an explicitly configured configuration file ignored?
 
Have you checked whether theres a cron job calling dhclient maybe? crontab -e or /etc/cron.*
 
The crontab is empty within the container and there's nothing under /etc/cron.* related to a dhcp client. What else could be potentially causing this?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!