0% found this document useful (0 votes)
15 views5 pages

Data Communication Lab

The document outlines a series of experiments focused on networking concepts, including transmission media, networking devices, file transfer, encryption, LAN communication, and network topologies. Each experiment includes objectives, theoretical background, requirements, procedures, observations, and results, demonstrating practical applications of networking principles. Key findings highlight the functionality of devices like switches and hubs, the importance of secure communication, and the characteristics of various LAN topologies.

Uploaded by

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

Data Communication Lab

The document outlines a series of experiments focused on networking concepts, including transmission media, networking devices, file transfer, encryption, LAN communication, and network topologies. Each experiment includes objectives, theoretical background, requirements, procedures, observations, and results, demonstrating practical applications of networking principles. Key findings highlight the functionality of devices like switches and hubs, the importance of secure communication, and the characteristics of various LAN topologies.

Uploaded by

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

Experiment 1: Study of Transmission Media

and Networking Devices


Objective
 To study different types of transmission media (UTP, CAT5/6).
 To understand RJ45 connectors, Hub and Switch.
 To configure a basic Switch.
Theory
Transmission Media
 UTP (Unshielded Twisted Pair): Commonly used Ethernet cable in LAN.
 CAT5/CAT6: Twisted pair cables supporting high-speed communication.
 RJ45 Connector: Standard connector for Ethernet cables.
Networking Devices
 Hub: Layer 1 device; broadcasts data to all ports.
 Switch: Layer 2 device; forwards data based on MAC address table.

Requirements
 2 PCs
 1 Hub
 1 Switch
 Straight-through cable
 Cross-over cable
Procedure
Step 1: Create Topology
1. Open Cisco Packet Tracer.
2. Place 2 PCs in the workspace.
3. Add 1 Hub and 1 Switch.
Step 2: Cable Connections
 PC to Switch → Straight-through cable
 PC to PC → Cross-over cable
Step 3: Assign IP Address
Device IP Address Subnet Mask
PC1 [Link] [Link]
PC2 [Link] [Link]
Step 4: Test Connectivity
On PC1:
ping [Link]
Step 5: Configure Switch
enable
configure terminal
hostname Switch1
interface vlan 1
ip address [Link] [Link]
no shutdown
exit

5. Observation
 Hub broadcasts packets to all ports.
 Switch forwards packets to the specific destination port.
 Ping test successful.
6. Result
Transmission media and networking devices were studied and basic switch configuration was
successfully completed.

Experiment 2: PC-to-PC Communication


(File Transfer & Encryption)
Objective
 To perform file transfer using FTP.
 To understand error detection and data encryption.
Theory
FTP (File Transfer Protocol)
Used to transfer files over a network.
Error Detection
CRC (Cyclic Redundancy Check) detects transmission errors.
SSH (Secure Shell)
Provides encrypted remote login.
Requirements
 2 PCs
 1 Server
 1 Switch
Procedure
Part A: FTP Configuration
1. Add one Server.
2. Assign IP: [Link]
3. Go to Services → FTP → Turn ON.
4. Create Username and Password.
From PC Command Prompt:
ftp [Link]
Enter login credentials.
Part B: SSH Configuration
On Switch/Router:
enable
configure terminal
ip domain-name [Link]
crypto key generate rsa
1024
username admin password cisco
line vty 0 4
transport input ssh
login local
From PC:
ssh -l admin [Link]

Observation
 FTP login successful.
 SSH connection encrypted and secure.
 Simulation mode shows packet encapsulation and CRC.
Result
File transfer and secure encrypted communication were successfully performed.

Experiment 3: LAN Communication (Point-


to-Point, Broadcast, Port Security)
Objective
 To perform point-to-point communication.
 To observe broadcast communication.
 To implement port security.
Theory
 Point-to-Point: Direct communication between two devices.
 Broadcast: Data sent to all devices in the network.
 Port Security: Restricts unauthorized devices.
Requirements
 4 PCs
 1 Hub
 1 Switch
Procedure
Part A: Point-to-Point
 Connect two PCs using cross-over cable.
 Assign IP addresses in same subnet.
 Test using ping.
Part B: Broadcast
 Connect 4 PCs to Hub.
 Use Simulation Mode.
 Send Simple PDU and observe broadcast behavior.
Part C: Port Security
enable
configure terminal
interface fa0/1
switchport mode access
switchport port-security
switchport port-security maximum 1
switchport port-security violation shutdown

Observation
 Point-to-point communication successful.
 Hub broadcasts data to all ports.
 Unauthorized device causes port shutdown.
Result
Different LAN communication methods were successfully implemented and analyzed.

Experiment 4: Study of LAN Topologies


Objective
To design and test different network topologies.
Theory
 Star Topology: Central switch connected to all devices.
 Tree Topology: Hierarchical structure.
 Bus Topology: Single backbone cable.
 Token Ring: Logical ring-based communication.
Procedure
Star Topology
 Connect all PCs to one central switch.
Tree Topology
 Connect multiple switches hierarchically.
Bus Topology
 Use hub as central bus simulation.
Assign IP addresses and test connectivity using ping.
Observation
 Star topology is fast and reliable.
 Bus topology causes more broadcast traffic.
 Tree topology is scalable.
Result
Different LAN topologies were successfully designed and tested.

You might also like