Practical 1
Practical 1
Practical 1
: 202103103510015
Practical 1
Aim: Perform a practical to install cisco packet tracer and study all its controls
and components. Also create topology for PC-to-PC communication.
• Introduction :
o Cisco Packet Tracer is a network simulation tool developed by Cisco Systems that
allows users to design, configure, and troubleshoot network setups.
o It provides a virtual environment where users can create and simulate network
topologies, experiment with different configurations, and observe the behavior of
network devices.
o It is widely used by students, educators, and professionals to learn and practice
networking concepts.
• Network Devices :
1. Router :
o A router is a networking device that operates at the network layer
(Layer 3) of the OSI model.
o It connects multiple networks together and forwards data packets
between them.
o Routers use routing tables and protocols to determine the best path
for data transmission.
CGPIT/AI&DS/SEM-5/Computer Network 1
Enrollment No.: 202103103510015
2. Switch :
o A switch is a networking device that operates at the data link layer (Layer
2) of the OSI model. o It connects devices within a network, such as
computers, printers, and servers, and facilitates communication between
them. o Switches use MAC addresses to forward data packets to the
intended recipient device. o They provide high-speed data transfer and
enable simultaneous communication between multiple devices on the same
network.
o Switches are commonly used in local area networks (LANs) to improve
network performance and efficiency.
3. Hub :
o A hub is a networking device that operates at the physical layer (Layer 1) of
the OSI model. o It is a simple device that connects multiple devices
within a network by broadcasting incoming data to all connected devices. o
When a hub receives data, it replicates and sends it to all other ports,
regardless of the intended recipient.
o This broadcasting approach can lead to collisions and reduced network
efficiency.
o Hubs are rarely used in modern networks, as they have been largely
replaced by switches.
• End System :
o An end system, also known as a host, refers to any device or computer that is
connected to a network and interacts with other systems to send or receive data.
o End systems are the devices used by users to access and utilize network resources,
services, and applications.
CGPIT/AI&DS/SEM-5/Computer Network 2
Enrollment No.: 202103103510015
2) Mobile Devices:
With the widespread adoption of smartphones and tablets, mobile devices have become
popular end systems. Mobile devices have similar capabilities to computers and
laptops but are designed for portability. They connect to networks through Wi-Fi or
cellular data connections and offer a variety of applications and services.
3) Servers:
Servers are powerful computers or systems dedicated to providing services or
resources to other end systems on a network. They typically have higher processing
power, memory, and storage capacities compared to regular end systems. Servers can
host websites, store data, run applications, manage network services, and perform
various computational tasks.
5) Network Appliances:
Some specialized devices, such as network printers, network-attached storage (NAS)
devices, or network cameras, can also act as end systems. These devices connect to the
network to provide specific functions or services related to their purpose.
• Media :
CGPIT/AI&DS/SEM-5/Computer Network 3
Enrollment No.: 202103103510015
• PC to PC Communication :
1) Take two end system(i.e PC) and establish a connection between them as shown in
picture.
2) Now configure the IP address, Subnet mask & default gateway of both the PC.
CGPIT/AI&DS/SEM-5/Computer Network 4
Enrollment No.: 202103103510015
CGPIT/AI&DS/SEM-5/Computer Network 5
Enrollment No.: 202103103510015
Practical-2
Aim: To perform a practical to create a topology comprising two different
Networks using two switches and one router. Also, demonstrate basic CLI
commands and different router modes.
CLI :
o CLI stands for Command Line Interface.
o It is a text-based interface that allows users to interact with a computer system or
device by entering commands. o The CLI provides a direct and efficient way to
configure, manage, and monitor various aspects of a system or device.
1. enable: This command is used to enter privileged EXEC mode, which grants access to higher-
level configuration commands.
2. hostname: The hostname command is used to set the name of the device. It changes the prompt to
reflect the new hostname.
3. config: The config command is usually followed by other keywords to enter various configuration
modes. For example, config terminal enters global configuration mode.
4. interface: This command is used to select a specific interface (e.g., Ethernet interface, Gigabit
Ethernet interface) to configure.
7. exit: The exit command is used to exit from the current configuration mode or to move back to the
previous configuration mode.
8. dhcp pool: Creates a DHCP pool and enters DHCP pool configuration mode.
9. default-router: Specifies the default gateway (router) for the DHCP clients.
CGPIT/AI&DS/SEM-5/Computer Network 6
Enrollment No.: 202103103510015
Topology comprising two different Networks using two switches and one router :
1) Take a router, two switches and 4 end devices(PC) and create a connection between them as
shown in picture below:
2) Now set up an interface between the router and both the switches.
CGPIT/AI&DS/SEM-5/Computer Network 7
Enrollment No.: 202103103510015
3) Now configure the IP address, Subnet Mask & Default Gateway of the end devices( i.e., the 4 PC).
CGPIT/AI&DS/SEM-5/Computer Network 8
Enrollment No.: 202103103510015
CGPIT/AI&DS/SEM-5/Computer Network 9
Enrollment No.: 202103103510015
Practical-3(A)
Aim: (i) To perform a practical to configure DHCP service on the router in the
experiment 2.
• DHCP :
1) Take a router, two switches and 4 end devices(PC) and create a connection between them
as shown in picture below:
2) Now set up an interface between the router and both the switches.
CGPIT/AI&DS/SEM-5/Computer Network 10
Enrollment No.: 202103103510015
4) Now configure the IP address, Subnet mask & default gateway using dhcp.
CGPIT/AI&DS/SEM-5/Computer Network 11
Enrollment No.: 202103103510015
CGPIT/AI&DS/SEM-5/Computer Network 12
Enrollment No.: 202103103510015
CGPIT/AI&DS/SEM-5/Computer Network 13
Enrollment No.: 202103103510015
Practical-3(B)
Aim: To perform a practical to configure server with DHCP service for dynamic
Configuration of hosts.
CGPIT/AI&DS/SEM-5/Computer Network 14
Enrollment No.: 202103103510015
CGPIT/AI&DS/SEM-5/Computer Network 15
Enrollment No.: 202103103510015
CGPIT/AI&DS/SEM-5/Computer Network 16
Enrollment No.: 202103103510015
CGPIT/AI&DS/SEM-5/Computer Network 17
Enrollment No.: 202103103510015
CGPIT/AI&DS/SEM-5/Computer Network 18