SlideShare a Scribd company logo
1 of 63
DHPC
Dynamic
Host
Configuration
Protocol

1
DHPC
• Every host on a TCP/IP network must have
a unique IP address.
• Each host must be properly configured so
that it knows its IP address.
• When a new host comes online, it must be
assigned an IP address that is within the
correct range of addresses for the subnet
and is not already in use.

2
DHPC
• Although you can manually assign IP
addresses to each computer on your
network, that task quickly becomes
overwhelming if the network has more than
a few computers.
• That’s where DHCP – Dynamic Host
Configuration Protocol, comes into play.

3
DHPC
• DHCP automatically configures the IP
address for every host on a network, thus
assuring that each host has a valid unique
IP address.

• DHCP even automatically reconfigures IP
addresses as hosts come and go.
• DHCP can save a network administrator
many hours of tedious configuration work.

4
DHPC Understanding DHCP:
• DHCP allows individual computer on a
TCP/IP
network
to
obtain
their
configuration information- in particular,
their IP address – from a server.

• The DHCP server keeps track of which IP
addresses have already been assigned so
that when a computer request an IP
address, the DHCP server will offer it an IP
address that is not already in use.

5
DHPC Configuration information:
• Although the primary, DHCP actually
provides more configuration information
than just the IP address to its clients.

• The additional configuration information is
referred to a DHCP options.

6
DHPC Configuration information:
The following is a list of some common
DHCP options that can be configured by the
server:

 The router address, also known as the
Default Gateway address.
 The expiration time for the
configuration information.
 Domain name
 DNS server address
 WINS server address

7
DHPC Servers:
A DHCP server can be a server computer
located on the TCP/IP network.
All modern server operating system have a
built-in DHCP server.

To set up DHCP on a network server, all you
have to do is enable the server’s DHCP
function and configure its settings.
A server computer running DHCP doesn’t have
to be devoted entirely to DHCP unless the
network is very large.

8
DHPC Servers:
For most networks, a file server can share
duty as a DHCP server.
This is especially true if you provide long
leases for your IP addresses.
Many multifunction routers also have builtin DHCP servers.

9
DHPC Servers:

10

An advantage of allowing the router to be
your network’s DHCP server is that you
rarely need to power down a router.
In contrast, you occasionally need to restart or
power down a file server to perform system
maintenance, to apply upgrades, or to perform
troubleshooting.
Most networks require only one DHCP
server.
DHPC Servers:
Setting up two or more servers on the
same network requires that you carefully
coordinate the IP address ranges (scope)
for which each server is responsible.
If you accidently set up two DHCP servers
for the same scope, you many end up with
duplicate address assignments if the servers
attempt to assign the same IP address to two
different hosts.

11
DHPC Servers:
To prevent this from happening, its best to
set up just one DHCP server unless your
network is so large that one server can’t
handle the load.

12
How DHCP actually works
Use / Config. DHCP server without
knowing the details of how DHCP client
configuration actually works.
The following paragraphs are a blow-byblow account of how DHCP configures
TCP/IP hosts.

13
How DHCP actually works
This procedure happens every time you
boot up a host computer.
It also happens when you release an IP
lease and request a fresh lease.

When a host computer starts up, the DHCP
client software sends a special broadcast
packet, known as a DHCPDiscover
message

14
How DHCP actually works
This message uses the subnet’s broadcast
address (all host ID bits set to one) as the
destination address and 0.0.0.0 as the
source address.
The client has to specify 0.0.0.0 as the
source address because it doesn’t yet have
an IP address, and it specifies the
broadcast address as the destination
address because it doesn’t know the
address of any DHCP servers.

15
How DHCP actually works
In effect, the DHCPDiscover message is
saying ‘Hey...! I’m new here. Are there any
DHCP servers out here?’

16
How DHCP actually works
The DHCP server receives the broadcast
DHCPDiscover message and responds by
sending a DHCPOffer message include an
IP address that the client can use.
Like the DHCPDiscover message, the
DHCPOffer message is sent to the
broadcast address.
This makes sense because the client to
which the message is being sent doesn’t yet
have an IP address and won’t have one
until it accepts the offer.

17
How DHCP actually works
In effect, the DHCPOffer message is saying,
‘Hello there, whoever you are. Here’s an IP
address you can use, if you want it. Let me
know.’
What if the client never receives a
DHCPOffer message from a DHCP server?
In that case, the client waits for a few
seconds and tries again. The client will try
four times – at 2, 4, 8 and 16 seconds. If it
still doesn’t get an offer, it will try again
after five minutes.

18
How DHCP actually works
The client receives the DHCPOffer message
and sends back a message known as a
DHCPRequest message. At this point, the
client doesn’t actually own the IP address.
It’s simply indicating that it’s ready to
accept the IP address that was offered by
the server.
In effect, the DHCPRequest message says,
‘Yes, that IP address would be good for
me, Can I have it, please?’

19
How DHCP actually works
When the server receives the
DHCPRequest message, it marks the IP
address as assigned to the client and
broadcasts a DHCPAck message.
The DHCPAck message says, in effect,
“Okay, it’s all yours. Here’s the rest of the
information you need to use it.”

20
How DHCP actually works
When the client receives the DHCPAck
message, it configures its TCP/IP stack by
using the address it accepted from the
server.

21
Understanding Scope:
A scope is simply a range of IP addresses
that a DHCP server is configured to
distribute.
In the simplest case, where a single DHCP
sever oversees IP configuration for an
entire subnet, the scope corresponds to the
subnet.
However, if you set up two DHCP servers
for a subnet, you can configure each with a
scope that allocates only one part of the
complete subnet range.

