IBPS PO के लिए कंप्यूटर नेटवर्किंग — OSI मॉडल, प्रोटोकॉल और नेटवर्क प्रकार

intermediate 18 min read

अवधारणा

नेटवर्किंग का मतलब सीधा है — दो या अधिक कंप्यूटरों को इस तरह जोड़ना कि वे data share कर सकें, resources use कर सकें, और communicate कर सकें। यह बिल्कुल वैसे है जैसे एक बैंक की सभी शाखाएं एक central server से जुड़ी होती हैं — teller का computer मुंबई में है, central database दिल्ली में, फिर भी transaction real-time होता है।

IBPS PO परीक्षा में networking से जो प्रश्न आते हैं, वे तीन क्षेत्रों पर केंद्रित होते हैं:

पहला — नेटवर्क के प्रकार: LAN (Local Area Network), MAN (Metropolitan Area Network), WAN (Wide Area Network)। इनमें अंतर geography और scale का है।

दूसरा — OSI मॉडल और protocols: यह 7-layer का theoretical framework है जो बताता है कि data network पर कैसे travel करता है। हर layer का एक specific काम है।

तीसरा — Devices और IP Addressing: Router, Switch, Hub, Gateway — कौन सा device किस layer पर काम करता है और क्यों। IP addressing में Class A/B/C और subnet mask।

एक ठोस analogy — post office system को सोचो। जब तुम चिट्ठी भेजते हो तो उस पर address लिखते हो (IP address), envelope में डालते हो (data encapsulation), sorting office से गुज़रती है (routing), और अंत में सही घर पहुंचती है (delivery)। OSI model यही काम layers में बांटकर करता है।

नेटवर्किंग के प्रश्नों में rote memorization से ज़्यादा logic काम करता है। अगर तुम समझ गए कि Switch Layer 2 पर क्यों काम करता है (MAC address की वजह से), तो तुम्हें याद नहीं करना पड़ेगा — सीधे deduce कर लोगे।


गहन विश्लेषण

नेटवर्क के प्रकार

| प्रकार | विस्तार | उदाहरण | |--------|---------|--------| | LAN | एक building/campus | Office network, school lab | | MAN | एक शहर | Cable TV network, city-wide WiFi | | WAN | देश/विश्व | Internet, bank's inter-branch network | | PAN | Personal (10 मीटर तक) | Bluetooth devices |

LAN सबसे fast होता है (1 Gbps तक), privately owned होता है। WAN में leased lines, satellite links उपयोग होते हैं — IBPS PO की banking context में यही सबसे relevant है।

OSI मॉडल — 7 Layers

यह model International Standard Organization (ISO) का दिया हुआ framework है। नीचे से ऊपर:

| Layer No. | Layer नाम | काम | Key Devices/Protocols | |-----------|-----------|-----|----------------------| | 7 | Application | User interface | HTTP, FTP, SMTP, DNS | | 6 | Presentation | Data format, encryption | SSL/TLS, JPEG | | 5 | Session | Session management | NetBIOS | | 4 | Transport | End-to-end delivery | TCP, UDP | | 3 | Network | Routing between networks | IP, Router | | 2 | Data Link | Node-to-node delivery | MAC, Switch, Bridge | | 1 | Physical | Bits का transmission | Cable, Hub, NIC |

परीक्षा में सबसे ज़्यादा पूछे जाने वाले layer facts:

TCP/IP Model

OSI के 7 layers को TCP/IP 4 layers में compress करता है:

OSI                    TCP/IP
Application  ─────┐
Presentation  ────┤── Application Layer
Session       ────┘
Transport     ────── Transport Layer (TCP/UDP)
Network       ────── Internet Layer (IP)
Data Link    ─────┐
Physical      ────┘── Network Access Layer

महत्वपूर्ण Protocols

Email Protocols (IBPS PO में बार-बार आते हैं):

File Transfer:

Web Protocols:

Other:

IP Addressing और Subnet Classes

| Class | Range | Default Subnet Mask | Hosts per Network | |-------|-------|---------------------|-------------------| | A | 1-126 | 255.0.0.0 (/8) | ~16.7 million | | B | 128-191 | 255.255.0.0 (/16) | ~65,534 | | C | 192-223 | 255.255.255.0 (/24) | 254 |

CIDR Notation और usable hosts की गणना:

नेटवर्क Topologies

Networking Commands


शॉर्टकट और युक्तियाँ

patternOSI Layers याद करने का तरीका — नीचे से ऊपर

वाक्य: "Please Do Not Throw Sausage Pizza Away"

P = Physical, D = Data Link, N = Network, T = Transport, S = Session, P = Presentation, A = Application

