|
|
|
|
|
by scott_karana
3912 days ago
|
|
I was under the impression that the MAC address-based IPv6 addresses were only link-local. Your public IP would be assigned randomly from your ISP's pool, would it not? It would just be per-end-device now, not per-router. |
|
- several years ago your MAC address was used in the latter 64 bits of your network to create your public address (not just your link local).
- that naïveté/mistake has been addressed by OS makers since.
- your ISP gives you the first half of your 128-bit IP address, the second half is up to your device(s). This is baked in pretty deeply at this point, so the smallest allocation any user/router/LAN will get is 2^64 addresses. This is 4 billion times 4 billion. With that much address space we have a lot of room for competing schemes for address selection, up to and including generating random numbers. The early use of static addresses based on MAC addresses was largely convenience and holdover from v4 thinking.