How to: Implement DHCP on Windows Server 2003

  • email Email to a friend
  • print Print version
  • Add to your del.icio.us del.icio.us
  • Digg this story Digg this

Did you enjoy this article?

(total 0 votes)

Newsletter

Subscribe to newsletter:

Poll: memory

How much memory in your computer do you have?
Adjust font size: Decrease font Enlarge font
image
This article is to describe, in easy steps, the implementation of DHCP in Windows Server 2003.
I assumed that you already have the Active Directory and DNS services up and running and you are logged in as one of the Enterprise Admins. First you will have to check if the DHCP server component is installed or not. Go to Start menu and choose the ‘Administrative Tools’. If ‘DHCP’ is there then you are on the safe side. If not, go to the Control Panel and choose ‘Add/Remove Programs’ and from within choose ‘Add/Remove Windows Components’ on the left panel and then double click on the ‘Network Service’ and tick the ‘DHCP’ box and go through with the installation steps (You will need the Windows Server 2003 CD).

Click on the ‘DHCP’ in the ‘Administrative Tools’ list from the Start menu. Now you will have the DHCP management console similar to the one below:



You will have you server name and IP address which in the example above is “ciscoserver” and the domain name is “mec.com” and the IP address is 10.0.0.1.

Now we will go into three phases of setup to get things going:

I. Creating a scope:

A scope is the range of IP addresses to be given to DHCP clients. You can create more than one scope and each have different IP addresses and different other parameters.

Now right click on the server name and from the list choose ‘New scope…’


Now lets start with the scope settings. First you give the scope a name and description. When choosing a name, make the name as most descriptive as possible so you could identify the scope from the name. (Ex: CiscoLab)


After giving the name and description, you have to choose the range of the DHCP scope that will be used for IP address assignment to DHCP clients. Remember to make the range not very much bigger than the number of clients that you have and leave some address-space for the static addresses of servers and printers.


Now you can ‘Add Exclusions’. In this stage, you can choose specific addresses or ranges of addresses to be excluded from the automatic assignment to DHCP clients. These excluded addresses can be the addresses of servers and printers too.


After setting the exclusions, you can set the lease time. This is the period of time in which the same addresses will be stuck to the same computers. You can choose it according to the type of network you are using. If you are setting a dial-up network, lease time should be small. But if you are setting an office network, you can have long lease time.


Now you should set the scope options. The scope options are the additional parameters that you can give to the DHCP clients like Default-Gateway, DNS server address, and NetBIOS server address ...etc.

You have two ways to do this; you can set these options specifically for the scope which is a good thing if you are setting multiple scopes, or you can set the options for the whole server such that all scopes will have the same options. And take into notice that the scope options override the server options, i.e., if you have for example three scopes of which two you want to use the same options for, you can set the server options and then set the scope options for the different scope only.

Either way, in the ‘New Scope Wizard’ now choose “No” and configure the options later because configuring the options form the wizard will not give you the complete list of options.


You can choose to Activate the scope immediately or not. And because you have not set the options yet, you should choose “No” too.


Now lets set either the scope options by right clicking the scope name and choosing ‘Scope Options…’ the server options by right clicking the server name and choosing the ‘Server Options…’.

We will have a long list of options like the on below. And usually only few of them are necessary to setup.


The options that we need to set usually are:

003 Router (Which is the Default-Gateway Address)

006 DNS Servers (We can have more than one)

015 DNS Domain Name

069 SMTP Servers

070 POP3 Servers

II. Activate the scope:

Right click on the scope name and choose ‘Activate’

III. Authorize the server:

Right click on the server name and choose ‘Authorize’

Now we are good to go. And to check on the scope activities we can click on the scope name and then choose ‘Address Pool’ to see check the correct setting of the address pool. And to see the clients that started leasing the addresses choose ‘Address Leases’.
Note:To get a PDF copy of this article please refer to this link.


© 2007 Mohammed Alani

  • email Email to a friend
  • print Print version
  • Add to your del.icio.us del.icio.us
  • Digg this story Digg this

Post your comment comment Comments (0 posted)