Computer Networks
Namal University Mianwali
Computer Science
Lab
MR. MUZAMIL AHMED Dated 9-Sep-2024
Instructor
Name USAIRA SHAHBAZ Roll No NUM-BSCS-2022-27
Lab 01 – Lab Report
Task 1
Figure 1: Network Layout of 4 hosts and 1 switch
Step 1:
I selected four hosts (PCs) from the End Devices section and one switch from the
'Network Devices' section
I then dragged these devices into the workspace
Step 2:
I clicked on the Connections icon.
I used a Copper Straight-Through Cable to connect each PC to the switch as follows:
1. PC0: Connected the FastEthernet0 port to an available switch port (e.g., FastEthernet0/1)
2. PC1: Connected the FastEthernet0 port to another switch port (e.g., FastEthernet0/2)
3. PC2: Connected the FastEthernet0 port to another switch port (e.g., FastEthernet0/3)
4. PC3: Connected the FastEthernet0 port to another switch port (e.g., FastEthernet0/4)
Task 2
According to my observations:
FastEthernet0 Connection (Default Port):
Link-local IPv6 Address: FE80::20D:BDFF:FEA4 (Automatically assigned IPv6 address)
IPv4 Address: 192.168.1.1 (Private IPv4 address)
Subnet Mask: 255.255.255.0 (Indicating the network portion and host portion of the IP
address)
Default Gateway: 0.0.0.0 (No default gateway is configured)
Bluetooth Connection:
There are no active configurations for the Bluetooth connection.
The IPv6, IPv4, Subnet Mask, and Default Gateway are either set to :: or 0.0.0.0,
indicating no configuration.
Figure 2: ipconfig of PC0
Task 3
For each PC, I configured the following IP addresses under the Desktop tab > IP Configuration:
PC0: IP Address - 192.168.1.1, Subnet Mask - 255.255.255.0
PC1: IP Address - 192.168.1.2, Subnet Mask - 255.255.255.0
PC2: IP Address - 192.168.1.3, Subnet Mask - 255.255.255.0
PC3: IP Address - 192.168.1.4, Subnet Mask - 255.255.255.0
Figure 3:Selection of IP configuration from Desktop
Figure 4:Setup IP address and Subnet Mask
Task 4
Verifying logical connection between each host:
On PC0, I opened the Command Prompt and used the ping command to test the
connection with PC1.
On PC2, I used the ping command to test the connection with PC3.
The successful responses confirmed that the network connections were properly
established.
Figure 5: Verification of logical connection
Figure 6: Ping Command for PC2
Figure 7: Ping Command for PC3