← Back to kitOffline reference
Experiment 1 — Design a Basic LAN Topology with Routers and Switches
Manual pages: 1–5 | Tool: Cisco Packet Tracer
AIM
To simulate OSI and TCP/IP layered communication using Cisco Packet Tracer by designing a basic LAN with routers and switches and verifying communication.
TOPOLOGY
PC0 ---- Switch0 ---- Router0 ---- Switch1 ---- PC1
192.168.1.10 G0/0 G0/1 192.168.2.10
.1.1 .2.1
EXECUTION STEPS
- Packet Tracer → File → New. Place 2 PCs, 2 2960 switches, 1 1941 router.
- Connect PC↔switch and switch↔router with Copper Straight-Through. Router ports should be G0/0 and G0/1 (verify your actual ports).
- Open Router0 → CLI. Enter
Router0.cliline by line.no shutdownturns interfaces on;write memorysaves configuration. - Set PC0 IP
192.168.1.10, mask255.255.255.0, gateway192.168.1.1. Set PC1 IP192.168.2.10, mask same, gateway192.168.2.1. - PC0 → Desktop → Command Prompt:
ping 192.168.2.10. - Simulation Mode → Add Simple PDU from PC0 to PC1 → Auto Capture/Play. Observe ARP/ICMP, OSI Model tab and PDU success. Save
.pkt.
PROGRAM / COMMANDS
Router commands: Router0.cli. Ping: ping 192.168.2.10.
EXPECTED OUTPUT
GigabitEthernet0/0 192.168.1.1 up up
GigabitEthernet0/1 192.168.2.1 up up
Reply from 192.168.2.10 ...
Packets: Sent=4, Received=4, Lost=0 (0% loss)
Simple PDU: Successful
Timing can vary; first ping can time out during ARP resolution. See EXPECTED_OUTPUT.txt.
RESULT
Thus, OSI and TCP/IP communication was successfully simulated by configuring a basic LAN topology using router and switches and verifying ping and packet flow.
VIVA
- Router forwards IP packets between networks (Layer 3); switch forwards Ethernet frames (Layer 2).
no shutdownenables a router interface.pinguses ICMP.- Default gateway is the router IP on the PC's local subnet.