- Network layer
-
"layer 3 " redirects here. For the MPEG-1 Audio format, see MP3. For the layer in the cerebral cortex, see Cerebral cortex#Laminar pattern.
The OSI model 7 Application layer 6 Presentation layer 5 Session layer 4 Transport layer 3 Network layer 2 Data link layer 1 Physical layer The network layer is layer 3 of the seven-layer OSI model of computer networking.
The network layer is responsible for packet forwarding including routing through intermediate routers, whereas the data link layer is responsible for media access control, flow control and error checking.
The network layer provides the functional and procedural means of transferring variable length data sequences from a source to a destination host via one or more networks while maintaining the quality of service functions.
Functions of the network layer include:
- Connection model: connectionless communication
- For example, IP is connectionless, in that a frame 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 that model.
- Host addressing
- Every host in the network needs to have a unique address which determines where it is. This address will normally be assigned from a hierarchical system, so you can be "Fred Murphy" to people in your house, "Fred Murphy, 1 Main Street" to Dubliners, or "Fred Murphy, 1 Main Street, Dublin" to people in Ireland, or "Fred Murphy, 1 Main Street, Dublin, Ireland" to people anywhere in the world. On the Internet, addresses are known as Internet Protocol (IP) addresses.
- Message forwarding
- Since many networks are partitioned into subnetworks and connect to other networks for wide-area communications, networks use specialized hosts, called gateways or routers to forward packets between networks. This is also of interest to mobile applications, where a user may move from one location to another, and it must be arranged that his messages follow him. Version 4 of the Internet Protocol (IPv4) was not designed with this feature in mind, although mobility extensions exist. IPv6 has a better designed solution.
Within the service layering semantics of the OSI network architecture the network layer responds to service requests from the transport layer and issues service requests to the data link layer.
Contents
Protocols
- IPv4/IPv6, Internet Protocol
- DVMRP, Distance Vector Multicast Routing Protocol
- ICMP, Internet Control Message Protocol
- IGMP, Internet Group Multicast Protocol
- PIM-SM, Protocol Independent Multicast Sparse Mode
- PIM-DM, Protocol Independent Multicast Dense Mode
- IPsec, Internet Protocol Security
- IPX, Internetwork Packet Exchange
- RIP, Routing Information Protocol
- DDP, Datagram Delivery Protocol
- BGP, Border Gateway Protocol
Relation to TCP/IP model
The TCP/IP model describes the protocol suite of the Internet (RFC 1122). This model has a layer called the Internet layer, located above the link layer. In many textbooks and other secondary references the Internet layer is equated with OSI's 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. The Internet layer of TCP/IP is in fact only a subset of functionality of the network layer. It only describes one type of network architecture, the Internet.
In general, direct or strict comparisons between these models should be avoided, since the layering in TCP/IP is not a principal design criterion and the Internet Engineering Task Force (IETF) considers it to be "harmful" (RFC 3439).
See also
References
- RFC 1122
- RFC 3439
- Tanenbaum, Andrew S. (2003). Computer networks. Upper Saddle River, New Jersey: Prentice Hall. ISBN 0-13-066102-3.
External links
- OSI Reference Model—The ISO Model of Architecture for Open Systems InterconnectionPDF (776 KB), Hubert Zimmermann, IEEE Transactions on Communications, vol. 28, no. 4, April 1980, pp. 425-432.
Categories:- OSI protocols
- Network layer protocols
Wikimedia Foundation. 2010.