DYNAMIC HOST
CONFIGURATION
PROTOCOL
DHCP is a protocol used by DHCP
servers in wired/wireless IP networks
to dynamically allocate a variety of
network configuration data, such as
a user IP address, subnet mask,
default gateway IP address, DNS
server IP address, lease time and so
on, to client devices (DHCP clients).
DHCP is used so that you do not
have to statically assign IP addresses
to every device on your network and
manage the issues that static IP
addressing can create.
HOW DHCP WORKS
A DHCP Server works on the basis of the
DORA process. DORA stands for
(Discover, Offer, Request,
Acknowledgement)
Client sends DHCP Discover to
entire network
Server send DHCP Offer (IP
settings)
Client Requests Offered
Settings
Server sends Acknowledgement
Installing Windows Server 2008 DHCP Server
Before you start the configuration,
make sure that the DHCP Server role
was completely installed. Another thing
to remember is to have at least one
client computer connected using a
static IP address.
Note: If you do not have a static IP address assigned
on your server, you will get a warning that you
should not install DHCP with a dynamic IP address.
Installing Windows Server 2008 DHCP Server
1. From the Server Manage, click
on Add Roles
Installing Windows Server 2008 DHCP Server
2. When the Add Roles Wizard comes up, click Next
on that screen. Select that you want to add the
DHCP Server Role, and click Next.
Installing Windows Server 2008 DHCP Server
At this point, you will be prompted to input
the following parameters: IP network
information, scope information, and DNS
information. If you only want to install
DHCP server with no configured scopes or
settings, you can just click Next through
these questions and proceed with the
installation. On the other hand, you can
optionally configure your DHCP Server
during this part of the installation.
Installing Windows Server 2008 DHCP Server
3. You will be asked to select the
Network Connection Bindings. Here you
will select the network connection that
this DHCP server will use for serving the
clients. Select the existing static IP of
your server then click on Next.
Installing Windows Server 2008 DHCP Server
4. Here you will be asked to enter
the Parent domain, Primary DNS
Server, and Alternate DNS Server.
You may choose to leave the
Alternate DNS server blank. You
may click on Validate to verify if you
have entered a valid DNS Server. A
small green check under the IP
address will appear to confirm that
it is valid.
Installing Windows Server 2008 DHCP Server
5. On the next window. You will be
asked to add the WINS service.
WINS stands for "Windows Internet
Name Service." WINS is a legacy
computer name registration and
resolution service that maps
computer NetBIOS names to IP
addresses. For this installation we
will be using DNS to provide
registration and resolution services
so we can just select the option
“Wins is not required for the
applications on this network. Click
Next.
Installing Windows Server 2008 DHCP Server
6. Next is the option to edit the DHCP scopes.
A scope is a consecutive range of IP addresses that a
DHCP server can draw on to fulfill an IP address
request from a DHCP client. By defining one or more
scopes on your DHCP server, the server can manage the
distribution and assignment of IP addresses to DHCP
clients.
To add a scope, simply click on Add. A new window will
pop up, fill up the details under Scope name. Starting
IP and Ending IP. Make sure that you use the same
network address for both starting and ending IP to
avoid any issues on your network.
Click Next once done.
DHCP SCOPE
The range or pool of IP addresses that a
DHCP server can assign to clients on a
network. When you define one or more
scopes on your DHCP server, the server can
manage the distribution and assignment of
IP addresses to DHCP clients.
Installing Windows Server 2008 DHCP Server
Installing Windows Server 2008 DHCP Server
7. On the next window, you will be
asked to configure DHCPv6
Stateless Mode. Once enabled, your
DHCP server will be able to support
DHCPv6 protocols for serving Ipv6
clients. For this configuration we
will be using only IPv4 so we will be
selecting “Disable DHCPv6
Stateless mode for this server”.
Click Next.
Installing Windows Server 2008 DHCP Server
8. Click Next on the Authorize
DHCP Server window and leave all
values as default.
Installing Windows Server 2008 DHCP Server
9. Here you will be asked to check
the details you’ve provided from the
previous windows. Before clicking
the install button, make sure to
review your selections carefully.
Installing Windows Server 2008 DHCP Server
10. After the successful installation
you should be able to see the DHCP
Server added to the list of Roles on
your Server Manager.
Installing Windows Server 2008 DHCP Server
As you explore your DHCP Server,
you will see all the parameters
you’ve used during the installation
such as the Starting and Ending IP
and the Scope name as seen on the
image below.
DHCP IP RESERVATION
A process that assigns a specific IP
address to a device each time it
connects to a network. IP
reservation is useful when you
want a device to always have the
same IP address.
Why use IP Reservation?
1. Reliability of connection
2. Data Centers (IP for Servers)
How to test Windows Server 2008 DHCP Server
1. Login to one of your client
computers. Make sure that it is set
to obtain an IP address
automatically.
How to test Windows Server 2008 DHCP Server
2. Open the command prompt then
type in the command ipconfig
/release.
How to test Windows Server 2008 DHCP Server
3. Next type ipconfig /renew to get
your client computer’s new IP
address.
You’re client computer
will be given an IP address
based on the range of IP’s
that you’ve identified on
your Scope.
THANK YOU!