Network Layer in OSI Model Last Updated : 04 Oct, 2025 Suggest changes Share 4 Likes Like Report Network Layer is the third layer from the bottom (Layer 3) and the fifth layer from the top in the OSI (Open Systems Interconnection) Model. It is responsible for ensuring end-to-end packet delivery across multiple interconnected networks.Network Layer in OSI ModelNote: Unlike the Data Link Layer, which focuses only on node-to-node delivery within a single network segment, the Network Layer ensures that data travels from the source host to the destination host, even if they are located on different networks.Key Responsibilities of the Network LayerLogical Addressing: Assigns unique IP addresses to devices, ensuring accurate identification and communication across networks.Packetization: Encapsulates transport layer segments into packets for efficient transmission.Host-to-Host Delivery: Ensures reliable delivery of packets from the sender to the intended receiver across diverse networks.Forwarding: Moves packets from the input interface of a router to the appropriate output interface based on the destination IP.Routing: Determines the optimal path for packets to travel across multiple networks using routing algorithms and protocols.Fragmentation and Reassembly: Splits large packets into smaller fragments to match the maximum transmission unit (MTU) of a network, and reassembles them at the destination.Subnetting: Divides larger networks into smaller subnetworks for efficient addressing and traffic management.Network Address Translation (NAT): Maps private IPs to public IPs for internet communication, conserving address space and adding security.Read more about Functions of Network Layer.How the Network Layer WorksHow Network Layer WorksEach device is assigned a unique logical address (IP address).Data from the transport layer is encapsulated into packets, with source and destination IPs attached.Routers analyze the destination address and determine the best available path.Packets traverse the network hop-by-hop, moving across routers until reaching the destination.If the packet size exceeds the MTU, it is fragmented into smaller units.At the destination, the fragments are reassembled into the original data.If errors occur (e.g., unreachable destination), protocols like ICMP send error messages back to the source.Protocols Operating at the Network LayerIP (Internet Protocol – IPv4/IPv6)ICMP (Internet Control Message Protocol)ARP (Address Resolution Protocol)RARP (Reverse Address Resolution Protocol)NAT (Network Address Translation)IPSec (Internet Protocol Security)MPLS (Multiprotocol Label Switching)Routing ProtocolsRIP (Routing Information Protocol)OSPF (Open Shortest Path First)BGP (Border Gateway Protocol)Advantages of the Network LayerEnables end-to-end communication across multiple networks.Supports scalability by allowing subnetting and hierarchical addressing.Efficiently routes packets using shortest-path and dynamic routing algorithms.Provides inter-networking by connecting heterogeneous networks.Limitations of the Network LayerNo flow control mechanism; congestion may occur if too many datagrams are in transit.Limited error control; mainly relies on upper layers for reliability.Routers may drop packets under heavy load, leading to possible data loss.Fragmentation increases processing overhead and may affect performance.Difference Between Routing and FloodingRoutingFloodingA routing table is required.No Routing table is requiredMay give the shortest path.Always gives the shortest path.Routing is less reliableFlooding is more reliableTraffic is less in RoutingTraffic is more in FloodingDuplicate packets are not presentDuplicate packet are presentFor practice, solve quiz on Network Layer. Create Quiz D dwaipayan_bandyopadhyay Follow 4 Article Tags : Computer Networks Network Layer Explore Computer Network BasicsBasics of Computer Networking4 min readTypes of Computer Networks6 min readIntroduction to Internet5 min readNetwork Devices4 min readWhat is OSI Model? - Layers of OSI Model11 min readTCP/IP Model6 min readOSI and TCP/IP Model4 min readPhysical LayerPhysical Layer in OSI Model3 min readTypes of Network Topology9 min readTransmission Modes3 min readTransmission Media in Computer Networks7 min readData Link LayerData Link Layer in OSI Model4 min readSwitching | Computer Networks2 min readVirtual LAN (VLAN)3 min readFraming in Data Link Layer3 min readError Control in Data Link Layer3 min readFlow Control4 min readPiggybacking in Computer Networks2 min readNetwork LayerNetwork Layer in OSI Model3 min readIntroduction of Classful IP Addressing7 min readClassless Addressing in IP Addressing7 min readWhat is an IP Address?11 min readIPv4 Datagram Header4 min readDifference Between IPv4 and IPv63 min readPublic and Private IP addresses4 min readIntroduction To Subnetting5 min readWhat is Routing?10 min readNetwork Layer Protocols9 min readTransport LayerTransport Layer in OSI Model4 min readTransport Layer Protocols9 min readTransmission Control Protocol - TCP4 min readUser Datagram Protocol - UDP3 min readSession Layer & Presentation LayerSession Layer in OSI model2 min readPresentation Layer in OSI model2 min readSecure Socket Layer (SSL)4 min readPoint-to-Point Tunneling Protocol - PPTP2 min readMultipurpose Internet Mail Extension (MIME) Protocol3 min readApplication LayerApplication Layer in OSI Model4 min readClient-Server Model3 min readWorld Wide Web (WWW)5 min readIntroduction to Electronic Mail4 min readWhat is a Content Distribution Network and how does it work?4 min readProtocols in Application Layer4 min readAdvanced TopicsWhat is Network Security?4 min readQuality of Service and Multimedia5 min readAuthentication in Computer Network3 min readEncryption, Its Algorithms And Its Future6 min readIntroduction of Firewall in Computer Network3 min readMAC Filtering in Computer Network3 min readWi-Fi Standards Explained2 min readWhat is Bluetooth?6 min readGenerations of wireless communication2 min readCloud Networking4 min readPracticeTop 50 Plus Networking Interview Questions and Answers15+ min readTop 50 TCP/IP Interview Questions and Answers 202515+ min readNetwork Fundamentals Interview Questions - Computer Networks15+ min readLast Minute Notes for Computer Networks14 min readComputer Network - Cheat Sheet15+ min read My Profile ${profileImgHtml} My Profile Edit Profile My Courses Join Community Transactions Logout Like