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

IT7 - Networking 2 Module 4

This learning module discusses computer networks and configuring a DHCP server. It begins with an introduction to networks and their importance in business. The module then outlines objectives and content for configuring a DHCP server on a router and generic server in Cisco Packet Tracer. Instructions are provided on building the network topology, configuring the DHCP server IP pool and options, and enabling DHCP on client devices. The module concludes with an activity having students configure a Cisco router as a DHCP server passthrough to another router.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
275 views

IT7 - Networking 2 Module 4

This learning module discusses computer networks and configuring a DHCP server. It begins with an introduction to networks and their importance in business. The module then outlines objectives and content for configuring a DHCP server on a router and generic server in Cisco Packet Tracer. Instructions are provided on building the network topology, configuring the DHCP server IP pool and options, and enabling DHCP on client devices. The module concludes with an activity having students configure a Cisco router as a DHCP server passthrough to another router.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

LEARNING MODULE

Prepared by:

MR. RUEL B. PAPIO

Professor

INTRODUCTION

1
Networks are everywhere—or so it seems. You can hardly do anything with data that
does not involve a network. Like the human networks that we are all part of, computer
networks let us share information and resources. In business, the reliance on networks
is even more pervasive than in homes or schools. Networks help individuals and
businesses alike save money, but they also help create income. Without a doubt,
networking within the home will catch on over the next few years as it has in business.
Soon, nearly all individuals in even moderately developed nations will have networked
components throughout their homes. Those that don’t will be netologically
disadvantaged because they will not be able to learn or to function at the same level as
those who are networked.

In this chapter, you’ll begin by relating networks to situations and concepts you already
know. Once you have a basic understanding of what networks are and what they can
do, it helps if you can actually begin working with them. In fact, it is so helpful to learn
the ropes of networking through hands-on guided practice that that’s what is planned for
you here. You will play the role of an employee in a fictional company, and you’ll have to
learn on the job. The more you become the person, the more you will learn about the
need for and operation of computer networks.

2
TABLE OF CONTENTS

Module Title Page

1 NETWORK POWER CYCLE DEVICES 4

2 STATIC IP/SUBNET ADDRESSING 48

3 CROSSOVER AND STRAIGHT-THROUGH CABLE 58

4 BUILDING DHCP SERVER 70

5 SWITCH TO SWITCH AND ROUTERS 80

6 WIRELESS ROUTER CONFIGURATIONS 98

7 BUILDING DNS AND WEB SERVER 127

8 BUILDING EMAIL AND FTP SERVER 139

3
MODULE 4: Building DHCP Server

A. Introduction:

Guide to configure a DHCP server both on a router and on a generic server in Cisco
Packet Tracer. In both cases, configuration is simple as long as you have a basic
knowledge of IP addressing.

B. Objectives:

1. Build the network topology;


2. On the router, configure default gateway for our LAN;
3. Configure DHCP server on the Router;
4. enable DHCP every PC should be able to obtain an IP address;

C. Learning Content:

● Dynamic Host Configuration Protocol

D. Pre-test:

1. What is DHCP and how it works?


2. What are the 4 steps of DHCP?
3. Should DHCP be on or off?

E. Learning Activities:

How to configure DHCP server in Packet Tracer.

This tutorial will guide you on how to configure a DHCP server both on a router and on a
generic server in Cisco Packet Tracer. In both cases, configuration is simple as long as
you have a basic knowledge of IP addressing. On to it then!

Let’s apply to your simulation software using the Cisco Packet Tracer.

Vlog and save it then email to tatayphinks@gmail.com.

Configuring DHCP server on a single Router.

1. Build the network topology:

4
2. On the router, configure interface fa0/0 to act as the default gateway for our LAN.

Ctrl + c to start Router Console

Router>enable

Router#config terminal

Router(config)#int fa0/0

Router(config-if)#ip add 192.168.1.1 255.255.255.0

Router(config-if)#no shutdown

Router(config-if)#exit

3. Configure DHCP server on the Router. In the server we will define a DHCP pool of IP
addresses to be assigned to hosts, a Default gateway for the LAN and a DNS Server.

5
Router(config)#ip dhcp pool MY_LAN

Router(dhcp-config)#network 192.168.1.0 255.255.255.0

Router(dhcp-config)#default-router 192.168.1.1

Router(dhcp-config)#dns-server 192.168.1.10

We can add ip dhcp excluded-address command to our configuration so as to configure


the router to exclude addresses 192.168.1.1 through 192.168.1.10 when assigning
addresses to clients. The ip dhcp excluded-address command may be used to reserve
addresses that are statically assigned to key hosts.

So add the above command under the global configuration mode.

Router(dhcp-config)#exit

Router(config)#ip dhcp excluded-address 192.168.1.1 192.168.1.10

4. Now go to every PC and on their IP configuration tabs, enable DHCP. Every PC


should be able to obtain an IP address, default gateway and DNS server, as defined in
step 2.

For example, to enable DHCP on PC1:

Click PC1->Desktop->IP configuration. Then enable DHCP:

6
Do this for the other PCs.

You can test the configuration by pinging PC2 from PC1. Ping should succeed.

Now let’s do the same thing using a Generic server in place of a router:

Configuring DHCP service on a generic server in Packet Tracer.

1. Build the network topology in packet tracer

7
2. Configure static IP address on the server (192.168.1.2/24).

3. Now configure DHCP service on the generic server.

