Hacker News new | ask | show | jobs
by mort96 207 days ago
And how do I assign the devices globally unique IP addresses? SLAAC is only for local addresses, right?
1 comments

Wouldn't IPv6 work for that?
I don't know what you mean. I asked what process you would use to assign IPv6 addresses.
Maybe I'm not understanding the use case. Why can't you use DHCPv6 or SLAAC wherever the device is deployed?
DHCP doesn't give you a globally unique IP address...

If you're suggesting getting using a non-unique DHCP-assigned local IP address, I don't understand what difference you think v6 does compared to v4.

DHCP does give you a globally unique IP address when your ISP has allocated a prefix to your router, that's how all the Internet-connected IPv6 devices get their addresses. Where is our misunderstanding?
...

For many of these systems, I don't control the user's router. I don't know how you imagine I'm supposed to create DNS records for each device when they're assigned some random IP address at some random network I don't control.