Assignment CS206
Assignment CS206
ID: BC220418705
SOLUTION:
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:
5.
Verify connectivity between PCs within LAN-1 by using the ping command between each other.
6.
Add a second switch to the workspace. Change the switch name to your VU ID.
8.
Connect three PCs to switch-2 using straight-through cables.
9.
Assign appropriate IP addresses and subnet masks to each PC. For example:
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.