AP Networking • Study Resource

Network Protocols for AP Networking

Study the core network protocols for AP Networking by purpose, layer, port, behavior, and failure evidence rather than memorizing disconnected acronyms.

Independent AP Networking resource • Updated 2026-09-14 • Built for students and teachers
AP Networking Premium: Add guided practice, answer explanations, artifact work, and structured review to the free study system.
Explore Premium Resources
Protocol reasoning

Do not study protocols as isolated acronyms—study the dependency each protocol satisfies

A network transaction is a chain of cooperating protocols. If a student types a hostname into a browser, name resolution may happen before the browser can contact the server; local delivery is needed to reach the next hop; IP carries traffic across networks; transport reaches the service; and the application protocol completes the user's request. The strongest AP Networking reasoning identifies which dependency failed and what the evidence rules out.

Protocol question shortcut

For every protocol, know five things: purpose → layer/function → transport/port when relevant → failure signature → discriminating test.

Dependency chain

One HTTPS request can depend on several protocols before a page appears

DHCPMay supply client configuration
DNSResolves the site name
ARP / local linkFinds local IPv4 next-hop delivery information
IPCarries packets across networks
TCP + TLSCreates transport and protected session
HTTPRequests application content

The exact sequence depends on what is already cached/configured and on the network design, but the dependency idea is crucial: “the website is down” does not identify which protocol failed.

Exam trap: A successful test at one stage does not prove every later dependency. DNS can work while TCP/443 is blocked; TCP/443 can connect while TLS or the application fails.
Core protocol map

Organize protocols by job, not alphabetically

JobProtocol / technologyTransport / common portHigh-value understanding
Local deliveryEthernetLink layerFrames and MAC-based local forwarding
IPv4 next-hop resolutionARPLocal link functionMaps a local IPv4 next-hop address to link-layer addressing information
Routed deliveryIPv4 / IPv6Network layerLogical addressing and forwarding across networks
Control/diagnostic messagingICMPNetwork layerSupports messages used by tools such as ping; not an application-port test
Reliable transportTCPTransportConnection-oriented ordered byte stream with reliability mechanisms
Datagram transportUDPTransportLower-overhead datagrams without TCP's connection/reliability machinery
ConfigurationDHCPUDP 67/68Can provide address, prefix/mask, gateway, DNS and lease information
Name resolutionDNSUDP/TCP 53Queries records; DNS is not simply “the Internet”
WebHTTP / HTTPSTCP 80 / 443HTTPS protects HTTP using TLS
Remote administrationSSHTCP 22Encrypted remote administration
Legacy remote terminalTelnetTCP 23Legacy plaintext remote terminal; security concern
Email transferSMTPTCP 25Message transfer/relay role; deployments may use other submission/security ports
Mailbox accessIMAP / POP3TCP 143 / 110Mailbox access/retrieval roles; secured variants commonly use other ports

Swipe horizontally to see the complete protocol map.

Port numbers are useful defaults, not magical identities. Services can be configured on nonstandard ports, and a port number alone does not tell you whether the expected application is healthy.

ARP

ARP answers a local IPv4 delivery question—not “where is the remote server?”

When an IPv4 host needs to send to a destination on its local subnet, it needs local link-layer delivery information for that destination. When the destination is remote, the host normally needs link-layer information for the local next hop/default gateway, not the remote server's MAC address.

Client: 10.20.30.25/24 Gateway: 10.20.30.1 Remote web: 172.16.50.20 Remote destination is NOT local. Client builds an IP packet for 172.16.50.20, but its local Ethernet frame is addressed toward the gateway's link-layer destination for the first hop.
What valid ARP evidence can supportThe client learned local IPv4-to-link-layer information for the tested neighbor/next hop.
What it does NOT proveThat a route exists beyond that hop, DNS works, or the destination application is available.
DHCP

DHCP failure can create several downstream symptoms at once

DHCP is not merely an “IP address protocol.” A normal lease can include an address, subnet information, default gateway, DNS servers, and other options. That means one DHCP problem can produce symptoms that students mistakenly diagnose as separate routing or DNS failures.

