windows-server-2008-r2 – Win2k8R2获取DHCPv6地址,但具有静态配置

前端之家收集整理的这篇文章主要介绍了windows-server-2008-r2 – Win2k8R2获取DHCPv6地址,但具有静态配置前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我在双栈网络上有一台 Windows 2008R2服务器.

IPv4工作正常(静态分配)但IPv6堆栈行为不端;我已使用静态IPv6地址配置它(:: bbbb:150以下),但它也从我的DHCPv6服务器获取租约(:: babe:e3a0如下).

它曾经使用autoconf地址配置自己,直到我禁用RA发现.

这会导致外部防火墙出现问题,因为DNS名称解析为多个地址,防火墙规则会混淆,因为它只能为其中一个地址创建规则,这些地址可能是也可能不是流量来往的地方!

如何防止NIC获取IPv6 DHCP租约?

注意:IPv6正在使用此主机,只有两倍的地址!我有另一个没有表现出这种行为的Win2k8R2服务器;它只有静态地址(v4和v6).

Windows IP Configuration

   Host Name . . . . . . . . . . . . : SVR-APP-WIN1
   Primary Dns Suffix  . . . . . . . : xxxxxx.local
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : xxxxxx.local
                                       ftg.mycompany.com.au

Ethernet adapter IDMZ Team:

   Connection-specific DNS Suffix  . : ftg.mycompany.com.au
   Description . . . . . . . . . . . : IDMZ Team
   Physical Address. . . . . . . . . : 2C-76-8A-A9-66-10
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2001:44b8:4126:xxxx::babe:e3a0(Preferred)
   Lease Obtained. . . . . . . . . . : Friday,16 March 2012 12:39:49 PM
   Lease Expires . . . . . . . . . . : Wednesday,18 April 2012 9:40:03 AM
   IPv6 Address. . . . . . . . . . . : 2001:44b8:4126:xxxx::bbbb:150(Preferred)
   Link-local IPv6 Address . . . . . : fe80::99fb:d357:65fb:219e%16(Preferred)
   IPv4 Address. . . . . . . . . . . : 172.31.0.150(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.128
   Default Gateway . . . . . . . . . : 2001:44b8:4126:xxxx::f0
                                       172.31.0.254
   DHCPv6 IAID . . . . . . . . . . . : 388789898
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-16-3A-4A-A0-2C-76-8A-A9-66-11
   DNS Servers . . . . . . . . . . . : 2001:44b8:4126:xxxx::f1
                                       2001:44b8:4126:xxxx::f2
                                       172.31.0.254
                                       172.31.1.11
   NetBIOS over Tcpip. . . . . . . . : Enabled
   Connection-specific DNS Suffix Search List :
                                       ftg.mycompany.com.au
                                       xxxxxx.local

Tunnel adapter isatap.{374F349C-612A-4FCF-A06D-F14D0BA1E616}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : ftg.mycompany.com.au
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 11:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
运行netsh并禁用一些选项将在此实例中完成.
# This is what I did last week to stop the AutoConf address being added
netsh interface ipv6 set interface "IDMZ Team" routerdiscovery=disabled

# This stops the interface from obtaining DHCPv6 lease
netsh interface ipv6 set interface "IDMZ Team" managedaddress=disabled
netsh interface ipv6 set interface "IDMZ Team" otherstateful=disabled
原文链接:https://www.f2er.com/windows/367514.html

猜你在找的Windows相关文章