Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Which layer is the routing protocol in the computer network?

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail which layer the routing protocol is located in the computer network. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

The routing protocol is located at the network layer. When a computer sends a packet, some information is attached to it at each layer of the network protocol stack. Network layer protocols attach routing information, which may be through the complete path of a network or some priority value indicating which path the packet should take.

The operating environment of this tutorial: windows7 system, Dell G3 computer.

The routing protocol is located at the network layer.

When a computer sends a packet, some information is attached to it at each layer of the network protocol stack. This information can be read out at the peer layer protocol of the receiver. This information is similar to some parts of a communication session. Network layer protocols attach routing information, which may be through the complete path of a network or some priority value indicating which path the packet should take. The network layer information added by the sender can only be read by the network layer protocol of the router or receiver. Repeaters and bridges do not recognize network layer information and can only transmit and forward packets.

Extended data:

The purpose of the network layer is to achieve transparent data transmission between the two end systems, including addressing and routing, connection establishment, maintenance and termination, and so on. It provides services so that the transport layer does not need to know about data transmission and switching technologies in the network.

The network layer mainly provides services for the transport layer. In order to provide services to the transport layer, the network layer must use the services provided by the data link layer. The main function of the data link layer is to solve the communication between the two directly adjacent nodes, but it is not responsible for solving the communication problem when the data passes through multiple transfer nodes in the communication subnet. in order to realize the transparent transmission of data between the two end systems, the data on the source side can reach the destination transparently through multiple transfer nodes in the communication subnet. So that the transport layer does not have to care about the topology of the network and the communication media and switching technologies used, the network layer must have the following functions:

Packet and packet switching: packets received from the transport layer are encapsulated into packets (Packet, also known as "packets") and transmitted down to the data link layer.

Routing: select the most appropriate path for the packet through the communication subnet through the routing algorithm.

Network connection multiplexing: creates a logical link for the transmission of packets between nodes in the communication subnet and multiplexes multiple network connections on one data link (mostly using time division multiplexing technology).

Error detection and recovery: generally, the header checksum in the packet is used for error checking, and the confirmation and retransmission mechanism is used for error recovery.

Service selection: the network layer can provide Datagram and virtual circuit services for the transport layer, but the network layer of Internet only provides Datagram services for the transport layer.

Network management: manage the data communication process in the network, transfer the data from the source to the destination through several intermediate nodes, and provide the most basic end-to-end data transmission service for the transport layer.

Flow control: flow control is realized through flow shaping technology to prevent the performance of the communication subnet from deteriorating due to excessive traffic.

Congestion control: when the data flow of the network exceeds the rated capacity, it will cause network congestion, resulting in a sharp decline in network throughput. Therefore, it is necessary to adopt appropriate control measures to dredge.

Network interconnection: connect one network to another to achieve cross-network communication between users.

Fragmentation and reorganization: if the packet to be sent exceeds the allowed length of the protocol data unit, the network layer of the source node will fragment the packet, and after the fragment reaches the destination host, the network layer of the destination node will be reassembled into the original packet.

This is the end of this article on "where is the routing protocol in the computer network?". I hope the above content can be helpful to you, so that you can learn more knowledge. If you think the article is good, please share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report