Sen Lin, PrepPass 创始人 · 依据官方资料核对 the public CompTIA Network+ N10-009 objectives · 我们如何核对
CompTIA Network+ (N10-009) — Complete Study Guide (2026) cover
CompTIA Network+ (N10-009) · 2026 版

CompTIA Network+ (N10-009) — Complete Study Guide (2026)

The whole N10-009 blueprint — networking concepts, network implementation, network operations, network security, and troubleshooting — with subnetting taught step by step across 9+ worked examples.

同一门考试,零头的价格
$400–$2,000$14.99

Network+ bootcamp/course 要 $400–$2,000。这本书讲的是同一门考试 —— 同样的规则、核对到最新标准 —— 只需一次性 $14.99,永久归你。

拥有整本书 — PDF + EPUB

练习题和计时模考永远免费。这本书是「学」的那一半:

  • 逐章系统讲解——每个考试章节按顺序讲透,不只是刷题
  • 可打印、贴标签——一本能划重点、做标记的纸质参考书
  • 离线可用——PDF 用来打印,EPUB 放进手机或阅读器
  • 全部在一个文件里——章节、速记卡和练习题都在一处
$14.99一次买断 · 永久下载 · 无订阅

14 天退款保证——不满意?发邮件即可全额退款,无需理由。 退款政策

本页可免费阅读第 1 章——先读后买。一次付款解锁整本书(PDF + EPUB · 带解析练习题 · 每章速记卡)。

即时下载 PDF + EPUB · 一次买断,永久归你 · 无订阅 · 14 天退款保证 · 还没决定? 在下方免费阅读完整一章

  • 官方来源核验(the public CompTIA Network+ N10-009 objectives)
  • 420 道免费练习题
  • 即时下载,永久拥有
第 1 章 —— 免费在此阅读

完整的一章,与电子书正文一字不差。直接在此窗口滚动阅读;无需下载,无需邮箱。

免费试读 —— 就在这里读
第 1 章 · 约 10 分钟读完
Domain 1: Networking Concepts (23%)
向下滚动 ↓

This is the largest of the "knowledge" domains and the foundation for everything else. It covers the OSI and TCP/IP models, ports and protocols, IP addressing and subnetting, cabling and topologies, and cloud and virtualization. Master this domain and the rest of the exam becomes reasoning rather than memorization.

1.1 The OSI Model and How Data Moves

The OSI (Open Systems Interconnection) model breaks network communication into seven layers. It is a teaching and troubleshooting framework, not literal software, but almost every exam question and every real diagnosis benefits from thinking in its layers. From bottom to top:

  1. Physical (Layer 1) — raw bits on the wire, fiber, or radio. Cables, connectors, pinouts, voltage, radio frequencies. Devices: cables, hubs, repeaters, transceivers.
  2. Data Link (Layer 2) — frames and MAC addresses for delivery on the local segment. Error detection with a frame check sequence. Devices: switches, bridges, NICs, wireless access points. Sublayers: LLC and MAC.
  3. Network (Layer 3) — packets and logical IP addressing; routing between networks. Devices: routers, Layer 3 switches.
  4. Transport (Layer 4) — end-to-end delivery with TCP or UDP, port numbers, segmentation, flow control.
  5. Session (Layer 5) — establishes, maintains, and tears down sessions between applications.
  6. Presentation (Layer 6) — translation, encryption/decryption, and compression; data formatting.
  7. Application (Layer 7) — the interface applications use: HTTP, DNS, SMTP, and so on.

A classic mnemonic bottom-up is "Please Do Not Throw Sausage Pizza Away" (Physical, Data Link, Network, Transport, Session, Presentation, Application).

Encapsulation is how data travels down the stack. Your application data gets wrapped with a header at each layer as it descends. The name of the bundle — the protocol data unit (PDU) — changes as you go:

  • Layer 4: segment (TCP) or datagram (UDP)
  • Layer 3: packet
  • Layer 2: frame
  • Layer 1: bits

The receiving host reverses this, stripping headers on the way up, called de-encapsulation.

Example — mapping a symptom to a layer. A user cannot reach a website. If a cable is unplugged, that is Layer 1. If the switch port is in the wrong VLAN, Layer 2. If the default gateway is wrong, Layer 3. If a firewall blocks TCP 443, Layer 4. If the site's name will not resolve but its IP works, that is a Layer 7 (DNS) problem. Naming the layer names the fix.