Standard method: OSI table बार-बार लिखकर याद करना — 5-6 मिनट। इस mnemonic से: Layer number + नाम 20 seconds में recall। परीक्षा में जब "Layer 3 कौन सी है?" पूछा जाए — तीसरा शब्द = Network। Step count: 7 से घटकर 1।

patternEmail Protocols — SPS Rule

SMTP = Sending (भेजना) POP3 = Pulling (खींचना — server से local में, delete होता है) Share करना = IMAP (server पर रहता है, multiple devices access करें)

जब भी email protocol का प्रश्न आए — पहले decide करो "भेजना है या पाना है?" अगर भेजना है → SMTP, बाकी दोनों receiving के लिए हैं। Standard approach: सभी तीनों याद करने की कोशिश — confusion। यह rule: 8 seconds में answer।

patternDevice और Layer — MAC-IP Rule

सिर्फ दो चीज़ें याद करो:

  • MAC address → Data Link Layer (Layer 2) → Switch
  • IP address → Network Layer (Layer 3) → Router
  • कोई address नहीं → Physical Layer (Layer 1) → Hub

अब कोई भी device पूछे — पहले सोचो "यह device कौन सा address use करता है?" Switch MAC use करता है → Layer 2। Router IP use करता है → Layer 3। Step count standard: 7-layer table देखकर खोजना (4 steps) vs. यह rule (1 step)।

patternUsable Hosts Formula — हमेशा 2 घटाओ

Subnet से usable hosts: 2host bits22^{\text{host bits}} - 2

Host bits = 32 - prefix number

/24 → host bits = 8 → 282=2562=2542^8 - 2 = 256 - 2 = 254 /25 → host bits = 7 → 272=1282=1262^7 - 2 = 128 - 2 = 126 /26 → host bits = 6 → 262=642=622^6 - 2 = 64 - 2 = 62

"2 क्यों घटाते हैं?" — Network ID (000...0) और Broadcast ID (111...1) reserve हैं। यह एक fact है जो याद रहा तो कभी गलती नहीं होगी। Standard method: table याद करना (30 seconds). Formula method: 10 seconds।

eliminationFTP vs SFTP — Security पहचानो

प्रश्न में अगर "secure" या "encrypted" शब्द हो → SFTP। अगर सिर्फ "file transfer" हो बिना security mention किए → FTP भी हो सकता है, लेकिन options में SFTP हो तो SFTP prefer करो।

Elimination rule: HTTP (web), SMTP (email), FTP (file) — इन्हें पहले eliminate करो जब "secure file transfer" पूछें। बचता है SFTP। 3 options eliminate = 1 answer। Time: 5 seconds।


तेज़-समाधान रूपरेखा

परीक्षा hall में networking का प्रश्न देखो तो यह sequence follow करो:

Step 1 — प्रश्न का type पहचानो:

Step 2 — Keyword देखो:

Step 3 — Options में eliminate करो: Hub को Layer 2/3 questions से eliminate करो — Hub कभी MAC या IP नहीं पढ़ता। POP3/IMAP को "email sending" questions से eliminate करो।

Step 4 — /24 type questions में: Formula याद करो, calculator मत ढूंढो — 282=2542^8 - 2 = 254 instant होनी चाहिए।


हल किए गए PYQs

क्यों यह प्रश्न: IP addressing IBPS PO में consistently आती है। /24 notation और usable hosts की गणना एक standard trap है जहाँ 256 और 254 में confuse होते हैं।

समाधान का रास्ता: /24 → prefix = 24 → host bits = 32 - 24 = 8 → Total = 282^8 = 256 → Network address (x.x.x.0) और Broadcast address (x.x.x.255) minus करो → 256 - 2 = 254

Previous Year Questionपिछले वर्ष का प्रश्न
What is the maximum number of hosts that can be addressed in a /24 network?
/24 नेटवर्क में अधिकतम कितने hosts को address किया जा सकता है?
  1. 254
  2. 255
  3. 256
  4. 253
  1. 254
  2. 255
  3. 256
  4. 253
Solutionसमाधान
In a /24 network, there are 8 host bits (32-24=8), giving 2^8 = 256 total addresses. However, the first address is reserved for network address and the last for broadcast, leaving 254 usable host addresses.
/24 नेटवर्क में 8 होस्ट बिट्स (32-24=8) होते हैं, जो 2^8 = 256 कुल पते देते हैं। हालांकि, पहला पता नेटवर्क पते के लिए और अंतिम ब्रॉडकास्ट के लिए आरक्षित है, जिससे 254 उपयोग योग्य होस्ट पते बचते हैं।

क्यों यह प्रश्न: Physical layer की specifications — cable distance — एक factual question है। 100m की limit याद न हो तो 150m या 200m पर अटक जाते हो।

