Mid Lab Exam Nov 2024
Mid Lab Exam Nov 2024
Question No. 1
Objective:
Create a basic TCP client-server program using Python's socket library to exchange
messages between two nodes.
Requirements:
1. Programming Language: Python 3.x
2. Operating System: Windows, Linux, or macOS
3. Socket Library: Python's built-in socket library
Program Specifications:
Message Exchange Protocol:
1. Client sends a message to the server.
2. Server receives and processes the message.
3. Server sends a response back to the client.
4. Client receives and displays the response.
Question No. 2
Topology
Addressing Table
Objectives
Part 1: Build the Network and Configure Basic Device Settings
Part 2: Configure and verify two DHCPv4 Servers on R1 and R2 by using different class
C networks.
Scenario
In this scenario, the company has grown, and the network administrators can no longer
assign IP addresses to devices manually. Your job is to configure both Routers to assign IPv4
addresses on two different subnets using a class C address scheme.
Required Resources (use packet tracer latest version to perform this activity)
2 Routers (2911 or 2811)
2 Switches (2960)
2 PCs
Ethernet cables as shown in the topology.
Instructions
Step 5: Configure G0/0/0 on Routers 1 & 2 and make sure interfaces are properly
configured and UP. Choose any /30 subnet.
Question No. 3
Topology
Addressing Table
Default
Device Interface IP Address Subnet Mask Gateway
VLAN Table
10 Teacher
20 Student
Objectives
Part 1: Build the Network and Configure Basic Device Settings
Part 2: Create VLANs and Assign Switch Ports
Part 3: Configure an 802.1Q Trunk between the Switches
Part 4: Configure Inter-VLAN Routing on the Router
Part 5: Verify Inter-VLAN Routing is working.
Background / Scenario
Modern switches use virtual local-area networks (VLANs) to improve network performance by
separating large Layer 2 broadcast domains into smaller ones. VLANs can also be used as a
security measure by separating sensitive data traffic from the rest of the network. In general,
VLANs make it easier to design a network to support the goals of an organization.
Communication between VLANs requires a device operating at Layer 3 of the OSI model.
Adding an inter-VLAN router allows the organization to segregate and separate broadcast
domains while simultaneously allowing them to communicate with each other.
In this lab, you will create VLANs on both switches in the topology, assign VLANs to switch
access ports, verify that VLANs are working as expected, create VLAN trunks between the two
switches and between S1 and R1, and configure Inter-VLAN routing on R1 to allow hosts in
different VLANs to communicate, regardless of which subnet the host resides.
Required Resources
1 Router (Cisco 2911 or 2811)
2 Switches (Cisco 2960)
2 PCs
Ethernet cables as shown in the topology.
Instructions