Hello,everyone!
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.
Thank you.
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.
Code:
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
address 192.168.8.254
netmask 255.255.255.0
gateway 192.168.8.1
#auto vmbr0:2
iface vmbr0:2 inet static
address 192.168.0.1
netmask 255.255.255.0
## 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
Last edited: