teluzia.Cloud Engineer · Day 15
CHAPTER 03 · NETWORKING FUNDAMENTALS

OSI and TCP/IP models

4–5 hours including independent practice3 topics
LET’S MAKE THIS SIMPLE

What you’re learning today

Trace a request through protocol layers without treating the models as physical boxes. You will inspect a local HTTP exchange and map its names, addresses, ports and payload to OSI and TCP/IP concepts. The exercise focuses on explaining responsibilities rather than memorizing a diagram. The OSI model separates communication into physical, data link, network, transport, session, presentation and application responsibilities. It is a conceptual reference, not a promise that real software implements seven independent components. Ethernet frames, IP packets and TCP segments are distinct units at different layers. The TCP/IP model commonly groups link, internet, transport and application functions. IP provides addressing and forwarding; TCP adds ordered reliable byte-stream transport; UDP provides datagrams without TCP’s delivery guarantees. HTTP is an application protocol and may use different transport arrangements depending on its version.

Think of it this way

Sending data resembles mailing a parcel: the message, packaging and delivery labels solve different problems but travel together.

TOPIC 01 / 03Step by step

OSI responsibilities

The OSI model separates communication into physical, data link, network, transport, session, presentation and application responsibilities. It is a conceptual reference, not a promise that real software implements seven independent components. Ethernet frames, IP packets and TCP segments are distinct units at different layers. For a web request, explain Ethernet or Wi-Fi link delivery, IP routing, TCP transport and HTTP application semantics as different responsibilities. Layer names help isolate whether an incident concerns local connectivity, addressing, transport establishment or application behavior rather than changing every component simultaneously during troubleshooting work. Assigning every real protocol to exactly one rigid OSI box can obscure practical overlap; use the model to reason about responsibilities and evidence instead.

WORKED EXAMPLE
For a web request, explain Ethernet or Wi-Fi link delivery, IP routing, TCP transport and HTTP application semantics as different responsibilities.
Why this matters

Layer names help isolate whether an incident concerns local connectivity, addressing, transport establishment or application behavior rather than changing every component simultaneously during troubleshooting work.

A common trap

Assigning every real protocol to exactly one rigid OSI box can obscure practical overlap; use the model to reason about responsibilities and evidence instead.

Read all topics in this lesson

A complete reference to revisit alongside the guided steps above.

OSI responsibilities

The OSI model separates communication into physical, data link, network, transport, session, presentation and application responsibilities. It is a conceptual reference, not a promise that real software implements seven independent components. Ethernet frames, IP packets and TCP segments are distinct units at different layers. For a web request, explain Ethernet or Wi-Fi link delivery, IP routing, TCP transport and HTTP application semantics as different responsibilities. Layer names help isolate whether an incident concerns local connectivity, addressing, transport establishment or application behavior rather than changing every component simultaneously during troubleshooting work. Assigning every real protocol to exactly one rigid OSI box can obscure practical overlap; use the model to reason about responsibilities and evidence instead.

WORKED EXAMPLE
For a web request, explain Ethernet or Wi-Fi link delivery, IP routing, TCP transport and HTTP application semantics as different responsibilities.

Why this matters

Layer names help isolate whether an incident concerns local connectivity, addressing, transport establishment or application behavior rather than changing every component simultaneously during troubleshooting work.

A common trap

Assigning every real protocol to exactly one rigid OSI box can obscure practical overlap; use the model to reason about responsibilities and evidence instead.

TCP/IP model

The TCP/IP model commonly groups link, internet, transport and application functions. IP provides addressing and forwarding; TCP adds ordered reliable byte-stream transport; UDP provides datagrams without TCP’s delivery guarantees. HTTP is an application protocol and may use different transport arrangements depending on its version. A local HTTP/1.x practice server uses TCP on a port; that does not imply all modern HTTP traffic always uses TCP in every deployment. Comparing models prevents rote memorization from replacing understanding and makes it easier to interpret real command output that exposes addresses, ports and application responses together. Calling TCP a guarantee that the remote application processed a request confuses transport delivery with application completion; a response or application acknowledgment is separate evidence.

WORKED EXAMPLE
A local HTTP/1.x practice server uses TCP on a port; that does not imply all modern HTTP traffic always uses TCP in every deployment.

Why this matters

Comparing models prevents rote memorization from replacing understanding and makes it easier to interpret real command output that exposes addresses, ports and application responses together.

A common trap

Calling TCP a guarantee that the remote application processed a request confuses transport delivery with application completion; a response or application acknowledgment is separate evidence.

Encapsulation and evidence

Each layer adds information needed for its responsibility, and the receiver interprets that information in reverse order. Packet captures require appropriate authorization and may contain sensitive data. Beginner inspection can instead use curl verbose output and socket listings on localhost, which reveal application and transport observations safely. curl -v http://127.0.0.1:8015/ shows a TCP connection and HTTP status; ss -ltn lists the listening transport endpoint on Linux. Mapping observations to layers turns abstract protocol models into a diagnostic tool and encourages collecting evidence at the layer implicated by the actual observed symptom first. A successful ping does not prove HTTP works because ICMP reachability is different from a TCP listener and an application response on a chosen port.

WORKED EXAMPLE
curl -v http://127.0.0.1:8015/ shows a TCP connection and HTTP status; ss -ltn lists the listening transport endpoint on Linux.

Why this matters

Mapping observations to layers turns abstract protocol models into a diagnostic tool and encourages collecting evidence at the layer implicated by the actual observed symptom first.

A common trap

A successful ping does not prove HTTP works because ICMP reachability is different from a TCP listener and an application response on a chosen port.

KEEP THESE WITH YOU

Today’s takeaways

Use layers to classify evidence.

Distinguish transport delivery from application success.

Prefer authorized local observations for practice.

CLOSE THE LOOP

Ready to complete this day?

Verify the practical steps and pass the knowledge check (at least two thirds correct).

Lab steps verifiedKnowledge check passed