0% found this document useful (0 votes)
5 views

Module 7 Presentation

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Module 7 Presentation

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

NETWORKING. UNIT 2. 6°B ISW BIS.

Module 7

DHCPV4
Definition and Concepts.

Teacher: Presented by:


Paulina Torrecillas. Leah Castro Moreno, Antonio Silva Macías, Edwin
Valencia Rivas, and Kevin Torres Urbina.
DEFINITION.

DHCPV4 and Client


Dynamic Host Configuration Protocol v4
(DHCPv4) assigns IPv4 addresses and other
network configuration information
dynamically. Because desktop clients
typically make up the bulk of network nodes,
DHCPv4 is an extremely useful and
timesaving tool for network administrators.
DEFINITION.

DHCPV4 Operation
DHCPv4 works in a client/server mode.
When a client communicates with a DHCPv4
server, the server assigns or leases an IPv4
address to that client.

The client connects to the network with that


leased IPv4 address until the lease expires.
The client must contact the DHCP server
periodically to extend the lease.
DEFINITION.

Steps to Obtain a Lease


When the client boots (or otherwise wants to join a network), it begins a four-step
process to obtain a lease:

1 2 3 4

DHCP Discover DCHP Offer DHCP Request DHCP Acknowledgment


DHCPDISCOVER DHCPOFFER DCHPREQUEST DHCPACK
STEPS TO OBTAIN A LEASE.

Step 1. DHCP
Discover
The client starts the process using a
broadcast DHCPDISCOVER message with
its own MAC address to discover available
DHCPv4 servers.

Because the client has no valid IPv4


information at bootup, it uses Layer 2 and
Layer 3 broadcast addresses to
communicate with the server.

The purpose of the DHCPDISCOVER


message is to find DHCPv4 servers on the
network.
STEPS TO OBTAIN A LEASE.

Step 2. DHCP Offer.


When the DHCPv4 server receives a
DHCPDISCOVER message, it reserves an
available IPv4 address to lease to the
client.

The server also creates an ARP entry


consisting of the MAC address of the
requesting client and the leased IPv4
address of the client.

The DHCPv4 server sends the binding


DHCPOFFER message to the requesting
client.
STEPS TO OBTAIN A LEASE.

Step 3. DHCP
Request.
When the client receives the DHCPOFFER
from the server, it sends back a
DHCPREQUEST message. This message is
used for both lease origination and lease
renewal.

When used for lease origination, the


DHCPREQUEST serves as a binding
acceptance notice to the selected server
for the parameters it has offered and an
implicit decline to any other servers that
may have provided the client a binding
offer.
STEPS TO OBTAIN A LEASE.

Step 4. DHCP
Acknowledgment.
On receiving the DHCPREQUEST message,
the server may verify the lease information
with an ICMP ping to that address to ensure
it is not being used already, it will create a
new ARP entry for the client lease, and
reply with a DHCPACK message.

The DHCPACK message is a duplicate of


the DHCPOFFER, except for a change in the
message type field.
ESTUDIO SHONOS

Steps to Renew a Lease.

1 2
DHCP Request.
DHCP Acknowledgment.
Before the lease expires, the client
sends a DHCPREQUEST message On receiving the DHCPREQUEST
directly to the DHCPv4 server that message, the server verifies the lease
originally offered the IPv4 address. information by returning a DHCPACK.
Configuring a
DHCPv4 Server
ESTUDIO SHONOS

Step 1. Exclude IPv4 Addresses.


Typically, some IPv4 addresses in a pool are assigned to network devices
that require static address assignments.
Therefore, these IPv4 addresses should not be assigned to other devices.
The command syntax to exclude IPv4 addresses is the following:
ESTUDIO SHONOS

Step 2. Define a DHCPv4 Pool Name


As shown in the example, the ip dhcp pool pool-name command creates a
pool with the specified name and puts the router in DHCPv4 configuration
mode, which is identified by the prompt Router(dhcp-config)#.
ESTUDIO SHONOS

Step 3. Configure the DHCPv4 Pool

The following table lists the


tasks to complete the
DHCPv4 pool configuration.
ESTUDIO SHONOS

DHCP Configuration Example.


The topology for the example The example shows the configuration to
configuration is shown in this figure. make R1 a DHCPv4 server for the
192.168.10.0/24 LAN.
Configuring a
DHCPv4 Client.
ESTUDIO SHONOS

To configure an Ethernet interface as a DHCP client, use


the ip address dhcp interface configuration mode
command, as shown in the example.

This configuration assumes that the ISP has been


configured to provide select customers with IPv4
addressing information.
ESTUDIO SHONOS

The show ip interface g0/0/1 command confirms that


the interface is up and that the address was allocated
by a DHCPv4 server.
THANK YOU!
Do you have any question?

You might also like