Networking Questions - Detailed Answers
Q1: Explain OSI Model with Diagram
The OSI (Open Systems Interconnection) model is a conceptual framework used to
understand and implement standard network communications between different systems
without regard to their underlying internal structure.
7 Layers of OSI Model:
1. Application Layer – Closest to the end user. It provides network services like email, file
transfer, etc.
2. Presentation Layer – Ensures data is in a readable format (encryption, compression,
translation).
3. Session Layer – Manages sessions and controls dialogues between devices.
4. Transport Layer – Ensures complete data transfer (TCP/UDP).
5. Network Layer – Determines the best physical path for data (IP addressing, routing).
6. Data Link Layer – Handles node-to-node data transfer and error detection.
7. Physical Layer – Deals with hardware transmission of raw bitstreams.
Diagram:
[Application]
[Presentation]
[Session]
[Transport]
[Network]
[Data Link]
[Physical]
Q2: Difference Between Circuit Switching, Packet Switching & Switching
Circuit Switching: Dedicated path for communication (e.g., telephone calls).
Packet Switching: Data is divided into packets and sent independently (e.g., internet).
Switching: General method to forward data, including circuit, packet, and message
switching.
Q3: List of Networking Devices
- Router
- Switch
- Hub
- Modem
- NIC
- Repeater
- Access Point
- Bridge
- Gateway
Q4: TCP/IP Model with Diagram
The TCP/IP model has 4 layers:
1. Application Layer – Protocols like HTTP, FTP, SMTP.
2. Transport Layer – Provides reliable or unreliable delivery (TCP, UDP).
3. Internet Layer – IP addressing and routing (IP, ICMP).
4. Network Access Layer – Deals with physical transmission (Ethernet, Wi-Fi).
Q5: Difference Between IPv6 and IPv4
IPv4: 32-bit address, supports ~4.3 billion devices, dot-decimal format.
IPv6: 128-bit address, supports huge number of devices, hexadecimal format.
Q6: Difference Between Subnetting & Supernetting
Subnetting: Divides a larger network into smaller sub-networks.
Supernetting: Combines multiple networks into one larger network.
Q7: Explain All Protocols
- HTTP/HTTPS: Web communication.
- FTP: File transfers.
- TCP/UDP: Reliable and fast communication.
- IP: Internet Protocol, handles addressing.
- ICMP: Used for diagnostics (e.g., ping).
- SMTP/POP3/IMAP: Email communication.
- DHCP: Assigns dynamic IPs.
- DNS: Resolves domain names to IPs.
Q8: Explain All Types of Topology with Examples
- Bus: One main cable. Example: older Ethernet networks.
- Star: Central hub/switch. Example: modern LANs.
- Ring: Circular loop connection. Example: FDDI.
- Mesh: Full connection between devices. Example: military networks.
- Tree: Combination of star and bus.
- Hybrid: Combination of any two topologies.
Q9: Classless and Full Addressing
Classless (CIDR): Allows flexible address allocation using subnet masks.
Full Addressing: Not a standard term; possibly refers to complete IP configuration including
subnet, gateway, and DNS.
Q10: Difference Between ARP & RARP
ARP: Resolves IP address to MAC address.
RARP: Resolves MAC address to IP address.
Q11: Physical, Logical, and Port Address
Physical Address: MAC address assigned to NIC.
Logical Address: IP address used for identification and routing.
Port Address: Identifies services on a device, e.g., port 80 for HTTP.
Q12: Explain Telnet, Router, Switch, Hub, NIC, Repeater, Modem
- Telnet: Command-line remote login.
- Router: Connects different networks.
- Switch: Connects devices within LAN.
- Hub: Broadcasts data to all devices.
- NIC: Enables a device to connect to a network.
- Repeater: Boosts weak signals.
- Modem: Converts digital to analog signals and vice versa.
Q13: What is Application Layer?
Topmost layer in the OSI and TCP/IP models. It enables end-user services like browsing,
emailing, and file transfers. Protocols include HTTP, FTP, DNS, etc.
Q14: Explain Transport Layer & Network Layer
Transport Layer: Responsible for end-to-end communication, reliability, and error control.
Uses TCP/UDP.
Network Layer: Manages addressing and routing of data. Uses IP and related protocols like
ICMP.