CNSL Lab (2019 pattern)
Assignment A1
Title: Wired LAN
Objective/s: To learn basics of computer network.
Problemstatement: Setup a wired LAN using Layer 2 Switch. Prepare and test cable using line tester,
configure machine using IP addresses, test using PING utility and demonstrate the PING packets
captured using wireshark.
Software&/hardware requirements: CAT5 cables, line tester, wireshark, cisco packet tracer.
Theory: //Here write answers to FAQ questions given below.
1. Explain following networking devices:
Repeater, Hubs, Switch, Bridge, Router, Gateway, Access point
2. Refer question 1 and State on which layer of network model do these devices work?
3. In order to increase bandwidth per node which device will you use- A hub or a switch? Explain
why?
4. What is a LAN?
5. What is a MAN?
6. What is a WAN?
7. What is a PAN?
8. Explain in brief guided/wired medium along with its types.
9. Explain in brief unguided/wireless medium along with its types.
10. What is the maximum length allowed for a UTP cable?
Conclusion: Studied wired LAN using Layer 2 Switch.
Assignment A3
Title: WAN
Objective/s: To learn WAN setup using packet tracer tool.
Problemstatement: Setup aWAN which contains wired as well as wireless LAN by using a packet tracer
tool. Demonstrate transfer of a packet from LAN1(wired) to LAN2(wireless).
Software&/hardware requirements: cisco packet tracer tool.
Theory: //Here write answers to FAQ questions given below.
1. Explain Bus Topology.
2. Explain Star Topology.
3. Explain Ring Topology.
4. Explain Mesh Topology.
5. Explain Tree / hierarchical Topology.
6. Explain Hybrid Topology.
7. What is NIC? Explain MAC address.
8. State layers of OSI reference model and explain their functions in brief.
9. State layers of TCP/IP model and explain their functions in brief.
10. Compare and differentiate TCP/IP and OSI reference model.
Conclusion: Studied setup and configuration of WAN using packet tracer.
Assignment A4
Title: Hamming code & CRC method.
Objectives: To understand the concept of Hamming code & CRC method in datalink layer
Problem Statement:
Write a program for error correction & detection for 7/8 bit ASCII codes using Hamming codes
or CRC.
Outcomes:
Demonstrate Hamming code & CRC method
Software&/hardware requirements:
Hardware: PC-2
Software: gcc, JDK compiler and Wireshark.
Theory: //Here write answers to FAQ questions given below.
1. What are the different types of errors?
2. What is Hamming code?
3. What is CRC method?
4. What is difference between Hamming code & CRC method?
5. Define hamming distance and calculate its value for two code words 11100 and 11011.
6. State any four desirable properties of line code.
7. Define parity check.
8. A bit stream 10011101 is transmitted using the standard CRC method. The generator polynomial
is x3+1.
a. What is the actual bit string transmitted?
b. Suppose the third bit from the left is inverted during transmission. How will
receiver detect this error?
9. What is redundancy?
10. Test if this code words are correct 010101100011, assuming this is created using an even parity
Hamming Code. If it is incorrect, indicate what the correct code word should have been. Also,
indicate what the original data was.
Assignment A5
Title: Go back N and Selective Repeat Modes of Sliding Window Protocol.
Objectives:To develop an understanding of various protocolsat datalink layer
Problem Statement:
Write a program to simulate Go back N and Selective Repeat Modes of Sliding Window Protocol
in peer to peer mode
Outcomes:
Demonstrate Go Back N and Selective Repeat protocols
Software&/hardware requirements:
Hardware: PC-2
Software: JDK compiler and Wireshark.
Theory: //Here write answers to FAQ questions given below.
1. What is the difference between flow control and error control?
2. What Automatic Repeat Request (ARQ)?
3. Describe briefly stop and wait ARQ.
4. Describe briefly Go-Back-N ARQ?
5. Describe briefly Selective Repeat ARQ?
6. What do you mean by pipelining, is there any pipelining in error control?
7. What is piggybacking?
8. Explain how flow control and error control is achieved using GBN and SR ARQ protocol.
9. What is sliding window protocol? Differentiate between stop-and wait ARQ and Go-Back-
N protocol.
10. Complete the table :
Protocol/parameters Pipelining Sender window Receiver
No/Yes size window size
Stop and wait
Go back N
Selective repeat