To do this, click on the server, then click on Services tab. You will pick DHCP on the
menu. Then proceed to define the DHCP network parameters as follows:

Pool name: MY_LAN

Default Gateway: 192.168.1.1

DNS Server: 192.168.1.2

Start IP Address: 192.168.1.0

Subnet Mask: 255.255.255.0

Maximum Number of users: 256

Click on add then Save.The DHCP entry is included in the list.

Here are the configurations on the server:

8
Once you’ve configured everything, turn ON the DHCP service.

4. Finally, enable DHCP configuration on each PC. The three PCs should get
automatically configured.

As an example, here is the DHCP configuration on PC1:

9
Addendum: You can define a DHCP server on one broadcast domain to serve hosts in
a different broadcast domain. If you want to do this, then you should consider using ip
helper-address command. To learn more about this, you can read my article on IP
helper address configuration.

Now configuring a Cisco Router as a DHCP Server passthrough to another Cisco


Router

Let’s apply to your simulation software using the Cisco Packet Tracer.

Vlog and save it then email to tatayphinks@gmail.com.

Topology Diagram

Objectives

● Configure the ISP Cisco 1841 ISR as a DHCP server

Background / Preparation

In this activity, you will continue to configure the Cisco 1841 ISR router for the ISP
network by configuring the DHCP service. The ISP has several workstations that need
to be automatically configured with IP addresses on the local subnet and appropriate
DHCP options to allow access to the Internet.

The DHCP pool will use the 192.168.11.0/24 network but the first 49 addresses are
excluded. The default gateway and DNS server also need to be configured as
192.168.11.1 and 192.168.11.10.

For this activity, both the user and privileged EXEC passwords are cisco.

10
Note: Packet Tracer does not currently support the domain name and lease period
options. These options are not used in this activity.

Step 1: Configure the DHCP service.

a. From the customer workstation, use a console cable and terminal emulation
software to connect to the console of the customer Cisco1841 ISR. \

b. Log in to the console of the Cisco 1841 ISR and enter global configuration
mode.

c. Before creating a DHCP pool, configure the addresses that are excluded. The
range is from 192.168.11.1 to 192.168.11.49.

ISPRouter(config)#ip dhcp excluded-address 192.168.11.1


192.168.11.49

d. Create a DHCP pool called pool1.

ISPRouter(config)#ip dhcp pool pool1

e. Define the network address range for the DHCP pool.

ISPRouter(dhcp-config)#network 192.168.11.0 255.255.255.0

f. Define the DNS server as 192.168.1.10.

ISPRouter(dhcp-config)#dns-server 192.168.11.10

g. Define the default gateway as 192.168.11.1.

ISPRouter(dhcp-config)#default-router 192.168.11.1

h. Add an exclusion range of 192.168.11.1 to 192.168.11.49 to the DHCP

ISPRouter(dhcp-config)#exit

ISPRouter(config)#ip dhcp excluded-address 192.168.11.1


192.168.11.49

i. Exit the terminal.

Step 2: Verify the DHCP configuration.

11
a. From the customer workstation, open the Command Prompt window.

b. Type ipconfig /release to release the current IP address.

c. Type ipconfig /renew to request a new IP address on the local network.

d. Verify that the IP address has been correctly assigned by pinging the LAN IP
address of the Cisco 1841 ISR.

e. Click the Check Results button at the bottom of this instruction window to
check your work.

Reflection

a. What is the purpose of DHCP on the customer network?

b. What IP address is assigned to the workstation after its IP address is


renewed?

c. What other DHCP options can be defined on the Cisco 1841 ISR router that
are not configured in this activity?

Note: Make a youtube channel to save your videos regarding IT6 Networking 2 for
demo and submission of your video clip when submitting your projects, experiment and
activity. Then send to my tatayphinks fb account and email to tatayphinks@gmail.com.

F. Assessment:

Multiple choice: 5 points each. Answer in google form link here: bit.ly/3niPsyn

1. dhcp stands for

A. direct host cost protocol


B. dynamic host configuration protocol
C. digital host configuration protocol

2. Static IP Address

A. Host servers and printers that need particular addresses


B. are preferred for a large network
C. has automatic assignment

3. Dynamic addresses

12
A. preferred method of assignment for a large network
B. can be time consuming and error prone
C. the IP address always stays the same

4. When a DHCP server is configured, which IP addresses should never be assignable


to hosts?

A. IP address leased to the LAN


B. IP address used by the interfaces
C. manually assigned address to the clients

5. Which tasks does the Dynamic Host Configuration Protocol perform?

A. Configure IP address parameters from DHCP server to a host.


B. Assign and renew IP address from the default pool.
C. Perform host discovery using a DHCPDISCOVER message.

G. Reference:

https://www.microsoftpressstore.com/articles/article.aspx?p=2224361
https://www.cisco.com/c/en/us/support/docs/smb/unified-communications/cisco-small-bu
siness-voice-gateways-and-atas/smb2894-view-dynamic-host-configuration-protocol-dh
cp-server-informa.html#:~:text=Objective,act%20as%20a%20DHCP%20server.
https://www.coursehero.com/file/22671172/ET0718-Chapter07v11-DHCP/
https://www.efficientip.com/what-is-dhcp-and-why-is-it-important/
https://computernetworking747640215.wordpress.com/2018/07/05/how-to-configure-dh
cp-server-in-packet-tracer/

13

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy