✨ LearnHub AI Guideoffline guide
DashboardADMIN

Configuration snippets

Troubleshooting workflow

A safe in-browser simulator of the sample office lab: a switch, a router and a Windows PC. Pick a device and type commands. Nothing here touches a real network.

Lab tasks · VLAN 10 · 192.168.10.0/24
  • Create VLAN 10 named IT on SW1
  • Put SW1 gi1/0/1 and gi1/0/24 in access VLAN 10
  • Set R1 gi0/0 to 192.168.10.1 255.255.255.0 and bring it up
  • From PC-IT: ping 192.168.10.1

Topology: PC-IT ⇄ SW1 gi1/0/1 · R1 gi0/0 ⇄ SW1 gi1/0/24. Type ? for commands.

SW1 console
IPv4 Subnet Calculator

Enter an IP address (or 192.168.1.10/24) and a prefix. Pick a class to load a typical network.

Result

Binary (network bits highlighted)

Split into subnets (VLSM)

Address classes

ClassFirst octetLeading bitsDefault maskNetworksHosts / networkUse
A1 – 1260255.0.0.0 /812616,777,214Very large networks
B128 – 19110255.255.0.0 /1616,38465,534Medium networks
C192 – 223110255.255.255.0 /242,097,152254Small networks, LANs
D224 – 2391110n/an/an/aMulticast
E240 – 2551111n/an/an/aExperimental / reserved

Special and private ranges

RangeCIDRPurpose
10.0.0.0 – 10.255.255.25510.0.0.0/8Private Class A, large enterprises
172.16.0.0 – 172.31.255.255172.16.0.0/12Private Class B range
192.168.0.0 – 192.168.255.255192.168.0.0/16Private Office and home LANs
127.0.0.0 – 127.255.255.255127.0.0.0/8Loopback
169.254.0.0 – 169.254.255.255169.254.0.0/16APIPA No DHCP answer
100.64.0.0 – 100.127.255.255100.64.0.0/10CGNAT Carrier-grade NAT

CIDR reference click a row to calculate