— pissing into the wind

Windows 10 1607 IPv6 DHCP Clients

Noticed IPv6 DHCP was broken on all my Windows 10 clients after I upgraded to the anniversary edition (1607).  Had to run a couple powershell commands to get them pulling addresses:

Wired:

Set-NetIPInterface ethernet -AddressFamily ipv6 -RouterDiscovery Enabled
Set-NetIPInterface ethernet -AddressFamily ipv6 -ManagedAddressConfiguration Enabled

Wireless:

Set-NetIPInterface wi-fi -AddressFamily ipv6 -RouterDiscovery Enabled
Set-NetIPInterface wi-fi -AddressFamily ipv6 -ManagedAddressConfiguration Enabled

That’s it!

2 comments
  1. Mzname says: 2016-09-0320:55

    Thanks for your help, but when i try this method,I failed.
    I run powershell as Admin.
    It responses,

    Set-NetIPInterface : CIM 服务器上的 ROOT/StandardCimv2/MSFT_NetIPInterface 类实例的 CIM 查询: SELECT * FROM MSFT_NetIP
    Interface WHERE ((InterfaceAlias LIKE ‘wi-fi’)) AND ((AddressFamily = 23)) 找不到任何匹配的 MSFT_NetIPInterface 对象。
    请验证查询参数,然后重试。
    所在位置 行:1 字符: 1
    + Set-NetIPInterface wi-fi -AddressFamily ipv6 -RouterDiscovery Enabled
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (MSFT_NetIPInterface:String) [Set-NetIPInterface], CimJobException
    + FullyQualifiedErrorId : CmdletizationQuery_NotFound,Set-NetIPInterface

    When I tried second cmmands,It responses
    Set-NetIPInterface : CIM 服务器上的 ROOT/StandardCimv2/MSFT_NetIPInterface 类实例的 CIM 查询: SELECT * FROM MSFT_NetIP
    Interface WHERE ((InterfaceAlias LIKE ‘wi-fi’)) AND ((AddressFamily = 23)) 找不到任何匹配的 MSFT_NetIPInterface 对象。
    请验证查询参数,然后重试。
    所在位置 行:1 字符: 1
    + Set-NetIPInterface wi-fi -AddressFamily ipv6 -ManagedAddressConfigura …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (MSFT_NetIPInterface:String) [Set-NetIPInterface], CimJobException
    + FullyQualifiedErrorId : CmdletizationQuery_NotFound,Set-NetIPInterface

    I am Wireless.

    • donovan says: 2016-09-0408:56

      Change ‘wi-fi’ to whatever your interface name actually is. Mine are just the defaults “Ethernet” and “Wi-Fi”.

Submit comment