How to configure dhcpv6 client to get ipv6 address?


Apr 16, 2019
My PVE host can get an ipv6 address of SLAAC. I want to get another ipv6 address from dhcpv6 server that runs on my Openwrt router. How to I configure the network to get two ipv6 address, one through SLAAC, the other is assighed by dhcpv6 server?
Here is my /etc/network/interfaces, which did not work.
auto lo
iface lo inet loopback
iface lo inet6 loopback
## LAN
iface enp1s0 inet manual
iface enp1s0 inet6 manual
## WAN
iface enp2s0 inet manual
iface enp2s0 inet6 manual

## LAN
auto vmbr0 vmbr0:1 vmbr0:2 vmbr0:3
#auto vmbr0
iface vmbr0 inet manual
        bridge-ports enp1s0
        bridge-stp off
        bridge-fd 0
#auto vmbr0:1
iface vmbr0:1 inet static
#auto vmbr0:2
iface vmbr0:2 inet static

## ipv6
auto vmbr0:10
iface vmbr0:10 inet6 static
        pre-up modprobe ipv6
        address fd00::254
        netmask 64
auto vmbr0:20
allow-hotplug vmbr0:20
#iface vmbr0:20 inet6 dhcp
iface vmbr0:20 inet6 auto
        pre-up modprobe ipv6
        up echo 0 > /proc/sys/net/ipv6/conf/$IFACE/disable_ipv6
        up sleep 5
        autoconf 1
        accept_ra 2
        dhcp 1

## WAN
auto vmbr1
iface vmbr1 inet manual
        bridge-ports enp2s0
        bridge-stp off
        bridge-fd 0
Thank you.
Last edited:


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!