ExamShortcut

Networking: Devices, Topologies & Protocols

Log in to track
high importance⚡ 12 shortcuts5 subtopics

Every formula in this topic, grouped by subtopic.

No formulas in this topic — it's a technique/logic topic. Head to Learn instead.

Key rules for Networking: Devices, Topologies & Protocols, subtopic by subtopic

Networking: Devices, Topologies & Protocols is a Computer topic that is learned through rules and recognition rather than numeric formulas. These are the one-line takeaways from each of its 5 lessons; each links to the full lesson with examples.

Network types and topologies

  • PAN (10 m) < LAN (building) < MAN (city) < WAN (country or world).
  • The Internet is the largest WAN.
  • Bus = one backbone. Ring = circle of neighbours. Star = central hub or switch. Mesh = all to all.
  • Full-mesh links = n(n-1)/2. Six computers give 15 links.
  • Star's weakness is the central device. Bus's weakness is the backbone.
  • Ethernet is 802.3, Wi-Fi is 802.11, Bluetooth is 802.15.

Shortcuts in this lesson

  • Mesh half-row sum. Full-mesh links for n nodes are n(n-1)/2. Compute it each time. Do not memorise per-n values.
  • PLMW span ladder. PAN < LAN < MAN < WAN: Personal, Local, Metropolitan, Wide. The Internet is the largest WAN.
  • Star means central device. If the question says the central device fails and the whole network stops, it describes star topology.

Full lesson: Network types and topologies →

Network devices

  • Hub broadcasts (layer 1). Switch learns MAC and sends to the right port (layer 2). Router routes between networks by IP (layer 3).
  • Repeater regenerates a signal (layer 1). Bridge joins two LANs (layer 2).
  • Gateway is a protocol converter.
  • Modem is a modulator plus a demodulator (digital to analog and back).
  • NIC carries the 48-bit MAC address.
  • MAC is permanent and physical. IP is logical and assigned.

Shortcuts in this lesson

  • Hub, switch, router ladder. Hub hears and shouts to all (layer 1). Switch is selective, by MAC (layer 2). Router routes between networks by IP (layer 3). 'Broadcasts to all' means hub. 'MAC address table' means switch. 'Connects two different networks' means router.
  • Modem is modulator plus demodulator. The full form is the answer. Digital data is modulated onto an analog carrier and demodulated back. 'Digital to analog conversion' in a question means modem.

Full lesson: Network devices →

OSI and TCP/IP reference models

  • OSI has 7 layers: Physical, Data Link, Network, Transport, Session, Presentation, Application.
  • Router is layer 3, switch is layer 2, hub is layer 1.
  • Routing is Network. Encryption and compression are Presentation.
  • Transport layer holds TCP and UDP and uses ports. Session manages dialogues.
  • Data units: segments (4), packets (3), frames (2), bits (1).
  • TCP/IP has 4 layers: Network Access, Internet, Transport, Application.

Shortcuts in this lesson

  • OSI mnemonics. Bottom-up: Please Do Not Throw Sausage Pizza Away (Physical, Data link, Network, Transport, Session, Presentation, Application). Top-down: All People Seem To Need Data Processing.
  • Layer-device pairs. Router is layer 3. Switch and bridge are layer 2. Hub and repeater are layer 1. Use the address type: IP is 3, MAC is 2, no address is 1.

Full lesson: OSI and TCP/IP reference models →

IP addressing: IPv4 classes and IPv6

  • IPv4 has 32 bits in four octets from 0 to 255. IPv6 has 128 bits in hexadecimal with colons.
  • Classes by first octet: A 1-126, B 128-191, C 192-223, D 224-239, E 240-255.
  • 127.0.0.1 is loopback.
  • Private ranges: 10.x, 172.16 to 172.31.x, 192.168.x.
  • A Class C network has 254 usable hosts.
  • MAC is 48-bit and physical. IP is logical.

Shortcuts in this lesson

  • Class ruler. Remember the cut-points 1, 128, 192, 224, 240. A starts at 1, B at 128, C at 192, D (multicast) at 224, E at 240. The number 127 is loopback, between A and B.
  • Loopback is 127. 127.0.0.1 is localhost. Pinging it tests your own TCP/IP stack, not the cable. Any question with 127.x wants loopback.
  • IPv4 vs IPv6 size. IPv4 is 32 bits in dotted decimal. IPv6 is 128 bits in colon-separated hexadecimal. If addresses are running out, IPv6 is the fix.

Full lesson: IP addressing: IPv4 classes and IPv6 →

Protocols and port numbers; TCP vs UDP

  • HTTP 80, HTTPS 443, FTP 21, SSH 22, Telnet 23, SMTP 25, DNS 53, POP3 110, IMAP 143.
  • TCP is reliable and connection-oriented (web, mail, FTP). UDP is fast and connectionless (streaming, games, VoIP).
  • Telnet is plain text. SSH (22) is its encrypted replacement.
  • HTTPS is HTTP plus TLS/SSL encryption.
  • SMTP sends mail. POP3 and IMAP receive mail.
  • DNS resolves names to IP addresses. DHCP assigns IP addresses.

Shortcuts in this lesson

  • Port anchors. Memorise six first: 80 HTTP, 443 HTTPS, 25 SMTP, 53 DNS, 110 POP3, 21 FTP. Then 22 SSH and 23 Telnet. Telnet is the insecure one.
  • TCP tracks, UDP does not. TCP tracks every packet, so it is reliable but slower. UDP is unreliable but quick. 'Guaranteed delivery' in a question means TCP.

Full lesson: Protocols and port numbers; TCP vs UDP →

Mistakes that cost marks in Networking: Devices, Topologies & Protocols

  • Network types and topologies

    Common slip: Using the bus topology's weakness (backbone break) for star questions.

    Instead: Star fails at the central hub or switch. Bus fails at the backbone.

  • Network devices

    Common slip: Saying a hub forwards data selectively.

    Instead: That is the switch. A hub always broadcasts to every port.

  • OSI and TCP/IP reference models

    Common slip: Counting 4 or 5 OSI layers.

    Instead: OSI has 7 layers. TCP/IP has 4.

  • IP addressing: IPv4 classes and IPv6

    Common slip: Calling 127.0.0.1 a Class A host address.

    Instead: 127 is reserved for loopback. Class A networks end at 126.

  • Protocols and port numbers; TCP vs UDP

    Common slip: Giving HTTP the port 443.

    Instead: 443 is HTTPS. Plain HTTP is 80.

  • Network types and topologies

    Common slip: Counting mesh links as n^2.

    Instead: Use n(n-1)/2. Each link is counted once, not twice.

  • Network devices

    Common slip: Placing the router at the Data Link layer.

    Instead: A router reads IP addresses, so it sits at the Network layer (3).

  • OSI and TCP/IP reference models

    Common slip: Putting encryption at the Application layer.

    Instead: Encryption, formatting and compression sit in Presentation (6).

How to hold these rules

Wherever a rule or relation appears, pair it with the thing it describes (a unit, a key, a device) and say both together.

Next steps for Networking: Devices, Topologies & Protocols: work through the lessons, read the 4 solved examples and take the 82-question practice test.