Data Communication & Networks · 2025–26

DCN Practical Exam Kit

Ten selected experiments · aim, procedure, runnable code, illustrated output and result

← 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

  1. Packet Tracer → File → New. Place 2 PCs, 2 2960 switches, 1 1941 router.
  2. Connect PC↔switch and switch↔router with Copper Straight-Through. Router ports should be G0/0 and G0/1 (verify your actual ports).
  3. Open Router0 → CLI. Enter Router0.cli line by line. no shutdown turns interfaces on; write memory saves configuration.
  4. Set PC0 IP 192.168.1.10, mask 255.255.255.0, gateway 192.168.1.1. Set PC1 IP 192.168.2.10, mask same, gateway 192.168.2.1.
  5. PC0 → Desktop → Command Prompt: ping 192.168.2.10.
  6. 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