EMZETT.
Login

TCP/IP Model

In short: The layered model of the internet with four layers: network access, internet, transport and application. It is the practical basis of almost all networks.

In more detail: The TCP/IP model (also called the DoD model) emerged in the 1970s around the ARPANET and describes how data gets from an application across the network to the application on another device. Unlike the seven-layer OSI model it merges several tasks and is closer to the real protocols.

In Depth

Comparison of the OSI model and the TCP/IP model

The four layers

LayerTaskExamplesOSI layers
ApplicationServices for programs[[httpHTTP]], [[dns
TransportEnd-to-end connection, ports[[tcpTCP]], [[udp
InternetAddressing and routing[[ip-adressenIP]], [[icmp
Network accessTransmission in the local network[[ethernetEthernet]], [[wlan

Encapsulation: how data is packed

Each layer puts its own header in front of the data of the layer above. The payload becomes a TCP segment, then an IP packet and then an Ethernet frame. The receiver unpacks in the reverse order.

Example: loading a web page

  1. Application: The browser asks for a page via HTTP; DNS supplies the IP address beforehand.
  2. Transport: TCP opens a connection to port 443 using the three-way handshake.
  3. Internet: IP adds source and destination addresses to the segments; routers forward them.
  4. Network access: ARP finds the MAC address of the next device, Ethernet or Wi-Fi transmits the frames.

TCP/IP or OSI?

OSI is a teaching and reference model, in practice (and in administrators’ daily work) TCP/IP is used. Exams and books often use a five-layer hybrid model that splits network access into physical and data link.

Use in troubleshooting

You check from bottom to top: cable and link (network access), IP configuration with ipconfig (internet), reachability with ping, port reachability (transport), finally the service itself (application). See network commands in the CMD.

See also: OSI Model, TCP, UDP, IP Addresses, ICMP, ARP, Ethernet, HTTP, DNS, Packet, Network Protocols