Resources

Networking tools for planning, documenting and troubleshooting real networks — plus quick-reference sheets from the CCNA 200-301 course.

NetExam Pro

Resources · networking tools

Resources

Real-world tools for planning, documenting and troubleshooting networks.

Subnet Calculator

Network, broadcast, hosts and ranges

Network Documentation

Document devices, IPs, VLANs, ISP & Wi-Fi

Physical Topology

Sites & WAN links: fibre, leased line, VPN

Bill of Materials

Parts list, import from NetBuild Pro

IP Converter

Decimal ↔ binary ↔ hex

Wildcard Calculator

Mask ↔ wildcard for ACLs & OSPF

VLSM Planner

Carve a block into right-sized subnets

VLAN Planner

Plan VLAN IDs, names and subnets

DHCP Planner

Scopes, exclusions & reservations

Ports Reference

Searchable TCP/UDP port list

Cable Reference

Copper & fibre types and distances

Password Generator

Strong passwords for devices

NetBuild Pro

Build networks from scratch — routers, switches, firewalls.

Quick Reference

Ports, AD values, subnetting and more — the facts to memorise.

Flashcards

Flip cards across every domain. Shuffle, filter, and drill what you miss.

Reference sheets

Free to keep — print one or save it as a PDF.

…

IPv4 subnetting cheat sheet

The quick method

  1. Find the interesting octet — the one where the mask is not 255 and not 0.
  2. Work out the magic number: 256 minus the mask value in that octet.
  3. Subnet IDs are the magic-number multiples (0, magic, 2×magic…). The IP belongs to the largest multiple at or below its value in that octet.
  4. Broadcast = the next subnet ID minus 1. Usable hosts sit between the two.

Example: 192.168.5.73 with mask 255.255.255.192 — the interesting octet is the 4th, magic = 256 − 192 = 64. Subnets at 0, 64, 128, 192… so .73 sits in 192.168.5.64, broadcast is 192.168.5.127, usable .65–.126.

Prefix, mask and usable hosts

PrefixMask (last octet)Usable hostsPrefixMask (last octet)Usable hosts
/16255.255.0.065,534/24255.255.255.0254
/17255.255.128.032,766/25255.255.255.128126
/18255.255.192.016,382/26255.255.255.19262
/19255.255.224.08,190/27255.255.255.22430
/20255.255.240.04,094/28255.255.255.24014
/21255.255.248.02,046/29255.255.255.2486
/22255.255.252.01,022/30255.255.255.2522
/23255.255.254.0510/31255.255.255.2542*

* /31 has 2 usable addresses with no broadcast (used on point-to-point links). For every other mask: usable hosts = 2^(host bits) − 2 (network ID and broadcast excluded).

Which prefix for how many hosts?

Hosts needed261430621262545101,022
Use prefix/30/29/28/27/26/25/24/23/22

Design tip: always allow room to grow, then pick the smallest prefix that still fits the inflated number.

Private and special ranges

RangeMeaning
10.0.0.0/8Private (Class A space)
172.16.0.0/12Private (172.16.0.0 – 172.31.255.255)
192.168.0.0/16Private (Class C space)
127.0.0.0/8Loopback (this device)
169.254.0.0/16APIPA — device gave up waiting for DHCP
224.0.0.0 – 239.255.255.255Multicast

Summarised from the NetExam Pro CCNA 200-301 course, Module 2 (IPv4 addressing and subnetting).

IOS command reference

Modes

enable                     ! user EXEC  >  to privileged EXEC  #
configure terminal         ! privileged EXEC  to global config
end                        ! back to privileged EXEC from anywhere
exit                       ! one level up (also logs out of the device)

First-time setup

hostname R1
no ip domain-lookup        ! stop the CLI trying to resolve typos as DNS
banner motd # Authorised access only #
enable secret <password>    ! privileged EXEC password (hashed)
line console 0
  password <password>
  login
line vty 0 4
  password <password>
  login
service password-encryption

Interfaces

interface GigabitEthernet0/0
  description Link to ISP
  ip address 203.0.113.2 255.255.255.252
  no shutdown              ! interfaces are administratively down by default

Show commands (verification)

CommandTells you
show versionModel, IOS version, uptime
show running-configCurrent config in memory (show startup-config = saved)
show ip interface briefEvery interface: IP, up/down status
show interfaces statusSwitch ports: connected, speed, duplex, VLAN
show interfaces descriptionWhat each interface is cabled to
show cdp neighborsDirectly connected Cisco devices
show vlan briefVLANs and which ports are in them
show interfaces trunkWhich VLANs each trunk carries
show mac address-tableLearned MAC → port mappings
show spanning-tree vlan 10STP root, port roles for a VLAN
show etherchannel summaryBundled ports and their state
show ip routeRouting table (C = connected, L = local, S = static)
show ip route staticStatic routes only (swap in ospf, connected…)
show ip protocolsRouting protocols actually running
show ip ospf neighborOSPF adjacencies (want FULL)
show access-listsACLs and their match counters
show ip dhcp bindingLeases handed out by the DHCP server
show ip nat translationsActive NAT sessions
show ipv6 interface briefIPv6 addresses and interface status
show ipv6 routeIPv6 routing table
ping 8.8.8.8 / traceroute 8.8.8.8Reachability / the Layer-3 path hop by hop

Common config tasks

! --- Static routes ---
ip route 192.168.2.0 255.255.255.0 10.0.0.2       ! next-hop
ip route 0.0.0.0 0.0.0.0 203.0.113.1              ! default route
no ip route 192.168.2.0 255.255.255.0 10.0.0.2   ! remove a static route

! --- VLANs and trunks (switch) ---
vlan 10
  name SALES
interface range Gi0/1 - 12
  switchport mode access
  switchport access vlan 10
interface Gi0/24
  switchport mode trunk
interface Vlan10
  ip address 192.168.10.1 255.255.255.0          ! SVI: the VLAN's gateway

! --- OSPF ---
router ospf 1
  router-id 1.1.1.1
  network 10.0.0.0 0.0.0.255 area 0              ! wildcard mask, not subnet mask
interface Gi0/0
  ip ospf cost 10                                ! prefer this path (lower wins)

! --- DHCP server ---
ip dhcp pool LAN
  network 192.168.1.0 255.255.255.0
  default-router 192.168.1.1
  dns-server 8.8.8.8
ip dhcp excluded-address 192.168.1.1 192.168.1.10

! --- NAT overload (PAT) ---
access-list 1 permit 192.168.1.0 0.0.0.255
ip nat inside source list 1 interface Gi0/0 overload
interface Gi0/0
  ip nat outside
interface Gi0/1
  ip nat inside

! --- ACLs (numbered: 1-99 standard, 100-199 extended) ---
access-list 10 permit 192.168.1.0 0.0.0.255      ! standard: source only
access-list 100 permit tcp any host 10.0.0.5 eq 80   ! extended: protocol, ports
interface Gi0/1
  ip access-group 100 in                        ! applied inbound
! Always ends with an invisible "deny all" — permit what you need.

Wildcard masks are the inverse of subnet masks (0 = must match, 255 = ignore). Summarised from the NetExam Pro CCNA 200-301 course, Modules 4, 6, 7 and 9.