Govt Exams
Raw bit transmission over physical media (twisted pair cables) involves Layer 1 (Physical Layer). Data Link Layer (Layer 2) protocols handle the framing and transmission rules for these bits.
TCP provides reliable, ordered delivery with error checking; UDP prioritizes speed with minimal overhead. Choice of protocol depends on application requirements.
The Presentation Layer (Layer 6) is responsible for data encryption, decryption, compression, and translation, making it the appropriate layer for implementing encryption services.
The TCP/IP model's Application Layer combines the functionality of OSI Layers 5 (Session), 6 (Presentation), and 7 (Application).
HTTP is an Application Layer (Layer 7) protocol. To intercept and modify HTTP traffic, an attacker must operate at Layer 7 where the actual content is accessible.
A gateway typically operates at Layer 3 (routing) and Layer 4 (protocol conversion), and may involve Layer 7 for application-level filtering. Issues at the gateway level suggest Layer 3-4 problems.
Encapsulation is the process of adding protocol-specific headers and trailers to data at each layer as it moves down from the Application Layer to the Physical Layer.
Routers operate at Layer 3 (Network Layer) and use IP addresses to forward packets between different networks.
TCP (Transmission Control Protocol) operates at Layer 4 and provides reliable, connection-oriented delivery with error checking and sequencing.
Switches operate at Layer 2 (Data Link Layer) and use MAC address tables to forward frames to appropriate ports.