How to configure ipv6 with slaac+dhcpv6 stateless

Network

config interface 'lan'
        option proto 'static'
        option device 'eth0.3'
        option netmask '255.255.255.0'
        option ipaddr '192.168.1.1'
        option delegate '0'
        list ip6class 'wan6'
        option ip6assign '64'

DHCP

config dhcp 'lan'
        option leasetime '12h'
        option interface 'lan'
        option start '100'
        option limit '150'
        option dhcpv4 'server'
        option dhcpv6 'server'
        option ra 'server'
        option ra_slaac '1'
        list ra_flags 'managed-config'
        list ra_flags 'other-config'
2 Likes