Good Evening.
Normally when using a DHCPv6 client the intent is to connect to a DHCPv6 server through the WAN interface, acquire a prefix and then use a DHCPv6 server in the LAN interface to distribute that prefix to clients. Well, in my case I already have a DHCPv6 server in another device on my LAN (the gateway) and just wanted to acquire one of the IPs from it through DHCPv6 or SLAAC on my LAN interface, with nothing connected on my WAN.
An attempt at a diagram of my network topology is attached.
I have an IPoE Modem/Router/AP combo from my ISP where I receive dynamic IPv4 and a (native) IPv6 /56. The modem does not allow for bridge mode.
The OpenWRT router is connected to the modem LAN<-->LAN, and is able to acquire its Local IPv4 through DHCP. Moreover, hosts connected to the LAN interface of the OpenWRT router are able to acquire IPv6 GUA addresses and /64 prefixes normally, so the DHCPv6 server in the Modem seems to be working properly.
I've tried creating a "lan6" interface, which is an alias of the "lan" interface and uses the "dhcpv6" as proto, but no IPv6 is ever acquired.
Additional Information:
Model: TP-Link Archer C6 v3
Firmware: OpenWrt 23.05.0 r23497-6637af95aa / LuCI openwrt-23.05 branch git-23.306.39416-c86c256
Firmware Version: 5.15.134
cat /etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd00:cafe::/48'
option packet_steering '1'
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
config interface 'lan'
option device 'br-lan'
option proto 'dhcp'
option broadcast '1'
option ipv6 '1'
option ip6assign '64'
config interface 'wg1'
option proto 'wireguard'
option private_key '[REDACTED]'
option listen_port '51820'
option delegate '0'
list addresses '10.170.16.1/24'
--// OMITTED WIREGUARD PEERS //--
config interface 'lan6'
option proto 'dhcpv6'
option device '@lan'
option reqaddress 'try'
option reqprefix 'auto'
thank you for any help, and also thanks for contributing to this amazing project.