0% found this document useful (0 votes)
29 views2 pages

Assignment CS206

assignment css206

Uploaded by

shah Aizaz
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)
29 views2 pages

Assignment CS206

assignment css206

Uploaded by

shah Aizaz
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
You are on page 1/ 2

ASSIGNMENT: CS206

ID: BC220418705

SOLUTION:

 To perform the tasks as described, follow these steps:

Step. 1: LAN 1 Setup :-

1.
 Open Packet Tracer and create a new blank topology.

2.
 Add a switch to the workspace. Change the switch name to your name.

3.
 Add three end devices (PCs) and connect them to the switch using straight-through cables.

4.
 Assign appropriate IP addresses and subnet masks to each PC. For example:

- 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

5.
 Verify connectivity between PCs within LAN-1 by using the ping command between each other.

Step. 2 : LAN-2 Setup :-

6.
 Add a second switch to the workspace. Change the switch name to your VU ID.

7. Add five end devices to each switch:-

 three PCs, one printer, and one server.

8.
 Connect three PCs to switch-2 using straight-through cables.

9.
 Assign appropriate IP addresses and subnet masks to each PC. For example:

- PC1: IP address - 192.168.5.2, Subnet mask - 255.255.255.0


- PC2: IP address - 192.168.5.3, Subnet mask - 255.255.255.0
- PC3: IP address - 192.168.5.4, Subnet mask - 255.255.255.0
10.
 Verify connectivity between PCs within LAN-2 by using the ping command.
Step. 3: WAN Connection: -

11. Add a router to the workspace.

12. Connect both switches to the router.

13. Configure WAN settings on the router: -


 - Assign an IP address (192.168.1.50) to the router interface connected to LAN-1.
 - Set the default gateway (192.168.1.50) on each end device connected to switch-1.
 - Assign an IP address (192.168.5.40) to the router interface connected to LAN-2.
 - Set the default gateway (192.168.5.40) on each end device connected to switch-2.

14.
 Test connectivity between a PC in LAN-1 and a PC in LAN-2 by using the ping command. You can
choose any PC from LAN-1 and LAN-2.

Explanation: -
 - In this setup, two LANs are created using switches and end devices (PCs).
 - Each LAN has its own IP subnet (192.168.1.0/24 for LAN-1 and 192.168.5.0/24 for LAN-2).
 - The WAN connection is simulated using a router connecting both LANs.
 - The router's interfaces connected to LAN-1 and LAN-2 are assigned IP addresses in the respective
LAN subnets.
 - End devices in each LAN are configured with the router's interface IP in their subnet as the default
gateway.
 - Connectivity between LANs is tested by pinging a PC in LAN-1 from a PC in LAN-2.

You might also like