The TCP/IP model condenses OSI into four layers — Link (or Network Access), Internet, Transport, and Application — but maps cleanly onto OSI (the TCP/IP Application layer covers OSI 5–7; the Link layer covers OSI 1–2).

Exam Callout — Devices to layers. You will be asked which device operates at which layer. Memorize: hub = Layer 1, switch = Layer 2, router = Layer 3. A traditional firewall filters at Layers 3–4; a next-generation firewall and a load balancer can inspect up to Layer 7. A Layer 3 switch does both switching and routing.

1.2 Ports and Protocols

Every service on a host is reachable through a port number layered on a transport protocol. Ports run 0–65535, divided into well-known (0–1023), registered (1024–49151), and dynamic/ephemeral (49152–65535) ranges. Clients pick an ephemeral source port; servers listen on the well-known port.

TCP versus UDP is a guaranteed exam topic:

  • TCP is connection-oriented and reliable. It opens with a three-way handshake (SYN → SYN-ACK → ACK), numbers bytes, acknowledges receipt, and retransmits losses. Use it where correctness matters: web, email, file transfer.
  • UDP is connectionless and lightweight — no handshake, no acknowledgments. Use it where speed beats reliability: voice, video, DNS lookups, DHCP.

Ports to memorize for N10-009. Learn these cold; PBQs love to make you match them.

  • FTP data 20, FTP control 21 (TCP)
  • SSH 22 (TCP) — also SFTP and SCP ride on 22
  • Telnet 23 (TCP, insecure)
  • SMTP 25 (TCP)
  • DNS 53 (TCP and UDP)
  • DHCP 67/68 (UDP)
  • TFTP 69 (UDP)
  • HTTP 80 (TCP)
  • NTP 123 (UDP)
  • POP3 110 (TCP), IMAP 143 (TCP)
  • SNMP 161/162 (UDP)
  • LDAP 389 (TCP/UDP), LDAPS 636
  • HTTPS 443 (TCP)
  • SMB 445 (TCP)
  • Syslog 514 (UDP)
  • SMTP submission 587, SMTPS 465
  • IMAP over TLS 993, POP3 over TLS 995
  • SQL Server 1433, RDP 3389 (TCP)
  • SIP 5060/5061 (VoIP signaling)

Match protocol to function, not just to a number: DHCP hands out IP configuration; DNS resolves names to addresses; NTP synchronizes clocks; SNMP monitors devices; SMTP sends mail while POP3/IMAP retrieve it.

Exam Callout — Secure versus insecure pairs. Expect questions that ask you to replace an insecure protocol. Telnet (23) → SSH (22). HTTP (80) → HTTPS (443). FTP (20/21) → SFTP (22) or FTPS. SNMPv1/v2c → SNMPv3. Knowing the secure replacement and its port earns easy points.

1.3 IP Addressing

An IPv4 address is 32 bits, written as four dotted-decimal octets (for example 192.168.1.10), each octet 0–255. A subnet mask (for example 255.255.255.0) marks which bits are the network portion and which are the host portion. CIDR notation compresses the mask into a slash and the count of network bits: /24 equals 255.255.255.0.

Address classes (legacy but still tested):

  • Class A: 1–126, default mask /8
  • Class B: 128–191, default mask /16
  • Class C: 192–223, default mask /24
  • Class D: 224–239 (multicast)
  • Class E: 240–255 (experimental)
  • 127.x.x.x is reserved for loopback (127.0.0.1).

Private (RFC 1918) ranges — internal only, require NAT to reach the internet:

  • 10.0.0.0/8
  • 172.16.0.0/12
  • 192.168.0.0/16

APIPA: 169.254.0.0/16 — a host self-assigns from this range when DHCP fails. Seeing a 169.254 address is a giant clue (covered in Domain 5).

IPv6 uses 128-bit addresses in hexadecimal, eight groups of four hex digits, with rules to shorten them (drop leading zeros in a group; replace one run of all-zero groups with ::). Key prefixes:

  • ::1 loopback
  • FE80::/10 link-local (auto-configured on every interface)
  • FC00::/7 unique local (private)
  • 2000::/3 global unicast (internet-routable)
  • IPv6 has no broadcast — it uses multicast and anycast instead. SLAAC lets hosts self-configure a global address from a router advertisement.

