Computer Performance, Windows Server 2003

Guy recommends :
Free Solarwinds
VM Console

Solarwinds VM Console Free Download

Find out which of your VMs are a waste of space and which VMs need more resources.



 

Install and Configure DHCP in Windows Server 2003

 

Install and Configure DHCP in Windows Server 2003

As services go, DHCP is easy to both install and configure.  However, because there are so many settings in so many places, I am willing to bet that my tutorial will unearth at least one new option that will improve your DHCP performance.

Tutorial to Install and Configure DHCP Servers

  ‡

DHCP Install DHCP Scope create Subnet Mask Enable Options

This tutorial will guide you through the steps needed to get your DHCP server installed and configured correctly.  Let us begin with a straightforward job to install DHCP.  Get your Windows Server CD ready, then navigate to: Add Remove Programs, Windows Components, Networking Services.

Whilst adding the DHCP service is easy, configuring the scope options needs thought.  For instance, if you make a mistake with the subnet mask, you cannot amend that scope, you would have to delete and start afresh.  However, you can add and change the options such as Type 006 DNS server, or Type 015 Domain name.

DHCP Address Leases

Lease is a good name for a DHCP IP property.  Take for example the 8 day default lease;  if the client is shutdown for 2 days, when it restarts it will continue to have the same IP address.  Halfway through their lease clients attempt to renew their lease.  IPCONFIG /all will show you the lease, while /renew will do what it says, top up the lease.

Only reduce the duration if you are short of IP addresses.  For example, if you only have 250 IP addresses but 300 possible clients.  It also makes sense to set short leases if you are likely to discontinue a scope in the near future.

Here is a table summarising how a DHCP service results in clients getting an IP address.  If you are interested in seeing these packets, use Network monitor to capture DHCP in action.  Here are the classic 4 packets that clients exchange during a lease negotiation.

Client

 Server

DHCPDiscover  -->

<--- DHCPOffer

DHCPRequest   -->

<--- DHCPack

   
 DHCPInform  Server check that it is Authorized in Active Directory

 

Note 1: DHCPRequest may seem strange, but it comes into play if there are two DHCP servers and both make an offer to a potential client.

Note 2: DHCPack.  Once in a blue moon you see DHCPNack this is a negative acknowledgement which mean, ' I do no know you'.  The most likely cause of Nack is the client is trying to renew an IP address from the wrong DHCP server.

Guy Recommends:  A Free Trial of the Network Performance Monitor (NPM)Review of Orion NPM v10

Solarwinds' Orion performance monitor will help you discover what's happening on your network.  This utility will also guide you through troubleshooting; the dashboard will indicate whether the root cause is a broken link, faulty equipment or resource overload.

Perhaps the NPM's best feature is the way it suggests solutions to network problems.  Its second best feature is the ability to monitor the health of individual VMWare virtual machines.  If you are interested in troubleshooting, and creating network maps, then I recommend that you take advantage of Solarwinds' offer.

Download a free trial of the Network Performance Monitor.

Scope Options.

Take the time to investigate Scope Options, this the most likely place that I will win my bet that you will find a new setting which will improve your network performance.  These options can be set at the Scope Level, Server Level, Reservation Level or at the Class Level (Tricky).  So find all four places and make up your mind which would be the best level for your network.

Examples of DHCP Scope Options:

  • Router (Default Gateway), DNS Servers (006)
  • Domain Name (015) WINS (044 and 046)

Classes (Advanced Tab)

  • Vendor Class - Windows 98 Machines
  • User Class - Routing and Remote Access
  • Creating your own User Class - See more here.

Address Reservation

Reserving IP addresses is useful in two situations, for file and print servers and for important machines where leases are in short supply.  How does DHCP know which machine to lease a particular IP?  The answer is by its MAC address (also called NIC or Physical address).  In Windows 2003 when you enter the MAC address DHCP strips out the hyphens if you absentmindedly include them amongst the HEX numbers.  To find the MAC address ping the machine then type arp -a.

Remember that you can set DHCP Options for the reservations; after all, that may have been the very reason why you decided to make reservations in the first place.

Authorize - DHCP Server

In a Windows Server 2003 (or 2000) domain all DHCP servers need to be authorized in Active Directory.  This is an example of Microsoft's new security initiative, and an attempt to eliminate rogue DHCP servers set up junior administrators in a large company.  So, you need to logon (or RunAs) a member of the Enterprise Admins group.  Then right click the DHCP server icon, and Authorize.

Incidentally, The RIS service also needs to be Authorized before it becomes active.

Activate - DHCP Scope

Even after you Authorize a server, each scope  must be activated individually.  So, right click the scope to activate (or deactivate).  Keep your eye on the red or green arrows to judge your success.  Note you may have to Refresh from the server icon, often pressing F5 is not enough.

Solarwinds Config GeneratorGuy Recommends: The Free Config Generator

Solarwinds' Config Generator is a free tool, which puts you in charge of controlling changes to network routers and other SNMP devices.  Boost your network performance by activating network device features you've already paid for.

Guy says that for newbies the biggest benefit of this free tool is that it will provide the impetus for you to learn more about configuring the SNMP service with its 'Traps' and 'Communities'.

Download your free copy of Config Generator

Summary of Configuring DHCP

Installing DHCP is easy.  Authorizing and Activating are straightforward.  The toughest part is investigating all the Scope options and decide whether to implement them at the Server or Scope level.  This page will provide a step-by-step tutorial on getting the most from your DHCP Server.

Here is a major strategic decision - what use will you make of DHCP reservations?

 

If you like this page then please share it with your friends

 


Related DHCP Server topics

 *


Custom Search

Guy Recommends:
Orion's NPM - Network Performance MonitorReview of Orion NPM

Orion's performance monitor is designed for detecting network outages.  NPM makes it easy to see what's working, and what needs your attention.

This utility guides you through creating network maps.  It also helps troubleshooting by indicating whether the root cause is faulty equipment, or resource overload.

Download a free trial of Network Performance Monitor

 

Home Copyright © 1999-2012 Computer Performance LTD All rights reserved

Please report a broken link, or an error.