I have been having problems with IPv6 recently with authentication when connecting to sites which are only allow specific IPs (IPv4 or IPv6) I started to find that my IP was always getting banned and not in the allowed list.
After some investigation I found that Windows 7+ will auto-configure IPv6 using a random identifier not using EUI-64 this is also a real pain as this is constantly changing, this is the cause of all my problems….. I did some googleing to see if there was any way to disable this and Dan’s Blog had the solution, this may not suit every one but this works for me.
Set IPv6 IP using EUI-64
-
Open up a Command Prompt in Administrator mode (right-click, run as administrator)
-
Run the following commands, they should respond with “Ok”.
netsh interface ipv6 set privacy state=disabled store=active
netsh interface ipv6 set privacy state=disabled store=persistent
netsh interface ipv6 set global randomizeidentifiers=disabled store=active
netsh interface ipv6 set global randomizeidentifiers=disabled store=persistent
- Exit the command prompt, and reboot or release the IPs (personally I reboot)
ipconfig /release6
ipconfig /renew6