22
one scope

Understanding Scope:
In addition, a single DHCP server can
serve more than one scope.
You must create a scope before you can
enable a DHCP server. When you create a
scope, you can provide it with the following
properties:

1) A scope name, which helps you to
identify the scope and its purpose.

23
Understanding Scope:
2) A scope description, which lets you
provide additional details about the scope
and its purpose.

3) A starting IP address for the scope.
4) An ending IP address for the scope.
5) A subnet mask for the scope. You can
specify the subnet mask with dotted
decimal notation or with CIDR notation.

24
Understanding Scope:
6) One or more ranges of excluded
addresses. These addresses won’t be
assigned to clients.
7) One or more reserved addresses.
These are addresses that will always be
assigned to particular host devices.
8) The lease duration, which indicates
how long the host will be allowed to use
the IP address. ...

25
Understanding Scope:
8) ... The client will attempt to renew the
lease when half of the lease duration has
elapsed. For example, if you specify a lease
duration of eight days, the client will
attempt to renew the lease after four
days have passed. This allows the host
plenty of time to renew the lease before
the address is reassigned to some other
host.

26
Understanding Scope:
9) The router address for the subnet. This
value is also known as the Default Gateway
address.

10) The domain name and the IP address
of the network’s DNS server and WINS
servers.

27
Understanding excluded
In the case of DHCP scopes, exclusions
can help you to prevent IP address conflicts
and can enable you to divide the DHCP
workload for a single subnet among two or
more DHCP servers.

An exclusion is a range of addresses that
are not included in a scope. The exclusion
range falls within the range of the
scope’s starting and ending addresses.

28
Understanding excluded
In effect, an exclusion range lets you punch
a hole in a scope.
The IP addresses that fall within the hole
won’t be assigned.
The following are several reasons for
excluding IP addresses from a scope:
1) The computer that runs the DHCP
service itself must usually have a
static IP address assignment. As a
result, the address of the DHCP server
should be listed as exclusion.

29
Understanding excluded
2) Some hosts many not be able to
support DHCP. In that case, the host will
require a static IP address.
For example, you may have a really old MSDOS computer that doesn’t have a DHCP
client. By excluding its IP address from the
scope, you can prevent that address from
being assigned to any other host on the
network.

30
Understanding Reservation
In some cases, you may want to assign a
particular IP address to a particular
host.
One way to do this is to configure the host
with a static IP address so that the host
doesn’t use DHCP to obtain its IP
configuration.

31
Understanding excluded
However, two major disadvantages to that
approach exist:
1) TCP/IP configuration supplies more than
just the IP address. If you use static
configuration, you must manually specify
the subnet mask, Default Gateway
address, DNS server address, and other
configuration information required by the
host.

32
Understanding excluded
2) You must remember to exclude the
static IP address from the DHCP server’s
scope.
Otherwise, the DHCP server won’t know
about the static address and may assign it to
another host.
Then, you will have two host with the same
address on your network.

33
Understanding excluded
A better way to assign a fixed IP address to
a particular host is to create a DHCP
reservation.
A reservation simply indicates that
whenever a particular host requests an IP
address from the DHCP server, the server
should provide it the address that you
specify in the reservation.

34
Understanding excluded
The host won’t receive the IP address
until the host requests it from the DHCP
server, but whenever the host does request
IP configuration, it will always receive the
same address.

To create a reservation, you associate the
IP address that you want assigned to the
host with the host’s MAC address.

35
Understanding excluded
As a result, you need to get the MAC
address from the host before you create
the reservation.
You can get the MAC address by running the
command

ipconfig /all
From command prompt.

36
Understanding excluded
Start 
All Programs 
Accessories 
System Tools 
System Information.

37
38

What is BOOTP

Self Study...
Installing and Configuring
DHCP server.
Steps:

1) Choose Start >> Administrative Tools
>> Manage Your Server. [Manage Your
Server application appears]
2) Click the Add or Remove a Role Link.
[The Configure Your Server Wizard
appears]

39
Installing and Configuring
DHCP server.
Steps:
3) Select DHCP Server from the list of roles
and then click Next.
4) Click Next.

40
Installing and Configuring
DHCP server.
Steps:
The Wizard calls up the Windows Setup
program to install the DHCP server
components.
This can take a few minutes, so be
patient.
When the components are installed, the
Windows Setup program automatically
ends and is replaced by the New Scope
Wizard dialog box, as shown in figure 1.0.

41
Installing and Configuring
DHCP server.

42

Steps:

The New Scope Wizard guides you
through the process of creating the first
scope for the DHCP server.
5) Click the Next button
The wizard asks for a name and description for the new scope.

6) Type the name and description for the
scope.
Give name in description i.e. “Office-Server”
Installing and Configuring
DHCP server.
Steps:
7) Click Next
The Wizard asks for the scope range, as shown in Figure

43
Installing and Configuring
DHCP server. [The Scope Wizard comes]
Steps:

44
Installing and Configuring
DHCP server. [The Scope Wizard comes]
Steps:

45
Installing and Configuring
DHCP server.
Steps:
8) Enter the start and end IP address and
the subnet mask.
You can enter the subnet mask by either selecting
its length from the Length spin button or by
entering the complete subnet mask into the
Subnet Mask text box.
In this example, I’ve entered the range
192.168.1.1 through 192.168.1.254, with a
subnet mask of 255.255.255.0.

46
Installing and Configuring
DHCP server.
Steps:

9) Click Next
The next screen of the wizard lets you
create exclusions, as shown in Figure

