Windows Lab 6 - Installing DHCP


In this lab we're going to install the DHCP Role on Server01 and configure a scope. Then we're going to remotely install DHCP on Server02 from Server01 using Server Manager. After it's installed we'll configure DHCP failover. This will allow us to have DHCP installed on two servers and hand out addresses from the same scope. We'll configure Server02 to be our failover server. The advantage of this is if a server goes down our clients will get address information from the other server. In the past you would have two separate scopes with non overlapping IP addresses with 80% of your scope on one server and 20% on another server. A failover scope allows us to have full availability in the event of a failure.

Install DHCP on Server01

In the next lab we're going to create a client and join it to our domain. We'll use DHCP to automatically configure the IP settings of the client. First we'll need to install and configure DHCP. We're going to start with Server01. Power on both servers and log into Server01. Open Server Manager if it doesn't open automatically.

In Server Manager click the Manage drop down and select Add Roles and Features.

The Add Roles and Features Wizard will open. This was the same wizard we used to install Active Directory Domain Services. Click Next.

We're going to be installing a role-based feature so click Next.

This time around we're going to install DHCP on Server01 so click on that. Notice that you can choose to install it on either server. We're going to use this feature later on in the is lab. This is handy if you want to remotely administer a server. Click Next.

In the list of server roles select DHCP Server.

Once you select DHCP Server a dialog box will show up letting you know there are features that go with the role and ask if you want to add them at this time. We do so click Add Features.

DHCP is selected. Click Next.

At this time we don't want to add any additional features, they were already added in the previous screen's pop up message. Click Next.

On the screen that tells you what DHCP with some notes click Next.

Click Install.

When the install is complete click Close.

After the DHCP role is install you need to complete a post install configuration. Click the yellow triangle, then click. Complete DHCP configuration.

The post install wizard will create a couple groups in Active Directory and authorize the DHCP server. Click Next.

You're logged into the server as the domain administrator so you can use the default account to authorize the server. Click Commit.

This will complete quickly. Click Close.

Now that the DHCP role has been add to the server you'll see a new box for DHCP and DHCP listed on the left side.

Create DHCP Scope on Server01

Now that the DHCP role has been installed we can create a scope. The scope will define the range of IP addresses you hand out as well as other IP information you want to give to your clients.

In Server Manager click the Tools drop down and select DHCP.

When DHCP opens the window is always too small. I always make it bigger by dragging the lower right corner down and making the left panel wider.

Ahh, that's better. Really wish that was the default!

Now we're going to start the new scope wizard, branch open and right click on IPv4 and select New Scope.

On the new scope wizard click Next.

Type in Office for the Name of the scope. Click Next.

Enter for the starting IP and for the ending IP. The default mask is fine. Click Next.

We're not going to add any exclusions. Click Next.

The default lease time of 8 hours is fine for our environment. Click Next.

We do want to configure some of the common DHCP options. We could say no, and manually configure them after the wizard, but we're going to let the wizard guide us. Click Next.

The gateway address we've been using is Type that in and hit the Add button. Click Next.

The DNS information should already be filled out for you. It will use the Active Directory domain name, and the DNS server configured on the server. Click Next.

We're not going to use WINS (Windows Internet Naming Services) on our network. WINS was Microsoft's solution for name resolution before they adopted DNS with Active Directory and Windows 2000 Server. It's still available for legacy reasons. Click Next.

We do want to activate the scope now. Click Next.

Click Finish.

Now you have DHCP configured with a scope on Server01. You can open the scope and look at the pool of addresses.

You can also look at the scope options to see what options we set during the wizard. If you need to change them you can do that here.

Install DHCP on Server02

Next we're going to set up Server02 to be a DHCP failover server. Before we can do that we need to install the DHCP role on Server02. We're going to use the Server Manager on Server01 to push the DHCP role to Server02.

On Server01 open the Add Roles and Features Wizard. On the server selection screen select Server02. Follow the rest of the wizard like you did before.

After DHCP is installed on Server02 complete the DHCP configuration just like we did with Server01.

Once complete you'll notice we now have two DHCP servers.

Setup DHCP Failover on Server01

At this time both servers have DHCP installed. Server01 has a scope defined, and Server02 doesn't. We're going to configure failover so Server02 will share the same scope as Server01. This way if we have a server down, clients will still be able to receive IP information.

On Server01 right click on the Office scope and choose Configure Failover.

On the Introduction screen verify Select All is selected then click Next.

We want to replicate to Server02, click Add Server.

Type in SERVER02 and click Ok.

Server02 should be added to the partner server screen. Click Next.

Add P@ssw0rd as the shared secret for replication. Click Next.

Click Finish. After you click finish you'll see a progress box showing the synchronization. When complete click Finish.

Once you're complete shut down both servers and take snap shots of both machines called Lab 6 Complete.


Answer the lab questions.

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10