我有一个具有静态IPv6地址的Server2019主机。微软的在Windows 10中添加了一个功能似乎也出现在2019年,其中主机既可以有静态IP地址,也可以有DHCP地址。默认情况下启用此功能:
C:\Windows\system32>netsh interface ipv6 show interfaces 3
Interface Ethernet Parameters
----------------------------------------------
<snip>
DHCP/Static IP coexistence : enabled不过,我似乎无法禁用它;在测试中,我使用“已启用”选项运行命令,但将“启用”更改为“禁用”会给出“参数不正确”。
C:\Windows\system32>netsh interface ipv6 set interface "3" dhcpstaticipcoexistence=enabled
Ok.
C:\Windows\system32>netsh interface ipv6 set interface "3" dhcpstaticipcoexistence=disabled
The parameter is incorrect.
C:\Windows\system32>netsh interface ipv6 set interface "3" dhcpstaticipcoexistence=no
The parameter is incorrect.
C:\Windows\system32>netsh interface ipv6 set interface "3" dhcpstaticipcoexistence=false
The parameter is incorrect.我是不是做错什么了,还是这只是坏了?我们如何摆脱这个额外的DHCPv6地址?
注意,我们还禁用了SLAAC等,如:Win2k8R2获得DHCPv6 6地址,但具有静态配置
发布于 2019-08-16 13:04:41
从PowerShell尝试测试命令
Set-NetIPInterface -InterfaceIndex 3 -addressFamily IPv6 -dhcp禁用
https://serverfault.com/questions/978076
复制相似问题