Galle, LK--:--5/6 sites live

AI Network Labs 09 — Capstone: Cybernet Campus, 40 Devices

Two buildings and three branches: VLSM from 10.128.0.0/11, multi-area OSPF, student Wi-Fi and a five-case test plan — the campus design from my networking assessment, rebuilt as a cisco-pt-mcp lab.

19 Sept 20264 min read#Capstone#VLSM#OSPF#Campus

The capstone is the network I designed for my networking assessment (Pearson BTEC HND, Unit 2: Networking): Cybernet Campus, a higher-education institute moving into two five-floor buildings with three regional branches in Matara, Kandy and Kurunegala. The full design has 40 devices, wired and wireless — big enough that the way you drive cisco-pt-mcp starts to matter.

The brief, in one picture

Output
                     WAN-ISP-SLT (MPLS, primary) ── Matara, Kandy
                    /
  HQ-Core-RTR ── HQ-Edge-FW
                    \
                     WAN-ISP-Dialog (backup) ────── Kurunegala
        │
   ┌────┴─────────────────────┐
BldgA-Dist-SW (3560)     BldgB-Dist-SW (3560)
 5 access switches        5 access switches
 Primary server farm      DR mirror server
 Student Wi-Fi AP         Student Wi-Fi AP

Addressing: VLSM from one root block

Everything is carved from 10.128.0.0/11 with one /16 per zone, so each building summarises to a single route:

ZoneBlockSummary
Building A (Academic North)10.128.0.0/16one route for all of A
Building B (Eng / Med / Admin)10.129.0.0/16one route for all of B
Regional branches10.130.0.0/16one route per region
Core transit links10.255.0.0/24/30 point-to-points
Student Wi-Fi172.16.0.0/20two /21s, 2,046 hosts each

Department subnets are sized to headcount, not habit:

VLANDepartmentSubnetUsable hosts
10Management10.128.10.0/24254
20Computing labs10.128.20.0/24254
30Postgraduate10.128.30.0/2662
50Engineering CAD10.129.50.0/25126
65Biomedical IoT10.129.65.0/2730
80VC office10.129.80.0/2814
90IT NOC10.128.90.0/2730
100 / 101Student Wi-Fi A / B172.16.0.0/21, 172.16.8.0/212,046 each

Size from the biggest subnet down. Allocating the /21 Wi-Fi blocks and /24 labs first keeps the small /27 and /28 subnets from fragmenting the space.

Routing: multi-area OSPF

Output
            Area 0 (backbone): Core router, firewall, both distribution switches
           /                  |                     \
   Area 10: Building A   Area 20: Building B   Area 30: Regional branches
   10.128.0.0/16         10.129.0.0/16         10.130.0.0/16

Summarising each area at its border means a flapping lab switch in Building A never makes Building B or the branches recompute their routes.

Building it with cisco-pt-mcp

Placing 40 devices one prompt at a time is slow and error-prone. Work in layers instead, and verify each before moving on:

ExamplePrompt
Layer 1 — core: add HQ-Core-RTR and HQ-Edge-FW (2911), BldgA-Dist-SW and BldgB-Dist-SW (3560-24PS),
cable them as in my transit table, configure the /30s and OSPF area 0. Show commands first,
then ping core → each distribution switch.
ExamplePrompt
Layer 2 — Building A: add the five access switches and their PCs, create VLANs 10, 20, 30, 40 and 90,
trunk each access switch to BldgA-Dist-SW, create the SVIs as gateways and put them in OSPF area 10.
Verify one PC per VLAN can ping the primary server.

Repeat for Building B (area 20), the branches over the two WAN providers (area 30) and finally the wireless access points. After each layer, ask for getCommandLog and file it with your addressing table — together they are your design documentation.

Give the AI the addressing table as data, not prose. A table of device, interface, address and mask leaves nothing to interpret.

Test plan

TestFrom → ToPathResult
TC-01Student tablet (Wi-Fi A) → primary serverAP → Dist-SW A (VLAN 100 SVI) → server farmPass
TC-02Student phone (Wi-Fi B) → DR serverAP → Dist-SW B (VLAN 101 SVI) → DR farmPass
TC-03Wi-Fi A → Wi-Fi BDist-SW A → firewall → Dist-SW BPass
TC-04Wi-Fi A → Matara branch PCfirewall → core → SLT MPLS → branch routerPass
TC-05Engineering PC → primary serverDist-SW B → firewall → Dist-SW APass

Your turn

Build a reduced version: one core router, two distribution switches with two VLANs each, one branch. Keep the same addressing plan (10.128/16 and 10.129/16) and the same OSPF areas, and write your own five-line test plan before you prompt anything.

ExerciseKnowledge check

Why give each building its own /16 (10.128/16, 10.129/16)?

Finished this one?

Progress is saved in this browser.

Guide