Now to the skill the exam demands you perform: subnetting.

1.4 Subnetting and CIDR — Taught Step by Step

Subnetting divides one network into smaller ones. You will be asked for network ID, broadcast address, usable host range, number of hosts, and the correct mask. Here is a reliable method plus multiple worked examples. Do them by hand.

The core formulas

  • Total addresses in a subnet = 2^h, where h = number of host bits (host bits = 32 − prefix length).
  • Usable hosts = 2^h − 2 (subtract the network ID and the broadcast address).
  • Number of subnets when borrowing n bits = 2^n.
  • Block size (the "magic number") = 256 − (mask value in the interesting octet). The interesting octet is the one where the mask is neither 255 nor 0.

Memorize the mask values that a prefix produces in one octet:

Host bits in octetPrefix (that octet)Mask octetBlock size
/251 borrowed128128
/262 borrowed19264
/273 borrowed22432
/284 borrowed24016
/295 borrowed2488
/306 borrowed2524

Worked Example 1 — a simple /24

Given: 192.168.10.0/24. Find hosts, network ID, broadcast, range.

  • Prefix /24 → host bits h = 32 − 24 = 8.
  • Total addresses = 2^8 = 256. Usable hosts = 256 − 2 = 254.
  • Network ID = 192.168.10.0 (all host bits 0).
  • Broadcast = 192.168.10.255 (all host bits 1).
  • Usable range = 192.168.10.1 to 192.168.10.254.

Worked Example 2 — a /26 (find the subnet a host lives in)

Given: host 192.168.1.100/26. Find its network ID, broadcast, range, hosts.

Step 1 — Mask and host bits. /26 = 255.255.255.192. Host bits h = 32 − 26 = 6.

Step 2 — Hosts per subnet = 2^6 − 2 = 62.

Step 3 — Block size in the interesting (4th) octet = 256 − 192 = 64. So subnets start at .0, .64, .128, .192.

Step 4 — Which block holds .100? It falls between 64 and 128, so it is in the .64 subnet.

  • Network ID = 192.168.1.64
  • Broadcast = 64 + 64 − 1 = 192.168.1.127
  • Usable range = 192.168.1.65 to 192.168.1.126

Worked Example 3 — size a subnet to a host requirement

Given: you need at least 50 usable hosts per subnet. What mask?

Solve 2^h − 2 ≥ 50 → 2^h ≥ 52 → h = 6 (since 2^6 = 64). Prefix = 32 − 6 = /26, mask 255.255.255.192, which yields 62 usable hosts. (Trying h = 5 gives 30 hosts — not enough. So /26 is the tightest fit.)

Worked Example 4 — count subnets when borrowing bits

Given: you have 192.168.0.0/24 and need to create at least 6 subnets. How many bits to borrow, and what mask?

Solve 2^n ≥ 6 → n = 3 (2^3 = 8 subnets). Borrow 3 host bits: /24 + 3 = /27, mask 255.255.255.224. Each /27 has 2^5 − 2 = 30 usable hosts, block size 32: subnets at .0, .32, .64, .96, .128, .160, .192, .224.

Worked Example 5 — a point-to-point /30

Given: a router-to-router link. Use the smallest practical subnet.

A /30 (mask 255.255.255.252) gives 2^2 − 2 = 2 usable hosts — exactly one per router. Block size 4. For 10.0.0.0/30: network 10.0.0.0, hosts 10.0.0.1 and 10.0.0.2, broadcast 10.0.0.3. (A /31 with 2 addresses and no broadcast is used for point-to-point links per RFC 3021, but /30 is the classic exam answer.)

Worked Example 6 — VLSM (different masks in one space)

Variable Length Subnet Masking lets you carve one block into differently sized subnets so you do not waste addresses. Given 192.168.1.0/24, suppose you need: one LAN of 100 hosts, one of 50, one of 20, and two WAN links of 2.

  1. 100 hosts → need /25 (126 hosts). Assign 192.168.1.0/25 (.0–.127).
  2. 50 hosts → need /26 (62 hosts). Next free is .128. Assign 192.168.1.128/26 (.128–.191).
  3. 20 hosts → need /27 (30 hosts). Next free is .192. Assign 192.168.1.192/27 (.192–.223).
  4. WAN link (2 hosts) → /30. Next free is .224. Assign 192.168.1.224/30 (.224–.227).
  5. Second WAN link → /30. Assign 192.168.1.228/30 (.228–.231).

