询问者
客户端无法自动得到IP地址

问题
-
server 2008 R2上设置了DHCP,现在所有的客户端电脑都不能自动获取IP地址,黄色感叹号。
现在只能手动的一个一个设置IP地址给用户端,然后就可以上网了。但是这些IP地址在用户端互相PING不通,但是路由器的IP和服务器的IP在用户端是可以PING通的,查了服务器日志,部分报错如下:
1.This computer has at least one dynamically assigned IPv6 address.For reliable DHCPv6 server operation, you should use only static IPv6 addresses.
2.The DHCP service has detected that it is running on a DC and has no credentials configured for use with Dynamic DNS registrations initiated by the DHCP service. This is not a recommended security configuration. Credentials for Dynamic DNS registrations may be configured using the command line "netsh dhcp server set dnscredentials" or via the DHCP Administrative tool.
3. Iashlpr initialization failed: The DHCP service was unable to access path specified for the audit log.
, so DHCP server cannot talk to NPS server. It could be that IAS service is not started.(IIS Admin Service服务已经启动了)请帮忙看下,谢谢!
全部回复
-
你好,
- 第一个错误表示您没有为DHCPv6服务器分配静态IPv6地址。如果您不在网络中使用DHCPv6,我们可以选择安全地忽略此事件。或者,我们可能必须为此服务器配置静态IPv6 IP地址。
- 如果DHCP服务器服务检测到它在域控制器中运行,并且没有配置DNS注册的备用凭据,则它决定不对DHCP客户端进行任何注册并记录事件DHCP / 1056。
请参考下面的链接进行修复:
https://docs.microsoft.com/zh-cn/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc774834(v=ws.10)
https://cloud.tencent.com/info/2d2f013fdbb062f4310e808afe0af9f8.html
- 这个错误是由于没有安装NPS服务或者和NPS网络中断。请参考下面的链接进行修复:
https://docs.microsoft.com/zh-cn/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc726931(v=ws.10)
- 但是这些报错都不会导致DHCP不能分配IP地址。你的客户端是获得的169.254的IP地址吗?DHCP服务器上有什么报错或者标志?
祝您工作顺利!
Travis
Please remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com- 已编辑 Travis HuangMicrosoft contingent staff, Moderator 2019年4月29日 3:07
- 第一个错误表示您没有为DHCPv6服务器分配静态IPv6地址。如果您不在网络中使用DHCPv6,我们可以选择安全地忽略此事件。或者,我们可能必须为此服务器配置静态IPv6 IP地址。
-
你好,
很抱歉回复晚了。
- 169.254的地址是在客户端无法获得DHCP分配的地址,自动生成的。
- 如果你现在不使用DHCP分配地址的话,那么可以删除DHCP重建。
- 最重要的报错是第一个,DHCP服务器上的网断了。
我现在说一下,搭建DHCP的条件。
- 首先我们要确保网络的连通。给Windows 2008分配一个静态地址,并且能够ping通DC。
- 搭建完DHCP服务器,首先在DC上授权。然后创建合适的scope。
- 保证客户端能够联系到DHCP。如果中间需要经过路由器,还需要设置中继代理。
祝您工作顺利!
Travis
Please remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com- 已建议为答案 Travis HuangMicrosoft contingent staff, Moderator 2019年5月8日 9:35
-
你好,
这些能获得IP的客户端,能够互相ping通嘛?受限制或者无连接只是表明没有互联网,不表示没有获得IP地址。
那些没有获得IP地址的,还是169.254的地址嘛?
请在客户端运行cmd,输入 ipconfig/all ,查看IP地址。如果可以请将结果贴上来。
祝您工作顺利!
Please remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com -
你好,
你的意思是DHCP上有客户端的租约,但是客户端的IP还是169.254?
这样吧,你先给客户端手动分配一个192.168.1.0网段的IP,然后ping DHCP服务器,能ping通嘛?
你ping的192.168.1.1的地址是DHCP的地址吗,还是网关地址?
整个环境都在一个网段里吗,除了路由器还有别的设备吗?
Best regards,
Travis
Please remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com -
你好,
我突然想到一个问题,您在路由器上配置了relay agent(中继代理)吗?
如果没有配的话,客户端是没有办法获得IP的。
祝您工作顺利!
Travis
Please remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com -
你好,
我公司的网络都是统一的,192.168.0.X,
这个是打错了吧,根据DHCP的scope应该是192.168.1.x。
你的环境里还有其他角色吗?比如说AD? 也许需要换个方向。
如果可以,我建议开个case,让微软的工程师帮你们看看环境。
祝您工作顺利!
Travis
Please remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com -
你好,
这个是微软全球客户服务电话号码,您可以咨询一下。不过开case的话是要收费的,请慎重考虑。
https://support.microsoft.com/zh-cn/help/4051701/global-customer-service-phone-numbers
您现在所有的计算机都是手动配置的地址,那么客户端之间能正常ping通吗?还有没有其他网络的问题?
Best regards,
Travis
Please remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com- 已建议为答案 Travis HuangMicrosoft contingent staff, Moderator 2019年5月27日 8:13