समाधान का रास्ता: Cat5e/Cat6 Ethernet का standard = 100 meters। इससे अधिक पर signal degrade होता है। Repeater/Switch से extend करते हैं। Options में 100m दिखे → तुरंत mark करो।

Previous Year Questionपिछले वर्ष का प्रश्न
What is the maximum transmission distance for standard Ethernet cable (Cat5e/Cat6)?
स्टैंडर्ड Ethernet cable (Cat5e/Cat6) की अधिकतम transmission दूरी कितनी होती है?
  1. 50 meters
  2. 100 meters
  3. 150 meters
  4. 200 meters
  1. 50 meters
  2. 100 meters
  3. 150 meters
  4. 200 meters
Solutionसमाधान
The maximum transmission distance for standard Ethernet cable (Cat5e/Cat6) is 100 meters. Beyond this distance, signal degradation occurs, and repeaters or switches are needed to extend the network.
स्टैंडर्ड ईथरनेट केबल (Cat5e/Cat6) की अधिकतम ट्रांसमिशन दूरी 100 मीटर है। इस दूरी से अधिक पर सिग्नल डिग्रेडेशन होता है, और नेटवर्क का विस्तार करने के लिए रिपीटर या स्विच की आवश्यकता होती है।

क्यों यह प्रश्न: Networking commands में ping सबसे basic है लेकिन tracert और nslookup के साथ confuse होता है।

समाधान का रास्ता: "Connectivity जाँचना" = ping (ICMP echo)। Tracert पूरा path दिखाता है। Nslookup DNS lookup करता है। Netstat active connections दिखाता है। Keyword "connectivity" → सीधे ping।

Previous Year Questionपिछले वर्ष का प्रश्न
Which command is used to test network connectivity between two hosts?
दो hosts के बीच network connectivity जाँचने के लिए कौन सा command उपयोग किया जाता है?
  1. tracert
  2. nslookup
  3. ping
  4. netstat
  1. tracert
  2. nslookup
  3. ping
  4. netstat
Solutionसमाधान
The ping command is used to test network connectivity between two hosts. It sends ICMP echo request packets to the destination host and measures the round-trip time for responses.
ping कमांड का उपयोग दो होस्ट के बीच नेटवर्क कनेक्टिविटी का परीक्षण करने के लिए किया जाता है। यह गंतव्य होस्ट को ICMP इको रिक्वेस्ट पैकेट भेजता है और प्रतिक्रियाओं के लिए राउंड-ट्रिप समय को मापता है।

क्यों यह प्रश्न: Email protocols IBPS PO में top-3 networking topics में हैं। SMTP vs POP3 vs IMAP confusion बहुत common है।

समाधान का रास्ता: "Client से mail server पर भेजना" → Sending → SMTP। POP3 और IMAP दोनों receiving के लिए हैं। HTTP web के लिए है। SPS Rule: S = Send = SMTP।

Previous Year Questionपिछले वर्ष का प्रश्न
Which protocol is used for sending emails from a client to a mail server?
client से mail server पर emails भेजने के लिए कौन सा protocol उपयोग किया जाता है?
  1. POP3
  2. IMAP
  3. SMTP
  4. HTTP
  1. POP3
  2. IMAP
  3. SMTP
  4. HTTP
Solutionसमाधान
SMTP (Simple Mail Transfer Protocol) is used for sending emails from a client to a mail server and between mail servers. POP3 and IMAP are used for retrieving emails from servers.
SMTP (सिंपल मेल ट्रांसफर प्रोटोकॉल) का उपयोग क्लाइंट से मेल सर्वर और मेल सर्वर के बीच ईमेल भेजने के लिए किया जाता है। POP3 और IMAP का उपयोग सर्वर से ईमेल प्राप्त करने के लिए किया जाता है।

क्यों यह प्रश्न: OSI model की layer-device mapping सबसे frequently tested concept है। Switch vs Router vs Hub confusion classic trap है।

समाधान का रास्ता: Switch → MAC address use करता है → MAC address Data Link Layer (Layer 2) पर operate होता है → Switch = Layer 2। Router = Layer 3 (IP), Hub = Layer 1 (Physical), Gateway = multiple layers।

Previous Year Questionपिछले वर्ष का प्रश्न
Which networking device operates at the Data Link Layer of the OSI model?
कौन सा नेटवर्किंग डिवाइस OSI मॉडल की Data Link Layer पर काम करता है?
  1. Router
  2. Hub
  3. Switch
  4. Gateway
  1. Router
  2. Hub
  3. Switch
  4. Gateway
