我运行services.msc然后检查DHCP已经启动,但:
C:\Documents and Settings\Administrator>ipconfig /all Windows IP Configuration Host Name . . . . . . . . . . . . : ROLIFE Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Unknown IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Realtek RTL8102/8103/8136 Family PCI-E FE NIC Physical Address. . . . . . . . . : XX-XX-XX-XX-XX-57 DHCP Enabled. . . . . . . . . . . : No IP Address. . . . . . . . . . . . : xxx.xxx.xxx.65 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : xxx.xxx.xxx.254 DNS Servers . . . . . . . . . . . : xxx.xxx.xxx.5 xxx.xxx.xxx.133 NetBIOS over Tcpip. . . . . . . . : Disabled C:\Documents and Settings\Administrator>ping localhost Pinging ROLIFE [127.0.0.1] with 32 bytes of data: Reply from 127.0.0.1: bytes=32 time<1ms TTL=128 Reply from 127.0.0.1: bytes=32 time<1ms TTL=128 Reply from 127.0.0.1: bytes=32 time<1ms TTL=128 Reply from 127.0.0.1: bytes=32 time<1ms TTL=128 Ping statistics for 127.0.0.1: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms
我怎样才能启用它?
您的接口使用静态IP地址设置,因此该接口上的DHCP被禁用。 为了使其能够通过控制面板进入“networking连接”页面,请右键单击相关接口并selectInternet协议(TCP / IP)。 单击属性,然后select自动获取IP地址。 点击OK几次,您的计算机将开始寻找一个DHCP服务器来提取自动地址。
另外,你真的不应该在网上发布公共IP地址。 现在,网站上的每个人都知道您正在运行的操作系统以及正在运行的IP,您已经向我们提供了我们需要尝试违反系统的前两件事情。
您已经在机器上设置了DHCP 服务器 ,但不是DHCP 客户机 。 所以你的服务器可以给DHCP地址,但不是要求地址。 在大多数情况下,你不希望你的DHCP服务器也成为一个客户端。
除非你知道自己在做什么,否则你可能不想在你的networking上使用两台DHCP服务器,所以想想你在这里实现的是什么: