I am running IPv6 at home. I have a /48 (for example 2100:abcd:123::/48).
I have set 2100:abcd:123:456::1/64 on my internal interface, advertise=yes, so my clients now get an address out of that /64.
A few of the machines I’d like to have static assignments - but by DHCP. They are laptops so they move between networks, but when on this network I’d for them to say always get 2100:abcd:123:456::50 prefixlen 64. I can set them static in the interface but that means changing the interface everytime we come and go from the network.
Is this possible to make static assignments via this form of router advertisement?
If you assign them IPv6 addresses via RA, they normally will get the assigned prefix and a suffix calculated from the MAC of the network adapter (a so called EUI64 address).
So as long you use the same prefix and adapter, the devices will have the same IP.
Please take in account that windows machines will assign 2 IPv6 addresses to their adapter. One generated as described, and a random one used for outgoing connections, to increase security.
The problem with EUI64 address’ is they are quite long and hard to remember. With a /64 you have access from the 4th octet onwards so I was hoping to give them easy to remember IP’s like: