0% found this document useful (0 votes)
4 views3 pages

Module 6 IP Addressing

This module covers the configuration of a DHCP client-server setup, detailing the steps to enable DHCP service, create a DHCP pool, and define parameters for clients. It explains the process of a DHCP client requesting an IP address from a server and the necessary configurations for different network interfaces. Additionally, references for further reading on networking concepts are provided.

Uploaded by

jullian050708
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views3 pages

Module 6 IP Addressing

This module covers the configuration of a DHCP client-server setup, detailing the steps to enable DHCP service, create a DHCP pool, and define parameters for clients. It explains the process of a DHCP client requesting an IP address from a server and the necessary configurations for different network interfaces. Additionally, references for further reading on networking concepts are provided.

Uploaded by

jullian050708
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

MODULE 6: IP Addressing

LEARNING OBJECTIVES:

After studying this module, the students must have:

1.​ Configured a DHCP Client-Server Setup

I.​ PRESENTATION CONCEPTS

A.​ DHCP client setup

The DHCP client can be configured on Ethernet interfaces and on PPP over ATM
(PPPoA) and certain ATM interfaces. The DHCP client works with ATM point-to-point
interfaces and will accept any encapsulation type. For ATM multipoint interfaces, the
DHCP client is supported using only the aal5snap encapsulation type combined with
Inverse Address Resolution Protocol (ARP). Inverse ARP, which builds an ATM map
entry, is necessary to send unicast packets to the server (or relay agent) on the other end
of the connection. Inverse ARP is supported only for the aal5snap encapsulation type.

For multipoint interfaces, an IP address can be acquired using other encapsulation types
because broadcast packets are used. However, unicast packets to the other end will fail
because there is no ATM map entry and thus DHCP renewals and releases also fail.

DHCP provides a framework for passing configuration information to hosts on a TCP/IP


network. A DHCP client is an Internet host using DHCP to obtain configuration
parameters such as an IP address. The figure below shows the basic steps that occur when
a DHCP client requests an IP address from a DHCP server. The client, Host A, sends a
DHCPDISCOVER broadcast message to locate a DHCP server. A DHCP server offers
configuration parameters (such as an IP address, a MAC address, a domain name, and a
lease for the IP address) to the client in a DHCPOFFER unicast message.

DHCP Request for an IP Address from DHCP Server


Configure PC as DHCP client
1.​ Click PC
2.​ Choose Desktop tab
3.​ Click IP Configuration
4.​ Select DHCP

B.​ Configuration syntax and steps

Summary Steps
1.​ Enable DHCP Service
2.​ Create DHCP pool
3.​ Define the parameters

1.​ First step is to enable the DHCP service on our router, which by default is enabled:
R1# configure terminal
R1(config)# service dhcp

2.​ Next step is to create the DHCP pool that defines the network of IP addresses that will
be given out to the clients. Note that 'NET-POOL' is the name of the DHCP IP Pool we
are creating:
R1(config)# ip dhcp pool NET-POOL
R1(dhcp-config)# network [Link] [Link]

3.​ This tells the router to issue IP addresses for the network [Link], which translates
to the range [Link] - [Link]. We will have to exclude the IP addresses we
want later on.
We now define the DHCP parameters that will be given to each client. These include
the default gateway (default-router), dns servers, domain and lease period (days):

R1(dhcp-config)# default-router [Link]


R1(dhcp-config)# dns-server [Link] [Link]
R1(dhcp-config)# domain-name [Link]
R1(dhcp-config)# lease 9

The domain-name and lease parameters are not mandatory. By default, the lease time
for an IP address is one day, however we can specify any time range we need. For
example, if we need to set the lease time for 4 hours and 30 minutes we would use the
following command under our DHCP pool:

R1(dhcp-config)# lease 0 4 30

The above command is interpreted as follows: 0 (Zero) days, 4 hours and 30 minutes.

II.​ REFERENCES

●​ Behrouz Forouzan, (2007) Data Communications and Networking, 3rd Edition


●​ Robertazzi, T. G. (2017) Introduction to Computer Networking
●​ Heather Yu, John Buford, Xuemin (Sherman) Shen, (2010) Handbook of Peer-to-Peer
networking
●​ Dooley, K. and Brown, I. (2007) Cisco ISO Cook Book
●​ [Link]
rseID=200008413
●​ [Link]
●​ [Link]
[Link]
●​ [Link]
●​ [Link]
●​ [Link]
[Link]

You might also like