Hello is there anyway to only allow leasing of GUA addresses to devices? I have a camera that is only showing it got the link local address from the router and I want to be able to access it through GUA. There is no way of seeing the other addresses it got leased as the WebUI of the camera only shows one v6 address.
Go to Network, then Interfaces. You'll see Global network options tab where you can delete IPv6 ULA-Prefix. That should stop the router from issuing ULAs.
That said, I'm not sure if you're confusing ULAs for LLAs; do note LLAs are different and not leased by router, but autogenerated by each device.
2 Likes
In general you can lease specific addresses with DHCP6, not SLAAC. The DHCP6 uses DUID in contrast to DHCP4 which uses mac address. That being said you need to add the DUID
and hostid
in the dhcp config
config host
option mac 'B8:27:EB:77:CC:DD'
option dns '1'
option hostid '2'
option ip '172.30.30.2'
option name 'kakadu'
option duid '0001000127b5b6f6b827eb7235f3'
option leasetime '24h'
1 Like
Link-local addresses are essential for IPv6 to work. A properly configured endpoint device will have both a LLA and a GUA.
2 Likes