Installing DHCP Server On Windows Server 2008 R2

From TGITMW
Jump to: navigation, search

Contents

Notices

For the purpose of this tutorial, we will be running the install of Windows Server 2008 R2 on VMWare Workstation 7.0. If you are not able to emulate this setup, another hypervisor product will suffice or a physical computer that meets the minimum hardware requirements of Windows Server 2008 R2.

For the purpose of this tutorial, we will not be connecting this server to a domain environment so therefore it will remain as a standalone server.

Pre - Installation Tasks

Before we proceed any further with this tutorial, you will need to ensure that you have the following tools on hand:

  • Windows Server 2008 R2 Media

Installation Tasks

Installing The Operating System

You will need to insert the Windows Server 2008 R2 DVD into your CD / DVD Drive and then configure the boot order for the devices in the computer or boot from the drive using your specific key combination as this varies between computers

Windows Server 2008 R2 Install - 1.png
  • As you can see from the above image, this screen will appear briefly while Windows Server 2008 R2 is being prepared to install onto your computer.
Windows Server 2008 R2 Install - 2.png
  • On this screen, you will need to select your Language, Time & Currency Formats and finally, what type of keyboard or input method do you use. Once you have made all the necessary changes, click "Next".
Windows Server 2008 R2 Install - 3.png
  • To continue with the installation of Windows Server 2008 R2, click the "Install Now" button.
Windows Server 2008 R2 Install - 4.png
  • You will need to wait while your computer processes the above step.
Windows Server 2008 R2 Install - 5.png
  • If you understand the licensing agreement and will abide by it's terms, click the "I Accept The Licensing Terms" tick box and then click the "Next" button.
Windows Server 2008 R2 Install - 6.png
  • You now have a choice presented to you. You can either upgrade the existing server or run a custom install. As we are going to create a new server install for a business deployment, we will want to do a Custom Install. Press Custom "(Advanced)".
Windows Server 2008 R2 Install - 7.png
  • You are now given the oppotunity to modify partition layouts. As we are creating a new server install from scratch, do not modify this section and click "Next". This will start the installation process
Windows Server 2008 R2 Install - 8.png
  • You will now need to set an "Administrator" password in order to login to this server. Please ensure that this is a strong & safe password and that it is stored appropriately.
Windows Server 2008 R2 Install - 9.png
  • Once you login to the server for the first time, we will be able to start installing the DHCP server.

Post Installation Tasks

Configuring The Installation

Windows Server 2008 R2 Install - 10.png
  • You will now need to work your way through the "Initial Configuration Tasks" window that has appeared since you first logged in using the Administrator account. Please configure the following to what is appropriate to your needs:
    • "Set Timezone"
    • "Configure Networking"
    • "Provide Computer Name & Domain"
    • "Download & Install Updates"
    • "Configure Windows Firewall"
    • "Enable Remote Desktop"
  • Once you have configured everything that is necessary, tick the "Do Not Show This Window At Logon" & finally click the "Close" button on the "Initial Configuration Tasks" window.

Installing The DHCP Server Role

Windows Server 2008 R2 Install - 11.png
  • A new window will now appear called "Server Manager". It is from here that you can start installing "Roles" that this server will perform for it's clients. On the left hand side, please click the "Roles" link and then click the "Add Roles" link.
Windows Server 2008 R2 Install - 12.png
  • You will now notice that a "Add Roles Wizard" has now appeared to guide you through this process. This first screen basically outlines what you can use this wizard for and that it recommends you do some tasks before proceeding to this step if you have not already done so. Click "Next" to continue.
Windows Server 2008 R2 Install - 13.png
  • You are now at the spot where you can select "Server Roles" to install. As we are wanting to install a DHCP Server to hand out IP Addresses to clients on the same network, select "DHCP Server" and click the "Next" button.
Windows Server 2008 R2 Install - 14.png
  • This section of the wizard outlines the purpose of the DHCP Server and gives several tips for users to consider in their deployment of this server such as DHCP Scopes, Static IP Addresses etc. Once you have read through all the details, click the "Next" button.
Windows Server 2008 R2 Install - 15.png
  • You are now asked about which interface you would like the bind the DHCP Server to. As we are only serving out DHCP Addresses to a single network, select the first interface (this must also have a Static IP Address). You are also able to have multiple interfaces that service multiple subnets but that is outside the scope of this tutorial. Once you are happy with your selections, click "Next".
Windows Server 2008 R2 Install - 16.png
  • You will need to setup DHCP Scope options that will handle such items such as parent domain & preferred / alternate DNS Servers that clients can query in order to resolve IP Addresses to names. Once you have set these up, click the "Next" button.
Windows Server 2008 R2 Install - 17.png
  • On this screen, this handles setting up WINS Servers. As this is outside of the scope of this tutorial, we will skip this section by selecting "WINS Is Not Required For Applications On This Network" and click the "Next" button.
Windows Server 2008 R2 Install - 18.png
  • At this point of the wizard, you finally have the option to start creating DHCP Scopes. These scopes are an range of IP Addresses that can be "loaned" out to clients in order for them to gain access to network resources. In order to start creating one, click the "Add" button. A new window will appear asking you to fill out the following:
    • Scope Name
    • Starting IP Address
    • Ending IP Address
    • Subnet Type
    • Subnet Mask
    • Default Gateway

Once you have filled out those details, ensure that you have "Activate This Scope" ticked, and then click "OK" to close that window. If you are happy with your selections, click the "Next" button.

Windows Server 2008 R2 Install - 19.png
  • At this point we are not supporting anything to do with IPV6. So at this stage, leave the options as default and click "Next".
Windows Server 2008 R2 Install - 20.png
  • At this point we are not supporting anything to do with IPV6. So at this stage, leave the options as default and click "Next".
Windows Server 2008 R2 Install - 21.png
  • You are now presented with a confirmation screen, please scroll through and review any settins that you have setup during the configuration wizard for installing the DHCP Server. If you are happy with your choices and would like to proceed, click the "Install" button.
  • Once the install is completed, review any messages that it may leave behind and click the "Close" button. The DHCP Server should be now automatically assigning IP Addresses to clients if they are connected to the same network as the server. In order to check if it is working, there are two ways to do this:

Testing To Ensure DHCP Server Is Functioning Correctly

Use either of the following steps to check whether the DHCP Server is functioning correctly in your environment:

1) Go to a client machine and type in the following: - ipconfig /renew

Or

2) In the Roles section of "Server Manager", expand on "DHCP Server" -> "<ServerName>" -> IPV4 -> "<ScopeRange>" and finally "Address Leases". If you see any entries in here, it means that the DHCP Server is successfully handing out addresses to requesting clients.

© Shaun Andrews 2010. All Rights Reserved.

Personal tools