zNetLaB › Guided labs › Enterprise
VLSM 35 — 44 / 21 / 9 hosts
Enterprise Intermediate 4 devices 4 checked tasks 100 points Plan lab
Cut 172.18.34.0/24 into three right-sized subnets for 44, 21 and 9 hosts (largest first: /26, /27, /28), and give the router the first usable address of each. The PCs are already addressed; make them reach each other. You build it in a browser, type real commands at each device, and every task below is
checked against the running configuration — so you find out it is wrong before anybody else does.
Open this lab in the simulator
The simulator runs in your browser with nothing to install. This lab is part of the full simulator: open it free for 7 days with a new account, then with a plan. It needs an account, which keeps your progress.
The scenario
Cut 172.18.34.0/24 into three right-sized subnets for 44, 21 and 9 hosts (largest first: /26, /27, /28), and give the router the first usable address of each. The PCs are already addressed; make them reach each other.
Your role: a network engineer on the enterprise team. Level: Intermediate Done when: all 4 goals show as passed (100 points).
Network status
Devices: 1 router, 3 PCs, cabled as drawn. No Layer 1 or Layer 2 faults: every link is connected and up. Phones (44 hosts) is a host with 172.18.34.2/26, gateway 172.18.34.1. Finance (21 hosts) is a host with 172.18.34.66/27, gateway 172.18.34.65. Reception (9 hosts) is a host with 172.18.34.98/28, gateway 172.18.34.97. R-Varanasi starts with an empty configuration.
Known problems
None: nothing is misconfigured. The network is simply not finished: what the goals list is what you have to build or secure.
Goals
Phones: 44 hosts → /26; Gi0/0 = 172.18.34.1 (20 pts) Finance: 21 hosts → /27; Gi0/1 = 172.18.34.65 (20 pts) Reception: 9 hosts → /28; Gi0/2 = 172.18.34.97 (20 pts) All three networks reach each other (40 pts)
The activity, in order
Phones: 44 hosts → /26; Gi0/0 = 172.18.34.1 On R-Varanasi, go into interface GigabitEthernet0/0, give it 172.18.34.1 with the mask the topology shows, and bring it up with no shutdown.Why: A router interface routes nothing until it has an address and is up. Every other task builds on this one. Verify with: show ip interface brief Finance: 21 hosts → /27; Gi0/1 = 172.18.34.65 On R-Varanasi, go into interface GigabitEthernet0/1, give it 172.18.34.65 with the mask the topology shows, and bring it up with no shutdown.Why: A router interface routes nothing until it has an address and is up. Every other task builds on this one. Verify with: show ip interface brief Reception: 9 hosts → /28; Gi0/2 = 172.18.34.97 On R-Varanasi, go into interface GigabitEthernet0/2, give it 172.18.34.97 with the mask the topology shows, and bring it up with no shutdown.Why: A router interface routes nothing until it has an address and is up. Every other task builds on this one. Verify with: show ip interface brief All three networks reach each other From Phones (44 hosts), ping 172.18.34.66. If it fails, walk the path hop by hop: gateway, then each router’s routing table, then the way back. From Finance (21 hosts), ping 172.18.34.98. If it fails, walk the path hop by hop: gateway, then each router’s routing table, then the way back.Why: A ping needs a route in BOTH directions. This is the end-to-end proof that everything before it worked. Verify with: ping 172.18.34.66
Tips
Work in the order given: later goals depend on the earlier ones. After every change, run the verify command before moving on; do not guess. Stuck? Read the verify output first. It names the interface, neighbour or route that is wrong. Common mistake: Forgetting the network and broadcast addresses when counting hosts Common mistake: Allocating small subnets first and misaligning the big one Common mistake: Giving the router the network address instead of the first host
Why this matters
Giving every LAN a /24 wastes most of the address space. VLSM sizes each subnet to its need: the number of host bits is the smallest n with 2ⁿ − 2 ≥ hosts, and the largest subnet is allocated first so the blocks stay aligned.
What you will be able to do
Work out the prefix length for a host requirement
Allocate subnets in descending order
Address interfaces from the plan
The network
ISR 2911, PC — 4 devices in all, already cabled.
Fa0 Gi0/0 Fa0 Gi0/1 Fa0 Gi0/2 R-Varanasi Phones (44 hosts) 172.18.34.2/26 · gw 172.18.34.1 Finance (21 hosts) 172.18.34.66/27 · gw 172.18.34.65 Reception (9 hosts) 172.18.34.98/28 · gw 172.18.34.97 Drawn from this lab: devices, cables, ports and the addresses already set.
Device Model Address already set
R-Varanasi ISR 2911 configure it
Phones (44 hosts) PC 172.18.34.2 / 255.255.255.192 gw 172.18.34.1
Finance (21 hosts) PC 172.18.34.66 / 255.255.255.224 gw 172.18.34.65
Reception (9 hosts) PC 172.18.34.98 / 255.255.255.240 gw 172.18.34.97
Cabling
Phones (44 hosts) Fa0 ↔ R-Varanasi Gi0/0
Finance (21 hosts) Fa0 ↔ R-Varanasi Gi0/1
Reception (9 hosts) Fa0 ↔ R-Varanasi Gi0/2
What is configured at the start
Nothing is configured to start with beyond the addresses above: you build the configuration from a clean start.
Tasks, and how each one is checked
Every task is decided by reading the live network — a neighbour in FULL, a ping that succeeds, a line in the running configuration — not by looking for a keyword you typed. The same command shows you what the lab sees.
# Task Pts How to verify it yourself
1 Phones: 44 hosts → /26; Gi0/0 = 172.18.34.1 20 On R-Varanasi: show ip interface brief — Gi0/0 has 172.18.34.1 and is up/up.
2 Finance: 21 hosts → /27; Gi0/1 = 172.18.34.65 20 On R-Varanasi: show ip interface brief — Gi0/1 has 172.18.34.65 and is up/up.
3 Reception: 9 hosts → /28; Gi0/2 = 172.18.34.97 20 On R-Varanasi: show ip interface brief — Gi0/2 has 172.18.34.97 and is up/up.
4 All three networks reach each other 40 On Phones (44 hosts): ping 172.18.34.66 must succeed. and On Finance (21 hosts): ping 172.18.34.98 must succeed.
Stuck? Ask the coach
Tell the coach what you see or what you tried. It gives you a hint, not the answer, the way a senior engineer would. Included with a free trial or any plan.
Ask the coach
Common mistakes
Forgetting the network and broadcast addresses when counting hosts
Allocating small subnets first and misaligning the big one
Giving the router the network address instead of the first host
Reference solution
Try it yourself first — the lab checks your work either way. This is one configuration that makes every task pass, device by device:
R-Varanasi interface g0/0
ip address 172.18.34.1 255.255.255.192
no shutdown
exit
interface g0/1
ip address 172.18.34.65 255.255.255.224
no shutdown
exit
interface g0/2
ip address 172.18.34.97 255.255.255.240
no shutdown
exit
Where this is examined
CCNA 1.0 Network Fundamentals (IPv4 addressing); Network+ 1.4.
This lab practises these topics in the zNetLaB certification courses:
Related labs
Where to start
The lessons are open to everyone, all guided labs are listed by track, and
plans explains what is free and what is not.
CCNA®, CCNP® and Cisco® are trademarks of Cisco Systems, Inc. zNetLaB is not affiliated with or endorsed by Cisco.