Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This is what I use for our Windows 7 computers to configure IPv6I want my Windows boxes to:

 

  • Use 'privacy' addresses for outgoing connections
  • Have a EUI64 address to listen for incoming connections
  • Not use any legacy tunneling protocols

This can be enabled premanently using the following batch script:

 

Code Block
languagepowershell
REM enables EUI-64 interface identifiers (IPv6RFC 4941 privacy extensions (i.e. temporary address basedfor onoutgoing MAC)connections)
netsh interface ipv6 set privacy state=enabled store=active
netsh interface ipv6 set privacy state=enabled store=persistent
 
REM Don't use random identifier. This will result in EUI64 based adddresses
netsh interface ipv6 set global randomizeidentifiers=disabled store=active
netsh interface ipv6 set global randomizeidentifiers=disabled store=persistent

REM disable allunused tunneling stuffprotocols
netsh interface ipv6 6to4 set state disabled
netsh interface ipv6 isatap set state disabled
netsh interface ipv6 set teredo disabled
Note

The order of the two first blocks seems to matter. If you put the randomizeidentifiers block before the privacy block, then Windows will still use randomizeidentifiers...