proxmox 4.4 centos network dhcp bug

eth

Renowned Member
Feb 24, 2016
69
3
73
38
I created a Centos 6 container with a static network interface.
upload_2017-3-20_20-11-56.png
However, the container's interface configuration file /etc/sysconfig/network-scripts/ifcfg-eth0 shows dhcp:

upload_2017-3-20_20-12-10.png

This leads to a delayed load of eth1 which causes problems in my systems.
 
Last edited:
why don't you enter an ip address on the webinterface?
 
I have a keepalived environment with 2 hosts which decide which one is master and which one is slave.
The IP is set within the container by keepalived on the host which is master at the moment.

The hosts communicate via eth1 which is configured in proxmox.

Because eth1 loads with a delay, I have a split-brain situation, where the new host can't communicate with the other host and thinks that it's the only master.
 
you could manually edit the file and then touch the file
/etc/sysconfig/network-scripts/.pve-ignore.ifcfg-eth0
to tell pve to ignore that file, so it does not get overwritten
 
I just set the ip to 127.0.0.1 and looks like everything worked.
Is this a good idea?
 
well it should not break anything, and if it works, why not..
 

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!