Always allocate largest subnet first to avoid fragmenting the space.

Exam Callout — the two "lost" addresses. In IPv4, every subnet gives up two addresses: the all-zeros host bits (network ID) and the all-ones host bits (broadcast). That is why usable hosts is 2^h minus 2, and it is the single most common subtraction people forget under time pressure.

1.5 More Subnetting Practice and a Reference Table

Speed on subnetting comes from repetition and from having the mask ladder memorized. Keep this reference in your head for exam day:

CIDRSubnet maskHost bitsUsable hostsBlock size
/24255.255.255.08254256
/25255.255.255.1287126128
/26255.255.255.19266264
/27255.255.255.22453032
/28255.255.255.24041416
/29255.255.255.248368
/30255.255.255.252224

The block sizes double as you climb toward /24: 4, 8, 16, 32, 64, 128, 256. The usable-host counts are always block size minus 2. Learn to read a mask both ways — given a prefix, produce the mask and host count; given a mask, produce the prefix.

Worked Example 7 — find the subnet from an odd address. Given 10.20.30.200/28, find the network ID and broadcast. A /28 has block size 16, so the fourth-octet subnets are 0, 16, 32, ... 192, 208. The host .200 falls between 192 and 208, so it is in the 192 block. Network ID = 10.20.30.192, broadcast = 192 + 16 − 1 = 10.20.30.207, usable range .193–.206, 14 hosts.

Worked Example 8 — the mask is in the third octet. Given 172.16.0.0/22, how many hosts and what is the range? A /22 borrows into the third octet: mask 255.255.252.0. Host bits h = 32 − 22 = 10, so usable hosts = 2^10 − 2 = 1022. Block size in the third octet = 256 − 252 = 4, so subnets step 172.16.0.0, 172.16.4.0, 172.16.8.0, and so on. For the 172.16.0.0/22 block: network 172.16.0.0, broadcast 172.16.3.255, usable 172.16.0.1–172.16.3.254. This is the pattern for masks between /17 and /24 — the "interesting octet" moves left.

Worked Example 9 — how many /27s fit in a /24? Borrowed bits = 27 − 24 = 3, so 2^3 = 8 subnets, each with 30 usable hosts. This is the count-subnets calculation in reverse and a common PBQ.

A quick mental procedure for any "which subnet is this host in" question:

  1. Convert the prefix to the interesting octet and its mask value.
  2. Block size = 256 − mask value.
  3. Count up by the block size until you pass the host's octet value; step back one — that is the network ID.
  4. Broadcast = next network minus 1. Usable = network+1 to broadcast−1.

Practicing this until it takes under 30 seconds is the single highest-value drill for Domain 1 and for the troubleshooting scenarios in Domain 5.

电子书内容

All 5 domains at real weight, version-locked to N10-009
Subnetting taught step-by-step (9+ worked examples + drills)
Routing, switching/VLANs/STP, and wireless made concrete
A troubleshooting methodology + the tools that go with it
400+ practice questions with explanations (more free on the site)
A ports/protocols cheat-sheet + a 7-day study plan — PDF + EPUB

练习免费,为什么还要买书?

我们的练习题和计时模考一直免费 —— 网站上的东西不会因为这本书而收起来。这本 $14.99 的书是「学」的那一半:知识本身,按顺序讲清楚,存成一份属于你的文件。

  • 系统讲解 —— 每个考试部分按章节从头讲到尾,不只是题目
  • 可打印可贴标签 —— 一份适合打印的 PDF,能划重点、做批注、带到书桌前
  • 随处离线学 —— EPUB 放手机或电子书阅读器;不用 wifi,不用一堆浏览器标签
  • 全在一处 —— 章节、每章速记卡、练习题都在同一份文件里
  • 永久归你 —— 一次 $14.99,即时下载,无订阅

而且零风险:14 天退款保证 —— 不满意?发邮件即可全额退款,无需理由。 详见退款政策

获取电子书 —— $14.99(PDF + EPUB)↑

14 天退款保证 · 全额退款,无需理由。

一次购买,永久下载访问。此电子书是完整的 CompTIA Network+ (N10-009) 学习指南,含 PDF 与 EPUB。仅为教育性摘要,非专业或法律意见 —— 请始终以官方来源核实当前规定。最后更新:August 2026。

反馈