Вы находитесь на странице: 1из 30

Dynamic Host Configuration Protocol

Presentation Shadeed Group No:1

Special Thanks To....

Presented to Prof

Khuram Shahzad Prof of System Adminstration

Name of Group Members

2662 Chaudhary Muhammad Asim Afzal 2740 Rao Muhammad Nauman 2684 Chaudhary Muhammad Arbab 2638 Waqar Aziz 2626 Mureed Hussain Jatoi 2612 Sagheer Khan

DHCP Overview
Used to automatically deliver IP addressing Reduces the amount of time you spend configuring computers on your network Used by default unless you specify otherwise The ipconfig /all command will indicate whether the configuration came from a DHCP server computer

DHCP Overview (continued)

Leasing an IP Address
An IP address is leased during the boot process The overall process is composed of four broadcast packets:

Leasing an IP Address

2740 Rao Muhammad Nauman

Topic name...

What is Dhcp..??

What is DHCP.....?? Dynamic Host Configuration Protocol (DHCP) is a network protocol that enables a server to automatically assign an IP address to a computer from a defined range of numbers (i.e., a scope) configured for a given network. DHCP assigns an IP address when a system is started, for example: A user turns on a computer with a DHCP client. The client computer sends a broadcast request (called a DISCOVER or DHCPDISCOVER), looking for a DHCP server to answer. The router directs the DISCOVER packet to the correct DHCP server.


The protocol Bootstrap Protocol (BOOTP) was the first Transmission Control Protocol/Internet Protocol (TCP/IP) network configuration tool used to prevent the task of having to manually assign IP addresses by automating the process. While the introduction of the BOOTP network protocol was a welcome innovation for network administrators tasked with managing large numbers of computers on a network, it was the first attempt and a new and improved TCP/IP network protocol soon followed. This protocol is called Dynamic Host Configuration Protocol (DHCP). DHCP was not designed as a replacement for BOOTP, but an extension of its functionality.


2684 Chaudhary M Arbab

How DHCP works


In basic terms, the DHCP works as follows: A network device attempts to connect to the Internet. The network requests an IP address. The DHCP server allocates (leases) the network device an IP address, which is forwarded to the network by a router.

DHCP updates the appropriate network servers with the IP address and other configuration information. The network device accepts the IP address. The IP address lease expires. DHCP either reallocates the IP address or leases one that is available. The network device is no longer connected to the Internet. The IP address becomes an available address in the network pool of IP addresses.





To set up DHCP, you basically need a DHCPsupported client (at least one) and router, and a DHCP server. The client is a computer or other device on a network that requires an IP address and or other network configuration information. The router functions as a forwarding (or routing) agent of IP address requests from the DHCP server. The DHCP server is key to the entire operation. It is responsible for allocating, leasing, reallocating, and renewing IP addresses. Windows and Linux both support DHCP software.

2638 Waqar Aziz

Topic Name

Preparing Your Network for DHCP

Preparing Your Network for DHCP

Before you set up your network to use DHCP, you must do the following: Map out the network and determine how many DHCP Servers will be needed. Determine which machines that are the best candidates for running a DHCP Server. Determine IP addressing for clients and configure IP pools for the DHCP Servers. Configure DHCP client network parameters (i.e., default gateway, DNS and WINS servers).

Planning your DHCP Server Configuration

Single or Multiple DHCP Servers
An important decision to make is the number of DHCP Servers to run on the network.

Planning your DHCP Server Configuration

Multiple DHCP Servers. The biggest advantage in having more than one DHCP Server serving the network is that when one DHCP Server fails, the other(s) continue to work. Another example would be where multiple separated network segments need DHCP service. The disadvantage of multiple DHCP Servers running on the network is that the administrator would need to keep track of the parameters of each DHCP Server and ensure that their IP pools don.t overlap. Single DHCP Server. The main advantage of having a single DHCP Server on the network is that the network is easily maintained

2626 Mureed Hussain

Topic Name... Configuring the DHCP Server And DHCP Server role Explain in computer networking

Once you have considered the implications of DHCP in your network, you are ready to get started with the simple configuration Step 1: Enabling the DHCP Server. Step 2: Configuring the DHCP Server. Step3: Allocating IP addresses. Step4: Applying the Configuration changes. For a small network, the configuration of the DHCP Server is not very challenging and the InJoy DHCP Server Plugin is deliberately designed to be extremely simple. In fact, in the InJoy Firewall., you can immediately enable the DHCP Server and have it operational in less than a minute

Configuring the DHCP Server

DHCP server role

DHCP servers centrally manage IP addresses and related information and provide it to clients automatically. This allows you to configure client network settings at a server, instead of configuring them on each client computer. If you want this computer to distribute IP addresses to clients, then configure this computer as a DHCP server.


DHCP allows a computer to join an IP-based network without having a pre-configured IP address. DHCP is a protocol that assigns unique IP addresses to devices, then releases and renews these addresses as devices leave and re-join the network. Internet service providers usually use DHCP to help customers join their networks with minimum setup effort required. Likewise, home network equipment like broadband routers offers DHCP support for added convenience in joining home computers to local area networks (LANs). DHCP environments require a DHCP server set up with the appropriate configuration parameters for the given network. Key DHCP parameters include the range or "pool" of available IP addresses, the correct subnet masks, plus network gateway and name server addresses.


Devices running DHCP client software can then automatically retrieve these settings from DHCP servers as needed. DHCP clients are built into all common network operating systems. Using DHCP on a network means system administrators do not need to configure these parameters individually for each client device.

2612 Sagheer khan

Topic Name...


DHCP dynamically assigns IP address information to clients on a network The DHCP lease process is composed of four packets: DHCPDISCOVER DHCPOFFER DHCPREQUEST DHCPACK A DHCP client attempts to renew its lease at 50%, 87.5%, and 100% of the lease time The commands ipconfig /release and ipconfig /renew can be used to release and renew DHCP leases

Summary (continued)
If the Active Directory service is present on your network, each DHCP server must be authorized in Active Directory to lease addresses to clients A scope defines a range of IP addresses that are leased to clients A superscope combines two scopes into a single logical unit to service network segments with two subnets

An exclusion in a scope can stop a DHCP server from handing out specific addresses A reservation allows you to give a specific workstation a defined IP address by tying the DHCP lease to the MAC address of the client Vendor and user classes can be used to configure some client computers with different options, depending on the class to which they belong A DHCP relay agent is required on each network that requires IP configuration from a DHCP server across a router