Network Layer

The network layer is level three of the seven level OSI model as well as of the five layer TCP/IP model. In the four layer TCP/IP reference model it is called Internet layer, which is the second layer from below. In all of the models, the network layer responds to service requests from the transport layer and issues service requests to the data link layer.

In essence, the network layer is responsible for end to end (source to destination) packet delivery, whereas the data link layer is responsible for node to node (hop to hop) packet delivery.

The network layer provides the functional and procedural means of transferring variable length data sequences from a source to a destination via one or more networks while maintaining the quality of service requested by the transport layer. The Network layer performs network routing, flow control, network segmentation/desegmentation, and error control functions.

The network layer deals with transmitting information all the way from its source to its destination - transmitting from anywhere, to anywhere. Here are some things that the network layer needs to address:

  • Is the network connection-oriented or connectionless?
For example, snail mail is connectionless, because you can send a letter to someone without them doing anything and they will receive the letter. On the other hand, the telephone system is connection-oriented, because the other party is required to pick up the phone before communication can be established. The OSI Network Layer protocol can be either connection-oriented, or connectionless. The TCP/IP Internet Layer (equivalent to OSI's Network Layer) supports only the connectionless Internet Protocol (IP).
  • What are the Global Addresses?
Everybody in the network needs to have a unique address which determines who they are. This address will normally be hierarchical, so you can be "Fred Murphy" to Dubliners, or "Fred Murphy, Dublin" to people in Ireland, or "Fred Murphy, Dublin, Ireland" to people anywhere in the world. On the internet, these addresses are known as IP Addresses.
  • How do you forward a message?
This is of particular interest to mobile applications, where a user may rapidly move from place to place, and it must be arranged that his messages follow him. Version 4 of the Internet Protocol (IPv4) doesn't really allow for this, though it has been hacked somewhat since its inception. Fortunately, the forthcoming IPv6 has a much better designed solution, which should make this type of application much smoother.

In the traditional postage system (commonly referred to as snail mail) this role is provided by the postman (to some extent).

Examples

  • 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
    • NLSP, NetWare Link State Protocol
  • X.25, Packet Level Protocol
    • X.75, Packet Switched Signaling Between Public Networks
  • DDP, Datagram Delivery Protocol
  Physical Layer    
The physical layer is level one in the seven level OSI model of computer networking as well as in the five...

  Data Link Layer    
The data link layer is layer two of the seven-layer OSI model as well as of the five-layer TCP/IP reference...

  Network Layer    
The network layer is level three of the seven level OSI model as well as of the five layer TCP/IP model...

  Transport Layer    

In computing and telecommunications, the transport layer is the second highest layer in the four...


  Session Layer    

The session layer is level five of the seven level OSI model. It responds to service requests from the presentation...

  Presentation Layer    

The presentation layer is the sixth level of the seven layer OSI model. It responds to service requests...

  Application Layer    

The application layer is the seventh level of the seven-layer OSI model. It interfaces directly to and performs...