Fundamentals of Computer Networking
Welcome to this comprehensive module on computer networking fundamentals. In this course you will explore the core concepts that underpin modern IP networks, from the TCP/IP model to…

A device with MAC address D8:D3:85:EB:12:E3 attempts to communicate with a host on a different subnet. Which address must be used by the router to forward the packet?
Given a subnet mask of 255.255.255.0, how many usable host IP addresses are available in the subnet?
Which of the following statements best describes the difference between a private and a public IP address?
A network administrator configures a router with CIDR notation 192.168.10.0/27. What is the highest usable host IP address in this subnet?
During data transmission, why are packets sent in short bursts rather than as a single large block?
Which component directly provides the physical connection between a computer and the network medium?
In the TCP/IP stack, which layer adds source and destination MAC addresses to a packet?
Which of the following best explains why a MAC address is considered globally unique?
A client computer sends a request to a web server. Which TCP/IP layer first adds the destination port number to the data?
Which statement accurately describes the role of a router in an internetwork?
When a packet reaches its destination host, which layer removes the IP header and passes the payload up the stack?
Which of the following best explains why the term 'kilobyte' (kB) is defined as 1024 bytes rather than 1000 bytes?
A network uses the IPv4 address 10.10.10.0 with a subnet mask of 255.255.255.0. Which address represents the broadcast address for this subnet?
Which layer of the TCP/IP model is primarily responsible for translating a hostname into an IP address?
In a LAN, which device uses MAC addresses to forward frames to the correct destination port?
Which of the following best describes the purpose of a subnet mask?
When a packet is encapsulated into a frame, where is the error‑checking information placed?
Which of the following best explains why a client must have an IP address to communicate using TCP/IP?
A network administrator observes that a device can communicate with others on the same LAN but not with devices on a different subnet. Which layer is most likely responsible for the problem?
Which of the following statements about packet size is accurate?
Fundamentals of Computer Networking
Welcome to this comprehensive module on computer networking fundamentals. In this course you will explore the core concepts that underpin modern IP networks, from the TCP/IP model to subnetting, MAC addressing, and the physical layer. Each section is designed to reinforce the knowledge tested in the quiz, providing clear explanations, real‑world examples, and best‑practice tips for students and professionals alike.
1. The TCP/IP Model and Reliable Data Delivery
The TCP/IP suite is organized into four logical layers: Link, Internet, Transport, and Application. Understanding the role of each layer is essential for troubleshooting and designing networks.
- Link Layer – Handles physical addressing (MAC) and framing.
- Internet Layer – Provides logical addressing (IP) and routing.
- Transport Layer – Guarantees reliable, ordered delivery of data using protocols such as TCP.
- Application Layer – Hosts end‑user services (HTTP, DNS, etc.).
When the quiz asks which layer ensures reliable data delivery and correct ordering, the answer is the Transport Layer. TCP (Transmission Control Protocol) implements sequence numbers, acknowledgments, and retransmission mechanisms that keep data intact across unreliable networks.
2. MAC Addresses and Routing Between Subnets
Every network interface card (NIC) possesses a unique Media Access Control (MAC) address. MAC addresses operate at the Link Layer and are used only within a local broadcast domain. When a host needs to reach a destination outside its own subnet, the packet must be forwarded by a router.
Consider a device with MAC D8:D3:85:EB:12:E3 trying to communicate across subnets. The router replaces the source MAC with its own address and sets the destination MAC to that of the next hop (often another router). This process is known as MAC address rewriting and is essential for inter‑subnet traffic.
The correct choice from the quiz is: The router's own MAC address as source and the destination MAC of the next hop.
3. Subnetting Basics: Host Count and CIDR Notation
Subnet masks define the boundary between the network and host portions of an IP address. A classic Class C mask of 255.255.255.0 (or /24) leaves 8 bits for host addresses, yielding 2⁸ = 256 total addresses. Two of these are reserved: the network address (all host bits 0) and the broadcast address (all host bits 1). Therefore, the number of usable host IP addresses is 256 − 2 = 254.
When using CIDR (Classless Inter‑Domain Routing), the notation /27 indicates a mask of 255.255.255.224. This provides 32 total addresses (2⁵), again subtracting 2 for network and broadcast, leaving 30 usable hosts. The address range runs from 192.168.10.0 (network) to 192.168.10.31 (broadcast). Consequently, the highest usable host IP is 192.168.10.30.
4. Private vs. Public IP Addresses
IP address space is divided into private and public ranges. Private addresses (e.g., 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) are reserved for internal networks and are not routable on the public Internet. Public addresses are globally unique and must be assigned by an Internet Service Provider (ISP) or a regional internet registry.
The quiz statement that best captures this distinction is: "Private IPs are reserved for internal networks, public IPs are globally unique."
5. Why Packets Are Sent in Small Bursts
Network efficiency and reliability depend on fragmenting data into manageable packets. Sending data in short bursts offers several advantages:
- It allows other devices to interleave their traffic, improving overall network utilization.
- If an error occurs, only the affected packet needs retransmission, not the entire data stream.
- Hardware limits (e.g., Ethernet's maximum transmission unit of 1500 bytes) dictate packet size.
The quiz correctly identifies the primary reason: To allow other computers to send data during pauses and to enable error retransmission of only affected chunks.
6. Physical Layer Components
The Network Interface Card (NIC) is the hardware component that directly interfaces a computer with the physical medium—whether copper Ethernet, fiber optics, or wireless radio. While hubs, switches, and routers facilitate traffic at higher layers, the NIC is responsible for converting digital data into electrical or optical signals and vice‑versa.
7. Adding MAC Addresses to Frames
When a packet moves from the Transport or Internet layer down to the Link layer, the Link Layer encapsulates it within an Ethernet frame. This frame includes both a source MAC address (the sender's NIC) and a destination MAC address (the next hop's NIC). Thus, the layer that adds MAC addresses is the Link Layer.
8. Summary and Key Takeaways
By mastering these foundational concepts, you will be equipped to:
- Identify the correct TCP/IP layer for specific networking functions.
- Understand how MAC addressing interacts with routing and subnetting.
- Calculate usable host addresses for any given subnet mask or CIDR block.
- Distinguish between private and public IP address spaces.
- Explain why data is transmitted in packets rather than large continuous streams.
- Recognize the role of the NIC and the Link Layer in framing and physical transmission.
These skills form the backbone of network design, troubleshooting, and security. Continue practicing with real‑world scenarios, use network simulation tools, and refer back to this guide whenever you encounter a new networking challenge.
