[SOLVED] CentOS 7 container IPv6 DHCPv6 and default gateway

trunet

Active Member
Jul 12, 2018
8
1
43
43
Hello,

On my network, I have a dhcpv6 server and router advertisement configured as Managed (dhcpv6 gives the address, radvd gives routes/prefixes/gateways).

Proxmox settings are below:

Screenshot 2018-12-12 at 13.36.51.png

Proxmox generated network config:
Code:
# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=dhcp
IPV6INIT=yes
IPV6_AUTOCONF=no
DHCPV6C=yes

With the current generated configuration, I get the IPv6 address, but there's no default gateway configured. To make it work, I should have IPV6_AUTOCONF=yes. Manually changing and restarting network stack works, but everytime the container is rebooted, the config is regenerated.

How can I make this persistent?

Best regards,
Wagner Sartori Junior
 
Thanks! we'll update the bugreport when we get around to tackle the issue!