Computer networks can feel like a collection of unrelated acronyms: DNS, TCP, ARP, NAT, VLANs and routing protocols. They become easier to learn when you connect each term to a question: what is the data, where is it going, and which device or protocol decides the next step?

This guide gives you a repeatable way to study the subject. Use your course outline to choose the topics and depth you need; computer science courses differ, and no single sequence fits every syllabus. The method works whether your material is lecture slides, a textbook, lab notes or a combination.

Start with a map, not a pile of notes

Before memorising details, sort your material into a few connected areas. A useful starting map is:

  • Layering: what each layer is responsible for, and how data is encapsulated as it moves down the stack.
  • Link layer: Ethernet frames, MAC addresses, switching, ARP and VLANs.
  • Network layer: IPv4 addressing, subnetting, forwarding, routing and ICMP.
  • Transport layer: TCP, UDP, ports, reliability, flow control and congestion control.
  • Application and security: DNS, HTTP, TLS, DHCP and common network threats.

Treat this as an initial filing system, not a substitute for your syllabus. If your course emphasises wireless networks, network programming or routing algorithms, add those as their own sections. Keep the original source material attached to each topic so you can check a summary against the lecturer’s definitions and examples.

A board in MySummaries can bring the connected topics and the facts you need to practise into one view:

Computer Networks From host to hostStudy
Addressing, delivery and application protocolsFrom host to host5 sections · 3 columns
Encapsulation
  • Application data is carried by a transport segment or datagram
  • IP packet is carried inside a link-layer frame
  • Each layer adds its own header; the receiver processes headers in reverse order
TCP and UDP4 due
  • TCP provides an ordered byte stream and retransmission
  • UDP provides datagrams without TCP-style delivery guarantees
  • Ports identify transport-layer endpoints on a host
IPv4 subnetting
PrefixAddressesUsable host addresses (typical LAN)
/24256254
/266462
/3042
DNS and HTTPS

DNS commonly maps a name to records such as A or AAAA. HTTPS is HTTP protected by TLS; TLS authenticates the server using certificates and protects traffic in transit.

Ethernet and ARP
  • Switching forwards frames using learned MAC-address table entries
  • ARP resolves an IPv4 address to a link-layer address on the local link
  • A router separates broadcast domains

Learn the path a packet takes

A strong foundation is a worked journey from an application on one host to a service on another. Draw the path and annotate what changes at each step.

Suppose a browser requests a page from a server outside its local network. The application creates an HTTP request. DNS may be used to find the server’s IP address. TCP establishes a connection when the application uses TCP; TLS then provides the security layer for HTTPS. The host places the transport data in an IP packet. To send that packet across the local link, it uses a frame addressed to the local next hop, often the default gateway. Routers forward the IP packet towards its destination, while each link carries it in a frame appropriate to that link.

Be precise about what is—and is not—changed. A router removes the incoming link-layer frame and sends the IP packet onward in a new link-layer frame. The source and destination IP addresses generally remain the same across ordinary routing, although network address translation can change addresses. Do not describe a switch as routing between IP networks: a standard Layer 2 switch forwards frames within a local network using MAC addresses.

Practise explaining the journey aloud without looking at your notes. Then draw it from memory. If you cannot say why the host sends a frame to the gateway’s MAC address rather than the remote server’s MAC address, revisit the distinction between local link delivery and end-to-end IP addressing.

Build a compact set of non-negotiable facts

A core checklist is not a complete set of notes. It is a short list of claims you should be able to state accurately before you attempt more complex problems. For a general introductory course, that might include the following:

MySummaries can turn this topic map into a short “Must not miss core” for checking the key distinctions:

Must not miss coreFrom host to host
A /24 IPv4 prefix contains 256 addresses; on a conventional subnet, 254 are usable host addresses because the network and broadcast addresses are reserved.
A /26 contains 64 addresses, so its block size in the final octet is 64; /30 contains four addresses and is often used for point-to-point links in older or conventional designs.
A switch forwards Ethernet frames using MAC addresses; a router forwards IP packets between networks using routing information.
TCP is a reliable, ordered byte-stream transport; UDP carries datagrams without TCP's built-in retransmission and ordering guarantees.
DNS resolves names to resource records, while DHCP can assign host configuration such as an IP address, subnet mask, default gateway and DNS server.

Check every item against your course material. Some courses teach subnetting conventions alongside IPv6, where there is no IPv4-style broadcast address. Others may expect more detail about route selection, TCP congestion control, or DNS record types. Add the specific detail your course requires rather than learning a broad statement as if it answered every question.

Practise subnetting as a procedure

Subnetting is easier to learn as a sequence of operations than as a collection of memorised examples. For each problem:

  1. Convert the prefix length into the number of host bits: for IPv4, host bits equal 32 minus the prefix length.
  2. Calculate the total number of addresses as 2 raised to the number of host bits.
  3. Find the block size in the changing octet, or use binary if the prefix crosses an octet boundary.
  4. Locate the network boundary that contains the supplied address.
  5. Identify the network and broadcast addresses, then determine the usable range if the question uses the conventional IPv4 subnet model.

