Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Network layer

From Wikipedia, the free encyclopedia
(Redirected fromNetwork Layer)
Third layer of the OSI model
"Layer 3" redirects here. For the MPEG-1 Audio format, seeMP3. For the layer in the cerebral cortex, seeCerebral cortex § Layered_structure.
This article includes a list ofgeneral references, butit lacks sufficient correspondinginline citations. Please help toimprove this article byintroducing more precise citations.(October 2009) (Learn how and when to remove this message)
OSI model
bylayer

In the seven-layerOSI model ofcomputer networking, thenetwork layer islayer 3. The network layer is responsible forpacket forwarding includingrouting through intermediaterouters.[2]

Functions

[edit]

The network layer provides the means of transferring variable-lengthnetwork packets from a source to a destinationhost via one or more networks. Within the service layering semantics of the OSI (Open Systems Interconnection) network architecture, the network layer responds to service requests from thetransport layer and issues service requests to thedata link layer.

Functions of the network layer include:

Connectionless communication
For example,Internet Protocol is connectionless, in that a data packet can travel from a sender to a recipient without the recipient having to send an acknowledgement. Connection-oriented protocols exist at other, higher layers of the OSI model.
Host addressing
Every host in the network must have a unique address that determines where it is. This address is normally assigned from a hierarchical system. For example, you can be:
"Fred Murphy" to people in your house,
"Fred Murphy, 1 Main Street" to Dubliners,
"Fred Murphy, 1 Main Street, Dublin" to people in Ireland,
"Fred Murphy, 1 Main Street, Dublin, Ireland" to people anywhere in the world.
On the Internet, addresses are known asIP addresses (Internet Protocol).
Message forwarding
Since many networks are partitioned into subnetworks and connect to other networks for wide-area communications, networks use specialized hosts, called gateways orrouters, to forward packets between networks.

Relation to TCP/IP model

[edit]

TheTCP/IP model describes the protocols used by the Internet.[3] The TCP/IP model has a layer called theInternet layer, located above thelink layer. In many textbooks and other secondary references, the TCP/IP Internet layer is equated with the OSI network layer. However, this comparison is misleading, as the allowed characteristics of protocols (e.g., whether they are connection-oriented or connection-less) placed into these layers are different in the two models.[citation needed] The TCP/IP Internet layer is in fact only a subset of functionality of the network layer. It describes only one type of network architecture, the Internet.[citation needed]

Fragmentation of Internet Protocol packets

[edit]

The network layer is responsible forfragmentation and reassembly forIPv4 packets that are larger than the smallestMTU of all the intermediate links on the packet's path to its destination. It is the function ofrouters to fragment packets if needed, and ofhosts to reassemble them if received.

Conversely,IPv6 packets are not fragmented during forwarding, but the MTU supported by a specific path must still be established, to avoidpacket loss. For this,Path MTU discovery is used between endpoints, which makes it part of theTransport layer, instead of this layer.

Protocols

[edit]

The following are examples of protocols operating at the network layer.

References

[edit]
  1. ^"X.225 : Information technology – Open Systems Interconnection – Connection-oriented Session protocol: Protocol specification".Archived from the original on 1 February 2021. Retrieved10 March 2023.
  2. ^"Layer 3". techtarget.com. Retrieved2017-05-11.
  3. ^R. Braden, ed. (October 1989).Requirements for Internet Hosts -- Communication Layers. Network Working Group.doi:10.17487/RFC1122. STD 3. RFC1122.Internet Standard 3. Updated byRFC 1349,4379,5884,6093,6298,6633,6864,8029 and9293.

External links

[edit]
Retrieved from "https://en.wikipedia.org/w/index.php?title=Network_layer&oldid=1278063734"
Category:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp