IT:如何在Windows Server 2008 R2中设置DHCP

IT:如何在Windows Server 2008 R2中设置DHCP

Continuing our series on learning IT basics, today we’re going to show you how to setup DHCP on Windows Server 2008 instead of using it on a router.

继续我们的学习IT基础知识的系列,今天我们将向您展示如何在Windows Server 2008上设置DHCP,而不是在路由器上使用DHCP。

Note: this is part of our ongoing series teaching IT administration basics, and might not apply to everybody.

注意:这是我们正在进行的系列教学IT管理基础知识的一部分,可能并不适用于所有人。

This guide assumes that you have Server 2008 up and running on a machine–if you don’t, you should check out our guide on how to install it. You should also have set a static IP address on the server before continuing.

本指南假定您已在一台计算机上启动并运行Server 2008;如果没有,则应查阅有关如何安装它的指南。 您还应该在服务器上设置静态IP地址,然后再继续。

To get started, fire up the Server Manager, right click on roles, and then select add roles.

首先,启动服务器管理器,右键单击角色,然后选择添加角色。

IT:如何在Windows Server 2008 R2中设置DHCP

You will be prompted with the normal “Before You Begin” screen, and after clicking Next you’ll be able to choose DHCP Server.

系统将提示您正常的“开始之前”屏幕,然后单击“下一步”后,您将能够选择DHCP服务器。

IT:如何在Windows Server 2008 R2中设置DHCP

Next you’ll want to select the network connection to bind the DHCP protocol to.

接下来,您将要选择将DHCP协议绑定到的网络连接。

IT:如何在Windows Server 2008 R2中设置DHCP

Put in the IP address of your DNS Server, which in this case is the same machine–but be careful not to put the loopback address (127.0.0.1) as this will be the address your clients will go to for name resolution.

输入您的DNS服务器的IP地址(在本例中为同一台计算机),但请注意不要输入回送地址(127.0.0.1),因为这将是客户端用于名称解析的地址。

IT:如何在Windows Server 2008 R2中设置DHCP

Click next again to skip the WINS setup, this will bring you to creating a DHCP Scope, where you can click the Add button.

再次单击下一步跳过WINS设置,这将带您创建DHCP作用域,您可以在其中单击添加按钮。

IT:如何在Windows Server 2008 R2中设置DHCP

Now you need to:

现在您需要:

  • Give your scope a name

    给您的范围命名
  • Enter the first address that you want available to clients to use

    输入您想让客户使用的第一个地址
  • Enter the last address that you want available to clients to use

    输入您希望客户使用的最后一个地址
  • Enter the subnet mask (usually 255.255.255.0)

    输入子网掩码(通常为255.255.255.0)
  • Enter the IP address of your default gateway (usually your router IP at .1)

    输入默认网关的IP地址(通常为.1的路由器IP)
IT:如何在Windows Server 2008 R2中设置DHCP

Once you have clicked on OK, you can click next 4 times to get to the confirmation screen where you can finally click install.

单击“确定”后,可以单击接下来的4次以进入确认屏幕,最后可以单击“安装”。

IT:如何在Windows Server 2008 R2中设置DHCP

Once the installation is complete your DHCP will be functioning, and you can start managing your DHCP server right away.

安装完成后,您的DHCP将开始运行,您可以立即开始管理DHCP服务器。

IT:如何在Windows Server 2008 R2中设置DHCP

翻译自: https://www.howtogeek.com/99723/how-to-set-up-dhcp-in-server-2008-r2/