CudStemlab Core Network – MikroTik Router & 10G Switch Deployment
A hardware-backed core network for the CudStemlab engineering lab at SatitChula, replacing a virtual router that depended on a hypervisor staying online. The design splits responsibilities across two MikroTik devices: a 16-core CCR2116 that handles every Layer 3 function — routing, firewall, NAT, VPN and guest access control — and a CRS312 10G switch that stays a pure VLAN-aware Layer 2 bridge. Remote access runs on a role-based WireGuard VPN, the lab peers with an off-site VPS over BGP, and every management service is hardened down to SSH and WinBox only.
Project Gallery
Network Design & Architecture
Network Designer & Engineer: Designed the router/switch split, VLAN plan and access model, then personally migrated the live configuration from the old virtual router onto the new hardware — carrying over every VPN peer, firewall rule and service without asking a single user to reconfigure their device.
Routing Layer
- CCR2116-12G-4S+ as the dedicated L3 core router
- Stateful firewall, NAT and inter-VLAN routing
- WireGuard VPN server for remote lab access
- BGP peering with an off-site VPS over an encrypted tunnel
- Local DNS, NTP server and SNMP for the whole lab
- Netwatch health checks and weekly configuration backups
Switching Layer
- CRS312-4C+8XG-RM as a pure VLAN-aware Layer 2 switch
- 10G SFP+ trunk to the router carrying all tagged VLANs
- Separate VLANs for management, lab, guest and storage/IoT
- Proxmox nodes kept on the management VLAN, unchanged
- No stateful services on the switch, by design
Security & Access Control
Role-based VPN
WireGuard peers get their role from the address range they are issued. Admins reach everything; users only reach lab services, with hypervisors and the router itself hidden from them.
Admin-approved guest access
A captive portal on a dedicated guest VLAN holds every unknown device until an administrator approves it, modeled on enterprise network access control.
Hardened management
Only SSH and WinBox are enabled, with key-based login, a staged brute-force blacklist and neighbor discovery limited to trusted interfaces.
Key Features
- Dedicated hardware router replacing a hypervisor-dependent virtual router
- Strict L3-on-router / L2-on-switch separation of duties
- 10G SFP+ trunk between router and switch
- VLAN segmentation for management, lab, guest and storage/IoT networks
- Role-based WireGuard VPN with admin and user access tiers
- Live migration of all existing VPN peers with zero client changes
- BGP route exchange with an off-site VPS over WireGuard
- Admin-approved guest access portal (NAC) over HTTPS
- Progressive brute-force protection on management ports
- SNMP metrics feeding Prometheus and Grafana dashboards
- Lab-wide DNS and NTP served from the core router
- Automated weekly configuration backups
Project Impact & Results
Successfully moved the lab’s core network onto dedicated MikroTik hardware, removing the hypervisor as a single point of failure for the entire lab. Every existing VPN user kept working through the cutover without touching their configuration, and access is now scoped by role so each person only reaches what they actually need.