47
Installing and Configuring
DHCP server. Figure 3.0 : Specifying exclusion

48
Installing and Configuring
DHCP server.
Steps:
10) Enter each exclusion by entering the
start and end IP address and then clicking
ADD.
11) Click Next
Next, the wizard asks for the lease duration, as shown in Figure

12) Use the spin boxes to specify the lease
duration.
The default setting is eight days.
For more information about how to choose an appropriate lease
duration, refer to the section "How long a lease?"

49
Installing and Configuring
DHCP server. Specifying the lease duration

50
Installing and Configuring
DHCP server.
Steps:
13) Click Next
The wizard asks whether you want to configure the
DHCP options now or later.
Figure Specifying the lease duration

14) Check YES and then click NEXT
The wizard asks for the IP address of the router.

51
Installing and Configuring
DHCP server.
Steps:
15) Enter the router's IP address, click
Add, and then click Next.
Next, the wizard asks for the DNS configuration information, as
shown in Figure 3.5

16) Enter the domain name and DNS
servers.
To enter a DNS server, type its address in the IP address text box and
click ADD button.

You typically have more than one DNS server.

In figure 3.5 I specified LoweWriter.com for the domain
name and provided IP addresses for three DNS servers.

52
Installing and Configuring
DHCP server. Specifying the DNS information

53
Installing and Configuring
DHCP server.
Steps:
17) Click Next
The wizard nexst asks for the WINS configuration
information.

18) Enter the WINS server configuration
and then click Next.
To specify a WINS server, enter the server's IP address and click Add.

54
Installing and Configuring
DHCP server.
Steps:
19) Choose Yes or No to activate the
scope now or wait until later and then
click Next.
20) Click Finish to close the New Scope
Wizard.
21) Click Finish to close the Configure
Your Server Wizard.

55
Managing a DHCP server
You can bring up the DHCP management
console by choosing
START >>
Administrative Tools >>
DHCP

56
Managing a DHCP server
-- OR -by clicking
Manage This DHCP Server
from the
Manage Your Server application.

57
Managing a DHCP server

58
Managing a DHCP server

59
Configure a DHCP Client
The DHCP client is automatically
included when you install the TCP/IP
protocol, so all you have to do is configure
TCP/IP to use DHCP.
To do this, bring the Network Properties
dialog box by choosing Network /
Network Connections in the Control
Panel.

60
Configure a DHCP Client
Then, select the TCP/IP protocol and
click the Properties button.
This brings up the TCP/IP properties
dialog box, as shown in figure 3.8.
To configure the computer to use DHCP,
check
Obtain An IP Address Automatically and
Obtain DNS Server Address
Automatically

61
Managing a DHCP Client

62
63

That’s All for DHCP

63

More Related Content

What's hot

Chapter 29 Domain Name System.ppt
Chapter 29 Domain Name System.pptChapter 29 Domain Name System.ppt
Chapter 29 Domain Name System.pptwebhostingguy
 
dynamic host configuration protocol
dynamic host configuration protocoldynamic host configuration protocol
dynamic host configuration protocolkinish kumar
 
Dhcp presentation
Dhcp presentationDhcp presentation
Dhcp presentationSaqib Malik
 
Lesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol ALesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol AMahmmoud Mahdi
 
Presentation On Group Policy in Windows Server 2012 R2 By Barek-IT
Presentation On Group Policy in Windows Server 2012 R2 By Barek-ITPresentation On Group Policy in Windows Server 2012 R2 By Barek-IT
Presentation On Group Policy in Windows Server 2012 R2 By Barek-ITMd. Abdul Barek
 
DNS - Domain Name System
DNS - Domain Name SystemDNS - Domain Name System
DNS - Domain Name SystemPeter R. Egli
 
13 DHCP Configuration in Linux
13 DHCP Configuration in Linux13 DHCP Configuration in Linux
13 DHCP Configuration in LinuxHameda Hurmat
 
DHCP Server & Client Presentation
DHCP Server & Client PresentationDHCP Server & Client Presentation
DHCP Server & Client Presentationraini
 
Domain Name System DNS
Domain Name System DNSDomain Name System DNS
Domain Name System DNSAkshay Tiwari
 
DHCP (Dynamic Host Configuration Protocol)
DHCP (Dynamic Host Configuration Protocol)DHCP (Dynamic Host Configuration Protocol)
DHCP (Dynamic Host Configuration Protocol)Faisal Jatt
 
Domain name system (dns)
Domain name system (dns)Domain name system (dns)
Domain name system (dns)Atikur Rahman
 
Chapter09 Implementing And Using Group Policy
Chapter09      Implementing And  Using  Group  PolicyChapter09      Implementing And  Using  Group  Policy
Chapter09 Implementing And Using Group PolicyRaja Waseem Akhtar
 

What's hot (20)

Chapter 29 Domain Name System.ppt
Chapter 29 Domain Name System.pptChapter 29 Domain Name System.ppt
Chapter 29 Domain Name System.ppt
 
dynamic host configuration protocol
dynamic host configuration protocoldynamic host configuration protocol
dynamic host configuration protocol
 
Dhcp
DhcpDhcp
Dhcp
 
Dhcp presentation
Dhcp presentationDhcp presentation
Dhcp presentation
 
Lesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol ALesson 6: Dynamic Host Configuration Protocol A
Lesson 6: Dynamic Host Configuration Protocol A
 
Presentation On Group Policy in Windows Server 2012 R2 By Barek-IT
Presentation On Group Policy in Windows Server 2012 R2 By Barek-ITPresentation On Group Policy in Windows Server 2012 R2 By Barek-IT
Presentation On Group Policy in Windows Server 2012 R2 By Barek-IT
 
