What the TCP/IP model is
The TCP/IP model describes how the Internet protocol stack is organized. RFC 1122 defines it in four layers: application, transport, Internet and link; Cisco and many courses call the last one “network access”. It grew out of protocols that already worked on ARPANET, not out of a committee, and that's why real devices follow it.
Some books use a five-layer hybrid model that splits network access into data link and physical. The idea is the same: what matters is knowing which protocol works at each level.
TCP/IP versus OSI
| TCP/IP | OSI | PDU | Protocols |
|---|---|---|---|
| Application | 7 · 6 · 5 | Data | HTTP, DNS, DHCP, SSH, TLS |
| Transport | 4 | Segment (TCP) or datagram (UDP) | TCP, UDP |
| Internet | 3 | Packet | IPv4, IPv6, ICMP |
| Network access | 2 · 1 | Frame and bits | Ethernet, Wi-Fi, ARP* |
* ARP works at the boundary between the two lower layers: it maps IP addresses to MAC addresses and travels straight in a frame, with no IP header.
How it works: four layers there and back
Nine steps: four layers that encapsulate on the laptop, the switch, the router and three decapsulation steps on the server.
Application: the HTTP request
In TCP/IP, the application layer combines OSI layers 7, 6 and 5: HTTP creates the “GET /” request, decides the format (text) and asks to keep the connection with “Connection: keep-alive”. If the page were HTTPS, TLS would encrypt here. Result: 102 bytes of data.
Transport: TCP builds the segment
The transport layer is the same as OSI layer 4. TCP adds 20 bytes with source port 49152, destination port 80, the sequence and acknowledgment numbers and the window. If the application used UDP, the PDU would be called a datagram.
Internet: IPv4 builds the packet
The Internet layer matches OSI layer 3. IPv4 adds 20 bytes: source IP 192.168.10.12, destination IP 192.168.20.10, TTL 64 and protocol 6 (TCP). It's the layer that lets traffic cross networks: the packet will go first to R1, the default gateway.
Network access: frame and bits on the wire
The network access layer (link, in RFC 1122) combines OSI layers 2 and 1. Ethernet adds its 14-byte header with the laptop's and R1's MACs and the 4-byte FCS trailer, and the card sends the preamble, the SFD and the bits over the cable: 168 bytes.
SW1: network access only
SW1 works at the network access layer: it receives the bits, checks the FCS, reads the destination MAC, finds it in its MAC table (Gi1/0/24) and forwards the frame unchanged.
R1: up to Internet
R1 strips the frame, reads the destination IP at the Internet layer, finds network 192.168.20.0/24 on Gi0/0/2, subtracts 1 from the TTL (64 → 63) and recalculates the checksum. Then it goes down to network access: a new frame with its Gi0/0/2 MAC and the server's MAC, and a new FCS.
Server: network access
The server's card receives the bits, checks the FCS, sees its own MAC as the destination and EtherType 0x0800: it removes the frame and hands the packet to the Internet layer.
Server: Internet
The destination IP is the server's and protocol 6 means TCP: the Internet layer removes the IPv4 header and hands the segment to the transport layer.
Server: transport and application
TCP sees port 80, acknowledges receipt with an ACK and hands the data to the web server. The application layer reads “GET /” and will reply “HTTP/1.1 200 OK”. In OSI this part spans four layers; in TCP/IP, two.
Differences that matter
- Layers: TCP/IP has 4 and OSI has 7.
- Origin: TCP/IP came from protocols that already worked (IETF, RFCs); OSI was designed as a model first (ISO and ITU-T).
- Upper layers: TCP/IP leaves format, encryption and session to the application; OSI gives each one its own layer.
- Use: devices and software implement TCP/IP; OSI is the common language to explain and troubleshoot.
- Encapsulation: the same in both. What changes is how the layers are grouped, not the bytes on the wire.
Why it matters for the CCNA
Day to day you'll mix both: you'll say “layer 3” (OSI) when you talk about IP and think in TCP/IP when you configure a service. The CCNA v2.0 asks you to troubleshoot layer 2 and 3 connectivity with show, ping, traceroute and captures (topic 2.4) and client IP configuration (topic 1.6): knowing which layer each protocol works at is the basis for all of it.
Frequently asked questions
How many layers does the TCP/IP model have?
Four, according to RFC 1122: application, transport, Internet and link (network access). Some texts use five, splitting data link from the physical layer.
Which OSI layers does the TCP/IP application layer combine?
Layers 7, 6 and 5: application, presentation and session. That's why, in TCP/IP, encryption (TLS) and sessions are handled by the application and its libraries.
Which layer does a router work at?
The Internet layer (OSI layer 3): it reads the destination IP, checks its routing table and forwards. A switch works at network access (OSI layer 2).
Is TCP/IP better than OSI?
They don't compete: TCP/IP is the stack that gets implemented and OSI is the reference model everyone uses to talk about layers. A network engineer uses both.
Where do ARP and ICMP fit?
ICMP travels inside IP, at the Internet layer. ARP works at the boundary between Internet and network access: it travels in a frame, with no IP header.
Key takeaways
- TCP/IP has 4 layers: application, transport, Internet and network access.
- Application matches OSI 7, 6 and 5; network access matches OSI 2 and 1; transport and Internet match OSI 4 and 3.
- PDUs don't change: data, segment, packet, frame and bits.
- The switch works at network access; the router goes up to Internet.
- TCP/IP is what gets implemented; OSI is the language to explain and troubleshoot.
NEXT STEP
From the model to the Canadá Logística network
In the CCNA 2.0 Course you see every layer in action on the Canadá Logística network, with real captures and commands on every device.
Upcoming labs
Sources
- RFC 1122 · Requirements for Internet Hosts: Communication Layers
- RFC 1123 · Requirements for Internet Hosts: Application and Support
- ITU-T X.200 (07/94) · OSI Basic Reference Model (= ISO/IEC 7498-1:1994)
- RFC 791 · Internet Protocol
- RFC 9293 · Transmission Control Protocol (TCP)
- RFC 9112 · HTTP/1.1
- IEEE 802.3 Ethernet Working Group
Lesson prepared with AI assistance and verified against the cited sources. The bytes are generated with real checksums and were checked with scapy.