Solutionसमाधान
A switch operates at the Data Link Layer (Layer 2) of the OSI model. It uses MAC addresses to forward frames within the same network segment and creates separate collision domains for each port.
स्विच OSI मॉडल की डेटा लिंक लेयर (लेयर 2) पर कार्य करता है। यह समान नेटवर्क सेगमेंट के भीतर फ्रेम को फॉरवर्ड करने के लिए MAC पतों का उपयोग करता है और हर पोर्ट के लिए अलग कॉलिज़न डोमेन बनाता है।

क्यों यह प्रश्न: IP address classes और subnet masks — Class B की /16 notation याद रखना।

समाधान का रास्ता: Class B range = 128.x - 191.x → पहले 2 octets network = 255.255 → last 2 octets host = 0.0 → Subnet mask = 255.255.0.0 (/16)।

Previous Year Questionपिछले वर्ष का प्रश्न
What is the default subnet mask for a Class B network?
Class B नेटवर्क के लिए डिफ़ॉल्ट सबनेट मास्क क्या होता है?
  1. 255.255.0.0
  2. 255.0.0.0
  3. 255.255.255.0
  4. 255.255.255.255
  1. 255.255.0.0
  2. 255.0.0.0
  3. 255.255.255.0
  4. 255.255.255.255
Solutionसमाधान
The default subnet mask for a Class B network is 255.255.0.0 or /16 in CIDR notation. Class B networks have their first two octets reserved for the network portion and the last two for host addresses.
क्लास B नेटवर्क के लिए डिफ़ॉल्ट सबनेट मास्क 255.255.0.0 या CIDR नोटेशन में /16 है। क्लास B नेटवर्क में पहले दो ऑक्टेट्स नेटवर्क भाग के लिए और अंतिम दो होस्ट पतों के लिए आरक्षित होते हैं।

क्यों यह प्रश्न: Security-related protocols में FTP vs SFTP distinction महत्वपूर्ण है। Banking context में secure transmission crucial है।

समाधान का रास्ता: "Secure file transfer" → SFTP (SSH File Transfer Protocol)। FTP plain text में transfer करता है — असुरक्षित। HTTP web के लिए, SMTP email के लिए। Keyword "सुरक्षित" + "file" = SFTP।

Previous Year Questionपिछले वर्ष का प्रश्न
Which of the following protocols is used for secure file transfer over a network?
नेटवर्क पर सुरक्षित फ़ाइल ट्रांसफर के लिए निम्नलिखित में से कौन सा प्रोटोकॉल उपयोग किया जाता है?
  1. FTP
  2. SFTP
  3. HTTP
  4. SMTP
  1. FTP
  2. SFTP
  3. HTTP
  4. SMTP
Solutionसमाधान
SFTP (Secure File Transfer Protocol) is used for secure file transfer over a network. It provides encryption and authentication, unlike regular FTP which transmits data in plain text.
SFTP (सिक्योर फाइल ट्रांसफर प्रोटोकॉल) का उपयोग नेटवर्क पर सुरक्षित फाइल स्थानांतरण के लिए किया जाता है। यह एन्क्रिप्शन और प्रमाणीकरण प्रदान करता है, नियमित FTP के विपरीत जो डेटा को सादे टेक्स्ट में स्थानांतरित करता है।

क्यों यह प्रश्न: OSI model में "routing" किस layer की ज़िम्मेदारी है — यह conceptual question है।

समाधान का रास्ता: "Networks के बीच packet routing" → IP addresses use होते हैं → IP = Network Layer (Layer 3)। Physical = bits/cables, Data Link = same network के frames, Transport = end-to-end (TCP/UDP)।

Previous Year Questionपिछले वर्ष का प्रश्न
Which layer of the OSI model is responsible for routing packets between networks?
OSI मॉडल की कौन सी लेयर नेटवर्कों के बीच पैकेट्स की रूटिंग के लिए जिम्मेदार होती है?
  1. Physical Layer
  2. Data Link Layer
  3. Network Layer
  4. Transport Layer
  1. Physical Layer
  2. Data Link Layer
  3. Network Layer
  4. Transport Layer
Solutionसमाधान
The Network Layer (Layer 3) of the OSI model is responsible for routing packets between networks. It handles logical addressing using IP addresses and determines the best path for data transmission.
OSI मॉडल की नेटवर्क लेयर (लेयर 3) नेटवर्क के बीच पैकेट रूटिंग के लिए जिम्मेदार है। यह IP पतों का उपयोग करके लॉजिकल एड्रेसिंग को संभालती है और डेटा ट्रांसमिशन के लिए सबसे अच्छा पथ निर्धारित करती है।

आम गलतियाँ


संबंधित विषय

SarkariRise पर अभ्यास

Sign up + get 3 free mocks →