Hi all,
during some testing I was faced with that if I configure for a CentOS 8 Container a static IPv4 address and for IPv6 SLAAC the Container get's a DHCP address for IPv4 and SLAAC for IPv6. The IPv4 address is present in /etc/sysconfig/network-scripts/ifcfg-eth0 but it's ignored. If I set IPv6 also to static (without configuring an IPv6 address) in the Proxmox WebUI and restart the container the static configuration for IPv4 is used and the IP which is specified in the interface is present on the interface.
For some cross checks I tried the same with CentOS 7. The issue does not exists there.
I'm using the latest release of PVE and the official CentOS 8 LXC template.
I'm not sure if this is an issue of Proxmox, LXC or CentOS/RHEL but I thought it would be a good idea to post this here. From what I've red during t-shooting this, I understand that the CentOS 8 LXC template is adopted in some way to get the network configuration working as CentOS/RHEL 8 per default using NetworkManager and the network-scripts are marked as deprecated.
Currently this is not a big issue for me as I have a workaround with setting IPv6 to static.
Best regards,
Markus
during some testing I was faced with that if I configure for a CentOS 8 Container a static IPv4 address and for IPv6 SLAAC the Container get's a DHCP address for IPv4 and SLAAC for IPv6. The IPv4 address is present in /etc/sysconfig/network-scripts/ifcfg-eth0 but it's ignored. If I set IPv6 also to static (without configuring an IPv6 address) in the Proxmox WebUI and restart the container the static configuration for IPv4 is used and the IP which is specified in the interface is present on the interface.
For some cross checks I tried the same with CentOS 7. The issue does not exists there.
I'm using the latest release of PVE and the official CentOS 8 LXC template.
I'm not sure if this is an issue of Proxmox, LXC or CentOS/RHEL but I thought it would be a good idea to post this here. From what I've red during t-shooting this, I understand that the CentOS 8 LXC template is adopted in some way to get the network configuration working as CentOS/RHEL 8 per default using NetworkManager and the network-scripts are marked as deprecated.
Currently this is not a big issue for me as I have a workaround with setting IPv6 to static.
Best regards,
Markus