For example, a /26 has six host bits, so it contains 64 addresses. In a /24 divided into /26 subnets, the fourth-octet network boundaries are 0, 64, 128 and 192. The subnet containing 10.0.0.70 is 10.0.0.64/26; its broadcast address is 10.0.0.127, and its conventional usable host range is 10.0.0.65–10.0.0.126. Verify the arithmetic by checking that the network and broadcast addresses are in the same 64-address block.

A useful flashcard session should test one decision or fact at a time, rather than asking you to recite a whole chapter. In MySummaries, a short set from this board might look like this:

Cards — From host to host6 due

How many total IPv4 addresses are in a /26?

64, because 32 − 26 = 6 host bits and 2⁶ = 64.

All 6 cards
How many total IPv4 addresses are in a /26?64, because 32 − 26 = 6 host bits and 2⁶ = 64.
What is the conventional usable host range for 10.0.0.64/26?10.0.0.65–10.0.0.126; .64 is the network address and .127 is the broadcast address.
What does ARP resolve on an IPv4 local link?An IPv4 address to the corresponding link-layer address, usually a MAC address.
What does a Layer 2 Ethernet switch use to forward a frame?Its MAC-address table, which maps learned MAC addresses to switch ports.
What is the main delivery distinction between TCP and UDP?TCP provides a reliable, ordered byte stream; UDP provides datagrams without TCP-style delivery guarantees.
Which DNS record type maps a name to an IPv6 address?AAAA.

That is a MySummaries deck, filled with computer networks material. Yours is written from your own notes. Start free

Turn each card into a retrieval attempt: read the question, say or write the answer, then reveal it and grade how well you recalled the fact. Use the grade to decide when to revisit it; do not count a familiar-looking answer as remembered if you could not produce it before revealing the back. If a card exposes confusion—for example, mixing up a MAC address with an IP address—make a note to explain the difference in your own words.

Study protocols through comparisons and traces

Many network questions test whether you can distinguish neighbouring concepts. Make paired comparisons and give a concrete consequence for each difference:

  • TCP versus UDP: connection-oriented reliable byte stream versus datagrams without TCP-style reliability guarantees. Choose examples from your course rather than assuming one transport is always better.
  • Switching versus routing: frame forwarding within a link-layer network versus packet forwarding between IP networks.
  • DNS versus DHCP: name-to-record lookup versus host configuration assignment.
  • Forwarding versus routing: forwarding is the local action of sending a packet out through an interface; routing is the process or information used to choose paths.

Then trace small scenarios. Given a host’s address, prefix and default gateway, identify whether a destination is on-link. If it is, the host can send a frame to the destination’s local-link address after resolution. If it is off-link, the host sends the frame to the gateway’s link-layer address, while the IP packet is addressed to the remote destination. State any assumptions in your answer, particularly when a question leaves out a subnet mask or route.

Use lectures to repair one weak concept

Audio is most useful when it reinforces a topic you have already tried to retrieve. Choose one narrow question for a listening session—such as “How does a host decide whether to send to the gateway?”—rather than playing a broad overview while doing unrelated work. Pause after each step and predict what happens next. Afterwards, draw the packet path from memory and check it against your notes.

A short lecture generated from the board can focus on one connected explanation instead of replaying every heading:

Lecture — From host to host10 min
How a host sends to a remote serverFollows name lookup and packet delivery from an application to the local gateway and onward.
04:3210:04
Speed1×1.25×1.5×2×

Transcript · tap any word to jump there

Start with the destination. The application has a name, so it may need DNS to find an IP address. For an HTTPS connection, HTTP is protected by TLS, and the transport layer carries the application data. Do not collapse those jobs into one protocol: DNS lookup, secure application traffic and transport delivery are different parts of the path.

Next, the host compares the destination IP address with its own network prefix. If the destination is off-link, the host does not try to address an Ethernet frame to the remote server's MAC address. It sends the frame to the default gateway's MAC address, while the IP packet is still addressed to the remote server. ARP can help discover the gateway's IPv4 link-layer address on the local link.

At a router, the incoming frame is removed and the IP packet is examined for forwarding. The router selects a next hop using its routing information and sends the packet in a new link-layer frame. That is the central distinction: IP supports delivery across networks, while link-layer addressing delivers a frame across one link. NAT may alter IP addressing in some networks, so check whether a question includes it before describing the addresses as unchanged end to end.

Turn mistakes into the next study task

After a practice question or lab exercise, label the error before rereading the whole topic. Was it a vocabulary mix-up, a missed step, an arithmetic error, or a genuine gap in understanding? Record the corrected reasoning in one or two sentences. For subnetting, keep a small set of problems where you made a boundary or broadcast-address error. For protocol questions, write a “not the same as” pair, such as “a switch forwards frames; a router forwards packets”.

Use a weekly loop: map a topic, retrieve its core facts, solve a problem, check the reasoning, and schedule the weakest point for another attempt. Lab work is particularly useful for testing your mental model: observe addresses, ports and protocol behaviour, then explain what you saw. Follow the lab instructions and course tools, and do not probe networks you are not authorised to test.

How MySummaries helps

MySummaries lets you build a revision board from your own PDFs, slides and notes, then generate spaced-repetition flashcards and audio lectures from that material. For computer networks, use the board to keep protocol relationships and worked examples together, cards to retrieve definitions and subnetting facts, and a focused lecture to revisit a packet-flow explanation you have not yet mastered.