IT7 - Networking 2 Module 4
IT7 - Networking 2 Module 4
Prepared by:
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
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:
C. Learning Content:
D. Pre-test:
E. Learning Activities:
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.
4
2. On the router, configure interface fa0/0 to act as the default gateway for our LAN.
Router>enable
Router#config terminal
Router(config)#int fa0/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)#default-router 192.168.1.1
Router(dhcp-config)#dns-server 192.168.1.10
Router(dhcp-config)#exit
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:
7
2. Configure static IP address on the server (192.168.1.2/24).
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:
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.
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.
Let’s apply to your simulation software using the Cisco Packet Tracer.
Topology Diagram
Objectives
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.
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(dhcp-config)#dns-server 192.168.11.10
ISPRouter(dhcp-config)#default-router 192.168.11.1
ISPRouter(dhcp-config)#exit
11
a. From the customer workstation, open the Command Prompt window.
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
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
2. Static IP Address
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
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