2nd router not handing out IPv6 addresses

I have two routers running OpenWRT. Primary router connected to internet work as expected and clients gets IPv6 addresses and have full IPv6 connectivity according to various web based tests. However the 2nd router "below" does only get IPv6 assigned to it's WWAN6 interface, but NOT the LAN interface. What am I doing wrong? (i'm an IPv6 newbie)

Main router connected to internet is getting a /48 subnet assigned.

primary router / internet gateway

WAN6:

Protocol: DHCPv6 client
IPv6: 2a05:f6c1:6:xxxx::/128
IPv6-PD: 2a05:f6c7:xxxx::/48

LAN:

IPv4: 192.168.0.1/24
IPv6: 2a05:f6c7:xxxx::1/56
IPv6: fda1:28f6:5462::1/56

This router is running in "SLAAC" mode?

/etc/config/dhcp

config dhcp 'lan'
        option interface 'lan'
        option start '100'
        option limit '150'
        option leasetime '12h'
        list dhcp_option '6,0.0.0.0'
        option ra 'server'

secondary router / connected to first router as wireless client

WWAN6:

Protocol: DHCPv6 client
IPv6: 2a05:f6c7:xxxx:0:eade:27ff:fe8c:yyyy/64
IPv6: fda1:28f6:5462:0:eade:27ff:fe8c:yyyy/64

LAN:

IPv4: 192.168.3.1/24
IPv6: fd4b:be4f:9605::1/60

This router is also running in "SLAAC" mode?

/etc/config/dhcp

config dhcp 'lan'
        option interface 'lan'
        list dhcp_option '6,192.168.0.1'
        option leasetime '12h'
        option limit '150'
        option start '100'
        option ra 'server'

So as far as I can tell the LAN interface on the second router is missing an IPv6 range beginning with 2a05:f6c7:xxxx - but what do I have to change to make it get that?

If you want use dynamic prefix delegation then you need to enable the dhcpv6 server on the LAN interface of the primary router.

option dhcpv6 'server'

1 Like

Thanks. That was a very simple solution :slight_smile:
I should simply have left the primary router with the default setup of IPv6 and it just works. Somehow I just got the impression that DHCPv6 should not be used in a "home" setup.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.