Expected client configuration IP: 10.40.8.25 Prefix: /24 Gateway: 10.40.8.1 DNS: 10.10.10.53 Observed client No expected lease / incomplete configuration Do not begin by blaming the web server. First ask why the client did not receive the required network configuration.

A useful troubleshooting distinction is whether the DHCP server is unreachable, the request cannot cross the required network boundary/relay path, the address pool is exhausted, or the returned options are wrong.

DNS

DNS failure can break names while IP connectivity remains healthy

Pattern supporting DNS investigation

Direct IP reachability succeeds, but hostname resolution fails or returns an unexpected record.

Pattern that does not prove DNS

“The website will not open” by itself. The failure could occur at transport, routing, TLS, or the application.

Test 1: ping 203.0.113.20 → reachable Test 2: lookup portal.example → fails Interpretation: Basic tested IP reachability exists. Name resolution is now a much stronger candidate.

DNS can use both UDP and TCP on port 53. Avoid the oversimplification that DNS is “always UDP.”

ICMP

Ping is useful evidence, but students routinely overclaim what it proves

Ping success can supportThat ICMP echo traffic traversed the tested IP path and a response returned.
Ping success does NOT proveDNS, TCP/UDP service reachability, TLS, authentication, or application health.
High-value distinction: A firewall can permit ICMP while denying TCP/443. Therefore “ping works but HTTPS fails” is not contradictory evidence.
TCP vs. UDP

Transport choice follows application requirements, not a simple “better/worse” ranking

CharacteristicTCPUDPReasoning consequence
Connection behaviorConnection-orientedConnectionless datagramsTCP maintains more transport state
OrderingOrdered byte streamNo transport-layer ordering guaranteeApplications using UDP handle needed behavior themselves
Reliability mechanismsAcknowledgments/retransmissionNo TCP-style built-in reliabilityUDP is not synonymous with “bad”; requirements differ
Overhead/stateMore transport machinerySimpler transportTradeoff depends on application goals

Swipe horizontally to compare TCP and UDP.

Study the deeper comparison in TCP vs. UDP.

TCP evidence

A successful TCP connection is a boundary marker, not proof of application success

Evidence chain for HTTPS ✓ DNS returns expected IP ✓ IP path reaches server ✓ TCP connection to destination port 443 establishes ✗ TLS negotiation fails Do not return to "DNS is broken." The evidence has moved the failure boundary beyond basic name resolution and TCP connection establishment.

Likewise, if TCP/443 cannot establish while ICMP works, investigate the service listener, filtering, path policy, or transport-specific conditions rather than concluding the entire IP path is down.

HTTP and HTTPS

An HTTP response—even an error—can prove the request reached application processing

Students often treat every non-200 HTTP response as “the network failed.” But an HTTP status such as a client or server error means an HTTP-speaking endpoint processed enough of the request to return an application-layer response.

★ Protocol Review • Network Protocols for AP Networking

A five-minute warm-up for Network Protocols for AP Networking

Tomorrow’s opening question can pick up where this page leaves off: ask students to read the packet evidence, spot the important clue and explain what happened. The 300 Bell Ringers give you short questions and teacher answers you can use without preparing a new starter each morning.

300 AP Networking Bell Ringers
$74.99
BUY TEACHER PACK → See what is included in the 300 Bell Ringers →
Instant Access • Full-Year Teacher Resource
What an HTTP error can proveThe communication progressed far enough for an HTTP response to be generated and returned.
What it does not meanThat the requested resource, authentication, authorization, or server-side application logic succeeded.
Exam trap: “404 means the network is down.” No—the web server/application returned an HTTP response indicating the requested resource was not found.
Secure alternatives

Similar user goals can be implemented by protocols with very different security properties

