Revision notes

Networking Basics: Practice

The key points, rules to remember, tables and diagrams from all 9 lessons, on one page for quick revision. To keep a copy, use your browser's Print and choose "Save as PDF".

Lesson 1

LAN, MAN, WAN and PAN

Network types
TypeArea coveredExample
PAN (Personal Area Network)A few metres around one personPhone linked to earphones by Bluetooth
LAN (Local Area Network)One room, building or campusSchool computer lab
MAN (Metropolitan Area Network)A city or large townCable network of a city
WAN (Wide Area Network)Country or worldThe internet

PAN is personal, LAN is local, MAN is a city, WAN is wide. The internet is the biggest WAN.

— Remember this

Key takeaways: classify by area covered, from personal to local to city to wide.

Read the full lesson

Lesson 2

Network topologies

Topologies
TopologyLayoutKey point
BusAll devices on one common cableCheap, but a break in the main cable can stop the network
StarAll devices connect to a central hub or switchEasy to add devices; a failed device does not stop others, but the centre is a single point of failure
RingDevices form a closed loopData travels in one direction around the ring
MeshDevices connect directly to many othersVery reliable but needs a lot of cabling
TreeStar networks joined in a hierarchyGood for large organisations

Full mesh links = n(n - 1) / 2. Star depends on its centre. Bus depends on its main cable.

— Rule to remember

Key takeaways: remember each layout's weak point and the full mesh formula n(n - 1) / 2.

Read the full lesson

Lesson 3

Network devices and media

Network devices
DeviceJob
NIC (Network Interface Card)Lets a computer connect to a network
HubSends incoming data to all connected devices
SwitchSends data only to the device it is meant for
RouterConnects different networks and chooses the path for data
ModemConverts signals so a computer can use a telephone or cable line
GatewayConnects networks that use different protocols
RepeaterRegenerates a weakening signal

Hub = to all. Switch = to one. Router = between networks. Modem = signal conversion.

— Rule to remember

Key takeaways: hub broadcasts, switch targets, router connects networks, and fibre uses light.

Read the full lesson

Lesson 4

Protocols, IP addresses and the client-server model

Protocols
ProtocolPurpose
HTTP / HTTPSTransfers web pages; HTTPS adds encryption
FTPTransfers files between computers
SMTPSends e-mail
TCP/IPThe basic rules of the internet: IP addresses and delivers, TCP makes sure data arrives complete and in order
DNS (Domain Name System)Converts a name like example.com into an IP address

DNS turns names into numbers. IPv4 numbers run from 0 to 255 in each of four parts.

— Rule to remember

Key takeaways: protocols are rules, DNS maps names to IP addresses, and each IPv4 part is at most 255.

Read the full lesson

Lesson 5

Networking mixed practice

Cue and answer
CueAnswer
Covers a cityMAN
Common cable for allBus
Central hubStar
Between networksRouter
Names to IPDNS
Encrypted webHTTPS

Decide the sub-topic, then use the matching table.

— Exam method

Key takeaways: use cue words and the revision table, and remember the full mesh formula.

Read the full lesson

Lesson 6

Protocols and port numbers: matching drills

Common protocols and ports
ProtocolJobDefault port
HTTPTransfers web pages80
HTTPSTransfers web pages with encryption443
FTPTransfers files between computers21
SSHSecure remote login22
TelnetRemote login without encryption23
SMTPSends email25
DNSConverts domain names to IP addresses53
POP3Downloads email from the server110
IMAPReads email kept on the server143
DHCPGives IP addresses automatically67 and 68

SMTP sends. POP3 and IMAP receive. HTTPS is HTTP plus encryption. DNS finds, DHCP gives.

Key takeaways. Learn the table of protocols and ports. Keep the sending protocol (SMTP) apart from the receiving ones (POP3, IMAP), and the secure versions (HTTPS, SSH) apart from the insecure ones (HTTP, Telnet). TCP is reliable and UDP is fast.

Read the full lesson

Lesson 7

OSI and TCP/IP layers: order, jobs and devices

The OSI model
No.LayerJobExamples
7ApplicationGives network services to the user's programsHTTP, SMTP, FTP, DNS
6PresentationTranslates, compresses and encrypts data formatsEncryption, character codes
5SessionOpens, manages and closes conversationsSession control
4TransportEnd-to-end delivery, splitting data, error recoveryTCP, UDP
3NetworkAddressing and choosing the routeIP, router
2Data LinkMoves frames between devices on the same link, using MAC addressesEthernet, switch, bridge
1PhysicalSends raw bits as signals over the mediumCables, hub, repeater

Router: layer 3. Switch: layer 2. Hub: layer 1. TCP and UDP: layer 4. HTTP and SMTP: layer 7.

Key takeaways. Learn the seven layers with a memory aid. Match each device and protocol to its layer. Remember the data names: data, segment, packet, frame, bits. TCP/IP merges the OSI layers into four.

Read the full lesson

Lesson 8

IP address problems: validity, classes and binary form

Address classes
ClassFirst octetDefault maskNotes
A1 to 126255.0.0.0Very large networks
B128 to 191255.255.0.0Medium networks
C192 to 223255.255.255.0Small networks
D224 to 239NoneMulticast
E240 to 255NoneReserved for experiments

Octet 0 to 255. Class by first octet: A 1-126, B 128-191, C 192-223. 127 is loopback.

Key takeaways. Check the four octets, find the class from the first octet and use the private ranges to recognise internal addresses. Convert to binary one octet at a time using the place values 128 to 1.

Read the full lesson

Lesson 9

Numerical problems: links, cables, bandwidth and transfer time

Counting links for n devices
TopologyLinks (cables)Notes
BusOne shared backbone, with one drop per deviceIf the backbone breaks, the network fails
Starn, one for each deviceIf the centre fails, the network fails
RingnEach device joins two neighbours
Full meshn(n - 1)/2Each device needs n - 1 connections

Mesh: n(n - 1)/2 links and n - 1 ports per device. Star: n cables. Bytes times 8 gives bits.

Key takeaways. A mesh of n devices has n(n - 1)/2 links; a star has n cables. Convert bytes to bits before dividing by a speed in bits per second. Shared bandwidth is divided among the users.

Read the full lesson

Privacy · Terms · Refunds · Delivery