Joke Collection Website - Cold jokes - Which layer in osi does ip in tcpip correspond to?

Which layer in osi does ip in tcpip correspond to?

Ip in tcpip protocol is equivalent to the network layer in osi.

The full name of OSI reference model is open system interconnection. The 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, and the next IP is encapsulated by routing and handed over to the interface layer. IP datagram is a connectionless service.

The network layer determines the routing of packets from the source to the destination. The route can be selected from the fixed static routing table in the network, or it can be decided at each session, and it can be flexibly decided for each packet according to the current network load.

The network layer is responsible for the communication between adjacent computers. Its function includes three aspects.

1. Handles the packet sending request from the transport layer. After receiving the request, load the data packet into the IP datagram, fill in the header, select the path to the destination machine, and then send the datagram to the appropriate network interface.

2. Processing incoming datagrams: First check its legitimacy, and then find the path. If the datagram has reached the destination machine, the header is deleted and the rest is handed over to the appropriate transport protocol. If the datagram does not reach its destination, it will be forwarded.

3. Deal with issues such as path, flow control and congestion.

Extended data:

TCP in 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. Provide reliable transmission. In order to realize the latter, the transport layer protocol stipulates that the receiver must send back an acknowledgement, and if the data packet is lost, it must be retransmitted, which is the well-known "three-way handshake" process, thus providing reliable data transmission.

The transport layer protocols are mainly TCP (Transmission Control Protocol) and UDP (User Datagram Protocol).

Baidu encyclopedia -TCP/IP protocol