GoalLegacy / less protected exampleProtected alternativeImportant distinction
Remote terminal/adminTelnetSSHSSH provides encrypted remote administration; Telnet is plaintext.
Web browsingHTTPHTTPSHTTPS uses TLS to protect HTTP communication.
File transferFTPSFTP / FTPSSFTP and FTPS are not the same protocol: SFTP is associated with SSH; FTPS adds TLS protection to FTP.

Swipe horizontally to compare protocol security.

Security analysis should go beyond “encrypted/not encrypted.” Ask what is protected, how peers are authenticated, and whether the deployment/configuration actually provides the expected protection.

Email roles

SMTP, IMAP, and POP3 solve different parts of email delivery

SMTP

Used for message transfer/relay and, in real deployments, message submission workflows. Think “sending/transfer role.”

IMAP

Designed for accessing and managing mailbox content while keeping server-side mailbox state useful across clients.

POP3

Provides mailbox retrieval behavior with a historically simpler download-oriented model.

Do not answer an email-protocol question by matching a memorized port alone. First identify whether the scenario describes sending/relay or mailbox access/retrieval.

Protocol & Service Lab • 120 Missions

Let students try Network Protocols for AP Networking for themselves

Reading the explanation is a start. In the browser simulator, students work through a broken network, choose what to test and see whether their fix worked. It gives them another chance to use what they learned about Network Protocols for AP Networking.

AP Networking Browser Troubleshooting Simulator
$29.99
120 Missions • 60 Failure Patterns • Offline Copy
GET THE SIMULATOR → See all 120 missions & features
Ports

A port is an endpoint identifier, not proof that the expected service is working

Common serviceCommon portTransportExam reasoning
SSH22TCPSecure remote administration
Telnet23TCPLegacy plaintext terminal
SMTP25TCPMail transfer/relay role
DNS53UDP and TCPName-resolution service
DHCP server/client67 / 68UDPDynamic client configuration
HTTP80TCPUnencrypted HTTP by default
POP3110TCPMailbox retrieval
IMAP143TCPMailbox access
HTTPS443TCPHTTP protected with TLS

Swipe horizontally to see the full port table.

For focused review, use Common Network Ports for AP Networking.

Worked incident 1

The site works by IP but not by name

Client has valid DHCP configuration. Gateway reachable. 203.0.113.50 reachable by IP. https://portal.example fails. DNS lookup for portal.example fails.

Best interpretation: The evidence supports basic client configuration and IP reachability while directly identifying a name-resolution failure. DNS becomes a stronger target than DHCP, Ethernet, or the remote IP path.

Protocol Exam Practice • Network Protocols Ap Networking

Check whether Network Protocols for AP Networking has really stuck

Once students have worked through this topic, give them questions mixed in with the rest of the course. The Exam Prep Vault includes practice exams, multiple-choice questions and artifact labs so they cannot rely on a chapter heading to tell them what to do.

AP Networking Complete Exam Prep Vault
$39.99
GET THE EXAM PREP VAULT → See the Exam Prep Vault contents →
4 Practice Exams • 320 MCQs • 60 Artifact Labs
What this provesThe tested direct IP path works and the DNS lookup did not.
What it does not proveWhy DNS failed—client configuration, resolver reachability, record data, or server behavior still require evidence.
Worked incident 2

Ping works, but the secure web service does not

ping server.example SUCCESS DNS lookup SUCCESS TCP connect server:443 FAIL TCP connect server:22 SUCCESS

The server and tested IP path are reachable, and another TCP service succeeds. The evidence makes a total network outage unlikely. Focus on TCP/443-specific filtering, service availability, or policy rather than DNS or a disconnected cable.

Worked incident 3

DHCP can be the first broken dependency even when the complaint is “DNS doesn't work”

Client after connecting: Expected subnet: 10.50.20.0/24 Expected DNS: 10.50.1.53 Observed: no expected DHCP lease / missing normal gateway and DNS options Complaint: "Names do not resolve."

DNS may indeed fail, but the earlier dependency is client configuration. If DHCP was expected to supply the DNS server and gateway, diagnose the lease/configuration path before treating DNS as an independent root cause.