Dhcp ppt
Dhcp pptDhcp ppt
Dhcp ppt
 
DNS - Domain Name System
DNS - Domain Name SystemDNS - Domain Name System
DNS - Domain Name System
 
13 DHCP Configuration in Linux
13 DHCP Configuration in Linux13 DHCP Configuration in Linux
13 DHCP Configuration in Linux
 
DHCP Server & Client Presentation
DHCP Server & Client PresentationDHCP Server & Client Presentation
DHCP Server & Client Presentation
 
DHCP
DHCPDHCP
DHCP
 
DHCP & DNS
DHCP & DNSDHCP & DNS
DHCP & DNS
 
Domain Name System DNS
Domain Name System DNSDomain Name System DNS
Domain Name System DNS
 
DHCP (Dynamic Host Configuration Protocol)
DHCP (Dynamic Host Configuration Protocol)DHCP (Dynamic Host Configuration Protocol)
DHCP (Dynamic Host Configuration Protocol)
 
Configuration DHCP
Configuration DHCPConfiguration DHCP
Configuration DHCP
 
101 CCNA LABS.pdf
101 CCNA LABS.pdf101 CCNA LABS.pdf
101 CCNA LABS.pdf
 
Domain name system (dns)
Domain name system (dns)Domain name system (dns)
Domain name system (dns)
 
Intro to DNS
Intro to DNSIntro to DNS
Intro to DNS
 
Chapter09 Implementing And Using Group Policy
Chapter09      Implementing And  Using  Group  PolicyChapter09      Implementing And  Using  Group  Policy
Chapter09 Implementing And Using Group Policy
 
DNS (Domain Name System)
DNS (Domain Name System)DNS (Domain Name System)
DNS (Domain Name System)
 

Viewers also liked

Dhcp Server Linux Server
Dhcp Server Linux ServerDhcp Server Linux Server
Dhcp Server Linux Servermuh kemal
 
DockerCon14 Cluster Management and Containerization
DockerCon14 Cluster Management and ContainerizationDockerCon14 Cluster Management and Containerization
DockerCon14 Cluster Management and ContainerizationDocker, Inc.
 
Pendahuluan - Materi 1 - TBO
Pendahuluan - Materi 1 - TBOPendahuluan - Materi 1 - TBO
Pendahuluan - Materi 1 - TBOahmad haidaroh
 
2015 01 19_administrasi_server_pertemuan_3
2015 01 19_administrasi_server_pertemuan_32015 01 19_administrasi_server_pertemuan_3
2015 01 19_administrasi_server_pertemuan_3rudiantoinz
 
Context Free Grammar 1 - Materi 6 - TBO
Context Free Grammar 1 - Materi 6 - TBOContext Free Grammar 1 - Materi 6 - TBO
Context Free Grammar 1 - Materi 6 - TBOahmad haidaroh
 
Redhat ha cluster with pacemaker
Redhat ha cluster with pacemakerRedhat ha cluster with pacemaker
Redhat ha cluster with pacemakerIndika Dias
 
Konsepsentral - Materi 2 - TBO
Konsepsentral - Materi 2 - TBOKonsepsentral - Materi 2 - TBO
Konsepsentral - Materi 2 - TBOahmad haidaroh
 
Pumping Lemma-rl - Materi 5 - TBO
Pumping Lemma-rl - Materi 5 - TBOPumping Lemma-rl - Materi 5 - TBO
Pumping Lemma-rl - Materi 5 - TBOahmad haidaroh
 
Context Free Grammar (CFG) Bagian 2 - Materi 7 - TBO
Context Free Grammar (CFG) Bagian 2 - Materi 7 - TBOContext Free Grammar (CFG) Bagian 2 - Materi 7 - TBO
Context Free Grammar (CFG) Bagian 2 - Materi 7 - TBOahmad haidaroh
 
Pushdown Automata - Materi 8 - TBO
Pushdown Automata - Materi 8 - TBOPushdown Automata - Materi 8 - TBO
Pushdown Automata - Materi 8 - TBOahmad haidaroh
 
Finite State Automata - Materi 3 - TBO
Finite State Automata - Materi 3 - TBOFinite State Automata - Materi 3 - TBO
Finite State Automata - Materi 3 - TBOahmad haidaroh
 
Error Handling - P 7 Teknik Kompilasi
Error Handling - P 7 Teknik Kompilasi Error Handling - P 7 Teknik Kompilasi
Error Handling - P 7 Teknik Kompilasi ahmad haidaroh
 
HPC Cluster Computing from 64 to 156,000 Cores 
HPC Cluster Computing from 64 to 156,000 Cores HPC Cluster Computing from 64 to 156,000 Cores 
HPC Cluster Computing from 64 to 156,000 Cores inside-BigData.com
 
Analisis Semantik - P 6 Teknik Kompilasi
Analisis Semantik - P 6 Teknik KompilasiAnalisis Semantik - P 6 Teknik Kompilasi
Analisis Semantik - P 6 Teknik Kompilasiahmad haidaroh
 
Multiplekser - Demultiplekser - Pertemuan 7
Multiplekser - Demultiplekser - Pertemuan 7Multiplekser - Demultiplekser - Pertemuan 7
Multiplekser - Demultiplekser - Pertemuan 7ahmad haidaroh
 
Linux12 clustering onlinux
Linux12 clustering onlinuxLinux12 clustering onlinux
Linux12 clustering onlinuxJainul Musani
 

Viewers also liked (20)

