Student Name: _____________________________ Reg# ________________
Air University
Mid Semester Examination Fall 2024
Subject:- Computer Networks Lab Date: 04/11/2024
Total Marks: 100 Time: 01:30 – 04:00
Course Code: CS- L Max Time Allowed: 150 mints
Class: BSCS FM(s) Name: Mr. Sagheer Ahmed
Semester: 5th FM Signature:
Section(s): B
Invigilator Signature
Instructions:
You have to submit one zip folder on the GCR containing following two files.
Packet tracer file for question one.
Word file for question two which contains only the C++ code. Output screenshot is not required.
The Lab exam is closed book. [ Books, Notes or any type of helping material isn’t allowed. ]
Fill out the IP Scheme table in Question 1.
Submit your question paper to the invigilator.
Question 1 GA – 4 CLO – 2 Marks: 75
Consider the following case study and Network topology.
Case Study and Network Topology:
You are required to design and implement Modern
Hotel network. The hotel has two floors i.e. Ground
floor and First floor. There are five departments across
the floors. The name and number of users in each
department is given in the following table.
Implement the above network topology diagram in packet tracer and fulfill the following requirements.
Requirements:
1. Design IP scheme (use VLSM) for the VLANs mention in the above table. After IP designing, assign IP
address, subnet mask and default gateway to each PC in the network. [20 Marks]
2. Create VLANs according to the network topology diagram. Also use the concept of VTP. [10 + 5=15 Marks]
3. Create Etherchannel between the switches. [10 Marks]
4. Configure Inter-VLAN communication. (Router on a stick). [15 Marks]
5. All PCs of Admin department can Telnet both switches and router. [15 Marks]
NOTE: Set/Use “cisco” as the password everywhere.
IP Scheme Table
Device Name IP Address Subnet Mask Default Gateway
Question 2 GA – 3 CLO – 1 Marks: 25
DNS Server database have 4 IP addresses of “[Link]’,’[Link]’, ‘[Link]’ and
[Link] and run a TCP Client and Server using C++ Language to perform the following tasks:
Change the port number to your university registration number. The Client program sends one string URL
e.g (“[Link]”) to the server.
The server program returns “IP Address” of the server if available in the database or returns “Not
available” if IP Address is not available.