我似乎有我的WS2008R2活动目录+ DNS + DHCP + NATconfiguration奇怪的问题。 它看起来是DNS,NAT和LDAP之间的一个问题。
第一个后果是某种丢包问题。 每隔一段时间,服务器(作为默认网关)将丢弃数据包,命令将返回“目标主机不可达”。 我还没有找出原因。 这似乎与DNS无关。
C:\Users\Administrator>ping serverfault.com Pinging serverfault.com [64.34.119.12] with 32 bytes of data: Reply from 10.0.0.1: Destination host unreachable. Reply from 64.34.119.12: bytes=32 time=113ms TTL=49 Request timed out. Reply from 64.34.119.12: bytes=32 time=113ms TTL=49 C:\Users\Administrator>ping 74.125.79.105 Pinging 74.125.79.105 with 32 bytes of data: Reply from 10.0.0.1: Destination host unreachable. Reply from 74.125.79.105: bytes=32 time=39ms TTL=49 Reply from 74.125.79.105: bytes=32 time=37ms TTL=49 C:\Users\Administrator>ping 74.125.79.105 Pinging 74.125.79.105 with 32 bytes of data: Reply from 74.125.79.105: bytes=32 time=36ms TTL=49 Reply from 74.125.79.105: bytes=32 time=36ms TTL=49
所以DNS的解决罚款…但有时10.0.0.1丢包…只是因为? 间歇发生。 这是在服务器本身上完成的一个testing,但客户端performance出几乎相同的行为,除了有时甚至DNS失败。
C:\Users\[user]>ping google.com Ping request could not find host google.com. Please check the name and try again. C:\Users\[user]>ping google.com Pinging google.com [74.125.79.105] with 32 bytes of data: Request timed out. Reply from 74.125.79.105: bytes=32 time=37ms TTL=49 Reply from 74.125.79.105: bytes=32 time=36ms TTL=49
这将导致HTTP 404错误,应用程序抱怨没有互联网连接,抱怨服务器脱机等。
例如,这也是报告
_ldap._tcp.Default-First-Site-Name._sites.[server].ad.[domain].net No such name
任何帮助或提示将非常感激。 🙂
更新:一些服务器信息。
C:\Users\Administrator>ipconfig /all Windows IP Configuration Host Name . . . . . . . . . . . . : [server] Primary Dns Suffix . . . . . . . : ad.[domain].net Node Type . . . . . . . . . . . . : Mixed IP Routing Enabled. . . . . . . . : Yes WINS Proxy Enabled. . . . . . . . : No DNS Suffix Search List. . . . . . : ad.[domain].net PPP adapter RAS (Dial In) Interface: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : RAS (Dial In) Interface Physical Address. . . . . . . . . : DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes IPv4 Address. . . . . . . . . . . : 10.0.0.12(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.255 Default Gateway . . . . . . . . . : NetBIOS over Tcpip. . . . . . . . : Enabled Wireless LAN adapter Wireless Network Connection: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Linksys WMP600N Wireless-N PCI Adapter wi th Dual-Band Physical Address. . . . . . . . . : 00-25-9C-FF-C1-FC DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes IPv4 Address. . . . . . . . . . . : 192.168.1.100(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.1.1 DNS Servers . . . . . . . . . . . : 10.0.0.1 127.0.0.1 NetBIOS over Tcpip. . . . . . . . : Enabled Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Realtek RTL8168C(P)/8111C(P) Family PCI-E Gigabit Ethernet NIC (NDIS 6.20) Physical Address. . . . . . . . . : 00-19-66-88-6A-1F DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes IPv4 Address. . . . . . . . . . . : 10.0.0.1(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 0.0.0.0 DNS Servers . . . . . . . . . . . : 10.0.0.1 127.0.0.1 NetBIOS over Tcpip. . . . . . . . : Enabled Tunnel adapter isatap.{B84CD253-70D3-49E5-88F9-102C6B7FCEC0}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : 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 Tunnel adapter isatap.{D7DFBDDF-7295-43E8-AAD4-4910D79202A9}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2 Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter isatap.{6E06F030-7526-11D2-BAF4-00600815A4BD}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Microsoft ISATAP Adapter #3 Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes C:\Users\Administrator>route print =========================================================================== Interface List 26...........................RAS (Dial In) Interface 15...00 25 9c ff c1 fc ......Linksys WMP600N Wireless-N PCI Adapter with Dual-Band 11...00 19 66 88 6a 1f ......Realtek RTL8168C(P)/8111C(P) Family PCI-E GigabitEthernet NIC (NDIS 6.20) 1...........................Software Loopback Interface 1 12...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter 13...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface 14...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2 16...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3 =========================================================================== IPv4 Route Table =========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 On-link 10.0.0.1 266 0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.100 276 10.0.0.0 255.255.255.0 On-link 10.0.0.1 266 10.0.0.1 255.255.255.255 On-link 10.0.0.1 11 10.0.0.12 255.255.255.255 On-link 10.0.0.12 306 10.0.0.255 255.255.255.255 On-link 10.0.0.1 266 127.0.0.0 255.0.0.0 On-link 127.0.0.1 306 127.0.0.1 255.255.255.255 On-link 127.0.0.1 306 127.255.255.255 255.255.255.255 On-link 127.0.0.1 306 192.168.1.0 255.255.255.0 On-link 192.168.1.100 276 192.168.1.100 255.255.255.255 On-link 192.168.1.100 276 192.168.1.255 255.255.255.255 On-link 192.168.1.100 276 224.0.0.0 240.0.0.0 On-link 127.0.0.1 306 224.0.0.0 240.0.0.0 On-link 10.0.0.1 266 224.0.0.0 240.0.0.0 On-link 192.168.1.100 276 224.0.0.0 240.0.0.0 On-link 10.0.0.12 306 255.255.255.255 255.255.255.255 On-link 127.0.0.1 306 255.255.255.255 255.255.255.255 On-link 10.0.0.1 266 255.255.255.255 255.255.255.255 On-link 192.168.1.100 276 255.255.255.255 255.255.255.255 On-link 10.0.0.12 306 =========================================================================== Persistent Routes: Network Address Netmask Gateway Address Metric 0.0.0.0 0.0.0.0 192.168.1.1 Default =========================================================================== IPv6 Route Table =========================================================================== Active Routes: If Metric Network Destination Gateway 1 51 ::1/128 On-link 1 306 ff00::/8 On-link =========================================================================== Persistent Routes: None
路由显示两个网关,都用于外部连接(networking目标0.0.0.0)。 如果一个人没有回应,那么使用另一个。 这就是为什么一些随机数据包被丢弃。 尝试从有线接口(10.0.0.1)中删除默认网关,这样路由应始终使用其他网关。 否则,您可以检查从客户端到客户端的0.0.0.0和dns服务器的路由。