Linux10 sendmail
Linux10 sendmailLinux10 sendmail
Linux10 sendmail
 
Dhcp Server Linux Server
Dhcp Server Linux ServerDhcp Server Linux Server
Dhcp Server Linux Server
 
DockerCon14 Cluster Management and Containerization
DockerCon14 Cluster Management and ContainerizationDockerCon14 Cluster Management and Containerization
DockerCon14 Cluster Management and Containerization
 
Dhcp options supported
Dhcp options supportedDhcp options supported
Dhcp options supported
 
Pendahuluan - Materi 1 - TBO
Pendahuluan - Materi 1 - TBOPendahuluan - Materi 1 - TBO
Pendahuluan - Materi 1 - TBO
 
2015 01 19_administrasi_server_pertemuan_3
2015 01 19_administrasi_server_pertemuan_32015 01 19_administrasi_server_pertemuan_3
2015 01 19_administrasi_server_pertemuan_3
 
Context Free Grammar 1 - Materi 6 - TBO
Context Free Grammar 1 - Materi 6 - TBOContext Free Grammar 1 - Materi 6 - TBO
Context Free Grammar 1 - Materi 6 - TBO
 
Redhat ha cluster with pacemaker
Redhat ha cluster with pacemakerRedhat ha cluster with pacemaker
Redhat ha cluster with pacemaker
 
Konsepsentral - Materi 2 - TBO
Konsepsentral - Materi 2 - TBOKonsepsentral - Materi 2 - TBO
Konsepsentral - Materi 2 - TBO
 
Pumping Lemma-rl - Materi 5 - TBO
Pumping Lemma-rl - Materi 5 - TBOPumping Lemma-rl - Materi 5 - TBO
Pumping Lemma-rl - Materi 5 - TBO
 
Context Free Grammar (CFG) Bagian 2 - Materi 7 - TBO
Context Free Grammar (CFG) Bagian 2 - Materi 7 - TBOContext Free Grammar (CFG) Bagian 2 - Materi 7 - TBO
Context Free Grammar (CFG) Bagian 2 - Materi 7 - TBO
 
Pushdown Automata - Materi 8 - TBO
Pushdown Automata - Materi 8 - TBOPushdown Automata - Materi 8 - TBO
Pushdown Automata - Materi 8 - TBO
 
Finite State Automata - Materi 3 - TBO
Finite State Automata - Materi 3 - TBOFinite State Automata - Materi 3 - TBO
Finite State Automata - Materi 3 - TBO
 
Error Handling - P 7 Teknik Kompilasi
Error Handling - P 7 Teknik Kompilasi Error Handling - P 7 Teknik Kompilasi
Error Handling - P 7 Teknik Kompilasi
 
HPC Cluster Computing from 64 to 156,000 Cores 
HPC Cluster Computing from 64 to 156,000 Cores HPC Cluster Computing from 64 to 156,000 Cores 
HPC Cluster Computing from 64 to 156,000 Cores 
 
Analisis Semantik - P 6 Teknik Kompilasi
Analisis Semantik - P 6 Teknik KompilasiAnalisis Semantik - P 6 Teknik Kompilasi
Analisis Semantik - P 6 Teknik Kompilasi
 
Linux02 install SSh
Linux02 install SShLinux02 install SSh
Linux02 install SSh
 
Multiplekser - Demultiplekser - Pertemuan 7
Multiplekser - Demultiplekser - Pertemuan 7Multiplekser - Demultiplekser - Pertemuan 7
Multiplekser - Demultiplekser - Pertemuan 7
 
Linux12 clustering onlinux
Linux12 clustering onlinuxLinux12 clustering onlinux
Linux12 clustering onlinux
 
Apache Ppt
Apache PptApache Ppt
Apache Ppt
 

Similar to Linux05 DHCP Server

Similar to Linux05 DHCP Server (20)

Dhcp 11
Dhcp 11Dhcp 11
Dhcp 11
 
13 - DHCP Service.ppt
13 - DHCP Service.ppt13 - DHCP Service.ppt
13 - DHCP Service.ppt
 
6 understanding DHCP
6 understanding DHCP6 understanding DHCP
6 understanding DHCP
 
Durai presentation of dhcp
Durai presentation of dhcpDurai presentation of dhcp
Durai presentation of dhcp
 
Module (8) DHCP Server.pptx
Module (8) DHCP Server.pptxModule (8) DHCP Server.pptx
Module (8) DHCP Server.pptx
 
Dhcp edu
Dhcp eduDhcp edu
Dhcp edu
 
Networking DHCP server Setup Reports
Networking DHCP server Setup ReportsNetworking DHCP server Setup Reports
Networking DHCP server Setup Reports
 
DHCP in windows server 2012
DHCP in windows server 2012DHCP in windows server 2012
DHCP in windows server 2012
 
DHCP (dynamic host configuration protocol)
DHCP (dynamic host configuration protocol)DHCP (dynamic host configuration protocol)
DHCP (dynamic host configuration protocol)
 
Dhcp server configuration
Dhcp server configurationDhcp server configuration
Dhcp server configuration
 
DHCP Server Guaidlines using CISCO PACKET TRACER
DHCP Server Guaidlines using CISCO PACKET TRACERDHCP Server Guaidlines using CISCO PACKET TRACER
DHCP Server Guaidlines using CISCO PACKET TRACER
 
DHCP.pptx
DHCP.pptxDHCP.pptx
DHCP.pptx
 
Configuring a DHCP Server
Configuring a DHCP Server Configuring a DHCP Server
Configuring a DHCP Server
 
