This article contains the following content:
1.TCP/IP Protocol System
2.OSI Models
3. Data packets
4.TCP/IP Interactive mode
The protocol layer of the 1.TCP/IP model is divided into four layers:
Network access Layer: Provides an interface to a physical network connection. Data addressing is implemented based on the physical address of the hardware.
Internet Layer: Provides hardware-independent logical addressing.
Transport Layer: Provides traffic control, error control, and acknowledgment services to the network and serves as an interface for network applications.
Application Layer: Provides applications for file transfer, remote control, and more.
OSI seven-layer model
Physical Layer: Converts data into an electronic stream or analog pulse on a transmission medium, and monitors the transmission of data.
Data Link layer:Provides an interface connected to a network adapter to maintain a logical connection to the subnet.
Network layer:Supports logical addressing and routing.
Transport Layer:Provides error control and data flow control for the network.
Session Layer:Establish a session between the communication applications of the computer.
Presentation layer:Convert data to standard format, manage data encryption and compression.
Application layer:A network application that provides network interfaces to applications that support file transfer, communication, and other functions.
Correspondence Relationship:
2. Packet data packets are a bit like a Russian set of dolls. At the time of sending, from top to bottom, each layer organizes the information and headers together as the next layer of data, and the next layer adds its own header. At the time of reception.
The packets have different forms and names at each level:Packets generated at the application layer are called messages, and packets generated at the transport layer encapsulate the application layer's messages, and if the TCP protocol from the transport layer is fragmented, it becomes a datagram if it comes from the Transport layer's UDP protocol. Packets at the network layer are called datagrams. Packets in the network access layer are called frames.
3. Work Scenario 1. Data is passed from the application layer through TCP or UDP ports to the Transport Layer 2. The data is segmented to the internetwork, the IP protocol provides the logical addressing information, and the data is encapsulated by 3. The data goes into the network access layer, and the network access layer creates one or more data frames to enter the physical network 4. Data frames are converted
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
TCP/IP Resolution (i): How TCP/IP works