IP Addressing & Subnetting Lab

M. Ichsanul Fadhil•2026-11-22

Learn IPv4 addressing, default gateway setup, and subnet boundaries using realistic topology scenarios with automatic scoring.

Interactive Lab Exercises

Complete each lab exercise in order. Your CLI configurations are evaluated against real-time scoring criteria.

1 Lab Exercise 1
⏱ 15 mins

Dual-Branch Campus Subnet Rollout & WAN Interconnect

Subnet a 192.168.100.0/24 address block into /27 departmental segments. Configure dual Cisco router gateways, serial links, and static PC network settings.

Scoring Checkpoints (Evaluated by Engine):

  • Subnet 192.168.100.0/24 into /27 subnets with 255.255.255.224 masks
  • Assign first usable host IP addresses to R1 and R2 GigabitEthernet gateway interfaces
  • Configure Serial0/0/0 point-to-point interconnect between R1 and R2
  • Configure switch management VLAN 1 SVIs on S1, S2, S3, and S4
  • Assign highest usable host IP addresses and matching default gateways to PC1, PC2, PC3, and PC4
  • Verify 100% ICMP ping reachability across departments and over the WAN backbone
Dual-Branch Campus Subnet Rollout & WAN Interconnect in Packet Tracer Simulator
2 Lab Exercise 2
⏱ 25 mins

Multi-Subnet Addressing with VLSM

Apply Variable Length Subnet Masking (VLSM) across departmental LAN segments to prevent IP address exhaustion.

Scoring Checkpoints (Evaluated by Engine):

  • Subnet /26 applied correctly to Engineering department router interface
  • Subnet /27 applied correctly to Sales department router interface
  • Inter-department hosts verify routing through central router interface
  • No subnet overlap errors detected in routing table
Multi-Subnet Addressing with VLSM in Packet Tracer Simulator
3 Lab Exercise 3
⏱ 30 mins

Troubleshoot Overlapping Subnet Masks

Diagnose a broken multi-branch network where improper subnetting breaks inter-router communication.

Scoring Checkpoints (Evaluated by Engine):

  • Inspect active routing table with show ip route to identify conflicting subnets
  • Reassign correct non-overlapping subnet mask to Branch Router
  • Restore full end-to-end ping reachability between Headquarters and Branch
Troubleshoot Overlapping Subnet Masks in Packet Tracer Simulator

When you power on a brand-new router and connect workstation cables, the router cannot forward a single packet until its interfaces receive valid IP addresses and are brought up administratively. Without an active IP gateway, local computers sit isolated on their wire segments, unable to communicate outside their local broadcast domain.

In production enterprise networks, IPv4 addressing requires careful planning to prevent address exhaustion and IP boundary collisions. If two department interfaces accidentally receive overlapping subnet masks, or if a workstation points to an unreachable gateway IP, network connectivity halts immediately.

Understanding Subnet Boundaries and Reserved Addresses

When assigning an IP address to a router interface or host workstation, Cisco IOS evaluates the network address and broadcast address. Neither of these can ever be assigned to an individual computer or router interface:

  • Network Address: Identifies the wire segment itself (all host bits set to 0). In 192.168.1.0/24, the address 192.168.1.0 is reserved and cannot be assigned to an interface.
  • Broadcast Address: Delivers packets to every device on that segment (all host bits set to 1). In 192.168.1.0/24, the address 192.168.1.255 is reserved.
  • Usable Host Range: Covers every IP strictly between the network ID and the broadcast address (192.168.1.1 through 192.168.1.254).
  • Default Gateway: The router interface IP belonging to the same local subnet. Without a reachable default gateway, hosts cannot communicate outside their local segment.

Learn Addressing Plan

The table below outlines the IP plan used across the lab exercises. Use these exact parameters when configuring router interfaces and host workstations:

Device Interface IPv4 Address Subnet Mask Default Gateway Role / Assignment
R1 GigabitEthernet0/0/0 192.168.1.1 255.255.255.0 (/24) N/A LAN 1 Default Gateway
R1 GigabitEthernet0/0/1 172.16.0.1 255.255.255.192 (/26) N/A Engineering LAN Gateway
PC-A FastEthernet0 192.168.1.10 255.255.255.0 (/24) 192.168.1.1 Host Workstation A
PC-B FastEthernet0 192.168.1.20 255.255.255.0 (/24) 192.168.1.1 Host Workstation B

Step-by-Step Configuration Guide

Follow these sequential steps on router R1 and the client workstations to establish full IP reachability:

1

Enter Interface Configuration on R1

Access privileged EXEC mode with enable, enter global configuration mode, and select the local GigabitEthernet interface.

R1# configure terminal
R1(config)# interface GigabitEthernet0/0/0
2

Assign IP Address and Enable Interface

Configure the gateway IP address with its dotted-decimal subnet mask. Turn the interface on using the no shutdown command.

R1(config-if)# ip address 192.168.1.1 255.255.255.0
R1(config-if)# no shutdown
R1(config-if)# exit
3

Configure Multi-Subnet VLSM on Second Interface

Navigate to the secondary interface serving the Engineering department and apply the /26 subnet mask (255.255.255.192).

R1(config)# interface GigabitEthernet0/0/1
R1(config-if)# ip address 172.16.0.1 255.255.255.192
R1(config-if)# no shutdown
R1(config-if)# end

Verification and Troubleshooting

To confirm that router R1 has successfully initialized its physical ports and added the subnets to its routing table, run show ip interface brief:

R1# show ip interface brief
Interface                  IP-Address      OK? Method Status                Protocol
GigabitEthernet0/0/0       192.168.1.1     YES manual up                    up      
GigabitEthernet0/0/1       172.16.0.1      YES manual up                    up      

Both interfaces must display up under Status and up under Protocol. If the Status displays administratively down, return to interface configuration mode and issue the no shutdown command.

Next, verify end-to-end reachability from PC-A by pinging the default gateway and the remote workstation:

PC-A> ping 192.168.1.1
Pinging 192.168.1.1 with 32 bytes of data:
Reply from 192.168.1.1: bytes=32 time<1ms TTL=255
Reply from 192.168.1.1: bytes=32 time<1ms TTL=255
Ping statistics: Sent = 4, Received = 4, Lost = 0 (0% loss)

PC-A> ping 172.16.0.10
Pinging 172.16.0.10 with 32 bytes of data:
Reply from 172.16.0.10: bytes=32 time=1ms TTL=127
Reply from 172.16.0.10: bytes=32 time=1ms TTL=127
Ping statistics: Sent = 4, Received = 4, Lost = 0 (0% loss)

A 100% response rate confirms that both LANs are active, default gateways are functional, and inter-subnet routing is operating smoothly across router R1.