Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: IPv6 Temporary Address - Enable or Disable



IPv6 Temporary Address - Enable or Disable

How to Enable or Disable Temporary IPv6 Address Feature in Windows 7 and 8
Published by Shadowjk
07 Sep 2013
Published by

How to Enable or Disable Temporary IPv6 Address Feature in Windows 7 and 8

information   Information
In this tutorial I will be showing you how to enable or disable the temporary IPv6 address that Windows generates when using the IPv6 address protocol. This will allow Windows to use the EUI-64 industry standard to automatically generate the interface ID part of the address rather than generating one randomly.

What is IPv6?

IPv6 is a protocol from the TCP/IP suite which allows network addressing of devices used for connecting to the internet and devices on your LAN (Local Area Network). At the moment the current network addressing protocol is IPv4 however the address space is being rapidly used up therefore over time IPv6 will replace it in order to allow more devices to be connected to the internet.

______________________________________________________________________________

What is EUI-64?

In IPv4 it is required for a Network Administrator to either assign a static IP address to every device on a network or use a protocol called DHCP to assign a unique one automatically. In IPv6 an industry standard called EUI-64 was created to make assigning an IP address via DHCP or statically completely optional by allowing the devices to automatically generate one themselves. This is done by taking the MAC address of the interface and then 'squeezing' FFFE in the middle to generate the unique IP address that can be used on the internet for online communication. Additional characters are inserted in the middle in order to expand the MAC address (48-bit) into a 64-bit address to be used. More information on EUI-64 can be found here - IPv6 interface identifiers: IPv6

Windows 7 and 8 do not follow this standard and instead use a temporary address that is randomly generated and changes frequently to prevent other online users from being able to track you via your MAC address which doesn't change. While this is great for client privacy it can cause issues when setting up servers or key devices therefore you may wish to disable it and use the EUI-64 standard. This is what I am going to show you how to do in this tutorial.

An example of a temporary and random IPv6 address generated:

Name:  Temp IPv6 address.png
Views: 5522
Size:  16.3 KB


warning   Warning
This following steps should only be done if you are using IPv6 addressing on your network. If you are not sure what address protocol you are using then please do not follow these steps.

You need to be an Administrator to complete this.


Tip   Tip
This also works for Windows 8 and 8.1


Note   Note
This tutorial applies to the Link Local Address as well since that is randomly generated by default as well


________________________________________________________________________




Disable
How to Disable Temp IPv6 Address Feature in Command Prompt

1. Open an Elevated Command Prompt.

a).
Enter the following command exactly to disable the random IP address generation feature and then press enter:
netsh interface ipv6 set global randomizeidentifiers=disabled
Name:  disable_random_address.png
Views: 5510
Size:  11.1 KB

b).
Then input the next command exactly to force Windows to use the EUI-64 standard. Press enter to apply the command:
netsh interface ipv6 set privacy state=disabled
Name:  disable_temp_address.png
Views: 5506
Size:  10.5 KB
2. Reboot the machine to apply the changes.

a).
To verify open a command prompt windows and input the following command:
ipconfig
An example of Windows using the EUI-64 standard with the MAC address as further verification:
NOTE: Some MAC numbers may be converted to letters in the address because of the hexadecimal translation. This is normal.
Name:  IPv6_EUI-64.png
Views: 5492
Size:  13.9 KB
Name:  MAC_ADDR.png
Views: 5637
Size:  15.0 KB
__________________________________________________________________




OPTION TWO
How to Disable Temp IPv6 Address Feature using a BAT file

1. Click the download button below to download the BAT file.
ipv6_temp_addr_disable.bat
download
2. Save to your desktop and then Run it as Administrator.

3. Your computer should automatically reboot and disable the IPv6 Temporary address.
__________________________________________________________________________________




Enable
How to Enable Temp IPv6 Address Feature via Command Prompt


Note   Note
This is on by default in Windows 7 ,8, and 8.1.


1. Open an Elevated Command Prompt.

a).
Enter the following command exactly to enable the random IP address generation feature and then press enter:

netsh interface ipv6 set global randomizeidentifiers=enabled
Name:  enable_random_address.png
Views: 5488
Size:  11.0 KB

b).
Then input the next command exactly to allow Windows to randomly generate a temporary address to use for network communication. Press enter to apply the command:
netsh interface ipv6 set privacy state=enabled
Name:  enable_temp_address.png
Views: 5486
Size:  10.5 KB
2. Reboot the machine to apply the changes.

a).
To verify open a command prompt windows and input the following command:
ipconfig
An example of Windows using a temporary IPv6 address can be found below:
Name:  IPv6_temp.png
Views: 5487
Size:  14.6 KB
______________________________________________________________________




OPTION TWO
How to Enable Temp IPv6 Address Feature using a BAT file


Note   Note
This is on by default in Windows 7 ,8, and 8.1.


1. Click the download button below to download the BAT file.
ipv6_temp_addr_enable.bat
download
2. Save to your desktop and then Run it as Administrator.

3. Your computer should automatically reboot and enable the IPv6 Temporary address.
Hope This Helps,
Josh


.

08 Sep 2013   #1
Shadowjk

Windows 7 Professional x64 SP1 ; Windows Server 2012 R2 Standard
 
 

I have now added the option to run a BAT file to complete the commands for those who wish to use it

Josh

My System SpecsSystem Spec
.

Comment

 IPv6 Temporary Address - Enable or Disable




Tutorial Tools



Similar help and support threads for2: IPv6 Temporary Address - Enable or Disable
Windows 7 Tutorial Category
Cannot ping ipv6 address on Win7, but can on Win8.. Network & Sharing
Disable IPv6? Network & Sharing
Firefox AutoComplete in Address Bar - Enable or Disable Tutorials
How to Enable or Disable Deleting Temporary Files Browsers & Mail
System prefers auto-generated IPv6 address over configured one Network & Sharing
IPv6 and static IPv4 address Network & Sharing
Issue with Windows 7 pinging XP box's Local Link IPv6 address Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 03:02 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33