#The ip in the tcp/ip protocol is equivalent to the network layer in osi.
The full name of the OSI reference model is the Open Systems Interconnection Reference Model. This reference model is divided into seven layers: physical layer, data link layer, network layer, transport layer, session layer, presentation layer and application layer. IP is the core of the network layer. The next IP is encapsulated through routing and handed over to the interface layer. IP datagrams are connectionless services.
The Network Layer determines the routing of packets from source to destination. Routing can use a fixed static routing table in the network, or it can be determined for each session. It can also be flexibly determined for each group based on the current network load condition.
The network layer is responsible for communication between adjacent computers. Its function includes three aspects.
1. Process the packet sending request from the transport layer. After receiving the request, assemble the packet into the IP datagram, fill in the header, select the path to the sink machine, and then send the datagram to the appropriate network interface.
2. Process the input datagram: first check its validity, and then perform path finding. If the datagram has arrived at the sink machine, remove the header and hand over the remaining part to the appropriate transmission protocol. If the datagram has not yet arrived at the destination, the datagram is forwarded.
3. Handle path, flow control, congestion and other issues.
Extended information:
TCP in the TCP/IP protocol is equivalent to the transport layer in osi:
The transport layer provides communication between applications. Its functions include: 1. Formatting information flow; 2. Providing reliable transmission. To achieve the latter, the transport layer protocol stipulates that the receiving end must send back an acknowledgment, and if the packet is lost, it must be resent, the familiar "three-way handshake" process, thereby providing reliable data transmission.
The transport layer protocols are mainly: Transmission Control Protocol (TCP) and User Datagram Protocol (UDP).
The above is the detailed content of What is ip in tcp/ip protocol equivalent to in osi?. For more information, please follow other related articles on the PHP Chinese website!