DYNAMIC HOST CONFIGURATION PROTOCOL
DYNAMIC HOST CONFIGURATION PROTOCOLDYNAMIC HOST CONFIGURATION PROTOCOL
DYNAMIC HOST CONFIGURATION PROTOCOL
 
14047721
1404772114047721
14047721
 
Group-7-DHCPv4.pptx
Group-7-DHCPv4.pptxGroup-7-DHCPv4.pptx
Group-7-DHCPv4.pptx
 
Dhcp presentation
Dhcp presentationDhcp presentation
Dhcp presentation
 
DHCP
DHCPDHCP
DHCP
 
zuiqui_DHC.ppt
zuiqui_DHC.pptzuiqui_DHC.ppt
zuiqui_DHC.ppt
 
dhcp (dynamic host configuration protocol) very Cleare Explanation, Interview...
dhcp (dynamic host configuration protocol) very Cleare Explanation, Interview...dhcp (dynamic host configuration protocol) very Cleare Explanation, Interview...
dhcp (dynamic host configuration protocol) very Cleare Explanation, Interview...
 

More from Jainul Musani

More from Jainul Musani (20)

React js t8 - inlinecss
React js   t8 - inlinecssReact js   t8 - inlinecss
React js t8 - inlinecss
 
React js t7 - forms-events
React js   t7 - forms-eventsReact js   t7 - forms-events
React js t7 - forms-events
 
React js t6 -lifecycle
React js   t6 -lifecycleReact js   t6 -lifecycle
React js t6 -lifecycle
 
React js t5 - state
React js   t5 - stateReact js   t5 - state
React js t5 - state
 
React js t4 - components
React js   t4 - componentsReact js   t4 - components
React js t4 - components
 
React js t3 - es6
React js   t3 - es6React js   t3 - es6
React js t3 - es6
 
React js t2 - jsx
React js   t2 - jsxReact js   t2 - jsx
React js t2 - jsx
 
React js t1 - introduction
React js   t1 - introductionReact js   t1 - introduction
React js t1 - introduction
 
ExpressJs Session01
ExpressJs Session01ExpressJs Session01
ExpressJs Session01
 
NodeJs Session03
NodeJs Session03NodeJs Session03
NodeJs Session03
 
NodeJs Session02
NodeJs Session02NodeJs Session02
NodeJs Session02
 
Nodejs Session01
Nodejs Session01Nodejs Session01
Nodejs Session01
 
Java exercise1
Java exercise1Java exercise1
Java exercise1
 
Fundamentals of JDBC
Fundamentals of JDBCFundamentals of JDBC
Fundamentals of JDBC
 
Core Java Special
Core Java SpecialCore Java Special
Core Java Special
 
Core Java Special
Core Java SpecialCore Java Special
Core Java Special
 
Cassandra-vs-MongoDB
Cassandra-vs-MongoDBCassandra-vs-MongoDB
Cassandra-vs-MongoDB
 
MongoDB-SESSION03
MongoDB-SESSION03MongoDB-SESSION03
MongoDB-SESSION03
 
MongoDB-SESSION02
MongoDB-SESSION02MongoDB-SESSION02
MongoDB-SESSION02
 
MongoDB-SESION01
MongoDB-SESION01MongoDB-SESION01
MongoDB-SESION01
 

Recently uploaded

Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 

Recently uploaded (20)

Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 

