Layers
TCP/IP Layers
From bottom to top, they are:
-
link layer
It uses MAC address to identify the devices in the network.
The unit of data in this layer is frame.
-
internet layer
It uses IP address instead of MAC address. It connects the small networks into big one.
The unit of data in this layer is packet.
-
transport layer
It makes transportation work. TCP is on this layer.
The unit of data in this layer is segment.
-
application layer
HTTP is on this layer. There are other protocals, such as Telnet、SSH、FTP、SMTP.
The unit of data in this layer is message.
OSI (Open System Interconnection Reference Model)
There are 7 layers.
-
Physical
-
Data Link
-
Network
-
Transport
-
Session
-
Presentation
-
Application
We can map OSI layers and TCP/IP layers.
OSI | TCP/IP --- | --- Physical | Data Link | link layer Network | internet layer Transport | transport layer Session, Presentatio, Application | application layer