Premium Evidence-Grading Copilot

Spend less time marking explanations about Network Protocols for AP Networking

When students explain their answer, it takes more than a right-or-wrong check to see what they understand. The Grading Copilot helps you review how they used the clues, where their explanation falls short and what feedback to give next. You make the final grading decision.

AP Networking Artifact Analysis Grading Copilot
$49.99
8 Criteria • 5 Task Modes • Offline Premium Copy
GET THE GRADING COPILOT → See the free Copilot preview
Falsifying tests

Use protocol-specific tests to challenge your first hypothesis

“DNS is broken.”

Run a direct name-resolution query and inspect the returned server/record behavior. A correct resolution weakens DNS as the cause of the current symptom.

“The server is unreachable.”

Test the relevant IP path and then the actual required transport port. A ping alone is insufficient for a TCP-service claim.

“DHCP is broken.”

Inspect the client's lease/configuration and whether other clients on the same segment receive expected options.

“HTTPS is blocked.”

Test TCP/443 specifically. If it establishes and TLS/application processing begins, basic port blocking is a weaker explanation.

Changed-fact reasoning

Change one fact and the best protocol diagnosis can change

Initial evidenceChanged factNew implication
Name fails; direct IP worksDNS lookup now succeeds with expected addressMove beyond basic name resolution toward transport/TLS/application evidence.
Ping works; HTTPS failsTCP/443 now establishesMove past basic TCP reachability toward TLS/application processing.
Client has no usable configurationValid DHCP lease appears with correct optionsDHCP becomes less likely as the active failure; test the next dependency.
Remote network unreachableGateway and remote IP now respondBasic tested IP routing is supported; investigate the required service.

Swipe horizontally to practice changed-fact reasoning.

Common misconceptions

Correct these protocol mistakes before they cost points

AP artifact drill

Which protocol dependency failed first?

Laptop configuration: IP: 10.10.20.44/24 Gateway: 10.10.20.1 DNS: 10.10.1.53 Tests: Gateway ping SUCCESS Remote DNS server ping SUCCESS DNS query portal.example SUCCESS → 172.16.40.20 Ping 172.16.40.20 SUCCESS TCP connection 172.16.40.20:443 SUCCESS TLS handshake SUCCESS HTTP response 403 Forbidden

Interpretation: The evidence carries the transaction through DNS, IP reachability, TCP, and TLS. An HTTP 403 Forbidden is an application-layer response indicating the request reached HTTP processing but was not authorized for the requested resource. Replacing the cable or changing DNS contradicts the supplied evidence.

NEW • COMPLETE 180-DAY TEACHER CURRICULUM

Teach Network Protocols for AP Networking as part of a planned school year

This page gives you one topic. The 180-Day Teacher Curriculum puts it into a full course plan, with daily teaching notes, student activities and checks for understanding. Use it when you need to know what comes before this lesson and what to teach next.

AP Networking Complete 180-Day Teacher Curriculum
$199.99
180 Lessons • 180 Daily Simulators • 36 Teaching Weeks
GET THE 180-DAY CURRICULUM → See 3 free curriculum examples
Exam response framework

Use PURPOSE → EVIDENCE → LIMIT → NEXT TEST

PURPOSE: State what the named protocol is supposed to accomplish.
EVIDENCE: Identify the observation that supports or contradicts that protocol dependency.
LIMIT: Explain what the observation does not prove.
NEXT TEST: Choose a test aimed at the earliest remaining uncertainty.

Example: “Because DNS successfully resolves the hostname to the expected IP, basic name resolution is working. That does not prove HTTPS is reachable, so the next useful test is the required TCP/443 path.”

Free digital flashcards

24 interactive network-protocol reasoning flashcards

These cards test protocol purpose, ports, dependency logic, evidence interpretation, troubleshooting, and common exam traps.

All protocol cards
Click or press Enter/Space to reveal.
Explain why before moving on.
0 seen•24 cards
Continue studying

Connect protocols to ports, layers, and troubleshooting