[SOLVED] CentOS 7 container IPv6 DHCPv6 and default gateway

trunet

Member
Jul 12, 2018
8
1
23
42
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!
 

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!