Linux05 DHCP Server

  • 2. DHPC • Every host on a TCP/IP network must have a unique IP address. • Each host must be properly configured so that it knows its IP address. • When a new host comes online, it must be assigned an IP address that is within the correct range of addresses for the subnet and is not already in use. 2
  • 3. DHPC • Although you can manually assign IP addresses to each computer on your network, that task quickly becomes overwhelming if the network has more than a few computers. • That’s where DHCP – Dynamic Host Configuration Protocol, comes into play. 3
  • 4. DHPC • DHCP automatically configures the IP address for every host on a network, thus assuring that each host has a valid unique IP address. • DHCP even automatically reconfigures IP addresses as hosts come and go. • DHCP can save a network administrator many hours of tedious configuration work. 4
  • 5. DHPC Understanding DHCP: • DHCP allows individual computer on a TCP/IP network to obtain their configuration information- in particular, their IP address – from a server. • The DHCP server keeps track of which IP addresses have already been assigned so that when a computer request an IP address, the DHCP server will offer it an IP address that is not already in use. 5
  • 6. DHPC Configuration information: • Although the primary, DHCP actually provides more configuration information than just the IP address to its clients. • The additional configuration information is referred to a DHCP options. 6
  • 7. DHPC Configuration information: The following is a list of some common DHCP options that can be configured by the server:  The router address, also known as the Default Gateway address.  The expiration time for the configuration information.  Domain name  DNS server address  WINS server address 7
  • 8. DHPC Servers: A DHCP server can be a server computer located on the TCP/IP network. All modern server operating system have a built-in DHCP server. To set up DHCP on a network server, all you have to do is enable the server’s DHCP function and configure its settings. A server computer running DHCP doesn’t have to be devoted entirely to DHCP unless the network is very large. 8
  • 9. DHPC Servers: For most networks, a file server can share duty as a DHCP server. This is especially true if you provide long leases for your IP addresses. Many multifunction routers also have builtin DHCP servers. 9
  • 10. DHPC Servers: 10 An advantage of allowing the router to be your network’s DHCP server is that you rarely need to power down a router. In contrast, you occasionally need to restart or power down a file server to perform system maintenance, to apply upgrades, or to perform troubleshooting. Most networks require only one DHCP server.
  • 11. DHPC Servers: Setting up two or more servers on the same network requires that you carefully coordinate the IP address ranges (scope) for which each server is responsible. If you accidently set up two DHCP servers for the same scope, you many end up with duplicate address assignments if the servers attempt to assign the same IP address to two different hosts. 11
  • 12. DHPC Servers: To prevent this from happening, its best to set up just one DHCP server unless your network is so large that one server can’t handle the load. 12
  • 13. How DHCP actually works Use / Config. DHCP server without knowing the details of how DHCP client configuration actually works. The following paragraphs are a blow-byblow account of how DHCP configures TCP/IP hosts. 13
  • 14. How DHCP actually works This procedure happens every time you boot up a host computer. It also happens when you release an IP lease and request a fresh lease. When a host computer starts up, the DHCP client software sends a special broadcast packet, known as a DHCPDiscover message 14
  • 15. How DHCP actually works This message uses the subnet’s broadcast address (all host ID bits set to one) as the destination address and 0.0.0.0 as the source address. The client has to specify 0.0.0.0 as the source address because it doesn’t yet have an IP address, and it specifies the broadcast address as the destination address because it doesn’t know the address of any DHCP servers. 15
  • 16. How DHCP actually works In effect, the DHCPDiscover message is saying ‘Hey...! I’m new here. Are there any DHCP servers out here?’ 16
  • 17. How DHCP actually works The DHCP server receives the broadcast DHCPDiscover message and responds by sending a DHCPOffer message include an IP address that the client can use. Like the DHCPDiscover message, the DHCPOffer message is sent to the broadcast address. This makes sense because the client to which the message is being sent doesn’t yet have an IP address and won’t have one until it accepts the offer. 17
  • 18. How DHCP actually works In effect, the DHCPOffer message is saying, ‘Hello there, whoever you are. Here’s an IP address you can use, if you want it. Let me know.’ What if the client never receives a DHCPOffer message from a DHCP server? In that case, the client waits for a few seconds and tries again. The client will try four times – at 2, 4, 8 and 16 seconds. If it still doesn’t get an offer, it will try again after five minutes. 18
  • 19. How DHCP actually works The client receives the DHCPOffer message and sends back a message known as a DHCPRequest message. At this point, the client doesn’t actually own the IP address. It’s simply indicating that it’s ready to accept the IP address that was offered by the server. In effect, the DHCPRequest message says, ‘Yes, that IP address would be good for me, Can I have it, please?’ 19
  • 20. How DHCP actually works When the server receives the DHCPRequest message, it marks the IP address as assigned to the client and broadcasts a DHCPAck message. The DHCPAck message says, in effect, “Okay, it’s all yours. Here’s the rest of the information you need to use it.” 20
  • 21. How DHCP actually works When the client receives the DHCPAck message, it configures its TCP/IP stack by using the address it accepted from the server. 21
  • 22. Understanding Scope: A scope is simply a range of IP addresses that a DHCP server is configured to distribute. In the simplest case, where a single DHCP sever oversees IP configuration for an entire subnet, the scope corresponds to the subnet. However, if you set up two DHCP servers for a subnet, you can configure each with a scope that allocates only one part of the complete subnet range. 22
  • 23. one scope Understanding Scope: In addition, a single DHCP server can serve more than one scope. You must create a scope before you can enable a DHCP server. When you create a scope, you can provide it with the following properties: 1) A scope name, which helps you to identify the scope and its purpose. 23
  • 24. Understanding Scope: 2) A scope description, which lets you provide additional details about the scope and its purpose. 3) A starting IP address for the scope. 4) An ending IP address for the scope. 5) A subnet mask for the scope. You can specify the subnet mask with dotted decimal notation or with CIDR notation. 24
  • 25. Understanding Scope: 6) One or more ranges of excluded addresses. These addresses won’t be assigned to clients. 7) One or more reserved addresses. These are addresses that will always be assigned to particular host devices. 8) The lease duration, which indicates how long the host will be allowed to use the IP address. ... 25
  • 26. Understanding Scope: 8) ... The client will attempt to renew the lease when half of the lease duration has elapsed. For example, if you specify a lease duration of eight days, the client will attempt to renew the lease after four days have passed. This allows the host plenty of time to renew the lease before the address is reassigned to some other host. 26
  • 27. Understanding Scope: 9) The router address for the subnet. This value is also known as the Default Gateway address. 10) The domain name and the IP address of the network’s DNS server and WINS servers. 27
  • 28. Understanding excluded In the case of DHCP scopes, exclusions can help you to prevent IP address conflicts and can enable you to divide the DHCP workload for a single subnet among two or more DHCP servers. An exclusion is a range of addresses that are not included in a scope. The exclusion range falls within the range of the scope’s starting and ending addresses. 28
  • 29. Understanding excluded In effect, an exclusion range lets you punch a hole in a scope. The IP addresses that fall within the hole won’t be assigned. The following are several reasons for excluding IP addresses from a scope: 1) The computer that runs the DHCP service itself must usually have a static IP address assignment. As a result, the address of the DHCP server should be listed as exclusion. 29
  • 30. Understanding excluded 2) Some hosts many not be able to support DHCP. In that case, the host will require a static IP address. For example, you may have a really old MSDOS computer that doesn’t have a DHCP client. By excluding its IP address from the scope, you can prevent that address from being assigned to any other host on the network. 30
  • 31. Understanding Reservation In some cases, you may want to assign a particular IP address to a particular host. One way to do this is to configure the host with a static IP address so that the host doesn’t use DHCP to obtain its IP configuration. 31
  • 32. Understanding excluded However, two major disadvantages to that approach exist: 1) TCP/IP configuration supplies more than just the IP address. If you use static configuration, you must manually specify the subnet mask, Default Gateway address, DNS server address, and other configuration information required by the host. 32
  • 33. Understanding excluded 2) You must remember to exclude the static IP address from the DHCP server’s scope. Otherwise, the DHCP server won’t know about the static address and may assign it to another host. Then, you will have two host with the same address on your network. 33
  • 34. Understanding excluded A better way to assign a fixed IP address to a particular host is to create a DHCP reservation. A reservation simply indicates that whenever a particular host requests an IP address from the DHCP server, the server should provide it the address that you specify in the reservation. 34
  • 35. Understanding excluded The host won’t receive the IP address until the host requests it from the DHCP server, but whenever the host does request IP configuration, it will always receive the same address. To create a reservation, you associate the IP address that you want assigned to the host with the host’s MAC address. 35
  • 36. Understanding excluded As a result, you need to get the MAC address from the host before you create the reservation. You can get the MAC address by running the command ipconfig /all From command prompt. 36
  • 37. Understanding excluded Start  All Programs  Accessories  System Tools  System Information. 37
  • 39. Installing and Configuring DHCP server. Steps: 1) Choose Start >> Administrative Tools >> Manage Your Server. [Manage Your Server application appears] 2) Click the Add or Remove a Role Link. [The Configure Your Server Wizard appears] 39
  • 40. Installing and Configuring DHCP server. Steps: 3) Select DHCP Server from the list of roles and then click Next. 4) Click Next. 40
  • 41. Installing and Configuring DHCP server. Steps: The Wizard calls up the Windows Setup program to install the DHCP server components. This can take a few minutes, so be patient. When the components are installed, the Windows Setup program automatically ends and is replaced by the New Scope Wizard dialog box, as shown in figure 1.0. 41
  • 42. Installing and Configuring DHCP server. 42 Steps: The New Scope Wizard guides you through the process of creating the first scope for the DHCP server. 5) Click the Next button The wizard asks for a name and description for the new scope. 6) Type the name and description for the scope. Give name in description i.e. “Office-Server”
  • 43. Installing and Configuring DHCP server. Steps: 7) Click Next The Wizard asks for the scope range, as shown in Figure 43
  • 44. Installing and Configuring DHCP server. [The Scope Wizard comes] Steps: 44
  • 45. Installing and Configuring DHCP server. [The Scope Wizard comes] Steps: 45
  • 46. Installing and Configuring DHCP server. Steps: 8) Enter the start and end IP address and the subnet mask. You can enter the subnet mask by either selecting its length from the Length spin button or by entering the complete subnet mask into the Subnet Mask text box. In this example, I’ve entered the range 192.168.1.1 through 192.168.1.254, with a subnet mask of 255.255.255.0. 46
  • 47. Installing and Configuring DHCP server. Steps: 9) Click Next The next screen of the wizard lets you create exclusions, as shown in Figure 47
  • 48. Installing and Configuring DHCP server. Figure 3.0 : Specifying exclusion 48
  • 49. Installing and Configuring DHCP server. Steps: 10) Enter each exclusion by entering the start and end IP address and then clicking ADD. 11) Click Next Next, the wizard asks for the lease duration, as shown in Figure 12) Use the spin boxes to specify the lease duration. The default setting is eight days. For more information about how to choose an appropriate lease duration, refer to the section "How long a lease?" 49
  • 50. Installing and Configuring DHCP server. Specifying the lease duration 50
  • 51. Installing and Configuring DHCP server. Steps: 13) Click Next The wizard asks whether you want to configure the DHCP options now or later. Figure Specifying the lease duration 14) Check YES and then click NEXT The wizard asks for the IP address of the router. 51
  • 52. Installing and Configuring DHCP server. Steps: 15) Enter the router's IP address, click Add, and then click Next. Next, the wizard asks for the DNS configuration information, as shown in Figure 3.5 16) Enter the domain name and DNS servers. To enter a DNS server, type its address in the IP address text box and click ADD button. You typically have more than one DNS server. In figure 3.5 I specified LoweWriter.com for the domain name and provided IP addresses for three DNS servers. 52
  • 53. Installing and Configuring DHCP server. Specifying the DNS information 53
  • 54. Installing and Configuring DHCP server. Steps: 17) Click Next The wizard nexst asks for the WINS configuration information. 18) Enter the WINS server configuration and then click Next. To specify a WINS server, enter the server's IP address and click Add. 54
  • 55. Installing and Configuring DHCP server. Steps: 19) Choose Yes or No to activate the scope now or wait until later and then click Next. 20) Click Finish to close the New Scope Wizard. 21) Click Finish to close the Configure Your Server Wizard. 55
  • 56. Managing a DHCP server You can bring up the DHCP management console by choosing START >> Administrative Tools >> DHCP 56
  • 57. Managing a DHCP server -- OR -by clicking Manage This DHCP Server from the Manage Your Server application. 57
  • 58. Managing a DHCP server 58
  • 59. Managing a DHCP server 59
  • 60. Configure a DHCP Client The DHCP client is automatically included when you install the TCP/IP protocol, so all you have to do is configure TCP/IP to use DHCP. To do this, bring the Network Properties dialog box by choosing Network / Network Connections in the Control Panel. 60
  • 61. Configure a DHCP Client Then, select the TCP/IP protocol and click the Properties button. This brings up the TCP/IP properties dialog box, as shown in figure 3.8. To configure the computer to use DHCP, check Obtain An IP Address Automatically and Obtain DNS Server Address Automatically 61
  • 62. Managing a DHCP Client 62