首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何禁用服务器2019年上的IPv6 dhccpstatciplom共存

如何禁用服务器2019年上的IPv6 dhccpstatciplom共存
EN

Server Fault用户
提问于 2019-08-06 00:28:28
回答 1查看 3.3K关注 0票数 2

我有一个具有静态IPv6地址的Server2019主机。微软的在Windows 10中添加了一个功能似乎也出现在2019年,其中主机既可以有静态IP地址,也可以有DHCP地址。默认情况下启用此功能:

代码语言:javascript
复制
C:\Windows\system32>netsh interface ipv6 show interfaces 3

Interface Ethernet Parameters
----------------------------------------------
<snip>
DHCP/Static IP coexistence         : enabled

不过,我似乎无法禁用它;在测试中,我使用“已启用”选项运行命令,但将“启用”更改为“禁用”会给出“参数不正确”。

代码语言:javascript
复制
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地址,但具有静态配置

EN

回答 1

Server Fault用户

回答已采纳

发布于 2019-08-16 13:04:41

从PowerShell尝试测试命令

Set-NetIPInterface -InterfaceIndex 3 -addressFamily IPv6 -dhcp禁用

票数 2
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/978076

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档