Free tutorials & notes in Hindi & English · Clean code examples 🧰 मुफ़्त PDF और फ़ोटो टूल्स →
🌐 Unit 2 – Computer Networks  ·  Lesson 16

Network Devices और Topologies

Network devices

Computers जोड़ने, signals मज़बूत करने और data सही दिशा में भेजने के लिए ख़ास hardware devices चाहिए।

Computer (NIC)SwitchRouterModemInternet
School PC से Internet तक data का रास्ता

Modem

MOdulator–DEModulator। यह computer के digital signals को telephone/cable line के लिए analog में बदलता है (modulation) और वापस (demodulation)। आपके broadband या fibre box में modem होता है।

Ethernet card (NIC)

Network Interface Card RJ45 connector से computer को wired network से जोड़ता है। हर NIC का manufacturer द्वारा डाला गया unique 48-bit MAC address होता है, जैसे 00:1A:2B:3C:4D:5E।

Repeater

Cable पर लगभग 100 m चलने के बाद signals कमज़ोर हो जाते हैं। Repeater कमज़ोर signal लेकर उसे पूरी ताक़त से दोबारा बनाता और आगे भेजता है, ताकि network ज़्यादा दूरी cover करे।

Hub vs Switch

Hub

  • Data सभी ports पर भेजता है (broadcast)
  • कौन कौन है, नहीं जानता
  • ज़्यादा traffic और collisions
  • सस्ता, अब पुराना

Switch

  • Data सिर्फ़ destination port पर
  • MAC addresses की table इस्तेमाल करता है
  • कम traffic, ज़्यादा सुरक्षित
  • हर modern LAN में

Router और Gateway

Router अलग-अलग networks (जैसे आपका home LAN और ISP का network) जोड़ता है और IP addresses से हर packet का सबसे अच्छा रास्ता चुनता है। Gateway network का entry/exit point है जो अलग protocols वाले networks के बीच translate भी कर सकता है। घर में Wi-Fi router आमतौर पर दोनों का काम करता है।

Wi-Fi card / access point

Wi-Fi card device को wireless LAN से जोड़ता है; wireless access point (WAP) wireless devices को wired network से जोड़ता है।

📞
ModemDigital ⇄ analog conversion
🔌
NICPC जोड़ता है; MAC address
📶
Repeaterकमज़ोर signals दोबारा बनाता है
🔀
Switchसही port पर भेजता है
🧭
RouterNetworks जोड़ता है; IP
🚪
GatewayEntry point; protocol translation
हर device एक line में

Topology क्या है?

Topology वह arrangement (layout) है जिसमें network के nodes जुड़े होते हैं।

Bus topology

सभी nodes एक ही cable से जुड़े होते हैं जिसे backbone कहते हैं, दोनों ends पर terminators होते हैं।

one backbone cable (bus) shared by all computersPC1PC2PC3PC4PC5PC6
Bus topology

Star topology

हर node बीच के hub या switch से जुड़ा होता है। यह सबसे आम LAN layout है।

PC1PC2PC3PC4PC5PC6Switch / Hub
Star topology

Ring topology

हर node दो पड़ोसियों से जुड़कर बंद ring बनाता है; data एक दिशा में चलता है।

data goes round in one directionPC1PC2PC3PC4PC5PC6
Ring topology

Mesh topology

हर node बाकी हर node से जुड़ा होता है, जिससे कई वैकल्पिक रास्ते मिलते हैं।

PC1PC2PC3PC4PC5
Mesh topology
Python
# Number of cables needed in a full mesh of n computers
def mesh_links(n):
    return n * (n - 1) // 2
for n in [4, 5, 10, 50]:
    print(n, 'computers -> mesh needs', mesh_links(n), 'links | star needs', n)
4 computers -> mesh needs 6 links | star needs 4 5 computers -> mesh needs 10 links | star needs 5 10 computers -> mesh needs 45 links | star needs 10 50 computers -> mesh needs 1225 links | star needs 50

Tree topology

Root से जुड़े star networks की hierarchy – जैसे school का main switch हर block के switches से जुड़ा हो।

Main switchSwitch ASwitch BPC1PC2PC3PC4PC5
Tree (hierarchical) topology

तुलना और case study

Topologyफ़ायदेनुकसान
Busसस्ती, सबसे कम cable, nodes जोड़ना आसानBackbone ख़राब तो सब बंद; fault ढूँढना मुश्किल
Starलगाना और संभालना आसान; एक PC ख़राब होने से बाकी पर असर नहींHub/switch ख़राब तो सब बंद; bus से ज़्यादा cable
RingCollisions नहीं, सबको बराबर मौकाएक break से ring रुक सकती है
Meshबहुत reliable, कई रास्तेसबसे महँगी, जटिल cabling
TreeGroups में बढ़ाना आसानRoot ख़राब तो branches पर असर
✅ Board-style case study

एक school में 4 blocks हैं: Admin (30 PCs), Science (60), Library (20) और Sports (10)। Server: Science block में (सबसे ज़्यादा computers)। Topology: हर block में star, blocks के बीच tree/star। Devices: हर block में switch; कोई cable लगभग 100 m से लंबी हो तो repeater; Internet के लिए server block में एक router/modem। Blocks के बीच सबसे अच्छा wired medium: optical fibre।

अक्सर पूछे जाने वाले प्रश्न (FAQ)

Hub और switch में क्या फ़र्क है?
Hub आने वाला data हर port पर भेजता है। Switch MAC addresses सीखकर data सिर्फ़ destination device के port पर भेजता है, इसलिए तेज़ और ज़्यादा सुरक्षित है।
दो अलग networks को कौन सा device जोड़ता है?
Router IP addresses से networks जोड़ता है; gateway अलग-अलग protocols वाले networks जोड़ता है।
कौन सी topology सबसे reliable है?
Mesh, क्योंकि हर node के कई रास्ते होते हैं; पर इसमें सबसे ज़्यादा cabling लगती है।
← Class 12 Computer Science
🔗

Share this topic with a friend

यह topic किसी दोस्त को भेजें

Found it useful? Send it to a classmate learning the same thing.

अच्छा लगा? जो दोस्त यही सीख रहा है, उसे भेज दीजिए।

अगला topicData Communication और Media आपकी प्रगति: 16 / 26 (62%) · Lesson 17 / 26 आगे बढ़ें →

यह lesson कैसा लगा?

आपकी राय से हम content और बेहतर बनाते हैं।

अपना review और सुझाव लिखें (वैकल्पिक)

Review approve होने के बाद आपका नाम और शहर इसके साथ public दिख सकते हैं। Email या phone न लिखें।

▶ CodingEasily on YouTube

Video से सीखें – आसान Hindi में

चुनी हुई video: RDBMS भाग 3 – Class XI Commerce IT

▶ Channel subscribe करें