Govt. Exams
Entrance Exams
Inter-subnet communication requires Layer 3 (Network Layer) routing decisions. Since devices can ping the router, Layer 1 and 2 are functional. The issue is typically Layer 3 routing rules, subnet masks, or Access Control Lists (ACLs) preventing the router from forwarding packets between subnets.
Port numbers are used at the Transport Layer (Layer 4) by TCP and UDP protocols. A firewall blocking specific ports operates at this layer.
A hub operates at the Physical Layer (1) and broadcasts all data, while a switch operates at the Data Link Layer (2) using MAC addresses.
While encryption can occur at multiple layers, the Presentation Layer (Layer 6) is traditionally responsible for encryption and decryption of data.
The OSI model is designed such that each layer provides services to the layer above it, following a hierarchical structure.
FCS is used at the Data Link Layer (Layer 2) to detect errors in frame transmission. Frames with bad FCS are typically discarded.
The Data Link Layer (Layer 2) controls access to the physical medium through MAC addresses and protocols like CSMA/CD.
If ping works (Layer 3) but web services don't, the issue is likely at the Application Layer (Layer 7) where HTTP operates.
The Presentation Layer (Layer 6) handles data translation, compression, and encryption for proper data representation.
UDP (User Datagram Protocol) is a connectionless protocol at Layer 4 that sends data without establishing a connection.