You are on page 1of 77

CCNA in Hindi - Networks - Best Hindi Tutorials

Introduction to Networking
Network शब्द को अलग अलग संदर्भ में प्रयोग ककया जाता है , जैसे की telephone नेटवकभ, computer
नेटवकभ और peoples नेटवकभ आकद। एक computer network कुछ devices से कमलकर बना होता है जो
आपस में wire से या wirelessly connected होते है ।

जैसा की आप ऊपर कदए गए diagram में दे ख सकते है अलग अलग devices आपस में connected है ।
यह एक simple computer नेटवकभ है ।
What is Networking (in plain Hindi)
Networking एक process होती है कजसमें networks को create और configure ककया जाता है । यह कायभ
hardware और software दोनों के उपयोग से ककया जाता है ।
नेटवकभ को create करने के कलए hardware के रूप में अलग अलग networking devices जैसे की hub,
switch, router आकद use ककये जाते है । Software के रूप में protocols के अलावा आप इन devices को
command line interface के द्वारा एक दू सरे के साथ काम करने के कलए configure और manage करते है ।
नेटवकभ establish होने के बाद उसके सर्ी devices आपस में communication और information sharing
करते है । इन devices के द्वारा share की जाने वाली information कई प्रकार की हो सकती है । जै से की
Messages, Documents, Music, Files, Databases आकद।
Communicate करने के कलए devices कुछ rules follow करते है । ये rules protocols कहलाते है । कुछ
common protocols की list नीचे दी जा रही है ।
 TCP(Transmission control protocol)
 UDP(User Datagram Protocol)
 IP (Internet Protocol)
 HTTP (Hyper Text Transfer Protocol)
 SMTP (Simple Mail Transfer Protocol)
सर्ी नेटवकभ communication के कलए एक model follow करते है । ये model एक blueprint होता है जो
define करता है की communication कैसे होगा। सबसे common model TCP/IP है ।
Types of Networks
Networks को उनकी size के according कई categories में divide ककया गया है ।
LAN (Local Area Network)
यह एक high speed नेटवकभ होता है । ये बहुत ही छोटा होता है । जैसे की एक कबल्डं ग या कैंपस के कलए
LAN को use ककया जा सकता है । LAN में communication के कलए different technologies यूज़ की जाती है
कजनमे Ethernet सबसे common technology है ।
WAN (Wide Area Network)
एक WAN network कई LANs को आपस में connect करता है । ये बहुत बडा area cover करता है । अलग
अलग दे शों के नेटवकभ आपस में WAN के द्वारा ही connected रहते है । ये एक ग्लोबल नेटवकभ होता है ।

MAN (Metropolitan Area Network)


ये कई LANs को आपस में connect करता है । लेककन इसका area छोटा होता है , जैसे की कोई campus,
city या state आकद।
VPN (Virtual Private Network)
इस नेटवकभ से आप अपनी information ककसी public network के द्वारा securely र्ेज सकते है ।इसे ककसी
organization की 2 branches के बीच establish ककया जा सकता है ।
Network Architectures
Architectures के बारे में जानने से पहले आइये कुछ basic terms के बारे में जानने का प्रयास करते है ।
 Host – Host कोई र्ी वो device होता है जो network से connected होता है ।
 Client – वो host जो data या service के कलए request करता है client कहलाता है । उदाहरण के कलए
आप ककसी web page के कलए web browser के द्वारा request करते है ।
 Server – वो host जो data या service प्रोवाइड करता है , server कहलाता है ।
 Peer – ऐसा host जो data या service के कलए request र्ी कर सकता है और provide र्ी कर
सकता है , Peer कहलाता है ।
आइये अब different architectures के बारे में जानते है ।
Peer to Peer Architecture
ककसी र्ी peer to peer architecture में सर्ी host data/service के कलए request र्ी कर सकते है और
data/service प्रोवाइड र्ी कर सकते है ।

Client/Server Architecture
Client/server architecture में एक host server होता है और बाकी सब host client होते है । सर्ी clients
data/service के कलए server को request करते है और server सर्ी clients को response करता है ।

Mainframe Architecture
Mainframe architecture में data/services एक ही host पर store होती है कजसे mainframe कहते है । सब host
इस mainframe से जुडे होते है कजन्हे terminals कहते है । ये terminals dumb होते है और खुद कुछ र्ी
task perform नहीं करते है । Terminals को कसर्भ input और output के कलए यूज़ ककया जाता है ।

CCNA in Hindi - OSI Model - Best Hindi Tutorials


7-9 minutes

 Introduction to OSI model in Hindi


 Layers of OSI model in Hindi

Introduction to Open Systems Interconnection (OSI) Model


OSI model को ISO (International Organization for Standardization) ने 1984 में डे वलप ककया था।
ये एक reference model है , याकन इसका real life में कोई यूज़ नहीं होता है । Real life में आप इसी के base
पर बना हुआ TCP/IP (Transmission control protocol/ Internet Protocol ) model यूज़ करते है ।
OSI model को data की journey को समझने के कलए बनाया गया है । OSI model के माध्यम से आप
समझ सकते है की data कैसे एक network से दू सरे network में जाता है । और इस दौरान डे टा के साथ
क्या क्या processing होती है ।
OSI model 7 layers से कमलकर बना होता है । ये सर्ी layers डे टा के साथ कुछ ना कुछ processing करती
है । और जब data दू सरी तरर् उसी layer में पहुुँ चता है तो ये processing डे टा से हट जाती है । हर layer
पर data को अलग अलग नामों से जाना जाता है ।

ये layers दोनों तरर् होती है sender की तरर् र्ी और receiver की तरर् र्ी। और ये layers descending
order में होती है याकन आल्खरी layer सबसे ऊपर आती है और पहली layer सबसे कनचे आती है । आइये
इन layers के बारे में जानने का प्रयास करते है ।

Layers of OSI Model


Application Layer

Application layer यूज़र की एप्लीकेशन और नेटवकभ के बीच इं टरफेस प्रोवाइड करती है । जैसे की एक
वेब ब्राउज़र (Internet explorer, Mozilla firefox, chrome) या कोई ईमेल क्लाइं ट (Outlook, Thunderbird)
आकद।
ये सर्ी applications आपको network पर काम करने के कलए इं टरफेस provide करती है । यूज़र की
application एप्लीकेशन लेयर में नहीं होती है बल्ि protocol होता है जो यूज़र के operations को control
करता है ।
यूज़र एप्लीकेशन से interact करता है और application network से interact करती है । जैसे की कोई web
address open करना। Application layer पर बहुत से protocol यूज़ ककये जाते है कजनमे से कुछ कनचे कदए
जा रहे है ।

 HTTP (Hyper text transfer protocol)


 FTP (File Transfer Protocol)
 POP 3 (Post Office Protocol)
 SMTP (Simple mail transfer protocol)
 Telnet

ये सर्ी protocols network से interact करने के कलए यूज़ ककये जाते है । Application layer कुछ tasks
perform करती है जो नीचे कदए जा रहे है ।

1. Communicate करने वाले partners को application layer पहचानती है ।


2. Data की availability का track रखना।
3. Communication को synchronize करना।
4. Basic email सकवभ स प्रोवाइड करना।
5. File transfer शुरू करना।
Presentation Layer

Presentation layer OSI model की 6th layer होती है । ये layer data के presentation के कलए responsible होती
है । ये layer ये verify करती है की जो data sender र्ेज रहा है वो receiver side के समझ में आये । इसके
कलए दोनों receiver और sender कुछ data standards follow करते है ।

Data standards

 Text – RTF, ASCII


 Images – JPG, GIF
 Audio – MP3, WAV
 Movies – AVI, MPEG

ये कुछ common data standards है कजन पर दोनों side agree करती है । उदाहरण के कलए यकद sender कोई
image र्ेज रहा है तो वह JPG format में होनी चाकहए ताकक receiver उसे दे ख सके।
ये layer data की formatting करती है । इस layer से data सीधा application layer पर जाता है , जुँहा वो यूज़र
को show होता है । इसकलए ये सारी कजम्मेदारी presentation layer की होती है की data यूज़र को कैसे
present होगा।
यकद sender और receiver एक ही format को support नहीं करते है तो presentation layer translation और
conversion की services र्ी प्रोवाइड करती है । Presentation layer के कुछ functions नीचे कदए जा रहे है ।

 Raw data को translate करती है ।


 उसे encrypt करती है ।
 और उस data को compress करती है ।

Session Layer

Session layer OSI model की 5th layer है । ये layer sender और receiver के बीच session establish करती है ,
उस session को जब तक maintain करती है जब तक की data transfer ना हो जाये और data transfer होने
के बाद उस session को terminate करती है ।
यकद कोई session बीच में break हो जाये तो इस layer में उसे recover करने की ability होती है । ये layer
data synchronization के कलए र्ी responsible होती है ।

 Session establish करती है ।


 उसे maintain करती है ।
 और terminate करती है ।

Transport Layer

Transport layer OSI model की 4th layer होती है । ये layer data के reliable transfer के कलए responsible
होती है । Data order में और error free पहुं चे ये इसी layer की कजम्मेदारी होती है । Transport layer 2 तरह
से communicate करती है connectionless और connection oriented।
Connectionless communication के कलए UDP और connection oriented के कलए TCP/IP protocols यू ज़ ककये
जाते है । Connectionless communication fast होता है लेककन ये डे टा के error free होने और सही ढं ग से
पहुचने की guarantee नहीं दे ता है ।
Connection oriented communication data के error free होने और ढं ग से पहुचने की guarantee दे ता है । ये
communication कुछ services प्रोवाइड करता है –

 Segmentation – Data को र्ेजने से पहले छोटे छोटे segments में convert ककया जाता है ।
 Sequencing – हर segment को एक sequence number कदया जाता है ।
 Connection establishment – Data को र्े जने से पहले sender और receiver के बीच connection establish ककया
जाता है ।
 Acknowledgment – जब segment पहुचता है तो उसका acknowledgment आता है की इतने number का
segment आ चूका है उसे दु बारा र्े जने की जरुरत नही है ।
 Flow control – Data की transfer rate को confirm ककया जाता है ।
Network Layer

यह layer OSI model की 3rd layer होती है । ये layer network communication के कलए responsible होती है ।
Network layer में data packets में convert हो जाता है । Network layer के 2 प्रमुख काम होते है जो नीचे
कदए जा रहे है ।

 Logical addressing – Network layer डे टा को network में travel करने के कलए IP address provide करती है ये IP
address डे टा को destination तक पहुचने के कलए responsible होती है ।
 Routing – Data को एक network से दू सरे network में र्ेजना र्ी network layer की कजम्मेदारी होती है ।

Network layer पर IP (Internet Protocol) यूज़ ककया जाता है ।

Data Link Layer

Data link layer OSI model की 2nd layer है । ये layer network के अंदर data को transport करने के कलए
responsible होती है । Data link layer की 2 sub layers होती है ।

 Logical link control – LLC sub-layer physical layer और बाकी ऊपर की layers के बीच में एक link establish
करती है ।
 Media access control – MAC sub layer physical medium के access को control करती है ।

Data link layer नेटवकभ लेयर के data को frames में पैक करती है । Data link layer में डे टा frames में
convert हो जाता है । ताकक data को ककसी physical medium के through र्े जा जा सके। ये process framing
कहलाती है ।
Frames source और destination devices के hardware address contain करते है । ककसी network में host को
uniquely identify करने के कलए hardware address यूज़ ककया जाता है । सबसे common hardware address
Ethernet का MAC address होता है ।

Physical Layer

Physical layer OSI model की 1st layer है । इस layer में data bits में convert हो जाता है ।
इस layer के द्वारा डे टा physical mediums के द्वारा transfer ककया जाता है जैसे की Cables आकद। ये पुरे
OSI model की एक मात्र ऐसी layer है जो वास्तव में physically 2 के बीच communication establish करती
है । Physical layer के devices में NIC cards और different cables आती है ।
Physical layer के functions नीचे कदए जा रहे है ।

 Data rate – ये layer data rate define करती है , जैसे की एक second में ककतनी bits transfer होगी।
 Synchronization – ये layer sender और receiver को bit level पर synchronize करती है ।
 Signals – ये layer bits को signals में convert करके र्े जती है ।

Ethernet

Introduction to Ethernet (What is it?)


ककसी local area network में network devices को कजस cable technology से आपस में connect ककया जाता
है वह ethernet होती है ।
Ethernet cable technology सामान्य cables से अलग होती है । इसे मुख्यतौर पर data communication के कलए
ही design ककया गया है । यह technology एक पूरा system होता है कजसमें cables के अलावा protocols र्ी
होते है ।
Protocols ये define करते है की cables के द्वारा कैसे devices आपस में communicate और data transfer
करें गे। Ethernet को 1970 में xerox ने develop ककया था। उस समय इसकी स्पीड 2 से 3 MB के बीच थी।
Ethernet का standard नाम IEEE 802.3 है ।
यह एक LAN technology है । कजससे आप computers को आपस में connect कर सकते है और एक
Local Area Network बना सकते है । इस technology में आप information के flow को control करने के
कलए protocols यूज़ करते है ।
Ethernet technology में आप cables की सहायता से computers को connect करते है । शुरू में Ethernet
technology में coaxial cables ही यूज़ की जाती थी। लेककन अब twisted pair और fiber cables र्ी यू ज़ की
जाती है ।
Ethernet technology के साथ आप LAN कई प्रकार से बना सकते है कजसे topology कहते है । जैसे की
Bus, star, ring और mesh topology आकद। इस technology में cables का बहुत बडा role होता है । आइये
Ethernet technology में यू ज़ होने वाली अलग अलग प्रकार की cables के बारे में जानने का प्रयास करते
है ।
Ethernet Cables
Ethernet technology में 3 तरह की cables यूज़ की जाती है
Coaxial Cable
इस तरह की केबल में एक कसं गल wire होता है जो insulator, metal की shield और plastic के खोल से
किरा रहता है । Insulator signal को control करता है ।
Metal की shield wire को electromagnetic interference से बचाती है ताकक signal बीच में ही destroy ना हो
और plastic का खोल wire को बाहरी अवरोधों से बचाता है जैसे की पानी और आग। Coaxial cabling
ज्यादातर televisions के कलए यूज़ की जाती है ।
2 तरह की coaxial cable यूज़ की जाती है –
1. Thick net – इस तरह की coaxial cable थोडी मोटी होती है और इसमें shielding र्ी ज्यादा होती
है । Thick net coaxial cables लंबी दु री के कलए यूज़ की जाती रही है । लेककन ये केबल reliable नहीं
होती है । इस तरह की Coaxial cables को connect करने के कलए Vampire tap यूज़ होता है ।
2. Thin net – इस तरह की coaxial cable normal size की होती है । ये cables thick net cables के
comparison में ज्यादा reliable होती है । इस तरह की coaxial cables को connect करने के कलए
BNC connector यूज़ ककये जाते है ।
Twisted Pair Cable
ये Ethernet technology में सबसे ज्यादा यूज़ होने वाली केबल है । Twisted pair cables में 2 या 4 copper
wires के जोडे plastic के खोल से किरे रहते है । Copper wire के जोडे एक दू सरे के कलपटे होते है ताकक
cross talk ना हो। Cross talk उस error को कहते है जब एक wire का signal दू सरे wire के signal
को disturb कर दे ता है ।
Twisted pair cables 2 तरह की होती है –
1. Shielded – Shielded twisted pair केबल में cable को एक shield cover करती है । ये केबल
electromagnetic interference से ज्यादा बचाव करती है ।
2. Un-shielded – Un-shielded twisted pair cable में कोई shield नहीं होती है और ये shielded twisted
pair cable से अकधक सुरक्षा प्रोवाइड करती है ।
Twisted pair cable की कई categories होती है । ये categories एक इं च में ककतने twist है इस बेस पर
कडर्ाइन की गयी है –
 Cat3 – इस category की केबल में हर इं च में 3 twist होते है ।
 Cat5 – इस category की केबल में हर इं च में 5 twist होते है ।
 Cat5e – इस केटे गरी की केबल में हर इं च में 5 twist होते है और pairs को र्ी आपस में twist
ककया जाता है ।
 Cat6 – इस category की केबल में हर इं च में 6 twist होते है ।
Fiber Optic Cable
Coaxial cable और twisted pair cable electronic signals की मदद से डे टा को ले जाती है । जबकक fiber
optic cables light के माध्यम से डे टा को ले जाती है । इस तरह की cables में पतले पतले धागे जैसे कदखने
वाले तार होते है । ये तार या तो plastic के होते है या glass के होते है ।
Fiber optic cables की bandwidth दू सरी metal cables से ज्यादा होती है । इसका मतलब ये है की ये केबल
दू सरी केबल्स से अकधक डे टा carry कर सकती है । इन cabels में signal के ख़राब होने के बहुत कम
chance होते है । Fiber optic cables दू सरी cables से पतली और हलकी होती है ।
Ethernet technology में 2 तरह की fiber optic cables यूज़ की जाती है –
1. Single mode fiber – Single mode fiber optic cables में एक बार में एक ही data ray travel करती
है ।
2. Multi mode fiber – Multi mode fiber optic cables में एक बार में multiple data rays travel कर
सकती है ।
Ethernet Network Topology
एक topology ये बताती है की physically network कैसे design ककया गया है या network का structure क्या
है । ये design physical और logical दोनों तरह की होती है । वैसे तो network topology 4 तरह की होती है
Bus, Star, Ring और Mesh। लेककन Ethernet में 2 ही तरह की topology यू ज़ की जाती है Bus और Star।
आइये इन दोनों topology के बारे में जानने का प्रयास करते है ।
Bus Topology
एक bus topology में सर्ी computers एक wire से connected रहते है । जब र्ी कोई एक computer
फ्रेम र्ेजता है तो वो topology में available बाकक सर्ी computer के पास जाता है लेककन उसे accept वही
computer करता है कजसका MAC address फ्रेम से मैच करता है ।

Bus topology की सबसे बडी disadvantage ये है की यकद wire कर्ी ख़राब हो जाता है तो सर्ी
computers का communication एक साथ ठप हो जाता है । Computers के पास एक दू सरे से separately
communication का कोई माध्यम नहीं होता है ।
Star Topology
Star topology में सर्ी hosts एक switch या hub से जुडे होते है और ये hosts hubs और switches के
माध्यम से एक दू सरे को frames र्ेजते है ।

Hubs intelligent नहीं होते है । जब hub के माध्यम से frames र्ेजे जाते है तो hub वो frames सर्ी hosts को
र्ेजता है और कजस host के साथ MAC address match होता है वही host उसे receive करता है ।
Switch intelligent devices होते है । Switches सर्ी hosts की address table maintain करते है । इसकलए जब
र्ी कोई host कोई frame र्ेजता है तो वो सबके पास ना जाकर only उसी host के पास जाता है कजसका
MAC address मैच करता है ।
Star topology की सबसे बडी disadvantage ये होती है की यकद switch या hub फैल हो जाये तो सारा
नेटवकभ fail हो जाता है ।
Ethernet Frame
Ethernet data link layer technology है । Data link layer में data को frames के नाम से जाना जाता है । एक
frame की size 64 bytes से लेकर 1522 bytes तक हो सकती है । Frame में कुछ fields ऐसे होते है कजनकी
size कर्क्स होती है । इन fields के बारे में जानकारी नीचे दी जा रही है ।
Preamble
इस field की size 7 bytes होती है । ये field synchronization purpose के कलए यूज़ ककया जाता है ।
Start of Frame
इस field की size 1 byte होती है । ये field फ्रेम के starting point को दशाभ ता है ।
Destination MAC Address
इस field की size 6 bytes होती है । ये field destination host के MAC address को contain करके रखता है ।
Source MAC Address
इस field की size र्ी 6 bytes होती है । ये field source host के MAC address को contain करता है ।
802. 1Q Tag
इस field की size 4 bytes होती है । ये field optional होता है । ये tag VLAN configuration शो करने कलए
यूज़ ककया जाता है ।
Length
इस field की size 2 bytes होती है । ये field complete फ्रेम की साइज को शो करता है ।
Payload
इस field की size 42 bytes से 1500 bytes तक हो सकती है । ये आपका actual डे टा होता है ।
CRC (Cyclic Redundancy Check)
इस field की size 4 bytes होती है । ये field frame की errors को शो करता है ।
Inter-frame Gap
इस field की size 12 bytes होती है । ये field frames के बीच में time gap को दशाभ ता है ।

CCNA in Hindi - Hubs - Best Hindi Tutorials


3 minutes

 Introduction to hubs in Hindi


 Working of hubs in Hindi
 CSMA/CD in hubs in Hindi
 Collision domain in Hindi
Introduction to Hubs
Hubs को repeaters र्ी कहते है । ये layer 1 device होते है । ये devices के बीच connection establish करते
है और network reach बढ़ाते है । Hubs intelligent नहीं होते है । ये logical और physical address के base पे
डे टा को forward नहीं कर सकते है ।

Working of Hubs
जब कोई host frame send करता है तो hub उस फ्रेम को सर्ी ports में forward कर दे ता है । Hubs frame
के type को र्ी अलग अलग नहीं करते है चाहे frame unicast हो चाहे multicast हो या broadcast हो सर्ी
फ्रेम को सर्ी ports में forward कर दे ते है ।

हालां कक एक hub frame को सर्ी ports को र्ेजता है लेककन frame वही accept करता है कजसका MAC
address frame के destination MAC address field से मैच करता है । बाकी hosts इसे receive करने के बाद
discard कर दे ते है ।
CSMA/CD (Carrier Sense Multiple Access with Collision Detection)
Hubs half duplex communication perform करते है । मतलब या तो कोई host डे टा send कर सकता है या
receive कर सकता है । दोनों काम एक साथ नहीं ककये जा सकते है । इसकलए frames बहुत ज्यादा क्रैश
होते है । क्योंकक जब कोई एक host frame send कर रहा होता है तो दू सरा host र्ी उसी समय frame सेंड
कर रहा होता है । इसे collision कहते है ।
Collision से बचने के कलए एक technique यूज़ की जाती है । कजसे CSMA/CD (Carrier Sense Multiple
Access with Collision Detection) कहते है ।
इस technique में कोई र्ी host फ्रेम send करने से पहले चेक करता है की link खाली है या नहीं। यकद
कलंक में कोई signal होता है तो ये host wait करता है । जब कलंक खाली हो जाती है । तब ये host अपना
frame सेंड करता है ।

जब collision होता है तो frame send करने वाले hosts को पता चल जाता है । जो frames र्ेजे गए थे वो
frames destroy हो जाते है । और hosts एक jam signal send करते है । जो शो करता है की दोनों hosts
wait करने वाले है । दोनों hosts का waiting time अलग अलग होता है ।
याकन एक host यकद वापस frame सेंड करने से पहले 10 second wait करे गा तो दू सरा host 15 second wait
करे गा ताकक दु बारा collision ना हो।
Collision Domain
याद रखे जब र्ी hub से connected 2 device एक साथ frames send करें गे तो collision होगा। इसकलए hub
से connected सर्ी devices एक ही collision domain के अंदर आते है । ये single collision domain को
represent करते है ।
CCNA in Hindi - Switches - Best Hindi Tutorials
3 minutes

 Introduction to switches in Hindi


 Working of switches in Hindi
Introduction to Switches
Switches intelligent devices होते है । Switches को intelligent इसकलए माना जाता है क्योंकक switches में
memory होती है कजससे switches hardware address tables maintain करते है ।
इन tables में सर्ी hosts का address store होता है और साथ ही कौनसा host ककस port के माध्यम से
switch से जुडा हुआ है ये र्ी store रहता है । एक switch LAN के अं तगभत hosts को आपस में connect
करने के कलए यूज़ ककया जाता है । Switch से आप 2 networks को आपस में connect नहीं कर सकते है ।
अलग अलग networks को आपस में connect करने के कलए router का यू ज़ ककया जाता है ।

एक switch की hardware address table इस प्रकार हो सकती है ।

Working Of a Switch
जब र्ी कोई host ककसी दू सरे host को कोई frame send करता है तो source host का MAC address
switch की address table में port के साथ store हो जाता है । एक switch हमेशा source का address ही table
में store करता है ।
मेरा मतलब जब तक की कोई host कुछ data send नहीं करे गा तब तक उसका MAC address और port
number switch की table में store नहीं होगा।
Building of Switch Table
जब आप शुरू में switch को setup करते है तो switch को ककसी र्ी host और उसके address की कोई
जानकारी नहीं होती है । ऐसी situation में जब कोई host frame send करता है तो उसका MAC address तो
table में store हो जाता है ।
लेककन destination की कोई र्ी जानकारी नहीं होने की वजह से switch उस frame को सर्ी hosts को
send कर दे ता है । ऐसे ही जब दू सरा host कुछ data send करता है तो उसका address र्ी table में store
हो जाता है । ऐसे जब र्ी कोई host frames र्ेजता है ।
और यकद उसका address पहले से table में मौजू द नहीं है तो switch उसे store कर लेता है । इस प्रकार
एक switch अपनी table build करता है । जब सर्ी hosts के addresses और port numbers switch में आ
जाते है तो switch कबना सर्ी hosts को frame र्े जे केवल कजस host के कलए data र्ेजा गया है उसी host
को deliver करता है ।

जैसा की मैने आपको बताया था की hubs half duplex communication करते है । Hubs के साथ या तो आप
send कर सकते है या केवल receive कर सकते है ।
लेककन switches के साथ ऐसा नहीं है switches के साथ आप एक साथ data send र्ी कर सकते है और
receive र्ी कर सकते है । Hubs एक single collision domain को represent करते है लेककन ल्िच में हर
port एक separate collision domain होता है । इससे दू सरे hosts पर कोई र्कभ नहीं पडता है ।
Layer 2 switching के बारे में जानकारी प्राप्त करने के कलए आप Layer 2 switching in Hindi tutorial पढ़
सकते है ।
CCNA in Hindi - Routers - Best Hindi Tutorials
3 minutes

 Introduction to router in Hindi


 Protocols used with router in Hindi
 Working of routers in Hindi
Introduction to Router (What is it?)
Routers network layer devices होते है । Network layer पर data को packets के नाम से जाना जाता है ।
Routers packets को एक network से दू सरे network में forward करने का काम करते है । Routers र्ी
address table maintain करते है ।

एक बात आपको हमेशा ध्यान रखनी चाकहए की Router ककसी packet को destination host को नहीं र्ेजता
है बल्ि destination network को र्ेजता है । उदाहरण के कलए कोई host ककसी दू सरे host को data र्ेज
रहा है जो की दू सरे network में है ।
Router का इस situation में कसर्भ इतना role है की वो data को एक network से receive करता है और
दू सरे network में र्ेजता है । इसके बाद data को host तक पहुचाने की कजम्मेदारी switch की होती है ।
जैसे की मैने आपको पहले बताया routers routing tables maintain करते है ।
एक simple routing टे बल में एक packet की final destination network का IP address होता है , next network
का IP address होता है , और routing metrics होती है । Final destination network वो network होता है कजसमे
destination host होता है कजसके कलए data र्ेजा गया है ।
Next network वो network होता है तो जो source network और destination network के बीच होता है । ऐसे
networks को next hop र्ी कहते है । और routing metrics final network तक shortest path find करने के
कलए यूज़ की जाती है ।
A Routing Table
एक routing table इस प्रकार हो सकती है ।

Protocols
Routers data को ककसी network में forward करने के कलए 2 तरह के protocols यूज़ करते है ।
1. Routed protocols – इस तरह के protocols में हर device को manually एक IP address कदया जाता
है । तब ही devices एक दू सरे की location को जान पाते है । इस तरह के protocol का उदाहरण
IP (Internet Protocol) है । इस तरह के protocols के माध्यम से data र्ेजा जाता है ।
2. Routing protocols – इस तरह के protocols routers के बीच में यूज़ होते है । इनकी मदद से routers
अपनी routing tables को update करते है । जब ककसी router को ककसी नए network की जानकारी
कमलती है तो वो इसे अपनी routing table में update कर लेता है और ये information दू सरे routers
के पास automatically routing protocols की मदद से update हो जाती है । Routing protocols के
उदाहरण में मुख्य नाम EIGRP, RIP और OSPF है ।
Working of Routers
Connect to two different networks.
To search best path for transfer data and information.

CCNA in Hindi - Router Components - Best Hindi


Tutorials
5-6 minutes

 Introduction to router components in Hindi


 Router boot process in Hindi
 Types of router ports in Hindi
Introduction to Router Components
एक router कई प्रकार के components से कमलकर बना होता है । उदाहरण के कलए ककसी र्ी Cisco router
में आपको 4 तरह की memory और 2 तरह के ports कमलेंगे। ककसी र्ी Cisco router के basic components
इस प्रकार है ।
 Memory
o ROM
o FLASH
o RAM
o NV-RAM
 Ports (Interfaces & lines)
 Command Line Interface

ROM में एक bootstrap program होता है कजसे ROM monitor कहते है । जब router को on ककया जाता है
तो यह bootstrap program hardware diagnostic perform करता है कजसे Power On Self Test कहते है ।
यकद ये diagnostic successful होता है तो bootstrap program flash memory में से IOS को ढूंढ कर load
करता है । Flash memory को rewrite ककया जा सकता है । इससे Cisco router को IOS को upgrade करने
की ability कमलती है ।
अगर bootstrap को IOS flash memory में नहीं कमलता है तो ROM में से IOS का temporary version load
ककया जाता है । ROM को rewrite या erase नहीं ककया जा सकता है । यकद device को upgrade करने की
जरुरत हो तो आपको ROM को change करना होगा।
लेककन यकद IOS flash memory में कमल जाता है तो इसे RAM में load कर कदया जाता है । इसके बाद
bootstrap NV-RAM में Startup-Configuration file को ढूंढ़ता है । NV-RAM non volatile RAM होती है
इसकलए इसके contents erase नहीं होते है ।
अगर IOS को startup configuration file नहीं कमलती है तो ये TFTP server से configuration file load करने
की कोकशश करता है । यकद TFTP server र्ी respond नहीं करता है तो IOS initial configuration mode में
enter हो जाता है । इस mode में user से questions पूछे जाते है कजससे router को quickly configure ककया
जाता है ।
यकद IOS को NV-RAM में startup configuration file कमल जाती है तो इसे RAM में load कर कदया जाता है
और ये running configuration file बन जाती है ।
Memory
Cisco IOS में 4 तरह की memory होती है इनके बारे में कनचे कदया जा रहा है ।
Memory Description
ये read only memory होती है । ये router में hardwired होती है । ROM के अंदर bootstrap
ROM program होता है जो power on self test perform करता है । इसे ROM monitor mode कहा जाता
है । जब router IOS find नहीं कर पाता है तो वह ROM से ही boot होता है ।
By default सबसे पहले router IOS के कलए flash memory को ही search करता हैं और IOS को
FLASH
boot करता है । ये electronically erasable programmable read only memory होती है ।
इसे dynamic random access memory र्ी कहा जाता है । RAM Cisco router के CPU का working
RAM
area होता है । इस memory में running configuration file और routing tables stored होती है ।
NV- इसे non volatile random access memory कहा जाता है । NV-RAM में startup configuration file
RAM stored होती है जो system के startup में काम आती है ।
Ports
Cisco IOS में interfaces और lines 2 तरह के ports होते है । इनके बारे में कनचे कदया जा रहा है ।
Interfaces router को दू सरे devices जैसे की routers और switches से connect करते है । अगर आसान र्ाषा
में कहा जाये तो network में data इन्हीं ports से होकर travel करता है । कुछ common interfaces के नाम
कनचे कदए जा रहे है ।
 Serial interface
 Ethernet interface
 Fast Ethernet interface
Interfaces को उनके नाम और number के द्वारा identify ककया जाता हैं । उदाहरण के कलए पहले ethernet
interface को Ethernet0 के नाम से जाना जाता है । कुछ router families है वो modular है इसकलए उनमें
interfaces को slots में organize ककया गया है ।
इसकलए उनमें interface number के साथ साथ slot number र्ी कलखा जाता है । जैसे की पहले slot के 2
interface को इस प्रकार कलख सकते है ।
Ethernet0/2
जो दू सरे तरह के ports होते है उनसे आप connect होकर router को configure कर सकते है । इन्हें lines
कहा जाता है । ऐसे कुछ ports के नाम कनचे कदए जा रहे है ।
 Console ports
 Auxiliary ports
 VTY ports
Interfaces की तरह ही lines को र्ी line type और line number के द्वारा identify ककया जाता है । इसकलए
यकद पहला console port कुछ इस तरह कलखा जायेगा।
Console0
Command Line Interface (CLI)
Cisco router के साथ interact करने के कलए IOS एक command line interface provide करता है । Cisco
devices को configure और manage करने के कलए command line interface सबसे पहला option होता है ।
इसे आप console, modem और telnet connection के द्वारा access कर सकते है । इसमें आप commands
को type करते है और execute करवाते है ।
Router Booting Process
हर Cisco एक booting process से होकर गुजरता है इस process को कनचे explain ककया जा रहा है ।
1. Router का power on ककया जाता है ।
2. ROM में से bootstrap program load होता है ।
3. Bootstrap program POST (Power On Self Test) run करता है ।
4. Bootstrap flash memory से IOS को load करने का प्रयास करता है –
1. यकद flash memory में IOS नहीं कमलता है तो bootstrap ROM में से basic IOS को load
करता है ।
2. यकद flash memory में IOS कमलता है तो इसे RAM में load कर कदया जाता है ।
5. IOS NV-RAM से startup config file को load करने का प्रयास करता है -
1. यकद Startup configuration file NVRAM में नहीं कमलती है तो IOS TFTP server से एक
configuration file load करने का प्रयास करता है ।
2. अगर TFTP server respond नहीं करता है तो router initial configuration mode में enter हो
जाता है ।
3. यकद startup config file NVRAM में कमल जाती है तो इसे RAM में load कर कदया जाता
है ।
6. Startup configuration RAM में running configuration बन जाता है ।

CCNA in Hindi - Addressing - Best Hindi Tutorials


5-7 minutes
 Hardware addressing in Hindi
 Logical Addressing in Hindi
 Classes of IP addresses in Hindi

Introduction to Addressing
Networking क्षेत्र में addressing hosts को logical और physical address assign करने की process होती है ।
Unique address के माध्यम से hosts को uniquely identify ककया जाता है । Addressing 2 प्रकार की होती है ।

1. Hardware Addressing
2. Logical Addressing

Hardware addressing host को local area में identify करने के कलए use होती है और logical addressing
host को network level पर identify करती है । इन दोनों तरह की addressing के बारे में कनचे detail से
बताया जा रहा है ।

Hardware Addressing

एक hardware address की मदद से local area network में hosts को uniquely identify ककया जाता है । यकद
आप OSI model के अनुसार दे खे तो layer 2 (Data link layer) पर hardware addressing यूज़ की जाती है ।
Hardware address को MAC (Media Access Control) address र्ी कहते है । MAC address को network
interface cards (NIC) पर hard-code ककया जाता है । MAC address की size 48 bits होती है । एक MAC
address hexadecimal form में represent ककया जाता है । इसका उदाहरण नीचे कदया जा रहा है ।
Example – 06:5e:39:ad:dd:2c
MAC address की पहली 6 digits से NIC (Network Interface Card) के manufacturer को identify ककया जाता
है । इन शुरुआती 6 bits को OUI (Organizational Unique Identifier) र्ी कहते है । बाकी की 6 digits host
को network में uniquely identify करने के कलए यू ज़ की जाती है । इन last 6 digits को host id कहते है ।

CCNA in Hindi - Transmission Control Protocol


(TCP) - Best Hindi Tutorials
11-13 minutes

 Introduction to TCP (Transmission Control Protocol) in Hindi


 Advantages of transmission control protocol in Hindi
 Connection establishment with TCP in Hindi
Introduction to Transmission Control Protocol (TCP)
Transport layer पर 2 तरह के protocols पाये जाते है ।
 Connection-less protocol – इस तरह के protocol में जब data send ककया जाता है तो sender और
receiver के बीच में कोई connection established नहीं होता है । इस category के protocol का मुख्य
उदाहरण UDP (User Datagram Protocol) है ।
 Connection oriented protocol – इस तरह के protocol में data transfer के दौरान sender और
receiver के बीच में connection establish ककया जाता है । इस category के protocol का उदाहरण
TCP (Transmission Control Protocol) है ।
TCP (Transmission Control Protocol) एक transport layer connection oriented protocol है । ये protocol
reliable delivery provide करता है । TCP और Internet Protocol कमलकर Internet Protocol Suit बनाते है ।
TCP को RFC 675 में define ककया गया था। हालाुँ कक शुरू में TCP को network layer और transport layer
services provide करने के कलए बनाया गया था लेककन ये एक अनुपयोगी combination साकबत हुआ।
इसकलए इसके network layer functions को अलग करके उससे IP (Internet Protocol) को design ककया गया
और केवल transport layer functions के साथ TCP को दु बारा introduce ककया गया। इस दौरान TCP को
दु बारा RFC 793 में define ककया गया था।
TCP connection oriented है । 2 devices के बीच में connection establish करने के कलए दोनों devices को
कुछ parameters को fulfill करना होता तब ही connection establish हो पाता है । आइये TCP की
connection process को समझने का प्रयास करते है ।
TCP Connection Establishment (Three Way Handshake)
TCP में connection establishment बहुत ही simple है इसे Three way handshake के द्वारा perform ककया
जाता है । Three way handshake sender और receiver के बीच में messages की sequence होती है कजससे
connection establish ककया जाता है ।
सबसे पहले Sender receiver को message र्ेजता है की वो connection establish करके कुछ data र्ेजना
चाहता है । जब receiver को ये message कमलता है तो receiver वापस sender को message र्ेजता है की वो
data के कलए ready क्या sender ready है ।

इसके बाद sender वापस एक message र्ेजता है जो की receiver को data की sequence बताता है । इसके
बाद sender और receiver के बीच में data transfer शुरू हो जाता है ।
Sender और receiver के बीच में र्ेजे जाने वाले ये messages 3 तरह के होते है । इनके बारे में कनचे कदया
जा रहा है ।
 SYN – Connection Request
 SYN + ACK – sequence number request cum acceptance of connection request
 ACK – Acceptance of connection request and data sequence numbers
कनचे connection establishment process को कुछ simple steps के द्वारा define ककया जा रहा है ।
1. सबसे पहले sender synchronization message के द्वारा connection establish करने की request करता
है ।
2. इसके बाद receiver synchronization cum acknowledge message के द्वारा connection establish करने
की िीकृकत दे ता है और data के sequence numbers के कलए request करता है ।
3. इसके बाद sender data के sequence numbers के रूप में अपनी िीकृकत प्रदान करता है ।
4. अब connection establish हो चूका है और sender और receiver के बीच में data transfer शुरू हो
जाता है ।

TCP में connection bidirectional होता है । इससे से कोई र्कभ नहीं पडता की connection की request
ककसने र्ेजी थी। जो र्ी चाहे वो data transfer शु र कर सकता है । TCP के द्वारा एक साथ कई
connections establish ककये जा सकते है । हर connection को TCP individually track कर सकता है ।
Connections को sockets के द्वारा identify ककया जाता है । Sockets destination और host दोनों तरर् होते
है । सर्ी connection से related data को Transmission control block में maintain ककया जाता है ।
Segmentation
Network layer के द्वारा data transport layer को कदया जाता है । Transport layer पर ये data TCP segments
में convert ककया जाता है । Data को transfer करने से पहले छोटे छोटे segments के रूप में तोडना
segmentation कहलाता है । Segmentation TCP का एक primary task है ।
Network layer के द्वारा TCP को packets transfer ककये जाते है । Packets size में बहुत बडे होते है इसकलए
इन्हें छोटे छोटे parts में divide कर कदया जाता है । ये parts segments कहलाते है । आपको ये र्ी ध्यान
रखना चाकहए की transport layer पर data segment कहलाता है ।
Sequencing
Data को segments के रूप में तोडने के साथ ही हर segment को एक sequence number कदया जाता है ।
Data की sequencing के 2 advantages कनचे कदए जा रहे है ।
 Segments को sequence number दे ने से receiver सर्ी segments को receive करने के बाद उन्हें
proper order में arrange कर सकता है ।
 Transfer के दौरान यकद कोई segment drop र्ी हो जाये तो sequence number के द्वारा उसे
identify करके दोबारा र्े जा जा सकता है ।
जब र्ी कोई segment ककसी sequence number के साथ आता हैं तो receiver उस sequence number को +1
करके acknowledge र्ेजता है । इसका मतलब ये होता है की मुझे segment कमल चूका है आप इससे next
segment र्ेकजए।
TCP एक बहुत ही reliable protocol है इसमें हर transfer को acknowledge ककया जाता है । मान लीकजए
sender ने segment number 101 र्ेजा है । Receiver इस segment को पाकर acknowledgment message के
द्वारा sender को बतायेगा की मुझे segment number 101 कमल चुका है और साथ ही receiver इसमें 1
number add करके र्ेजेगा। 1 add करके र्ेजने का मतलब होता है की अब आप next segment र्े ज
दीकजये।
इस उदाहरण में receiver sequence number 102 र्ेजेगा जो sender को बताता है की next segment र्ेजना
है । जब ककसी receiver के द्वारा कोई acknowledgement नहीं कमलता है तो sender उस segment को दु बारा
र्ेजता है ।
Sliding Window
जब आप TCP header को दे खेंगे तो पाएं गे की उसमें एक window field होता है । इस window field से ये
define ककया जाता है की receiver ककतनी bytes का data एक बार में receive कर सकता है ।
उदाहरण के कलए कोई sender की data transfer speed और buffer size अकधक हो सकती है । लेककन यकद
दू सरी तरर् receiver की speed और buffer size कम है तो receiver कम bytes की window size value set
करके sender को र्ेजेगा। इससे sender को ये पता चलता है की receiver ककतना data ककतनी तेजी से
receive कर सकता है ।
Sender शुरू में हमेशा कम size के segments transfer करता है । लेककन जब sender को लगता है की
receiver आसानी से receive कर रहा है तो sender transfer speed को बढ़ाने का प्रयास करता है और
ज्यादा size का data र्ेजता है ।
यकद receiver इस size के data को receive कर लेता है तो sender आगे के सर्ी packets इसी size के
र्ेजता है । थोडी दे र बाद sender वापस transfer speed को बढ़ाने के कलए और बडी size का data र्ेजता
है । यकद receiver इस data को र्ी receive कर लेता है तो sender कर्र इसी size का data र्ेजता है ।
लेककन यकद इस data का size receiver के buffer से अकधक है तो receiver window field की value 0 set
करके र्ेजता है । इससे sender को पता चलता है की sender इस size का data receive नहीं कर सकता है ।
इसके बाद sender पुरानी इससे कम size का data र्ेजता है ।
Window size का एक मतलब ये और होता है की ककतने segments या bytes sender कबना ककसी
acknowledgment के र्ेज सकता है । जब receiver segments receive करता है तो आल्खर segment में +1
करके acknowledgment र्ेजता है कजसका मतलब होता है की कपछले सर्ी segments receive कर कलए गए
है । अब आप आगे के segments र्ेज सकते है ।

Terminating a TCP Connection


जब तक कोई host (sender or receiver) खुद connection को terminate नहीं करते है तब तक connection
established ही रहता है । दोनों में से कोई र्ी host connection को terminate कर सकता है ।
ज्यादातर जब data transfer complete हो जाता है तो connection को terminate कर कदया जाता है । दोनों
hosts को connection terminate करने की ability इसकलए दी गई है ताकक connection के terminate होने से
पहले data transfer पूरी तरह complete हो सके।
यकद ऐसा न हो तो एक ही host के पास पूरा control होता है और इससे data transfer होने से पहले ही
connection terminate होने के chances होते है ।
जब र्ी कोई host connection को terminate करना चाहता है तो वह एक message send करता है कजसमें
FIN flag set होता है । FIN flag का मतलब Finish होता है । ये बताता है की इस message को send करने
वाला host connection को terminate करना चाहता है ।
उदाहरण के कलए जब host A FIN message send करता है तो ये FIN message को acknowledge होने का
इं तज़ार करे गा और FIN-WAIT state में चला जाये गा। इसके बाद host B acknowledge message send करता
है और FIN को acknowledge करता है ।
Host A कुछ र्ी ना करते हुए FIN state में रहता है । अब same process को follow करते हुए host B FIN
message send करता है तो FIN-WAIT state में चला जाता है । इसके बाद host A इस FIN message को
receive करके acknowledgement message र्ेजता है । इसके बाद दोनों तरर् से connection terminate हो
जाता है ।
आसान शब्दों में कहें तो पहले एक host FIN message र्ेजेगा और acknowledge होने के कलए wait करे गा।
ऐसे ही कर्र दू सरा host FIN message send करे गा और acknowledge होने के कलए wait करे गा। जब दोनों
host एक दू सरे के FIN message को acknowledge कर दे ते है तो connection terminate हो जाता है ।
A TCP Header
Data को transfer करने के दौरान data के साथ TCP header attach की जाती है । इस header में कई प्रकार
की information होती है जो आपके segment की characteristics बताती है ।
जैसे की source, destination और sequence number आकद। TCP header 12 fields से कमलकर बनी होती है
और इसकी minimum size 20 byte होती है । आइये TCP header के सर्ी fields के बारे में जानने का प्रयास
करते है ।
Source Port
इस field की size 16 bits होती है । ये field sender के port number को carry करता है ।
Destination Port
इस field की size र्ी 16 bits ही होती है और ये receiver के port number को carry करता है ।
Sequence Number
ये field 32 bits का होता है और इसमें segment का sequence number होता है ।
Acknowledgement Number
ये field र्ी 32 bits का होता है और इसमें acknowledgment number carry होता है ।
Data Offset
Data Offset ये बताता है की TCP segment में data कुँहा से शुरू होता है । इस field की size 4 bits होती
है ।
Reserved Field
इस field की size 6 bits होती है । इसे future use के कलए रख जाता है । ये हमेशा zero पर set रहता है ।
Control Bits
ये field 6 bits का होता है । इसमें एक एक bit के 6 flags होते है । इन flags को set करके आप बता सकते
है की ये segment ककस तरह का है ।
1. URG (Urgent) – ये flag set करने से segment को traffic में priority कमलती है ।
2. ACK (Acknowledgment) – ये flag ककसी र्ी message को acknowledge करने के कलए set ककया
जाता है ।
3. PSH (Push) – ये flag segment को forcefully send करता हैं चाहे window full हुई हो या नहीं।
4. RST (Reset) – ये flag connection को forcefully terminate कर दे ता है ।
5. SYN (Synchronize) – ये flag connection establish करने के काम आता है ।
6. FIN (Finish) – ये flag connection को terminate करने के कलए set ककया जाता है ।
Window Field
ये एक 16 bit field होता है । ये identify करता है की receiver ककतनी bytes receive करने में capable है ।
Checksum Field
ये field error checking के कलए यूज़ ककया जाता है । इसे TCP segment और IP header के select field से
compute ककया जाता है । यकद receivers side पर calculate ककया हुआ checksum same ना हो तो segment
discard कर कदया जाता है । इस field की size 16 bit होती है ।
Urgent Pointer Field
ये एक 16 bit का field होता है । जब urgent flag set ककया जाता है तो ये field traffic की last byte को
identify करता है ।
Options Field
ये field variable size का होता है । ये field TCP segment के कलए optional parameters set करने के कलए
यूज़ ककया जाता है ।
Padding Field
ये field र्ी variable size का होता है । ये field कनकित करता है की TCP header 32 bit bounder के र्ीतर
ही समाप्त हो जाये। ये field हमेशा zero पर set रहता है ।

MAC address के अंदर एक कमी होती है इससे से आप network को नहीं identify कर सकते है । यकद
आपको ये identify करना है की host ककस network में है तो उसके कलए आप उसका IP address दे खेंगे।
IP addresses को logical addressing में explain ककया गया है ।
Logical Addressing

OSI model के अनुसार दे खे तो network layer में logical addressing यूज़ की जाती है । Logical address के
माध्यम से आप ककसी host को पुरे network में uniquely identify करते है ।
Logical addresses एक network को दू सरे network से separate र्ी करते है । Logical addresses fix नहीं होते
है इन्हे change र्ी ककया जा सकता है । Logical addresses को IP address कहते है ।
IP address की size 32 bit होती है । एक IP address 2 parts में divided होता है । पहला part होता है network
ID कजससे ये identify ककया जाता है की host का network क्या है । दू सरा part होता है host ID कजससे से
host को uniquely identify ककया जाता है ।
Logical addressing के कलए Internet Protocol (IP) responsible होता है । Internet protocol 2 tasks perform
करता है । पहला logical addressing और दू सरा routing। Routing के माध्यम से एक packet को सही
network में forward ककया जाता है । Internet protocol 2 तरह की addressing provide करता है । एक IPV4
addressing और दू सरी IPV6 addressing होती है ।
IPV4 addressing में 32 bit addresses assign ककये जाते है । इस तरह के IP address में 8 bits के चार octet
होते है ।

What is Subnet Mask? (in plain Hindi)


जैसा की मैने आपको पहले बताया की IP address का एक part तो Network को बताता है और दू सरा
part host को बताता है । Subnet mask यही बताने के कलए होता है की पुरे IP address का कौनसा part
network को represent करता है और कौनसा host को represent करता है ।
हर IP address के साथ उसका subnet mask जुडा होता है । कजसे दे ख कर बताया जा सकता है की IP
address ककस network और ककस host का है । Subnet mask के बारे में पढ़ने से पहले आप decimal to
binary और binary to decimal conversion जरूर कसख ले।

Example

IP Address : 192 . 10 . 2 . 1
Subnet mask : 255 . 255 . 0 . 0
IP (Binary) : 11000000 : 00001010 : 00000010 : 00000001
Subnet mask : 11111111 : 11111111 : 00000000 : 00000000
ऊपर कदए हुए example को दे ल्खये IP address के साथ subnet mask कदया गया है । Subnet mask में 255 का
मतलब होता है network octet और 0 का मतलब होता है host octet।
इस example में 192.10 तो network portion है जो network को represent करता है । और 2.1 host portion
है जो host को represent करता है । यकद आप binary form दे खेंगे तो network portion 1 से represent ककया
जाता है और host portion 0 से represent ककया जाता है ।

Classes of IP Address
IPV4 addresses को कई classes में divide ककया गया है । IP address ककस class का है ये आप IP address
के first octet की range दे ख कर बता सकते है । आइये इन classes के बारे में detail में जानते है ।

Class A
Class A की network range 1 से 127 होती है और इस class का default subnet mask 255.0.0.0 होता है ।
इसका मतलब ये हुआ की इस class के IP addresses में only first octet ही network को शो करता है और
बाकी के 3 octets hosts को शो करते है । इस क्लास में 127 network होते है और हर network में
16777214 hosts होते है ।

Class B

Class B की network range 128 से 191 होती है । इस class के IP addresses का default subnet mask
255.255.0.0 होता है । इस class के IP addresses में पहले 2 octet network को represent करते है और
आल्खरी 2 octet hosts को define करते है । इस क्लास में 16384 networks होते है और 65534 hosts हर
network में होते है ।

Class C

Class C की network range 192 से 223 होती है । इस class के IP addresses का default subnet mask
255.255.255.0 होता है ।इस class के IP addresses में पहले 3 octet network को represent करते है और
आल्खरी एक octet hosts को represent करता है । इस class में 2097152 network होते है और 254 hosts हर
network में होते है ।

Class D

Class D के network multicast के कलए reserved होते है । इस class के addresses का कोई subnet mask नहीं
होता है ।

CCNA in Hindi - User Datagram Protocol (UDP) -


Best Hindi Tutorials
4-5 minutes

 Introduction to UDP(User Datagram Protocol) in Hindi


 Characteristics of UDP (User Datagram Protocol) in Hindi
 UDP(User Datagram Protocol) header in Hindi
Introduction to User Datagram Protocol (UDP)
UPD (User Datagram Protocol) एक transport layer connection less protocol है । इस protocol को RFC 768
में define ककया गया है । UDP एक unreliable protocol है याकन की ये data के पहुुँ चने की guarantee नहीं
दे ता है ।
UDP कसर्भ segments को forward करता है इसके बाद उस segment का क्या होता है इससे UDP को कोई
मतलब नहीं होता है । UDP में three way handshake, flow control, sequencing और data का
acknowledgment र्ी नहीं होता है ।
UDP के connectionless होने से मतलब है की जब data का transfer होता है तो sender और receiver के
बीच में कोई connection establish नहीं ककया जाता है ।
TCP के comparison में दे खा जाये तो UDP एक बहुत ही fast service है क्योंकक इसमें extra काम जैसे की
acknowledgment, sequencing आकद कुछ र्ी नहीं होता है । जुँहा पर आपको reliability की जगह speed की
आवश्यकता हो वुँहा पर आप UDP को यूज़ कर सकते है ।
TCP की तरह ही UDP र्ी checksum के द्वारा basic error checking provide करता है । एक ही host पर
चलने वाली बहुत सी applications को UDP port numbers के द्वारा differentiate करता है ।
Characteristics of UDP
कनचे UDP की कुछ characteristics दी जा रही जो इसे दू सरे protocols से अलग बनाती है ।
 UDP एक unreliable service है इसमें data delivery की कोई guarantee नहीं होती है ।
 UDP basic error checking provide करता है ।
 UDP data sequencing perform नहीं करता है ।
 UDP दू सरे protocols के comparison में बहुत ही fast है ।
A UDP Header
UDP data के साथ एक बहुत ही simple 64 bits की header attach करता है । इसमें कसर्भ 4 fields होते है ।
इन fields के बारे में कनचे कदया जा रहा है ।
1. Source port – इस field की size 16 bit होती है । ये Source के port को carry करता है ।
2. Destination port – 16 bits के इस field में destination port number carry ककया जाता है ।
3. Length – इस field में header और data की length stored होती है ।
4. Checksum – ये field basic error checking के कलए यूज़ ककया जाता है ।
Source port (16 bit) Destination port (16 bit)
Length (16 bit) Checksum (16 bit)
Data
TCP vs UDP
हालाुँ कक TCP और UDP को differentiate करना इतना मुल्िल नहीं है लेककन कर्र र्ी कनचे इनका
comparison कदया जा रहा है कजससे से आप दोनों को differentiate कर सकते है ।
TCP (Transmission Control Protocol) UDP (User Datagram Protocol)
TCP connection oriented protocol होता है । UDP एक connection less protocol होता है ।
UDP data के पहुुँ चने की कोई guarantee नहीं
TCP data delivery की guarantee दे ता है ।
दे ता है ।
TCP data की receipt के तौर पर acknowledgment र्ेजता UDP के द्वारा कोई acknowledgment नहीं र्ेजा
है । जाता है ।
TCP एक बहुत ही slow service है । UDP बहुत fast service है ।
UDP के द्वारा data की sequencing नहीं की
TCP data की sequencing करता है ।
जाती है ।
यकद कोई segment transfer के दौरान drop हो जाये तो Drop होने वाले segments को UDP वापस नहीं
TCP उस segment को दोबारा र्ेज दे ता है । र्ेजता है ।
TCP window sliding के द्वारा flow control provide करता
UDP में flow control नहीं होता है ।
है ।
UDP र्ी data के कलए basic error checking
TCP data को errors के कलए check करता है ।
provide करता है ।
Different applications को identify करने के कलए TCP port UDP र्ी port numbers के द्वारा ही दू सरी
numbers यूज़ करता है । applications को identify करता है ।
Applications of UDP
1. UDP को Domain Name Server के द्वारा simple request response process के कलए यूज़ ककया जाता
है ।
2. Bootstrap Protocol और Dynamic host control protocol र्ी UDP को short messages send और
receive करने के कलए यू ज़ करते है ।
3. Trivial file transfer protocol UDP को बडी बडी files को send करने के कलए यूज़ करता है ।
4. Simple Network Management Protocol messages send करने के कलए UDP का इस्तेमाल करता है ।
5. Routing Information Protocol (RIP) routing information र्ेजने के कलए UDP को यूज़ करता है ।

CCNA in Hindi - User Datagram Protocol (UDP) -


Best Hindi Tutorials
4-5 minutes

 Introduction to UDP(User Datagram Protocol) in Hindi


 Characteristics of UDP (User Datagram Protocol) in Hindi
 UDP(User Datagram Protocol) header in Hindi
Introduction to User Datagram Protocol (UDP)
UPD (User Datagram Protocol) एक transport layer connection less protocol है । इस protocol को RFC 768
में define ककया गया है । UDP एक unreliable protocol है याकन की ये data के पहुुँ चने की guarantee नहीं
दे ता है ।
UDP कसर्भ segments को forward करता है इसके बाद उस segment का क्या होता है इससे UDP को कोई
मतलब नहीं होता है । UDP में three way handshake, flow control, sequencing और data का
acknowledgment र्ी नहीं होता है ।
UDP के connectionless होने से मतलब है की जब data का transfer होता है तो sender और receiver के
बीच में कोई connection establish नहीं ककया जाता है ।
TCP के comparison में दे खा जाये तो UDP एक बहुत ही fast service है क्योंकक इसमें extra काम जैसे की
acknowledgment, sequencing आकद कुछ र्ी नहीं होता है । जुँहा पर आपको reliability की जगह speed की
आवश्यकता हो वुँहा पर आप UDP को यूज़ कर सकते है ।
TCP की तरह ही UDP र्ी checksum के द्वारा basic error checking provide करता है । एक ही host पर
चलने वाली बहुत सी applications को UDP port numbers के द्वारा differentiate करता है ।
Characteristics of UDP
कनचे UDP की कुछ characteristics दी जा रही जो इसे दू सरे protocols से अलग बनाती है ।
 UDP एक unreliable service है इसमें data delivery की कोई guarantee नहीं होती है ।
 UDP basic error checking provide करता है ।
 UDP data sequencing perform नहीं करता है ।
 UDP दू सरे protocols के comparison में बहुत ही fast है ।
A UDP Header
UDP data के साथ एक बहुत ही simple 64 bits की header attach करता है । इसमें कसर्भ 4 fields होते है ।
इन fields के बारे में कनचे कदया जा रहा है ।
1. Source port – इस field की size 16 bit होती है । ये Source के port को carry करता है ।
2. Destination port – 16 bits के इस field में destination port number carry ककया जाता है ।
3. Length – इस field में header और data की length stored होती है ।
4. Checksum – ये field basic error checking के कलए यूज़ ककया जाता है ।
Source port (16 bit) Destination port (16 bit)
Length (16 bit) Checksum (16 bit)
Data
TCP vs UDP
हालाुँ कक TCP और UDP को differentiate करना इतना मुल्िल नहीं है लेककन कर्र र्ी कनचे इनका
comparison कदया जा रहा है कजससे से आप दोनों को differentiate कर सकते है ।
TCP (Transmission Control Protocol) UDP (User Datagram Protocol)
TCP connection oriented protocol होता है । UDP एक connection less protocol होता है ।
UDP data के पहुुँ चने की कोई guarantee नहीं
TCP data delivery की guarantee दे ता है ।
दे ता है ।
TCP data की receipt के तौर पर acknowledgment र्ेजता UDP के द्वारा कोई acknowledgment नहीं र्ेजा
है । जाता है ।
TCP एक बहुत ही slow service है । UDP बहुत fast service है ।
UDP के द्वारा data की sequencing नहीं की
TCP data की sequencing करता है ।
जाती है ।
यकद कोई segment transfer के दौरान drop हो जाये तो Drop होने वाले segments को UDP वापस नहीं
TCP उस segment को दोबारा र्ेज दे ता है । र्ेजता है ।
TCP window sliding के द्वारा flow control provide करता
UDP में flow control नहीं होता है ।
है ।
UDP र्ी data के कलए basic error checking
TCP data को errors के कलए check करता है ।
provide करता है ।
Different applications को identify करने के कलए TCP port UDP र्ी port numbers के द्वारा ही दू सरी
numbers यूज़ करता है । applications को identify करता है ।
Applications of UDP
1. UDP को Domain Name Server के द्वारा simple request response process के कलए यूज़ ककया जाता
है ।
2. Bootstrap Protocol और Dynamic host control protocol र्ी UDP को short messages send और
receive करने के कलए यू ज़ करते है ।
3. Trivial file transfer protocol UDP को बडी बडी files को send करने के कलए यूज़ करता है ।
4. Simple Network Management Protocol messages send करने के कलए UDP का इस्तेमाल करता है ।
5. Routing Information Protocol (RIP) routing information र्ेजने के कलए UDP को यूज़ करता है ।

CCNA in Hindi - Cisco Internetwork Operating


System (IOS) - Best Hindi Tutorials
7-9 minutes

 Introduction to Cisco IOS in Hindi


 Versions of Cisco IOS in Hindi
 Different modes of Cisco IOS in Hindi
Introduction to Cisco Internetwork Operating System (IOS)
IOS का पूरा नाम Internetwork operating System होता है । सर्ी Cisco devices इस operating system के
द्वारा ही operate ककये जाते है । Basically ये एक command line interface होता है ।
इस operating system को commands के द्वारा operate ककया जाता है । IOS layer 2 और layer 3 के सर्ी
functions को configure करने का mechanism provide करता है । Cisco के सर्ी routers और switches में
ये ही operating system यूज़ ककया जाता है ।
IOS में बहुत से modes होते है । हर mode के कलए commands का set provide ककया जाता है । इन
commands की मदद से आप उस mode में work कर सकते है । हर mode को हर कोई access नहीं कर
सकता है । इन modes को privilege levels के द्वारा protect ककया जाता है । कनचे IOS interface का उदाहरण
कदया जा रहा है ।

Functions of Cisco IOS


Cisco IOS के बहुत से functions होते है इनके बारे में कनचे कदया जा रहा है ।
 Cisco IOS की मदद से आप different protocols को handle कर सकते है । Cisco IOS आपको सर्ी
protocols के functions को simple commands के द्वारा compute करने की ability provide करता है ।
 यकद 2 devices Cisco IOS के द्वारा operate कर रहे है तो उनके बीच में data transfer speed बहुत
high होती हैं ।
 Cisco IOS network को security provide करता है । ये unauthorized network use का पता लगाकर
उसे eliminate करता है ।
 जै से जै से network बढ़ता जाता है Cisco IOS में need के according capabilities आती जाती है । यकद
आपका network बडा होता जा रहा है तो आप को परे शान होने की जरुरत नहीं है ।
 Cisco IOS ये सु कनकित करता है की कजतने र्ी network resources आपके network में है वो हमेशा
आपकी पहुं च में हो।
Version Numbers of Cisco IOS
Cisco IOS के बहुत से version release हो चुके है । हर नए version में कुछ नयी functionalities होती है ।
लेककन ये जरुरी नहीं है की हर नए version में कोई नयी चीज़ हो कई बार previous version की bugs
को fix करके र्ी modified versions को launch ककया जाता है ।
Cisco की कुछ release categories होती है कजनके बारे में आपको जानना आवश्यक है । इनके बारे में कनचे
कदया जा रहा है ।
 Early deployment (ED) – इस category में कजतने र्ी releases ककये जाते है वो सब नए features
और नया platform provide करते है साथ ही उसमे पुरानी bugs र्ी solved होती है ।
 Limited Deployment (LD) – इस category के कजतने र्ी releases होते है उनमें कोई र्ी नयी
functionality add नहीं होती है । केवल पुराने version की problems का solution provide ककया जाता
है ।
 General Deployment (GD) – इस category की सर्ी releases सर्ी platforms के साथ work करती
है । ये सर्ी Cisco devices के कलए common होती है ।
 Maintenance Deployment (MD) – इस categories की सर्ी releases additional maintenance support
provide करती है ।
IOS Version Numbers Pattern
हर release category में बहुत से versions release ककये जा चुके है । Cisco हर नए version को interesting
way में represent करता है । आइये इसे समझने का प्रयास करते है ।

ऊपर कदया गया उदाहरण IOS 12.4 की तीसरी release को represent कर रहा है । T एक train identifier है ।
Trains IOS version के market को define करते है । इसे एक single letter से define ककया जाता है । इनके
बारे में कनचे कदया जा रहा है ।
 T – युँ हा पर T का मतलब technology से है । इस तरह के version हमेशा नयी technology के साथ
updated रहते है ।
 E – E का मतलब enterprise से है । Enterprise level devices के कलए जो features release ककये जाते
है उन्हें इस train से define ककया जाता है ।
 S – Service provider के द्वारा Internet service provider से related features के release को define
ककया जाता है ।
 जब कोई र्ी train identifier ना तो ऐसी situation में उस release को machine release माना जाता
है ।
Cisco device पर console के द्वारा IOS version दे खने के कलए आप show version command का इस्ते माल
कर सकते है । Cisco IOS routers और switches में एक flash drive की bin file में stored रहता है । इस bin
file में IOS का version कुछ different तरीके से define ककया जाता है । इसके बारे में कनचे कदया जा रहा
है ।
c2600-ik9s-mz. 121-3.T.bin
c2600 – Cisco Hardware Name
ik9s – Feature set (according to version)
m – Memory location in Cisco device
z – Compression format of file
121 – Maintenance release number
3 – Individual release number
T – Train identifier
Cisco IOS Modes
जैसा की मैने आपको शु रुआत में बताया था की Cisco IOS के कई modes होते है और हर mode की कुछ
set of commands होती है । हर mode की अलग अलग privilege levels होती हैं ।
इन सर्ी modes के बारे में detail से कनचे कदया जा रहा है । यकद आप ककसी र्ी mode से related
commands की list दे खना चाहते है तो ऐसा आप ? command से कर सकते है ।
User Exec Mode
जब आप ककसी Cisco device में login करते है तो by default User execution mode होता है । User
execution mode में host के नाम के बाद > symbol आता है । यही इसकी पहचान होती है । इसका
उदाहरण नीचे कदया गया है ।
ऐसा र्ी हो सकता है की ये mode password से protect ककया गया हो। ऐसी situation में आपको इस
mode में enter होने के कलए username और password enter करना होता है ।
switch1>
ऊपर कदए गए statement से आप पता लगा सकते है की इस समय IOS User Exec mode में है ।
Privileged Exec Mode
Privileged execution mode में आप सर्ी files, settings और related information को दे ख सकते है । इस
mode में आप configuration नहीं कर सकते है । इस mode की ज्यादातर commands एक ही बार execute
होती है । जैसे की clear command जो counters को clear करती है ।
Privileged Exec mode में enter होने के कलए आप User Exec mode से enable command execute करते है । ये
mode र्ी password protected हो सकता है । अगर ऐसा है तो आप login information provide करके enter
हो सकते है ।
इस mode में host के नाम के आगे # लगाया जाता है । इसका उदाहरण कनचे कदया गया है ।
switch1#
इस mode में आपको User Exec mode की सर्ी files available रहती है । Common commands को ककसी
र्ी mode से execute ककया जा सकता है ।
Global Configuration Mode
Global configuration mode में कजतनी र्ी commands execute होती है वो सर्ी Cisco device को globally
effect करती है । Global configuration mode को functions के according sub modes में divide ककया गया
है । इनमे से common sub modes कनचे कदए जा रहे है ।
 Interface configuration mode – ये mode basically Cisco device के ports (interface) को configure
करने के कलए यूज़ ककया जाता है । ककसी र्ी interface को configure करने के कलए आप interface
का नाम और number interface command के आगे कलखकर execute करवाते है । ऐसा करने से
आप इस mode में enter हो जाते है ।
 Line configuration mode – इस mode में console ports , auxiliary ports और VTY (telnet) ports को
configure ककया जाता है । Interface की ही तरह ककसी र्ी line को configure करने के कलए आप
line command के आगे line का नाम और number कलखकर execute करवाते है ।
 Router configuration mode – इस mode से dynamic routing protocols को configure ककया जाता है ।
जैसे की RIP, EIGRP आकद।
Cisco IOS Commands Shortcuts
IOS command line में shortcuts allowed है । लेककन ये तब ही काम करते है जब ये unique हो। जैसे की
आपके पास 4 commands available है ।
 Configure
 Connect
 Copy
 Debug
Debug command के कलए de को shortcut की तरह यूज़ ककया जा सकता है । लेककन copy command के
कलए आप co को यूज़ नहीं कर सकते है । क्योंकक Configure और connect commands के र्ी शु रू के 2
letter common है । ऐसी situation में आप शुरू के 3 words र्ी कलख सकते है । जैसे की connect command
के कलए आप con type कर सकते है ।
इसी तरह बहुत से keyboard shortcuts र्ी available है । कजन्हें आप explore करके यूज़ कर सकते है ।
Cisco IOS CCNA के कलए एक बहुत ही important topic है आपको इसे अच्छी तरह से समझना जरुरी
है ।

CCNA in Hindi - Advanced IOS Functions - Best


Hindi Tutorials
6-7 minutes

 Backing up & restoring Cisco IOS in Hindi


 CDP (Cisco Discovery Protocol) in Hindi
 Cisco IOS privilege levels in Hindi
Backing up & Restoring Cisco IOS
Cisco IOS flash memory में stored होता है । यकद flash memory में जगह हो तो एक से अकधक IOS files
र्ी flash memory में store की जा सकती है । यकद आप flash memory में available space दे खना चाहते है तो
इसके कलए आप show flash command use कर सकते है । ये command flash memory में stored files को
र्ी show करती है ।
#Router show flash
Flash memory से ककसी र्ी IOS file का आप backup ले सकते है । आगे इसी process के बारे में बताया
गया है ।
Backing Up IOS
IOS का backup लेने के कलए एक TFTP server की जरुरत पडती है । Router और TFTP server के बीच में
IP connection होना चाकहए। Router की flash memory से TFTP server पर backup लेने के कलए आप copy
flash tftp command execute करते है ।
#Router copy flash tftp
जब आप इस command को execute करते है तो आपसे command line interface के द्वारा information माुँ गी
जाती है । इस information की list नीचे दी जा रही है ।
 TFTP server का address
 Flash memory में stored उस file का नाम कजसे आप copy करना चाहते है ।
 और destination में आप file को ककस नाम से store करना चाहते है ।
जैसे ही आप ऊपर बताई गई information provide करते है आपकी file flash memory से TFTP server पर
copy हो जाती है ।
Restoring Cisco IOS
Cisco router को restore करना कबलकुल आसान है । Cisco IOS file को restore करने के कलए आप copy
tftp flash command execute करते है । जैसे ही आप इस command को execute करते है IOS file TFTP
server से flash memory में load हो जाती है ।
#Router copy tftf flash
CDP (Cisco Discovery Protocol)
CDP एक Cisco proprietary protocol है कजसे Cisco devices के कलए design ककया गया है । इस protocol
की मदद से Cisco devices दू सरे Cisco devices के बारे में information collect करते है । CDP सर्ी Cisco
devices में by default enabled रहता है ।
CDP हर 60 second में एक message र्ेजता है । इसे CDP message कहा जाता है । CDP message को
forward नहीं ककया जा सकता है । इसकलए ये message कसर्भ directly connected devices को ही र्ेजा जाता
है ।
ककसी र्ी CDP message में नीचे दी गई information होती है ।
 Host का नाम ।
 उस interface का नाम कजससे device दू सरे device से connected है ।
 Hold time – ककतनी दे र तक information CDP table में रहे गी।
 ककस तरह का device है जै से की router, switch आकद।
 remote device का model क्या है ।
 IOS का version number।
CDP timers और related information के बारे में जानने के कलए आप नीचे दी गई command execute
करवाते है ।
Router# show cdp
यकद आप ककसी device के neighbors के बारे में information चाहते है तो इसके कलए आप नीचे दी गई
command execute कर सकते है ।
Router# show cdp neighbors
कनचे दी गई command से आप traffic से related information प्राप्त कर सकते है ।
Router# show cdp traffic
Port और interface की information पाने के कलए आप कनचे दी गई command execute कर सकते है ।
Router# show cdp interface
ककसी र्ी interface पर आप CDP को इस प्रकार disable कर सकते है ।
Router# no cdp enable
यकद आप CDP को सर्ी devices पर disable करना चाहते है तो इसके कलए कनचे दी गई command
execute कर सकते हैं ।
Router# no cdp run
Telnet
Cisco IOS के द्वारा आप ककसी एक device से दू सरे device को telnet के माध्यम से access कर सकते है ।
Telnet technology आपको एक device से ककसी दू सरे device को remotely access और configure करने की
capability provide करती है ।
कई बार device network administrator से दू र होता है । इसकलए administrator खुद वुँहा जाने के बजाए
उस device को remotely access करके configure कर सकता है ।
ककसी device को telnet के द्वारा access करने के कलए आप telnet command execute करते है । इस
command के बाद host का नाम दे ते है । नाम की जगह आप चाहे तो कजस device को आप access करना
चाहते है उसका IP address र्ी दे सकते है । इसका उदाहरण नीचे कदया जा रहा है ।
Router# telnet router2
जब आप telnet command को execute करते है तो आप उस device में enter हो जाते है । अब आप उस
device को configure कर सकते है । यकद आप इस device से exit होकर पुराने device पर लौटना चाहते है
तो इसके कलए आप exit command execute करवाते है । इसका उदाहरण कनचे कदया गया है ।
Router# exit
आप एक साथ कई telnet sessions establish कर सकते है । यकद आप सर्ी telnet sessions को दे खना
चाहते है तो इसके कलए show sessions command execute करवाते है ।
Router# show sessions
Telnet के बारे में और अकधक जानकारी आप Telnet in Hindi tutorial से प्राप्त कर सकते है ।
Configuration Register
Configuration register एक hexadecimal value होती है । ये value router की booting process को control
करती है । आसान शब्दों में कहे तो ये value represent करती है की router कैसे boot होगा।
इस value से booting process से related कई elements define होते है । इनके बारे में कनचे कदया जा रहा
है ।
 Baud rate
 Boot message
 Break
 Flash
 NV-RAM
0x2102 default configuration value होती है । यकद आप अपने router का configuration register दे खना चाहते
है तो इसके कलए आप show version command execute करवा सकते है ।
Router# show version
जब आप इस command को execute करवाते है तो आपको configuration register की value शो हो जाती
है ।
कनचे कुछ common configuration registers के बारे में कदया जा रहा है ।
Register Explanation
ये configuration register 9600 baud rate represent करता है । साथ ही booting के दौरान IOS ROM
0x2101
में से load होता है । Flash memory readable और writable होती है ।
इसमें र्ी baud rate 9600 होती है । इसमें IOS flash memory से load होता है । इसमें flash
0x2102
memory read only होती है ।
Baud rate 9600 होती है । Flash memory read only होती है और इसमें आप IOS file को bypass
0x2142
र्ी कर सकते है ।
ध्यान रखें की 0x2102 सर्ी Cisco routers में default configuration register होता है । यकद आप IOS को
upgrade करना चाहते हैं तो आपको configuration register की value 0x2101 र्ी change करनी होगी ताकक
flash memory writable बन जाये।
IOS से configuration register की value change करने के कलए आप config-register command execute कर
सकते है । इस command के आगे आप जो register यूज़ करना चाहते है उसे define कर दे ते है । इस
command को आप global configuration mode में execute करते है । लेककन ध्यान रहे की changes तर्ी आते
है जब आप router को reboot करते है ।
Router(config)# config-register 0x2101

CCNA in Hindi - Routing - Best Hindi Tutorials


11-14 minutes

 Introduction to routing in Hindi


 Basics of routing table in Hindi
 Viewing routing table in Hindi
Introduction to Routing
एक network से दू सरे network में packets send करने की process को routing कहते है । Routing static और
dynamic 2 प्रकार की होती है ।
Routes destination network पर based होते है । Routing में एक network से दू सरे network के कलए best
path find ककया जाता है । Best path को metric और administrative distance के base पर चुना जाता है ।
Routing routers के द्वारा perform की जाती है । इसके कलए routers routing tables बनाते है । आइये अब
routing tables के बारे में जानने का प्रयास करते है ।
Routing Tables
Routers routing tables बनाते है कजनमें कनचे दी गई information होती है ।
 Destination network और उसका subnet mask होता है ।
 Destination network तक जाने के कलए next hop router के बारे में information होती है ।
 Routing metrics और administrative distance stored होती है ।
Routing tables 2 तरह के protocols से related होती है ।
1. Routed protocols – ये network layer protocols होते है । Routed protocols devices के साथ logical
addresses attach करते है । ये protocols data को एक network से दू सरे network में र्ेजने के कलए
responsible होते है । उदाहरण के कलए IP (Internet Protocol) और IPX आकद।
2. Routing protocols – ये protocols routing tables में network, topology और next hop information
build करते है । ये सारी information dynamically (automatically) build की जाती है । उदाहरण के
कलए RIP, IGRP और OSPF आकद। Routing protocols 2 तरह के होते है ।
1. Distance vector – इस तरह के protocols में metric hop count (number of routers between
source and destination) के द्वारा determine की जाती है । कजस route में distance सबसे कम
होती है वही route choose ककया जाता है । इस तरह के protocol का उदाहरण RIP है ।
2. Link state – इस तरह के protocols में metric shortest path first algorithm से determine की
जाती है । सर्ी routes की cost में जो सबसे कम cost होती है उसे ही route चूना जाता है ।
इस तरह के protocols का उदाहरण OSPF है ।
Destination network तक best route identify करने के कलए router कनचे कदए गए 3 elements को यू ज़ करता
है ।
1. Prefix-Length – ये network को identify करने के कलए bits की quantity होती है । इससे सबसे
सटीक route determine ककया जाता है । Prefix length कजतनी ज्यादा होती है route उतना ही सटीक
होता है । उदाहरण के कलए मान लीकजए एक packet 10.1.5.0/24 host पर जा रहा है और router की
routing table में कनचे कदए गए 2 networks है । युँहा पर पहले network को choose ककया जाये गा
क्योंकक इसकी prefix length अकधक है । इससे कोई र्कभ नहीं पडता की metric या administrative
distance क्या है ।
1. 10.1.5.0/24
2. 10.0.0.0/8
2. Metric – Metric router को routing protocol के अं तगभत best route ढूंढने की योग्यता दे ती है । Distance
vector protocols distance को metric की तरह यूज़ करते है और link state protocols shortest path
first algorithm द्वारा calculate की गई cost को metric की तरह यूज़ करते है । कजन routes की best
metric होती है वही routing tables में add ककये जाते है । युँहा तक की यकद ककसी routing protocol
के पास एक ही network तक जाने के 4 route है तो र्ी जो metric सबसे better होगी उसे ही
routing table में add ककया जाये गा। यकद equal metric के एक से ज्यादा route available है तो load
balance के द्वारा सही metric को choose ककया जायेगा।
3. Administrative Distance – यकद router पर एक से अकधक routing protocols चल रहे है तो ककस
protocol पर सबसे अकधक trust करना है ये administrative distance के द्वारा determine ककया जाता
है । जुँहा पर administrative distance सबसे कम होती है वही protocol choose ककया जाता है ।
Administrative distance एक numerical value होती है जो dynamic protocols को assign की जाती
है । ये fixed होती है । कजस protocol की administrative distance unknown होती है उसे कर्ी र्ी
routing table में नहीं कलया जाता है । कुछ common protocols की administrative distance कनचे दी जा
रही है ।
Protocols Administrative Distance
IGRP 100
OSPF 110
RIP 120
Unknown 255
Viewing Routing Table
ककसी र्ी router पर routing table दे खी जा सकती है । इसके कलए आप show ip route command execute
करते है । इसे आप user execution mode से दे ख सकते है ।
#Router1 show ip route
जब आप इस command को execute करते है तो आपको सर्ी routers की list show हो जाती है । इन
सर्ी routers के साथ एक label र्ी show ककया जाता है जो ये बताता है की ये सब router current router
से ककस प्रकार connected है । जैसे की C मतलब directly connected होता है । इन सर्ी labels की list कनचे
दी जा रही है ।
 C – इस label का मतलब है की कदया गया router current router से directly connected है ।
 S – ये label बताता है की कदया गया router statically manage ककया गया है ।
 S* – ये बताता है की current router से कदए गए router के बीच में default route है ।
 D – इस label का मतलब है की कदया गया router EIGRP protocol यू ज़ कर रहा है ।
 I – ये label बताता है की कदया गया router IGRP protocol यू ज़ कर रहा है ।
 R – ये बताता है की कदया गया router RIP protocol यू ज़ कर रहा है ।
 O – इस label का मतलब है की कदया गया router OSPF protocol यू ज़ कर रहा है
Clearing Routing Table
यकद आप routing table से सर्ी routes clear करना चाहते है तो इसके कलए आप clear command यूज़ कर
सकते है । Routing table clear करके आप routing protocols को routing table दोबारा populate करने के
कलए force कर सकते है ।
#Router clear ip route
Choosing Best Route
ककसी र्ी destination router तक best route choose करने के कलए आप कनचे दी हुई process को follow
कर सकते है ।
 सबसे पहले आप सर्ी route की destination route के साथ prefix length match करें गे। कजन
routes की prefix length सबसे accurate है आप उन्हें चुन लेंगे।
 अब इन routes में से कजस route की metric सबसे कम है आप उसे choose कर लेंगे।
 यकद same metric के एक से अकधक route है तो आप सबसे कम administrative distance वाले route
को choose करें गे और यही आपका सबसे best route होगा।
Static & Dynamic Routing
Routing table build करने के कलए 2 basic method available है ।
 Static routing
 Dynamic routing
इन दोनों methods के बारे में कनचे detail से कदया जा रहा है ।
Static Routing
Static routing table को network administrator manually create, maintain और update करता है । हर
network के कलए route हर router पर manually configure ककया जाता है । इससे आप routing को बहुत deep
level पर control कर सकते है । लेककन ये approach large networks के कलए impractical है ।
इस approach में routers एक दू सरे के साथ routes नहीं share करते है , इससे router की RAM/CPU पर
extra stress नहीं पडता है और साथ ही इससे bandwidth र्ी save हो जाती है । Static routing fault tolerant
नहीं है क्योंकक इसमें सर्ी कुछ manually ककया जाता है ।
इसकलए जब र्ी कोई link down होती है या नया router add ककया जाता है तो routers में changes
manually करने पडते है । जो routers pure static environment में काम करते है वो कोई र्ी link
unavailable होने पर दू सरा better route choose करने में incapable होते है ।
Static routes की administrative distance 1 होती है इसकलए इन्हें dynamic routes से पहले preference दी
जाती है । इस administrative distance को change र्ी ककया जा सकता है । कजन static routes की
administrative distance adjust की जाती है उन्हें floating static route कहते है । कनचे static routing की कुछ
advantages दी जा रही है ।
 Static routing में CPU पर overhead बहुत कम होता है ।
 Bandwidth में overhead कबलकुल र्ी नहीं होता है क्योंकक routers एक दू सरे के साथ updates share
नहीं करते है ।
 Static routing से आप network को deep level पर control कर सकते है ।
कनचे static routing की कुछ disadvantages र्ी दी जा रही हैं ।
 यकद network में कोई change करना हो तो उसे सर्ी routers पर manually करना होता है ।
 यकद कोई link down हो जाये तो इसमें कोई fault tolerant नहीं होती है ।
 Static routing large networks के कलए impractical है ।
Dynamic Routing
एक dynamic routing table routing protocols के द्वारा create, maintain और update की जाती है । Routing
protocols में कनचे कदए गए 3 protocols होते है ।
1. RIP (Routing Information Protocol)
2. IGRP (Interior Gateway Routing Protocol)
3. EIGRP – (Enhanced Interior Gateway Routing Protocol)
4. OSPF – (Open Shortest Path First)
Dynamic routing में routers एक दू सरे के साथ routing information share करते है । इससे CPU और
Memory का overhead बढ़ जाता है और bandwidth र्ी use होती है । लेककन यकद network में कोई link
down हो जाये तो routing protocols dynamically दू सरा better path choose कर सकते है ।
नीचे dynamic routing की कुछ advantages दी जा रही है ।
 Dynamic routing को large networks पर आसानी से configure ककया जा सकता है ।
 Automatically better path choose करने में सक्षम।
 Different links के बीच में load balance करने में सक्षम।
कनचे dynamic routing की कुछ disadvantages र्ी दी जा रही हैं ।
 Dynamic routing bandwidth consume करती है ।
 Router के CPU पर additional load पडता है ।
 Route की choice routing protocol के हाथ में होती है administrator इसमें कुछ नहीं कर सकता
है ।
Categories of Dynamic Routing Protocols
Dynamic routing protocols को 2 categories में divide ककया गया है ।
 Distance vector protocols
 Link state protocols
इन दोनों protocols के बारे में कनचे detail से कदया जा रहा है ।
Distance Vector Routing Protocols
RIP और IGRP distance vector routing protocols होते हैं । सर्ी distance vector routing protocols की कुछ
characteristics होती है जो कनचे दी जा रही है ।
 पू री routing table की periodic updates सर्ी पडौसी routers को र्े जी जाती है ।
 Distance vector protocols में convergence बहुत slow होता है और ये protocols loops के प्रकत
अकतसंवेदनशील होते है ।
 Route की metric calculate करने के कलए distance को यू ज़ ककया जाता है ।
 Shortest path तय करने के कलए Bellman ford algorithm यू ज़ की जाती है ।
Distance vector routing protocols सर्ी neighbors को directly connected networks के बारे में updates send
करते है । ये update regularly र्ेजी जाती है । RIP में ये update हर 30 second में र्ेजी जाती है और IGRP
में ये update हर 90 second में र्ेजी जाती है ।
इन updates से neighbors अपनी routing tables में route add कर लेते है । इसके बाद सर्ी neighbors अपनी
पूरी routing table को सर्ी neighbors के साथ share करते हुए forward कर दे ते है ।
इस तरह की process की कई disadvantages है । Routing information एक neighbor से दू सरे neighbor के
pass periodic updates से जाती है इसकलए convergence बहुत slow होता है । साथ सर्ी neighbors एक दू सरे
पर depend करते है इसकलए looping के chances र्ी बहुत अकधक होते है ।
जैसा की मैने आपको पहले बताया distance vector protocols metric calculate करने के कलए distance को
यूज़ करते है । RIP में metric hop counts के द्वारा calculate की जाती है । IGRP में bandwidth और delay
के द्वारा metric calculate की जाती है ।
Link State Routing Protocols
Link state protocols को distance vector protocols में आने वाली looping और convergence problem को
overcome करने के कलए develop ककया गया था। Link state routing protocols 3 तरह की routing tables
build करते है । इनके बारे में कनचे कदया जा रहा है ।
 Neighbor table – इस table में सर्ी neighbors की list होती है और साथ ही ये र्ी होता है
की कौनसा neighbor ककस interface से connected है । Neighbor table hello packets र्ेज कर बनायीं
जाती है ।
 Topology table – इसे link state table र्ी कहते है । इसमें एक area की सर्ी links का map stored
रहता है । साथ ही हर link का status र्ी stored रहता है ।
 Shortest path table – इस table में हर destination के कलए best routes stored रहते है ।
Link state routing protocols में routers directly connected networks के status के बारे में updates र्े जते है ।
सर्ी routers ये information topology table में store करते है । एक area के अंदर कजतने र्ी routers होते है
उनकी topology table same होती है ।
यकद ककसी link में कोई change आता है तो केवल इस link से related update सर्ी routers को र्े जी जाती
है और सर्ी routers उसके अनुसार अपनी topology table को adjust कर लेते है ।
केवल कजस link में change हुआ है उसी की update र्ेजी जाती है इस वजह से bandwidth पर र्ी ज्यादा
प्रर्ाव नहीं पडता है । लेककन 3 tables को manage करने की वजह से CPU बहुत अकधक utilize होता है ।
Link state protocols में Dijkstra formula के द्वारा shortest path calculate ककया जाता है ।

CCNA in Hindi - Secure Socket Layer (SSL) - Best


Hindi Tutorials
5-6 minutes

 Introduction to SSL (Secure Socket Layer) in Hindi


 Components of SSL in Hindi
 Working of SSL in Hindi
Introduction to Secured Socket Layer (SSL)
SSL एक network protocol होता है जो client और server के बीच authentication और communication को
manage करता है । SSL के 3 primary task है ।
 Client authentication
 Server authentication
 Communication encryption
SSL एक web server और browser के बीच में secure connection establish करता है । SSL Netscape के द्वारा
develop ककया गया था। SSL को RFC 2246 में declare ककया गया है । इसे TLS (Transport Layer Security)
के नाम से र्ी जाना जाता है ।
इस protocol का सबसे important task applications के बीच data की privacy और completeness provide
करना है । जब र्ी कोई connection SSL के साथ secure ककया जाता है तो उसकी 3 characteristics होती
है । ये characteristics कनचे दी जा रही है ।
 Privacy – Connection private होता है क्योंकक transmit होने वाले data को Symmetric Cryptography
से encrypt ककया जाता है । ये एक algorithm होती है जो data को encrypt करती है ।
 Authenticity – Communicate करने वाली applications authentic होती है । क्योंकक public-key
cryptography से उन्हें authenticate ककया जाता है ।
 Reliability – Connection reliable होता है क्योंकक हर message की completeness authentication code
के द्वारा check की जाती है ।
Components of SSL
SSL के 4 primary component (protocols) होते है । SSL को इन 4 protocols में divide ककया गया हैं ।
 SSL handshake protocol
 SSL record protocol
 SSL alert protocol
 SSL change cipher spec protocol
इन सर्ी protocols के बारे में detail से कनचे कदया जा रहा है ।
SSL Handshake Protocol
SSL handshake protocol के द्वारा client और server के बीच में secure channel establish ककया जाता है । ये
protocol keys और algorithms की information SSL record protocol को provide करता है । इस protocol के
द्वारा clients और servers 3 primary tasks perform करते है ।
 Clients और servers cryptographic algorithm determine करते है । ये वो algorithm होती है कजससे
data encrypt ककया जायेगा। जब client और server दोनों ककसी एक algorithm को support करते है
तो उसे ही choose ककया जाता है ।
 Clients और servers एक दू सरे को authenticate करते है ।
 एक दू सरे के साथ keys exchange करते है ताकक दू सरी तरर् data का decryption ककया जा सके।
SSL Record Protocol
SSL record protocol data का fragmentation, compression और encryption करता है । इस property के
functions कनचे explain ककये जा रहे है ।
 Application layer से प्राप्त data को fixed length के packets में break करना।
 Data को compress करना।
 Message Authentication Code (MAC) add करना।
 Break ककये गए packets को encrypt करना।
 सर्ी packets के साथ SSL header attach करना।
SSL Alert Protocol
SSL alert protocol sessions में आने वाली problems (errors) को alert messages के द्वारा represent करता है ।
एक alert message में error की गंम्भीरता और उसके बारे में short description कदया जाता है ।
जब र्ी कोई fatal error message कमलता है तो server और client दोनों ही connection को close कर दे ते
है । जब connection को close ककया जाता है तो इसी protocol के माध्यम से client और server एक दू सरे
को notify करते है । इसके कलए close_notify message र्ेजा जाता है । ये protocols warnings र्ी present
करता है ।
SSL Change Cipher Spec Protocol
Change cipher spec protocol client और server के द्वारा यूज़ ककये जाने वाले encryption method को change
करने के कलए यूज़ ककया जाता है ।
Change cipher protocol एक single message होता है जो ये बताता है की sender symmetric key encryption
को change करना चाहता है । ये एक message होता है कजसमे 1 byte value 1 set होती है । इस protocol के
advantage ये है की दोबारा connection establish ककये कबना ही आप encryption method को change कर
सकते है ।
Working of Secure Socket Layer (SSL)
जब र्ी client server के बीच में connection होता है तो ये एक initial handshake process के द्वारा start
होता है । सबसे पहले server अपना digital certificate client को present करता है ।
Client इस certificate को public key cryptography के द्वारा authenticate करता है । ये certificate बताता
है server एक authorized server है । Server के authenticate होने के बाद client र्ी खुद को authenticate
करता है ।
जब एक बार server authenticate हो जाता है तो client और server encryption method determine करते है ।
जैसा की मैने आपको पहले बताया कसर्भ वही encryption method यूज़ ककया जाता है कजसे client और
server दोनों support करते हो। साथ ही एक common key र्ी share की जाती है जो data के decryption के
कलए यूज़ की जाती है ।
जब र्ी आप ककसी SSL secure connection में enter करते है तो protocol HTTP से HTTPS बन जाता है ।
आइये इस process को कुछ steps से समझने का प्रयास करते है ।
1. सबसे पहले handshake protocol के द्वारा client और server एक दू सरे को authenticate करते है ।
2. इसके बाद change cipher spec protocol के द्वारा encryption method set ककया जाता है ।
3. इसके बाद SSL record protocol के द्वारा SSL को packets में break ककया जाता है , compress ककया
जाता है और SSL header attach ककया जाता है । कर्र ये packets TCP को र्ेज कदए जाते है ।
4. यकद इस process के दौरान कोई error आती है तो alert protocols इन errors को present करता है ।
5. साथ ही alert protocol के द्वारा connection terminate करने के कलए message र्ी र्ेजा जाता है ।
CCNA in Hindi - Routing Information Protocol
(RIP) - Best Hindi Tutorials
6-8 minutes

 Introduction to Routing information Protocol (RIP) in Hindi


 Routing Information Protocol (RIP) timers in Hindi
 Routing information protocol message format in Hindi
Introduction to Routing Information Protocol (RIP)
RIP को 1969 में develop ककया गया था। ये ARAPNET का एक part था। RIP के एक formal standard
बनने से पहले ही इसे develop और accept कर कलए गया था। ये एक distance vector protocol है । RIP
metric calculate करने के कलए hop counts यूज़ करता है ।
RIP metric में जो routers directly connected है उनमें एक hop की और जो दू सरे ककसी एक router के द्वारा
जुडे हुए है उनमें 2 hop की दु री होती है । इसी प्रकार जैसे जैसे router add होते है hop count बढ़ता जाता
है । Source से destination के बीच के hop counts path को र्ी show करते है । RIP में maximum 15 hop
allowed है । यकद destination 15 hop से र्ी दू र है तो destination unreachable error आती है ।
RIP internet protocol suit की network layer के ऊपर काम करता है । ये data carry करने के कलए UDP
port 520 यूज़ करता है । Metric calculate करने के कलए RIP bellman ford algorithm यूज़ करता है ।
RIP Modes
RIP routers को 2 modes में categories करता है ।
 Active – इस mode में routers अपनी routing information दू सरे routers के साथ share करते है ।
 Passive – इस mode में routers दू सरे routers से routing information लेते है लेककन अपनी routing
information ककसी र्ी router के साथ share नहीं करते है ।
RIP by default active mode में run होता है । केवल routers पर ही RIP active mode में run होता है और
hosts पर passive mode में run होता है । कजस router पर RIP active mode में run होता है वह हर 30 second
में एक message र्ेजता है ।
इस message के द्वारा router अपनी routing table directly connected routers के साथ share करता है । हर
message में IP addresses होता है जो दू सरे network को represent करता है और एक integer value होती है
जो की hop counts की form में उस network से दु री बताती है ।
जब र्ी कोई router ककसी दू सरे router से कोई route प्राप्त करता है तो वह तब तक उसे अपनी table में
रखता है जब तक की उसे दू सरा better route नहीं कमल जाये।
Routing Table Structure
RIP routing table की हर entry से कई तरह की information प्राप्त होती है । जैसे की
 Destination – इस field में destination network का IP address defined होता है ।
 Next hop (Metric) – इस field में destination तक पहुुँ चने के कलए next router को define ककया
जाता है ।
 Hop count – ये field destination router से source की दु री hop counts की form में represent करता है ।
इसे metric field र्ी कहते है ।
 Timers – ये field timers के कलए होता है । ये blank र्ी रह सकता है ।
Destination Hop count (Metric) Next hop Other information (Timers)
100.2.31.0 5 100.3.1.5
192.168.2.0 2 192.200.3.1
172.20.1.0 3 200.1.2.0
RIP हमेशा destination के कलए best route को ही store करता है इसकलए जब र्ी कोई नयी information
और र्ी अच्छा route present करती है तो table से old route को replace कर कदया जाता है ।
RIP Timers
दू सरे protocols की तरह RIP र्ी खुद की performance को adjust करने के कलए कुछ timers यूज़ करता
है । RIP 3 तरह के timers यूज़ करता है ।
 Routing update timer
 Route timeout timer
 Route flush timer
Routing update timer periodically र्ेजे जाने वाली routing updates का timer होता है । जैसा की आपको पता
है RIP हर 30 second में अपनी routing table दू सरे routers के साथ share करता है । आप चाहे तो इस
time को कम या अकधक कर सकते हैं । लेककन generally ये 30 seconds ही होता है ।
Route timeout timer को route invalid timer र्ी कहा जाता है । ये determine करता है की यकद ककसी route
के बारे में नयी information नहीं प्राप्त हो रही है तो कब तक उसे valid माना जाना चाकहए। हर routing
table entry के साथ route timeout timer attached रहता हैं ।
जब route timeout timer expire होता है तो route को invalid मान कलया जाता है और सर्ी routers को
इसके बारे में update र्जे दी जाती है । Route timeout timer की default value 90 seconds होती है ।
Route flush timer determine करता है की एक invalid route को ककतनी दे र में routing table से हटा दे ना
चाकहए। इसकी default value 270 seconds होती है । जब ये timer expire होता है तो route को table से
remove कर कदया जाता है ।
RIP Message Format
RIP messages को 2 categories में divide ककया गया है ।
 Routing information message
 Information request message
इन दोनों ही messages का format same होता है । इसमें 32 bits की RIP header होती है । Header के बाद
message में IP address और metric का pair होता है । RIP header में बहुत से fields होते है । आइये इनके
बारे में जानने का प्रयास करते है ।

 Command – ये field बताता है की message एक request message है या response message है । यकद


इसकी value 1 है तो message request message है और यकद 2 है तो message response है ।
 Version – ये field बताता है की RIP का कौनसा version यूज़ ककया गया है ।
 Zero – इस field की default value zero होती है । इस field को कसर्भ RIP के different versions के
साथ compatibility provide करने के कलए add ककया गया है । शुरुआत में originally ऐसा कोई field
नहीं था।
 Address family identifier – ये field identify करता है की ककस family का address use ककया जाता
है । जब इस field की value 2 होती है तो ये IP protocol को represent करता है ।
 IP address – इस field में destination IP address define ककया जाता है ।
 Metric – ये field destination network तक hop counts को represent करता है ।
Limitations of RIP
1. RIP में hop counts कसर्भ 15 routers तक ही limited होती है । यकद 15 routers को cross करने के
बाद र्ी packet destination पर नहीं पहुुँ च पाता है तो उसे discard कर कदया जाता है ।
2. RIP variable length subnet mask को support नहीं करता है । इसका मतलब जो network class-full
boundaries में होता है उसे ही routing table में जगह कमलती है ।
3. Routing update messages की वजह से large networks पर convergence बहुत slow होता है । एक
router से update दू सरे router तक जाती है और अंत में सर्ी routers के pass same routing table
होती हैं इसे convergence कहते है । लेककन large networks में यह process बहुत अकधक समय ले
लेती है ।
4. RIP के द्वारा ककसी र्ी router की bandwidth के बारे में कोई र्ी information नहीं प्राप्त की जा
सकती है ।
5. RIP एक destination के कलए multiple routes storage को support नहीं करता है ।
6. Routing updates के कलए specific bandwidth की जरुरत हो सकती है ।
7. कई बार routing loops create होने की वजह से network काम करना बंद कर सकता है ।

CCNA in Hindi - Routing Information Protocol


(RIP) Configuration - Best Hindi Tutorials
7-9 minutes

 Basic Routing Information Protocol (RIP) configuration in Hindi


 Routing Information Protocol (RIPv2) configuration in Hindi
 Routing Information Protocol troubleshooting in Hindi
Basic RIP configuration
ककसी र्ी routing protocol को global configuration mode में configure ककया जाता है । जब आप RIP को
configure करते हैं तो सबसे पहले आप कजस router को configure करना चाहते है उसमें login होकर
global configuration mode में enter होते है ।
RIP को configure करने के कलए आप सबसे पहले router rip command execute करवाते है । ये command
RIP routing process को enable करती है । इस command को execute करने से आप global configuration
mode से router configuration mode में आ जाते है । इसे RIP enable command र्ी कहते है ।
RIP हमेशा directly connected routers के बारे में ही दू सरे router को updates र्ेजता है । ऐसा network
command के द्वारा ककया जाता हैं । Network command ये बताती है की आप ककन directly connected
routers को routing updates के द्वारा दू सरे RIP routers के साथ share करना चाहते है ।
कसर्भ उन्हीं routers के साथ routing information share की जाती है जो network command के द्वारा listed
होते है । आइये इस एक उदाहरण से समझने का प्रयास करते है ।

ऊपर कदए हुए diagram को दे ल्खये। इसमें 3 routers है A, B और C। Router A पर आप RIP इस प्रकार
configure कर सकते है ।
RouterA(config)# router rip
RouterA(config-router)# network 192.18.0.0
RouterA(config-router)# network 192.17.0.0
Router B पर आप RIP इस प्रकार configure कर सकते है ।
RouterB(config)# router rip
RouterB(config-router)# network 192.18.0.0
RouterB(config-router)# network 192.19.0.0
इसके बाद Router C पर RIP को इस प्रकार configure ककया जाये गा।
RouterC(config)# router rip
RouterC(config-router)# network 192.17.0.0
RouterC(config-router)# network 192.16.0.0
युँहा पर पहले RIP को enable ककया गया है , इसके बाद network command के द्वारा ये define ककया गया
है की ककन routers को routing information र्ेजी जानी चाकहए।
एक ध्यान दे ने योग्य बात ये है की सर्ी IP addresses classfull boundaries में define ककये जाते है और
उनके साथ कोई subnet mask define नहीं ककया जाता है ।
RIP v2 configuration
RIP 2 RIP 1 की limitations को routing updates में subnet add करके overcome करता है । By default
routers पर RIP 1 ही enabled रहता है । इसे change करने के कलए आप RIP को enable करने के बाद
version command के द्वारा version define करते है ।
हालाुँ कक RIP 2 एक classless protocol है लेककन कर्र र्ी networks को classful boundaries में कबना subnet
mask के define ककया जाता है ।
Auto-summarization
जब र्ी कोई router major network से बाहर होता है और इसके द्वारा र्ेजे गए routes sub-netted (classless
boundaries) होते है तो ऐसी situation में RIP इन routes को automatically classful boundaries में summarize
करके add करता है ।
इसे auto summarization कहते है । आप चाहे तो इसे disable र्ी कर सकते है इसके कलए आप no auto-
summary command execute करते है ।
यकद ऊपर RIP के उदाहरण को RIP 2 के साथ configure करे तो ऐसा आप इस प्रकार कर सकते है ।
RouterA# router rip
RouterA# version 2
RouterA# network 192.18.0.0
RouterA# network 192.18.0.0
इसी प्रकार बाकी routers के साथ र्ी RIP 2 को configure ककया जा सकता है ।
RIP Timers Configuration
जैसा की मैने आपको पहले बताया RIP timers RIP operations को control करने के कलए यूज़ ककये जाते
है । इनकी default value इस प्रकार होती है ।
 Update timer – 30
 Route timeout timer (Invalid timer) – 180
 Hold down timer – 180
 Flush timer – 240
आप इन default values को change कर सकते है इसके कलए आप timers basic command execute करवाते
है । ये command सर्ी timers की default values को change कर दे ती है । इस command के बाद आप
ऊपर कदए गए order में timers की values space से separate करके कलखते है । जैसे की
Router(config)# router rip
Router(config)# timers basic 20 80 80 120
यकद आप वापस से default timers को enable करना चाहते है तो इसके कलए आप no timers basic
command यूज़ करते हैं ।
Router(config)# no timers basic
RIP Passive Interfaces Configuration
Passive routers वो RIP routers होते है जो routing updates कसर्भ receive करते है लेककन send नहीं करते
है । आप ककसी र्ी router के एक particular interface को passive बना सकते है ।
ऐसा करने से उस interface से कोई र्ी routing update जाएगी नहीं लेककन दू सरे RIP router के द्वारा र्ेजी
गई routing updates आ सकती है । उदाहरण के कलए कनचे कदए गए diagram को दे ल्खये।

इस example में router B के interface s0 को passive बनाया गया है । अब A को routing updates नहीं र्ेजी
जाएगी। लेककन router A से routing updates receive की जा सकती है । ऐसा आप passive-interface
command के द्वारा करते है । इस command के बाद आप उस interface का नाम कलखते है कजसे आप
passive बनाना चाहते है ।
RouterB(config)# passive-interface s0
यकद आप ककसी router के सर्ी interfaces को एक साथ passive बनाना चाहते है तो इसके कलए passive-
interface command default value के साथ execute करते है ।
RouterB(config)# passive-interface default
यकद आप वापस से ककसी interface को active करना चाहते है तो no passive-interface command execute
कर सकते है ।
RouterB(config)# no passive-interface s0
RIP Neighbors Configuration
By default RIP routing updates को broadcast करता है । लेककन आप चाहे तो बाकक सब routers को छोड
कर specific routers को unicast updates र्ेज सकते है ।
ऐसा करने से routing updates broadcast नहीं होगी लेककन specific neighbors को unicast updates र्े जी
जाएगी। Specific routers को routing updates र्ेजने के कलए आप उन्हें neighbor command से configure
करते है ।
RouterC(config)# neighbor 192.17.1.2
RIP v1 and RIP v2 inter-operating configuration
कई बार ऐसी र्ी situation हो सकती है की एक router RIP v1 use कर रहा है और दू सरा router RIP v2
यूज़ कर रहा है । RIP v1 router कसर्भ RIP v1 packets send कर सकता है । लेककन receive दोनों तरह के
packets कर सकता है और RIP v2 केवल RIP v2 packets को ही send और receive कर सकता है ।
ऐसी situation में या तो RIP v1 वाले router को configure ककया जा सकता है की वो RIP v2 packets र्ेजे
या आप RIP v2 router को configure कर सकते है की वो RIP v1 packets को receive करे ।
मान लीकजए की RouterC RIP v1 को run कर रहा है तो आप इस router को RIP v2 packets र्ेजने के
कलए इस प्रकार configure कर सकते है । ये configuration आप interfaces पर करते है । इसके कलए आप
interface configuration mode में enter होते है ।
RouterC(config)# interface s0
RouterC(config-if)# ip rip send version 2
आप चाहे तो RouterA जो की RIP v2 रन कर रहा है उसे र्ी RIP v1 के packets receive करने के कलए
configure कर सकते है । दु बारा में आपको बता दे ना चाहता हुँ की ये configuration interfaces पर ककया
जाता है ।
RouterA(config)# interface s0
RouterA(config-if)# ip rip receive version 1
RIP updates triggering configuration
RIP updates हर 30 second में र्ेजी जाती है लेककन आप चाहे तो इसे configure कर सकते है ताकक जब
table में कोई change हो तब ही routing updates र्ेजी जाये। ऐसा आप इस प्रकार कर सकते है ।
RouterC(config)# interface s0.150 point-to-point
RouterC(config)# ip rip triggered
Troubleshooting RIP
RIP को debug करने के कलए बहुत सी commands available है , इन्हें यूज़ करके आप problem का पता
लगा सकते है ।
Commands Explanation
इस command से आप routing table दे ख सकते है । इस command के आगे IP address
show ip route
कलखकर केवल उस router के बारे में आप routing information दे ख सकते है ।
debug ip rip इस command से आप RIP को real time में configure कर सकते है ।
show ip RIP protocols के बारे में information दे खने के कलए आप इस command को यूज़ कर
protocols सकते है ।
show ip rip
RIP database दे खने के कलए आप इस command को यूज़ कर सकते है ।
database

Flush ये timer बताता हैं की एक route flush होने से पहले routing table में ककतनी दे र तक
timer रहे गा।

CCNA in Hindi - Interior Gateway Routing


Protocol (IGRP) - Best Hindi Tutorials
7-8 minutes

 Introduction to IGRP (Interior Gateway Routing Protocol) in Hindi


 Characteristics of Interior Gateway Routing Protocol in Hindi
 Configuring Interior Gateway Routing Protocol in Hindi
Introduction to Interior Gateway Routing Protocol (IGRP)
IGRP एक Cisco proprietary protocol है । इसका मतलब ये हुआ की ये कसर्भ Cisco routers के साथ ही
available है । जब ककसी एक network में सर्ी routers Cisco के हो तो IGRP को implement ककया जा
सकता है ।
IGRP एक Distance Vector Routing Protocol है । ये source से destination के बीच की distance को metric
calculate करने के कलए यूज़ करता है । लेककन कसर्भ RIP की तरह distance ही metric calculate करने के
कलए नहीं यूज़ की जाती है ।
IGRP के case में distance, bandwidth और delay की एक composite key के द्वारा metric calculate की जाती
है । Metric calculate करने के कलए Bellman Ford algorithm यूज़ की जाती है ।
IGRP हर 90 seconds में routing updates र्ेजता है । इस update में router की पूरी routing table दू सरे IGRP
neighbours के साथ share की जाती है । IGRP एक classful routing protocol है । इसकलए routing table में
सर्ी networks classful boundaries में represent ककये जाते है ।
IGRP by default 100 hops तक packet delivery support करता है । लेककन इस value को आप adjust करके
255 तक बडा सकते है ।
Characteristics of IGRP (Interior Gateway Routing Protocol)
कनचे IGRP protocol की कुछ characteristics दी जा रही है ।
 IGRP में metric calculate करने के कलए composite key use की जाती है ।
 Routing updates 90 seconds में र्े जी जाती है ।
 IGRP VLSM (Variable Length Subnet Mast) को support नहीं करता है ।
 Maximum hop counts 255 तक हो सकते है ।
 ये एक classful routing protocol होता है ।
Interior Gateway Routing Protocol (IGRP) Timers
कनचे IGRP में यूज़ होने वाले 4 important timers के बारे में बताया जा रहा है । ये timers routing operations
को control करने के कलए यूज़ ककये जाते है ।
Timers Explanation
Update ये timer बताता है की ककतनी दे र में router periodic routing table updates र्ेजेगा। इसकी
timer default value 90 seconds होती है ।
यकद ककसी route के कलए नयी updates नहीं आती है तो वह invalid मान कलया जाता है । ये
timer बताता है की एक route invalid होने से पहले ककतनी दे र तक routing table में रहे गा।
Invalid
यकद इस बीच में route के कलए update आ जाती है तो timer कर्र से reset हो जाता है । इस
timer
timer की default value 270 seconds होती है । Invalid routes को hold down state में रखा जाता
है ।
Hold-down
timer ये timer बताता है की एक invalid route hold down state में ककतनी दे र तक रहे गा।

ये timer बताता हैं की एक route flush होने से पहले routing table में ककतनी दे र तक
Flush timer
रहे गा।
IGRP Loop Avoidance Mechanism
कई बार IGRP network में infinite loop की condition आ जाती है । इसे avoid करने के कलए कुछ loop
avoidance mechanisms यू ज़ ककये जाते है । उदाहरण के कलए कनचे कदए गए network को दे ल्खये।

मान लीकजए network 192.19.0.0 down हो चूका है । Router B 30 second में router A को update र्े जकर
बताएगा की network 198.19.0.0 down हो चूका है । लेककन यकद 30 second से पहले Router A के periodic
updates आ जाती है तो router B में उसकी entry हो जाएगी और router B network 192.19.0.0 को alive
मान लेगा।
इस situation में router B को लगता है की वो network 192.19.0.0 तक router A से होकर जा सकता है ।
लेककन router A की routing table के अनुसार network 192.19.0.0 तक router B से जाया जा सकता है ।
इसकलए Router A packet router B को र्ेजेगा और router B packet को वापस router A को र्ेजेगा। इस
situation में एक infinite loop create हो जाता है । इस looping situation को avoid करने के कलए आप 3
mechanisms use कर सकते है । इनके बारे में कनचे कदया जा रहा है ।
Split Horizon
इस mechanism में कजस router से routing update प्राप्त होती है उसे वापस routing update र्ेजने को
disable कर कदया जाता है । ऊपर कदए गए उदाहरण में router A ने इस network के बारे में router B से
जाना है ।
इसकलए इस mechanism को apply करने के बाद router A network 192.19.0.0 से related updates router B
को नहीं र्ेज सकता है । ऐसा करने से इस network में loop की situation नहीं आयेगी। ये mechanism
सर्ी Cisco routers में by default enabled रहता है ।
Route Poisoning
इस mechanism में जब कोई network fail होता है तो उसकी update सर्ी IGRP routers को immediately
र्ेज दी जाती है । इस mechanism में update र्े जने के कलए timers के expire होने का wait नहीं ककया
जाता है । ऐसा करने से loop की situation create नहीं होती है ।
Hold-down Timers
इस mechanism में जो routers hold down state में है उनके कलए नयी updates नहीं accept की जाती है ।
ऐसा करके loop को avoid ककया जाता है ।
IGRP Configuration
IGRP को configure करने से पहले आइये Autonomous System के बारे में जानने का प्रयास करते है ।
Autonomous System
एक autonomous system IP networks का group होता है कजसे एक single network administrator operate
करता है । एक autonomous system की routing policy clearly defined होती है । Autonomous systems के
बीच में information share करने के कलए exterior routing protocols यूज़ ककये जाते है ।
यकद 2 networks की routing policies different है तो ऐसी situation में उनको अलग अलग autonomous
system में रख कदया जाता है और exterior routing protocols के द्वारा information share की जाती है । सर्ी
autonomous systems की खुद खुद का global unique number होता है ।
Basic IGRP Configuration
IGRP को configure करना बहुत ही आसान हैं । उदाहरण के कलए कनचे कदए हुए network को दे ल्खये।

IGRP को global configuration mode में configure ककया जाता है । ककसी र्ी router पर IGRP को configure
करने के कलए सबसे पहले आप ip router igrp ASnumber command type करें गे।
युँहा पर ASnumber एक autonomous system number है । ये एक autonomous system को represent करता
है । दू सरे routers जो इस autonomous system में होंगे कसर्भ वे ही इस router से update receive कर सकते
है ।
मान लीकजए की autonomous system 2 हैं तो router A पर IGRP को इस प्रकार configure ककया जा सकता
है ।
RouterA(config)# router igrp 2
RouterA(config-router)# network 192.17.0.0
RouterA(config-router)# network 192.18.0.0
इसी प्रकार router B को र्ी configure ककया जा सकता है ।
RouterB(config)# router igrp 2
RouterB(config-router)# network 192.18.0.0
RouterB(config-router)# network 192.19.0.0
Passive Interface Configuration
IGRP में र्ी passive interface configure करने के कलए आप passive-interface command यूज़ करते है । मान
लीकजए ऊपर कदए गए network में आप router B के s0 interface को passive बनाना चाहते है । ऐसा आप
इस प्रकार कर सकते है ।
RouterB(config-router)# passive interface s0
Maximum Hops Configuration
IGRP में default hop-count 100 होती है । लेककन आप चाहे तो इसे configure करके adjust कर सकते है ।
ऐसा आप metric maximum-hops (num upto 255) command के दवारा कर सकते हैं । इसका उदाहरण
कनचे कदया जा रहा है ।
RouterA(config-router)# router igrp 2
RouterA(config-router)# metric maximum-hops 255

CCNA in Hindi - Open Shortest Path First (OSPF)


- Best Hindi Tutorials
11-14 minutes

 Introduction to Open Shortest Path First (OSPF) in Hindi


 Open Shortest Path First (OSPF) neighbours in Hindi
 Configuring Open Shortest Path First (OSPF) protocol in Hindi
Introduction to Open Shortest Path First (OSPF)
OSPF (Open Shortest Path First) एक standard link state routing protocol है । इसका मतलब ये हुआ की
आप अपने network में ककसी र्ी vendor का router यूज़ कर सकते है । ये protocol सर्ी vendors के
routers के साथ काम कर सकता है । इसकलए आपको जरुरी नहीं की आपके network में सर्ी routers
Cisco के हो।
उदाहरण के कलए EIGRP protocol एक Cisco proprietary protocol है , जो की कसर्भ Cisco devices के साथ
ही काम करता है । लेककन OSPF एक common standard है जो सर्ी vendors follow करते है । इसकलए
network में आप Cisco के अलावा दू सरे vendors के routers र्ी यूज़ कर सकते है ।
OSPF के बारे में कुछ technical facts नीचे कदए जा रहे है आइये इन्हें समझने का प्रयास करते है ।
1. OSPF protocol Areas (एक बडे OSPF network को छोटे छोटे networks में divide ककया जाता है ,
कजन्हें area कहते है ।) को use करते हुए hierarchical network design (2 layers) set करता है ।
2. OSPF एक area के अं दर adjacent routers (directly connected) के बीच neighbour relationship
(routing information share करने का contract ) build करता है ।
3. Connected routers के साथ distance (hops) share करने के बजाय OSPF protocol directly connected
links का status share करता है । ऐसा करने के कलए OSPF Link State Advertisements (LSA) को
use करता है । LSA एक packet होता है जो की link status को carry करता है । LSA packets के र्ी
कई type होते है , कजनके बारे में आप आगे पडें गे। OSPF adjacent routers के link status को collect
करके एक network topology build करता है ।
4. जब र्ी link में कोई change आता है तो OSPF LSA send करता है । इस LSA में केवल उसी link
से related update होती है । Complete update हर 30 second में LSA के द्वारा र्ेजी जाती है ।
5. OSPF सर्ी packets को multicast address 224.0.0.5 पर र्ेजता है । ये address सर्ी OSPF routers
का common address होता है । युँहा र्ेजा जाने वाला packet सर्ी OSPF routers receive करते है ।
6. Shortest path determine करने के कलए OSPF protocol Dijkstra algorithm use करता है ।
7. OSPF एक classless (Subnet ककये हुए networks के साथ काम कर सकता है ।) routing protocol है
और इसकलए ये VLSM (Variable Length Subnet Mask) को support करता है ।
Characteristics of OSPF
नीचे OSPF की कुछ characteristics दी जा रही है ।
 OSPF केवल IP routing को support करता है । इसका मतलब ये हुआ की ये protocol कसर्भ एक
source से destination तक जाने के कलए best path find करता है । Data को source से destination
तक ले जाने का काम OSPF का नहीं होता है । इसके कलए दू सरे protocols use ककये जाते है जै से
की TCP और UDP आकद।
 OSPF routes की administrative distance 110 होती है । मैं आपको बता दू ुँ administrative distance वो
distance होती है जो की 2 best path कमलने पर एक को चुनने के कलए use की जाती है ।
 Metric calculate करने के कलए OSPF cost use करता है । ये cost link की bandwidth होती है । OSPF
में कोई र्ी hop count limit नहीं होती है । जैसे की RIP में 15 होती है ।
OSPF Protocol Tables
OSPF protocol 3 तरह की अलग अलग tables maintain करता है । आइये इन tables के बारे में जानने का
प्रयास करते है ।
Table Description
Neighbour
इस routing table में सर्ी neighbour routers की list होती है ।
table
इस table में एक area के अंदर सर्ी identified networks के possible routes store ककये
Topology table
जाते है ।
Routing table इस table में हर identified network के कलए best route store ककये जाते है ।
Neighbour Relation Forming
OSPF neighbour relationship hello packets के द्वारा बनाता है । ये relationship एक ही area में बनायीं जाती
है । इसका मतलब ये हुआ की एक area का router दू सरे area के router से relation नहीं build कर सकता
है ।
Hello packets multicast address 224.0.0.5 पर र्ेजे जाते है । Neighbour relationship build होने के बाद ही
routers एक दू सरे के साथ routing information build कर सकते है । Neighbour relationship को
adjacencies र्ी कहा जाता है ।
हर OSPF router को unique Router ID के द्वारा identify ककया जाता है । ककसी र्ी router पर Router ID
तीन तरह से apply की जा सकती है ।
1. आप Router ID manually specify कर सकते है ।
2. यकद आप Router ID manually specify नहीं करते है , तो router के ककसी र्ी loopback interface (एक
virtual interface) पर configure ककया हुआ highest IP address Router ID बन जाता है ।
3. यकद loopback interface exist नहीं करता है तो ककसी र्ी physical interface पर configure ककया
हुआ highest IP address Router ID बन जाता है ।
By default OSPF enabled interfaces पर hello packets हर 10 second में र्ेजे जाते है । इन्हें broadcast ककया
जाता है और non broadcast के द्वारा हर 30 second में hello packets र्ेजे जाते है ।
OSPF में एक dead interval र्ी होती है जो ये बताती है की ककतनी दे र तक router को hello packets का
इं तज़ार करने के बाद neighbour को down announce करना है । Broadcasts के कलए default dead interval
40 seconds होती है और non broadcasts के कलए ये 120 होती है । Dead interval time hello timer का 4 गुना
होता है ।
OSPF routers केवल तब ही neighbours बनते है जब नीचे कदए गए parameters same हो।
 Area ID
 Area Type
 Prefix
 Subnet Mask
 Hello interval
 Dead interval
 Network Type (Broadcast, Unicast)
 Authentication
जब ऊपर कदए गए सर्ी parameters match करते है तो routers neighbours बन सकते है ।
Hello packets की मदद से कोई router को जल्दी से ये पता चल जाता है की उसका neighbor down है
या नहीं। एक neighbor table hello packets के द्वारा बनायीं जाती है । Hello packets में नीचे दी गयी
information होती है ।
 हर neighbour router की router ID होती है ।
 हर neighbour router की current state होती है
 सर्ी directly connected interfaces जो neighbours से connected होते है ।
 हर neighbour के remote address का IP address होता है ।
Neighbour States
Neighbor adjacencies कई states से होकर progress करती है । इन states के बारे में नीचे कदया जा रहा
है ।
State Explanation
Down ये state बताती है की neighbour router से कोई hello packet receive नहीं ककया गया है ।
ये state बताती है की neighbour से hello packet कमल गया है लेककन 2 way communication
Init
अर्ी initialize नहीं हुआ है ।
इस state से पता चलता है की 2 way communication establish हो चूका है । Hello packet में
2-Way
neighbour field होता है इसकलए इसे 2 way communication माना जाता है ।
ExStart ये state बताती है की routers link state information share करने के कलए ready है ।
ये state बताती है की routers एक दू सरे के साथ Database Descriptors (इसमें routers के
Exchange
topology database का description होता है ।) exchange कर रहे है ।
इस state से पता चलता है की routers एक दू सरे के साथ Link State Advertisements exchange
Loading
कर रहे है ।
Full ये state बताती है की routers पूरी तरह synchronized हो चुके है ।
Full/DR इस state से पता चलता है की router एक DR (Designated Router) है ।
OSPF Designated Routers
OSPF network में routing information हर 30 second में send की जाती है । मान लीकजये network में कोई
router fail हो गया है । इसकी update दू सरे router को र्ेजी जाएगी वो router इसके बारे में दू सरे routers
को बताएगा और अचानक network के सर्ी routers इस update के बारे में एक दू सरे को update send
करना शुरू कर दें गे।
ऐसा होने से links की bandwidth बहुत अकधक consume हो जाती है । और network के कलए ये एक अच्छी
situation नहीं मानी जाती है । इसे flood कहा जाता है ।
इस situation से बचने के कलए OSPF routers में से ककसी एक router को designated router बनाया जाता
है । Designated router वो router होता है कजसे link fail होने की update र्े जी जाती है । कर्र यह router एक
एक करके सर्ी दू सरे routers को link fail (router down) होने की updates र्ेजता है ।
इसे आसान शब्दों में कहे तो सर्ी routers के एक दू सरे को link fail updates र्ेजने की बजाय, एक
router ही सबको एक एक करके update र्ेजता है । ऐसा करने से bandwidth र्ी consume नहीं होती है
और network में flood र्ी नहीं आता है ।
Designated router को updates 224.0.0.6 multicast address पर र्ेजी जाती है । OSPF network में ककसी र्ी
router को Designated Router बनाया जा सकता है ।
कजस र्ी router की priority सबसे अकधक होती है वही Designated Router बन जाता है और कजसकी
priority DR से कम होती है वह Backup Designated Router बन जाता है । ककसी र्ी router की priority
आप इस प्रकार set कर सकते है ।
Router(config-if)# ip ospf priority 125
Cisco routers पर default priority 1 होती है । यकद आप चाहते है की एक particular router कर्ी र्ी
designated router ना बने तो इसके कलए आपको उसकी priority 0 set करनी चाकहए।
OSPF Network Types
अलग अलग network topology types में OSPF की functionality र्ी अलग अलग होती है । आइये इन
different network types के बारे में जानने का प्रयास करते है ।
Point-to-Point
Point-to-Point वह network topology होती है कजसमें 2 routers एक दू सरे से directly connected होते है । जब
network topology point to point होती है तो OSPF Designated Router और Backup Designated Router elect
नहीं करता है । सारा OSPF traffic 224.0.0.5 address पर multicast ककया जाता है ।
इस तरह की network type में neighbor को manually specify करने की कोई आवश्यकता नहीं होती है ।
Point-to-Point network को आप अपने router पर इस प्रकार configure कर सकते है ।
Router(config-if)# ip ospf network point-to-point
Broadcast
Broadcast वह network होता है कजसमे की broadcast होता है । इसका मतलब ककसी एक router के द्वारा
दू सरे सर्ी routers को एक साथ message र्ेजा जाता है । Broadcast network में OSPF Designated Router
और Backup Designated Router choose करता है ।
Designated और Backup Designated routers को traffic multicast address 224.0.0.6 र्ेजा जाता है ।
Designated और Backup Designated routers से traffic 224.0.0.5 multicast address को र्ेजा जाता है ।
इस तरह के network में आपको neighbors को manually specify करने की आवश्यकता नहीं होती है ।
ककसी र्ी router पर broadcast network type आप इस प्रकार configure कर सकते है ।
Router(config-if)# ip ospf network non-broadcast
Point to Multipoint
इस तरह के network में एक router दू सरे कई routers से connect हो सकता है । Source से destination के
बीच का हर connection एक point to point link होता है । इस तरह के network में OSPF DR और BDR
elect नहीं करता है । सारा OSPF traffic multicast address 224.0.0.5 पर र्ेजा जाता है ।
Router(config-if)# ip ospf network point-to-multipoint
LSA (Link State Advertisements) Types
OSPF routers routing के कलए एक दू सरे पर कनर्भ र नहीं रहते है जैसे की RIP और IGRP रहते है । इसके
बजाए OSPF routers खुद के area में link के status की जानकारी रखते है और उसे एक दू सरे के साथ
share करते है ।
इन link और उनके status से topology database बनता है । Topology database को updated रखने के कलए
OSPF router एक दू सरे को LSA र्ेजते है । ये LSA कई प्रकार के होते है । आइये इनके बारे में जानने
का प्रयास करते है ।
Type 1 (Router LSA)
इस तरह के LSA में सर्ी local links उनके status और cost की जानकारी होती है । Type 1 के LSA सर्ी
local routers के द्वारा generate ककये जाते है और local area के अंदर दू सरे सर्ी routers को र्ेजे जाते है ।
Type 2 (Network LSA)
ये LSA एक OSPF के अंदर सर्ी Designated Routers के द्वारा generate ककये जाते है । इन LSA में कजतने
र्ी routers Designated Router से attached होते है उनकी list होती है ।
Type 3 (Network Summary LSA)
ये LSA सर्ी Area Border Routers (वे routers जो OSPF network में 2 areas की border के पास होते है । )
के द्वारा generate ककये जाते है और इन LSA में एक area के अं दर सर्ी destination networks की list होती
है ।
Type 4 (ASBR Summary LSA)
ये LSA OSPF network में सर्ी ABR द्वारा generate ककया जाता है और इसमें OSPF network के ककसी र्ी
ASBR (एक ASBR वह router होता है जो दू सरे OSPF area से connected होता है और साथ ही ये दू सरे
routing protocols से र्ी connected हो सकता है ।) तक जाने का route होता है ।
इस तरह के LSA local system के अंदर र्ेजे जाते है ताकक local routers को पता रहे की बाहर कैसे
कनकलना है ।
Type 5 (External LSA)
इस तरह के LSA OSPF के अंदर सर्ी ASBR के द्वारा generate ककये जाते है । इन LSA में local
autonomous system से बाहर के destination networks के कलए route होता है ।

CCNA in Hindi - OSPF Configuration - Best Hindi


Tutorials
3-4 minutes

 OSPF cost metric in Hindi


 Basic OSPF configuration in Hindi
 OSPF Virtual links configuration in Hindi
OSPF Cost Metric Formula
इससे पहले की आप OSPF को configure करना सीखें आइये OSPF metric को समझने का प्रयास करते
है ।ककसी र्ी destination network तक के कलए best path OSPF cost metric के द्वारा determine करता है ।
ये cost metric interface की bandwidth पर depend करती है । ककसी र्ी route की total cost सर्ी interfaces
की cost की sum होती है । ककसी र्ी interface में lowest interface को preference दी जाती है ।
सर्ी प्रकार के interfaces के कलए cost define की गयी है , जो नीचे दी जा रही है ।
Type Cost
Ethernet (10 mbps) 10
Fast Ethernet (100 mbps) 1
Serial (56K) 1785
Serial (64K) 1562
T1 (1.544 mbps) 64
Serial interfaces पर cost calculate करने के कलए आपको bandwidth configure करनी पडती है । कजसे
OSPF metric calculate करने के कलए use करता है । ककसी र्ी serial interface पर आप bandwidth इस
प्रकार configure कर सकते है ।
RouterA(config)# interface s0
RouterA(config-if)# bandwidth 64
ककसी र्ी interface की default cost आप change कर सकते है । इसे आप इस तरह कर सकते है ।
RouterA(config)# interface e0
RouterA(config-if)# ip ospf cost 5
जब आप ककसी interface की cost को change करते है तो OSPF का route र्ी change हो जाता है ।
इसकलए आपको इसे सावधानी से use करना चाकहए।
Basic OSPF Configuration
नीचे कदए गए network को दे ल्खये।

यकद आप इस network में OSPF को configure करना चाहते है तो इस प्रकार कर सकते है । सर्ी
routing protocols global configuration mode में configure ककये जाते है ।
RouterA(config)# router ospf 1
RouterA(config-router)# router id 1.1.1.1
RouterA(config-router)# network 192.17.1.1 0.0.255.255 area 1
RouterA(config-router)# network 192.18.1.1 0.0.255.255 area 0
जैसा की आप दे ख सकते है । पहली command router ospf 1 है । युँ हा पर 1 एक unique process id और ये
हर router पर unique र्ी हो सकती है और same र्ी हो सकती है ।
इसके बाद router id command से इस router को एक unique id assign की गयी है । इसके बाद network
command से दोनों interfaces को अलग अलग area के साथ configure ककया गया है । युँ हा पर आपको एक
बात ये र्ी ध्यान रखनी चाकहए की network command में subnet mask र्ी कदया गया है ।
इसी प्रकार router B को र्ी configure ककया जा सकता है ।
RouterB(config-)# router ospf 1
RouterB(config-if)# router id 2.2.2.2
RouterB(config-if)# network 198.19.1.1 0.0.255.225 area 1
RouterB(config-if)# network 198.18.1.1 0.0.255.255 area 0
Passive Interface Configuration
यकद आप चाहते ही की कोई router routing process में कहस्सा न ले तो उस तक जाने वाले interface को
आप passive interface बना सकते है । ऐसा करने से वो router ककसी दू सरे router के साथ neighbor
relationship build नहीं कर सकता है ।
उस interface से दोनों ही direction में कोई routing updates नहीं जा सकती है । ककसी र्ी interface को
passive आप इस प्रकार बना सकते है ।
RouterB(config-router)# passive-interface e0
यकद आप वापस ककसी interface को active बनाना चाहते है तो वो आप इस प्रकार कर सकते है ।
RouterB(config-router)# no passive-interface e0

CCNA in Hindi - Spanning Tree Protocol (STP) -


Best Hindi Tutorials
6-7 minutes

 Introduction to spanning tree protocol in Hindi


 Steps to build STP topology in Hindi
 Apply spanning tree protocol in Hindi
Introduction to Spanning Tree Protocol
Spanning Tree Protocol (STP) broadcast storms को eliminate करने के कलए बनाया गया है । आइये इसके
बारे में detail से जानते है । जैसा की मैने आपको पहले बताया layer 2 switches में single broadcast
domain होती है ।
इसका मतलब जब कोई र्ी host broadcast send करता है तो switch उसे हर port को forward करता है ।
हालां कक ये एक बहुत ही अच्छा feature है लेककन कई बार ये network के कलए बहुत बुरा साकबत होता
है ।
Broadcast Storm
उदाहरण के कलए ऊपर कदए हुए diagram को दे ल्खये। इसमें सर्ी switches आपस में connected है । जब
host A एक frame broadcast कर रहा है तो वो सबसे पहले switch 1 के पास जाता है ।

Switch 1 इसे switch 2 और 3 को forward कर दे ता है । Switch 2 इस frame को switch 3 को और switch 3


switch 2 forward करता है । इसके बाद ये दोनों ही same frame को switch 1 को पास कर दे ते है ।
Switch 1 वापस इस फ्रेम को दोनों switch को पास कर दे ता है और यही process infinitely चलती रहती
है । जब तक की कोई switches को off करके वापस on न करे । इसे broadcast storm कहते है । इससे
बचना बहुत महत्वपूणभ होता है । इस problem से बचने के कलए कुछ rules का set बनाया गया है कजसे
spanning tree protocol कहते है ।
Eliminate Broadcast Storm Conditions
Spanning tree protocol को switching loops से generate होने वाले broadcast storms को रोकने के कलए
develop ककया गया है । Spanning tree protocol को IEEE 802.1D में define ककया गया था।
कजन switches में spanning tree protocols enabled होता है वे पुरे switch network का एक map create करते
है । कजसे STP topology कहते है । Spanning tree protocol ढूंढता है की कुँही network में कोई loop तो नहीं
है ।
यकद कोई loop कमलता है तो STP उस लूप को eliminate करने के कलए कजतने ports को block करना पडे
उन सर्ी ports को spanning tree protocol block कर दे ता है । यकद कोई दू सरा port down हो जाये तो एक
blocked port कर्र से reactivate हो जाता है । इससे network की redundancy बनी रहती है ।
Bridge Protocol Data Units (BPDU)
Spanning tree protocol के switches नेटवकभ का map बनाने के कलए Bridge Protocol Data Units (BPDU)
share करते है ।
हर 2 second में सर्ी ports एक multicast MAC address () पर BPDU’s forward करते है ।जैसे ही switch
network की पूरी topology (map) बन जाती है और सर्ी loops eliminate कर कदए जाते है तो switches
converged कहलाते है ।
Steps to Build Spanning Tree Protocol Topology
1. सबसे पहले सर्ी switches में से एक root switch चुना जाता है ।
2. इसके बाद root ports identify ककये जाते है ।
3. कर्र designated ports identify ककये जाते है ।
4. और इसके बाद loops को eliminate करने के कलए ports को block ककया जाता है ।
ये process convergence process कहलाती है । आइये अब इन सर्ी steps को detail में दे खते है ।
Applying Spanning Tree Protocol
Setting a Root Switch (Root Bridge)
Convergence process में सबसे पहला step root switch set करना है । ये पू री STP topology का central point
होता है । सबसे अच्छा तो यही रहे गा की जो switch topology में सबसे center और top पर है उसे ही root
switch बना कदया जाये।
Root switch switch ID के माध्यम से चुना जाता है । Switch ID, switch priority और switch के MAC
address से कमलकर बनी होती है । Switch priority 16 bit की होती है इसकी maximum value 32768 होती
है । हर switch की default priority यही रहती है ।
कजस switch की priority सबसे low होती है वही switch root switch बन जाता है । यकद 2 switches की
priority same हो तो कर्र उनके MAC address को compare ककया जाता है । कजस switch का MAC address
छोटा होता है वही switch root switch बन जाता है ।

ऊपर कदए हुए diagram में switch 2 की priority सबसे कम है इसकलए यही root switch कहलायेगा। सर्ी
switches को जब एक दू सरे का BPDU कमलता है तो वे एक दू सरे की priority के कहसाब से root switch
का पता कर लेते है ।
Identifying Root Ports
STP convergence process का second step root ports को identify करना होता है । हर switch का root port
वह port होता है कजसकी root switch (root bridge) तक path cost बाकी सर्ी ports से कम होती है ।
हर switch में कसर्भ एक ही root port हो सकता है । Root switch (root bridge) में कोई root port नहीं होता
है । क्योंकक root port को root switch को point करने के कलए यूज़ ककया जाता है और root switch में
इसका कोई उपयोग नहीं होता है ।
ककसी port की root switch (root bridge) से path cost उसकी bandwidth पर depend करती है । कजतनी ज्यादा
bandwidth होती है उतनी ही कम path cost होती है । जैसे की 1 Gbps की path cost 4 होती है और 10
Gbps की path cost 2 होती है ।

जैसा की आप ऊपर कदए diagram में दे ख सकते है सर्ी switches के सर्ी port links की bandwidth
समान है । ऐसी situation में switch का जो port root switch (root bridge) से directly connected होता है
वही root port कहलाता है ।
Identifying Designated Root Ports
STP convergence process का 3rd step designated ports identify करना होता है । एक designated port वो
port होता है जो network में BPDU और frames forward करने के कलए responsible होता है । यकद ककसी
switch में ऐसे 2 ports है जो designated port बन सकते है तो इसका मतलब होता है की network में loop
है ।
एक same port कर्ी root port और designated port नहीं बन सकता है । इसे दू सरी तरह से दे खे तो आप
के network में हर switch में कसर्भ एक ही ऐसा port हो कजससे सारे network में कुँही र्ी frame send
ककया जा सके है ।
यकद ऐसे port एक से अकधक है तो समझ लीकजये की आपके network में लूप है और इसे eliminate करने
के कलए आपको हर ल्िच से एक port को छोडकर बाकक सर्ी ऐसे ports को block करना होगा।

ऊपर कदए गए diagram में आप दे ख सकते है switch 1 में ऐसे 2 port है जो पुरे network में frames send
कर सकते है इसकलए आप इन दोनों में से ककसी एक को block कर दे ते है और loop eliminate हो जाता
है । हालां कक ये network बहुत छोटा है इसकलए एक port को block करते ही ये converged हो चूका है ।
लेककन real life में बहुत से loops आपके network में हो सकते है ।

CCNA in Hindi - VPN (Virtual Private Network) -


Best Hindi Tutorials
6-8 minutes

 Introduction to VPN (Virtual Private Network) in Hindi


 Benefits of VPN (Virtual Private Network) in Hindi
 How VPN (Virtual Private Network) works in Hindi
Introduction to VPN (Virtual Private Network)
Virtual private network एक ऐसी technology है जो public network (Internet) यूज़ करते हुए 2 hosts के
बीच में connection establish करती है कजनमें से एक server और दू सरा host होता है ।
ये technology एक tunnel connection establish करती है कजसमे data encrypted रहता है । इस technology
से network private और secure होता है । आइये अब जानने का प्रयास करते है की VPN की आवश्यकता
क्यों पडी?
मान लीकजये एक बहुत बडी company है कजसके एक ही शहर में अलग अलग जगह पर offices है । इसी
शहर में आप इस company का main office मान लीकजये कजसे आप server कह सकते है और बाकक
offices को client मान लीकजये।
इस company के कलए इसका data बहुत महत्वपू णभ है और company चाहती है की सर्ी offices को एक
private network में रखा जाये ताकक कोई unauthorized person data को access न कर सके। Internet एक
public network है इसकलए company internet को यू ज़ नहीं करना चाहती है ।
यकद company इन offices के बीच में एक private और secure connection establish करना चाहती है तो
इसके कलए company को एक office से दू सरे office तक wire के through connection establish करने होंगे।
लेककन ये process बहुत ज्यादा expensive और time consuming होगा। साथ ही ये technology reliable र्ी नहीं
होगी।
यकद कर्ी wire में कोई problem होती है तो एक particular office connection कबलकुल terminate हो
जायेगा। कर्र जब तक आप ये नहीं दे ख लेते की एक office से लेकर दू सरे office तक wire में कुँहा
problem है तब तक आप कुछ नहीं कर सकते है । ऐसी situation में ये company क्या कर सकती है ?
ऐसी situation में ये company VPN technology यू ज़ कर सकती है । VPN technology एक ऐसी technology
होती है कजसमे internet के माध्यम से अलग अलग hosts को जोडा जाता है ।
लेककन ये connection उतना ही private और secure रहता है कजतना की कोई hard wired network हो। साथ
ही ये connection reliable र्ी होता है । आइये जानने का प्रयास करते है की VPN क्या क्या benefits
provide करती है ।
Benefits of VPN (Virtual Private Network)
VPN को आप ककसी company के कलए र्ी यूज़ कर सकते है और यकद आप चाहे तो इसे अपने home
network के कलए र्ी यूज़ कर सकते है । जैसे र्ी आप VPN को यूज़ करें इसे यूज़ करने के बहुत सारे
benefits होते है आइये इनके बारे में जानने का प्रयास करते है ।
Secure
VPN technology आपको unauthorized access से advanced security provide करती है । इसके कलए VPN
अलग अलग तरह के encryption और authentication protocols यूज़ करती है । SSL (Secured Socket
Layer) और IPsec VPN category में ही आते है ।
Less expensive
एक office से दू सरे office को wires से जोडने के बजाय यकद आप एक internet connection ले और उस
पर VPN connection establish करे तो ये आपको point to point (wired) connection से 10 गुना less
expensive पडे गा।
Reliable
VPN एक reliable technology है । मान लीकजये यकद connection के बीच में कोई router down हो गया है तो
ऐसी situation में आपका connection terminate नहीं होगा। ऐसी situation में VPN के द्वारा automatically
एक नया route ढूंढा जाता है ।
Easy & Fast to Establish;
Wired connection के comparison में VPN technology को establish करना बहुत ही आसान और fast होता
है । जुँहा wired connection में आपको कदनों लग सकते है वही VPN technology को कमनटों से िंटो में
establish ककया जा सकता है ।
Can be Scaled
VPN network को आप आसानी से जरुरत के कहसाब से बडा या छोटा कर सकते है ।
Types of VPNs (Virtual Private Networks)
VPNs को business में उनके role के अनुसार 3 categories में divide ककया गया है । इन categories के बारे
में नीचे कदया जा रहा है ।
Remote Access VPN
Remote access VPN के द्वारा कोई र्ी employee या worker organization के network को कर्ी र्ी और
कुँही से र्ी access कर सकता है । ये employees workers इस network में available सर्ी resources को
यूज़ कर सकते है ।
ककसी र्ी organization का network secured रहता है इसमें ककसी र्ी बाहर के network से कोई र्ी host
connect नहीं हो सकता है । Remote access VPN के द्वारा जब कोई host connect करता है तो VPN उसे
ऐसे represent करती है जैसे की वह कोई local host हो।
Site to Site or Intranet VPN
Site to Site VPN के द्वारा ककसी organization के अलग अलग offices एक दू सरे के साथ ककसी public
network जैसे की internet के द्वारा connection establish करते है । Site to site VPN एक office के resources
को दू सरे office के hosts को available करवा दे ता है ।
Extranet VPN
जब कोई organization ककसी दू सरे organization के साथ कमलकर काम करती है तो ऐसी situation में वह
extra-net VPN यूज़ कर सकती है । इस तरह के VPN से एक organization दू सरे organization को अपने
resources का limited access provide कर सकती है ।
Working of VPN (Virtual Private Network)
VPN technology host और server के बीच में एक tunnel create करती है । इस tunnel के through data
server से different hosts को pass ककया जाता है । इस tunnel से जाने वाला सारा data encrypted form में
होता है । ऐसे VPN technology double layer security provide करती है ।
उदाहरण के कलए कनचे कदए गए diagram को दे ल्खये।

जैसा की आप ऊपर कदए गए diagram में दे ख रहे है VPN technology internet का एक base के रूप में
उपयोग करती है और एक host से दू सरे host के बीच में tunneling के द्वारा secure और reliable
connection establish करती है ।
VPN की working को समझने के कलए आपको tunneling और encryption का concept समझना होगा।
इनके बारे में कनचे कदया जा रहा है ।
Tunneling
Tunneling एक technology है । इस technology में ककसी protocol (TCP/IP, UDP) के data-gram में
tunneling protocol (PPTP, L2TP) का packet encapsulate ककया जाता है । कुछ common tunneling protocols
के नाम कनचे कदए जा रहे है ।
 PPTP (Point-to-Point Tunneling Protocol)
 L2TP (Layer two tunneling protocol)
 GRE (Generic Routing Encapsulation)
Encryption
जैसा की आप जानते है की VPN technology public network (Internet) को base बनाकर एक private
network create करती है । लेककन public network इतना secure नहीं होता है । VPN को secure बनाने के कलए
encryption process के द्वारा data को encrypt ककया जाता है । Encryption 2 प्रकार का होता है । इनके बारे में
कनचे कदया जा रहा है ।
 Symmetric encryption – इस तरह के encryption में data को encrypt और decrypt करने के कलए
एक common shared key यूज़ की जाती है ।
 Asymmetric encryption – इस तरह के encryption में data को encrypt और decrypt करने के कलए
अलग अलग keys यूज़ की जाती है ।

CCNA in Hindi - DHCP (Dynamic Host


Configuration Protocol) - Best Hindi Tutorials
5-7 minutes

 Introduction to DHCP (Dynamic Host Configuration Protocol) in Hindi


 Advantages of DHCP (Dynamic Host Configuration Protocol) in Hindi
 Configuring DHCP (Dynamic Host Configuration Protocol) in Hindi

Introduction to DHCP (Dynamic Host Configuration Protocol)


ककसी र्ी network में यकद कोई host ककसी दू सरे host से communicate करना चाहता है तो इसके कलए
उसके pass एक unique IP address होना चाकहए। चाहे कर्र वह LAN(Local Area Network) हो या
WAN(Wide Area Network) हो। ये IP addresses आप manually र्ी हर host पर configure कर सकते है ।
लेककन यकद network कार्ी बडा है तो ये approach काम नहीं करे गी। बडे network में आप हर host के
pass manually जाकर IP addresses assign नहीं कर सकते है । इस problem को solve करने के कलए DHCP
का इस्तेमाल ककया जाता है ।
Dynamic Host Configuration Protocol का काम hosts को IP address assign करना होता है । ये IP address
dynamically assign ककये जाते है । DHCP हमेशा IP addresses का pool maintain करके रखता है । जैसे ही
कोई host network से जुडने का प्रयास करता है तो वह DHCP से IP address की request करता है ।
Host की request पर DHCP उसे एक IP address assign करता है । जब host network को छोडता है तो ये
IP address वापस DHCP pool में आ जाता है और दू सरे hosts के कलए available हो जाता है ।
DHCP एक client/server protocol होता है । इसका port number 67 होता है ।
Hosts को IP address provide करना DHCP का primary task होता है । लेककन DHCP IP address के अलावा
बहुत सी information hosts को provide करता है । ऐसी कुछ common information की list कनचे दी जा रही
है ।

 IP address (Ex. 192.168.2.1)


 Subnet Mask (Ex 255.255.0.0)
 Domain Name (Ex. www.yourdomain.com)
 Default Gateway (Ex. 10.0.0.0.1)
 DNS Server Address

Advantages of DHCP (Dynamic Host Configuration Protocol)


आइये अब जानने का प्रयास करते है की DHCP से आपको क्या advantages कमलती है ।

 DHCP से IP address configuration में errors के chances कबलकुल कम हो जाते है ।


 DHCP use करने से आपको IP address की list को manage करने की आवश्यकता नही ं होती है । साथ ही आपको ये
र्ी manage करने की आवश्यकता नही ं होती की कौनसा IP address free है और कौनसा assign ककया जा चूका है ।
ये काम DHCP automatically कर लेता है ।
 यकद आप host को ककसी दू सरे network में move करते है तो DHCP नया IP address assign कर दे ता है ।
Process of IP Address Configuration with DHCP
Host के request करने से लेकर IP address assign करने की process तक के कुछ steps होते है । इन steps
को कनचे समझाया गया है ।

1. सबसे पहले DHCP client (host) available DHCP servers के कलए DHCP discover message broadcast करता है । ये
message network में DHCP server को discover करने के कलए यू ज़ ककया जाता है ।
2. इसके बाद जो DHCP server इस message को receive करता है वह client को Offer message र्े जता है । Offer
message के द्वारा DHCP server खुद की existence को show करता है ।
3. इसके बाद client server को IP address और regarding information के कलए Request message broadcast करता
है ।
4. इसके बाद server client को information एक unicast acknowledgement message के द्वारा र्े जता है ।

Configuring DHCP (Dynamic Host Configuration Protocol)


ककसी र्ी network में DHCP server का important role होता है । DHCP server को ककसी router या switch
पर configure ककया जा सकता है । यकद आप DHCP server configure कर रहे है तो आपके पास कनचे दी
गयी information होनी चाकहए।

Requirements

 आपके pass network ID होनी चाकहए। यकद आप ककसी subnet की network ID नही ं define करते है तो by default
सर्ी address assign ककये जाते है ।
 आपको ये र्ी पता होना चाकहए की ऐसे कौनसे addresses है जो पहले से यू ज़ ककये जा रहे है । जैसे की कोई
addresses जो printers, routers या दू सरे purposes के कलए यू ज़ ककये जा रहे हो। ऐसे addresses को DHCP
configuration से exclude ककया जाता है ।
 आपको network के default router(default gateway) का address र्ी पता होना चाकहए।
 DNS (Domain Name System) server का address र्ी आपको पता होना चाकहए।

ऊपर वो information बताई गयी जो ककसी र्ी DHCP server को configure करने के कलए required है ।
कनचे DHCP server को configure करने के कलए कुछ steps कदए जा रहे है । इन steps को follow करते हुए
आप आसानी से DHCP को configure कर सकते है ।

Steps

 सबसे पहले आप उन addresses को exclude करते है जो पहले से दू सरे purpose के कलए यू ज़ ककये जा रहे है या
reserved है ।
 इसके बाद आप subnet के कलए unique name से pool create करते है ।
 इसके बाद आप वो network ID और subnet mask set करते है जो server hosts को IP addresses assign करने के
कलए यू ज़ करे गा।
 इसके बाद आप default gateway का address set करते है ।
 इसके बाद DNS server का address set ककया जाता है ।
 यकद आप पहले से set lease time नही ं यू ज़ करना चाहते तो आप lease time को days, hours और minutes में set
कर सकते है ।

Example

कनचे DHCP configuration का example कदया जा रहा है ।


router(config)#ip dhcp excluded-address 192.168.16.1 192.168.16.10
router(config)#ip dhcp pool Best_Hindi-Tutorials
router(dhcp-config)#network 192.168.10.0 255.255.255.0
router(dhcp-config)#default-router 192.168.10.1
router(dhcp-config)#dns-server 4.4.4.4
router(dhcp-config)#lease 2 15 2
ऊपर कदए गए उदाहरण को ध्यान से दे ल्खये सबसे पहले network Id और broadcast address को exclude
ककया गया है । इसके बाद Best_Hindi_Tutorials के नाम से एक DHCP pool create ककया गया है ।
इसके बाद network और subnet mask define ककया गया है । Network को network Id के द्वारा define ककया
गया है । इसके बाद default gateway और DNS server define ककया गया है ।
सबसे आल्खर में lease time define ककया गया है । Default lease time 24 िं टे का होता है । लेककन यकद
आप इसे change करना चाहते है तो कर सकते है ।

CCNA in Hindi - IPV4 Addressing - Best Hindi


Tutorials
6-7 minutes

 Introduction to IPV4 Addressing in Hindi


 Types of IPV4 addressing in Hindi
 IPV4 header description in Hindi

Introduction to IPV4 Addressing


Internet protocol version 4 ककसी र्ी network में hosts के कलए logical address (IP address) assign करने का
standard protocol होता है । अर्ी आप इसी protocol को यूज़ कर रहे है ।
ये protocol इस दु कनया में available कजतने र्ी devices है उनको unique address provide करने में अर्ी तो
सक्षम है लेककन कुछ सालों बाद नहीं होगा। इसकलए इसका advanced version IPV6 introduce ककया गया
IPV4 में IP address 32 bits का होता है । इसे 8 bits के 4 blocks में दशाभ या जाता है । कनचे IPV4 address को
binary और decimal दोनों form में represent ककया गया है ।
Binary Decimal
11000000.10101000.00001010.00000001 192.168.10.1

ये blocks network और hosts को represent करते है । शुरू के blocks network को represent करते है और
बाद के hosts को represent करते है ।
ककतने blocks network को represent करें गे और ककतने hosts को represent करें गे ये IP address की classes
के द्वारा defined होता है । यकद आप IPV4 address के format और classes के बारे में और अकधक जानना
चाहते है तो Addressing tutorial को पढ़ सकते है ।

IPV4 Header
Internet Protocol (IP) layer 3 (Network Layer) पर काम करता है । ये layer layer 4 (Transport Layer) के
द्वारा र्ेजे गए segments (when using TCP as protocol) या datagram (when using UDP as protocol) को
packets में break करती है ।
Packets में break करने के बाद इन packets के साथ IP header attach की जाती है । ये header packet से
related आवश्यक information receiver side को provide करती है । IP header में ये information different
fields के द्वारा represent की जाती है ।
कनचे IP header को एक diagram के द्वारा represent ककया गया है । इसके बाद सर्ी fields को कनचे detail
से समझाया गया है ।

Version Number – Version Number field के द्वारा Internet Protocol का version number define ककया जाता
है । युँहा पर IPV4 header की बात की जा रही है इसकलए version र्ी 4th ही होगा।
Header Length – इस field के द्वारा IP header की length define की जाती है । IPV4 header की length 32 bit
words (with options) के द्वारा दशाभ यी जाती है । यकद header में कोई options defined ना हो तो इस filed की
value 5 set होती है ।
Types of Service – ये field वो तरीका define करता है कजससे router को packets को queue करना चाकहए
जब packets forward होने के कलए wait कर रहे हो। यकद ककसी packet की priority ज्यादा हो तो इस
field की value 1 होती है । Regular packets के कलए इस packet की value 0 होती है ।
Total Length – ये field IP datagram की total length को दशाभ ता है । ऊपर define ककया गया header length
field header की length को define करता है और ये field data और header सकहत data-gram की total length
को define करता है । ये एक 16 bit field होता है ।
Identification – ये field एक segment का identification होता है । ये एक 16 bit का number होता है जो
source address के साथ कमलकर ककसी segment को uniquely identify करता है ।
Flags – ये field दशाभ ता है की क्या router ककसी segment को fragment कर सकते है । इस field में 3 bits
होती है । पहली bit reserved होती है । यकद इस field में second bit set हो तो उसका मतलब होता है don’t
fragment और यकद इस field में third bit set हो तो उसका मतलब होता है की segment fragmented है ।
Fragment Offset – यकद packet fragmented है तो ये field original packet की शुरू की 8 bits को दशाभ ता
है । ये field 13 bits का होता है ।
Time to Live – ये field एक limit set करता है । मान लीकजये इस field की value 15 है । यकद packet 15
routers से pass होने के बाद र्ी destination तक नहीं पहुुँ चता है तो उस packet को discard कर कदया
जाता है । Authenticity के नजररए से ये एक महत्वपूणभ field है । इस field की size 8 bits होती है ।
Protocol – इस field में उस protocol का नाम होता है कजसने packet network layer को pass ककया क्योंकक
receiver side पर De-multiplexing के कलए ये पता होना चाकहए की कौनसे protocol को data pass करना है ।
Header Checksum – ये field errors को check करने के कलए यूज़ ककया जाता है । जब packet source से
send ककया जाता है तो इस field में एक value होती है जो algorithm के द्वारा header से calculate की जाती
है ।
जब ये packet receiver side पर पहुुँ चता है तो उसी algorithm के द्वारा value को वापस header से calculate
ककया जाता है यकद value source side से match करती है तो माना जाता है की packet error free है । ये
field 8 bits का होता है ।
Source IP Address – ये field source के IP address को represent करता है । इस field की size 32 bits की
होती है ।
Destination IP Address – इस field के द्वारा destination address represent ककया जाता है । इस field की
size 32 bits होती है ।
Options – ये field कुछ options को represent करता है जो कुछ packets use कर सकते है । हालाुँ कक इस
field को यूज़ नहीं ककया जाता है लेककन जब र्ी इसे यूज़ ककया जाता है इससे header की length 32 bits
से ज्यादा हो जाती है ।
Data – इस field में मुख्य data होता है जो transport layer protocols द्वारा IP को pass ककया जाता है ।

IPV4 Address Types


जब र्ी IPV4 packets send या receive ककये जाते है तो वे कनचे कदए गए 3 में से एक प्रकार के address
द्वारा send/receive होते है । आइये इनके बारे में detail से जानने का प्रयास करते है ।

Unicast

एक unicast address एक specific host को represent करता है । इस तरह के address IPV4 packet में
specific destination host को represent करते है । इस प्रकार के address one-to-one communication के कलए
यूज़ ककये जाते है ।
उदाहरण के कलए LAN A का एक host LAN B के ककसी host को packet send करे तो वह unicast
addressing कहलाएगी।

Multicast

Multicast addresses को ककसी packet को एक से अकधक hosts को send करने के कलए यूज़ ककया जाता
है । ये one-to-many communication के कलए यूज़ ककये जाते है ।
उदाहरण के कलए कोई एक host ककसी दू सरे network में एक IP addresses के group को packet send
करता है । ये packet कसर्भ उन्हीं hosts द्वारा receive ककया जाता है जो multicast group में है ।

Broadcast

IPV4 के द्वारा ककसी एक host के packet को पुरे network में र्ैलाने के कलए broadcast addresses यूज़ ककये
जाते है । ये एक one-to-all communication होता है । उदाहरण के कलए एक host ककसी packet को LAN में
available बाकक सर्ी hosts को र्ेज सकता है ।

CCNA in Hindi - IPV6 - Best Hindi Tutorials


9-11 minutes

 Introduction to IPV6 (Internet Protocol Version 6) in Hindi


 Benefits of IPV6 (Internet Protocol Version 6) in Hindi
 Configuring IPV6 (Internet Protocol Version 6) in Hindi
Introduction to IPV6 (Internet Protocol Version 6)
IPV6 की full form Internet Protocol Version 6 होती है । ये Internet Protocol का सबसे latest version है ।
यह IETF (Internet Engineering Task Force) द्वारा बनाया गया है । ये IPV4 का upgraded version है और इसे
र्कवष्य में IPV4 को replace करने के कलए बनाया गया है ।

इस समय ये IPV4 के साथ ही कमलकर काम करता है । यकद आप अपने computer में network center
खोले तो दोनों protocols को एक साथ काम करते हुए दे ख सकते है । जै से की कनचे show ककया गया है ।
IPV4 को 80 के दशक में बनाया गया था। तब से लेकर अब तक internet की दु कनया में बहुत ज्यादा
बदलाव आ गए है । शुरुआत में internet कुछ limited organizations तक ही कसकमत था लेककन अब यह
पूरी दु कनया में र्ैल चूका है ।
कदनों कदन internet के users बढ़ते जा रहे है । इसकलए ऐसी कुछ limitations है कजनकी वजह से IPV4
र्कवष्य में internet की जरूरतों को पूरा नहीं कर पायेगा। आइये इन limitations के बारे में जानने का
प्रयास करते है ।
Limitations of IPV4
कनचे IPV4 की limitations दी जा रही है । इनके बारे में जानकर आप समझ सकते है की IPV6 की
जरुरत क्यों पडी।
1. जैसा की आपको पता है की internet कदनों कदन बढ़ता ही चला जा रहा है । ऐसे में IPV4 के द्वारा
provide ककये गए addresses की संख्या कम होती जा रही है । आने वाले समय में ये addresses पू री
तरह occupied हो जायेंगे और दू सरे devices के कलए address available नहीं होंगे कजस वजह से वे
internet नहीं use कर पाएं गे।
2. IPV4 data को ियं कोई सुरक्षा नहीं दे ता है । Data को र्ेजने से पहले उसे encrypt ककया जाना
चाकहए।
3. IPV4 में special packets को प्राथकमकता दे ने का कोई option नहीं है । हालां कक IPV4 एक Quality Of
Service filed define करता है । लेककन वह packets को प्राथकमकता के क्रम में handle करने के कलये
पयाभ प्त नहीं है ।
4. IPV4 को या तो आप manually configure करते है या इसे dynamically DHCP (Dynamic Host
Configuration Protocol) द्वारा configure ककया जा सकता है । इसके कलए आपको DHCP को र्ी
manage करना पडता है । इससे बहुत सी bandwidth यूज़ हो जाती है और साथ ही network
administrator का time र्ी consume होता है ।
अब तक आपने IPV4 की कुछ ऐसी limitations के बारे में जाना है कजनकी वजह से IPV4 र्कवष्य में
Internet की जरूरतों को पूरा नहीं कर पायेगा। आइये अब जानने का प्रयास करते है की IPV6 इन
limitations को कैसे fulfill करता है और ऐसे कौनसे features जो इसे IPV4 से बेहतर बनाते है ।
Features of IPV6
कनचे IPV6 के कुछ features कदए गए है जो IPV6 को IPV4 से बेहतर बनाते है ।
1. IPV6 में address space बहुत ही बडा है । ऐसा माना जाता है की इस दु कनया के हर इं सान को
20,000 IP address कदए जा सकते है । इसकलए नजदीकी र्कवष्य में IP address की कमी की कोई
problem नहीं होगी। IPV6 का address space र्कवष्य की जरूरतों को पूरा करने के कलए पयाभ प्त है ।
2. IPV6 security के कलए IPSec (Internet Protocol Security) को यूज़ करता है । IPV6 की header में
IPSec के कलए field provide ककया गया है । शुरू में ये IPV6 के साथ ही built in था लेककन बाद में
इसे optional बना कदया गया।
3. IPV6 packets को priority के base पर efficiently forward करने में सक्षम है । इसके कलए IPV6
header में flow label field provide ककया गया है । ये एक 20 bit field होता है इसके बारे में और
अकधक आप IPV6 header explanation में जानेंगे।
4. IPV6 आपको auto configuration feature provide करता है । इससे यकद DHCP server available ना हो
तो र्ी communication में कोई problem नहीं आती है । साथ ही IPV6 में state-full और stateless दोनों
तरह के configuration संर्व है ।
5. IPV6 की header simple है इसमें कसर्भ 8 fields ही include ककये गए है । Simple header की वजह
से IPV6 packets IPV4 packets की तुलना में fast forward होते है । इसका reason ये है की router को
IPV4 की तरह बडी header process करने से time बच जाता है और packets बहुत ही fast forward
ककये जाते है ।
6. IPV6 broadcast को support नहीं करता है । एक से ज्यादा hosts को packets send करने के कलए ये
multicast यूज़ करता है ।
7. IPV6 के पूरी तरह लागू होने पर हर system के pass एक globally unique IP address होगा। इससे
हर host internet पर ककसी दू सरे host से directly communicate कर सकता है । IPV6 के लागू होने
पर आपको NAT (Network Address Translation) की र्ी आवश्यकता नहीं पडे गी।
8. IPV6 के द्वारा devices जैसे की mobile phones ककसी दू सरी location पर जाकर र्ी उसी IP address
के साथ network से connected रह सकते है ।
IPV6 Addressing
IPV6 address 128 bits का होता है । जुँहा IPV4 decimal numbers के 4 groups द्वारा represent ककया जाता है
वुँही IPV6 hexadecimal numbers के 8 groups के द्वारा represent ककया जाता है । IPV6 address का
example कनचे कदया जा रहा है ।

जैसा की आप दे ख रहे है IPV6 address को 3 parts में divide ककया गया है । हर part का अलग महत्व है ।
 Global prefix part network ID होती है जो routing के कलए यू ज़ की जाती है । इसकी size 48 bits
होती है । ये शुरू के 3 groups द्वारा represent की जाती है ।
 Global prefix field के बाद subnet field आता है , इसमें एक number होता है जो sub network को
identify करने के कलए यू ज़ ककया जाता है । इसकी size 16 bits होती है ।
 Interface ID ककसी र्ी host को uniquely identify करती है । ये ID sub network में और globally र्ी
host को uniquely identify करती है । इसकी size 64 bits होती है ।
IPV6 addresses को कलखने के कलए आप shorthand expressions र्ी यूज़ कर सकते है । जैसे की यकद आप
चाहे तो ऊपर कदए गए IPV6 address को इस प्रकार र्ी कलख सकते है ।
2d12:1ba8:3c4d:21d3:0:0:3214:ab65
युँहा पर कजन groups में सर्ी zero थी उन groups को single zero द्वारा represent ककया गया है । आप ऐसा
सर्ी ऐसे groups के साथ कर सकते है कजनमें सर्ी zero’s हो। जब ऐसे दो groups कजनमें सर्ी zero है
एक साथ आते है तो आप उनको double colon से र्ी replace कर सकते है जैसा की कनचे कदया गया है ।
2d12:1ba8:3c4d:21d3::3214:ab65
IPV6 Header
IPV6 addresses को दे ख कर यकद आप सोच रहे है की IPV6 header बहुत ही बडी और complicated
होगी तो ऐसा कबलकुल र्ी नहीं है ।
IPV6 के designers ने IPV6 header को इस तरह design ककया है ताकक इसमें कम से कम field हो जो की
ज्यादा से ज्यादा task perform करे । IPV6 header में 8 fields होते है । इसकी size 40 bytes होती है । IPV6
header का diagram कनचे कदया जा रहा है ।
ये एक बहुत ही simple सी header है कजसे आप आसानी से समझ सकते है । आइये अब different IPV6
header fields के बारे में detail से जानने का प्रयास करते है ।
Version
इस field की value 6 होती है । ये field internet protocol के version को define करता है । इस field की
size 4 bits होती है ।
Class
ये field traffic class को represent करता है । इसकी size 8 bit होती है । ये field IPV4 header के Type of
Service field जैसा ही होता है ।
Flow Label
इस field की size 24 bits होती है । ये field packet और traffic flow को mark करने के कलए यूज़ ककया
जाता है । ये field बताता है की packets ककस sequence में source से destination तक flow करें गे।
Payload Length
ये field data की size को store करता है । इस field की size fixed नहीं होती है ।
Next Header
ये field बताता है की next header कौनसी होगी। IPV4 में ये feature available नहीं होता है ।
Hop Limit
ये field बताता है की destroy होने से पहले maximum ककतने hops (routers) IPV6 packets traverse करें गे।
Source Address
इस field में source host का 128 bit का IPV6 address define ककया जाता है ।
Destination Address
इस field में destination host का 128 bit IPV6 address store ककया जाता है ।
IPV6 Routing Protocols
आपने अर्ी तक कजतने र्ी routing protocols के बारे में पढ़ा है वे सर्ी IPV6 को support करने में सक्षम
नहीं थे। इसकलए उनमें से कुछ को eliminate कर कदया गया और कुछ को upgrade करके IPV6 के साथ
काम करने योग्य बना कदया गया।
Protocols को upgrade करने से वो techniques जो IPV4 routing protocols के साथ यूज़ की जाती थी वो
IPV6 के साथ र्ी यूज़ की जाएगी। इससे आपको IPV6 routing को समझने में ज्यादा problem नहीं
होगी।
जैसा की आपको पता है की IPV6 में broadcasting को पूरी तरह eliminate कर कदया गया है । इसकलए वे
protocols जो broadcasting यूज़ करते है वो IPV6 के साथ काम नहीं कर सकते है ।
मुख्यतः IPV6 3 routing protocols के साथ काम करता है । CCNA exams में आपसे कसर्भ IPV6 static
routing और OSPFv3 के बारे में पूछा जायेगा।
 RIPng
 EIGRPv6
 OSPFv3
आइये अब इन protocols के बारे में जानने का प्रयास करते है । Static routing के बारे में configuration
part में बताया जायेगा।
RIPng
RIPng का पूरा नाम Routing Information Protocol Next Generation है । ये protocol IPV4 के साथ यूज़ ककये
जाने वाले RIP का upgraded version है , कजसे IPV6 के साथ काम करने के कलए upgrade ककया गया है । ये
एक Interior Gateway Protocol है जो best route determine करने के कलए distance vector algorithm यूज़
करता है ।
EIGRPv6
IPV6 के कलए EIGRP में वही features include ककये गए है जो IPV4 के EIGRP version में available है ।
साथ ही ज्यादातर operations र्ी उसी प्रकार perform होते है जैसे की IPV4 के EIGRP में perform होते
है ।
लेककन इन versions में कुछ difference र्ी है जैसे की EIGRPv6 सीधा router interfaces पर configure
ककया जाता है और यकद router ID नहीं है तो आप EIGRPv6 को configure नहीं कर सकते है आकद।
OSPFv3
OSPFv3 एक link state routing protocol है । ये IPV4 के साथ यूज़ ककये जाने वाले OSPF का upgraded
version है । इसे IPV6 के साथ work करने के कलए upgrade ककया गया है । इसके सर्ी basic features वही
है जो OSPF में पाए जाते है ।

CCNA in Hindi - Layer 2 Switching - Best Hindi


Tutorials
8-10 minutes

 Introduction to layer 2 switching in Hindi


 Functions of switches in Hindi
 Configuring switches in Hindi

Introduction to Layer 2 Switching


जैसा की आपको पता है hubs intelligent devices नहीं होते है । जब र्ी कोई hub एक frame receive करता
है तो वह frame को सर्ी ports में broadcast कर दे ता है । साथ ही hub एक single collision domain को
represent करते है यानी जब कोई र्ी 2 hosts एक साथ frames send करते है तो collision होता है । Hubs
की इन्हीं limitations की वजह से network में broadcast storm जैसी समस्याएुँ आती है ।
Hubs की limitations को overcome करने के कलए bridges का कनमाभ ण ककया गया। Bridges hubs से better
होते है । Bridges 2 local area networks को आपस में जोडने के कलए use ककये जाते है । यकद आप अपने
local area network को और अकधक र्ैलाना चाहते है तो ऐसा आप bridges के माध्यम से कर सकते है ।
एक bridge single collision domain को 2 collision domains में divide कर दे ता है । Bridges frames को
forward करने के कलए MAC address use करते है । लेककन क्योंकक bridges में केवल 2 ही port होते है
इसकलए bridges र्ी एक reliable और scalable network provide करने में सक्षम नहीं थे।
Hubs और bridges की limitations को overcome करने के कलए switches को use ककया जाता है । एक
switch का हर port single collision domain होता है । इसकलए एक switch multiple collision domains और
single broadcast domain को represent करता है । Switches intelligent device होते है ।
Layer 2 switching में destination को determine करने के कलए switches MAC (Media Access Control)
addresses की table को use करते है । इस table को CAM table र्ी कहा जाता है । MAC address हर host के
NIC (Network Interface Card) पर manufacturer द्वारा hardcode ककया जाता है । Layer 2 switches MAC
addresses की table build और maintain करने के कलए Application Specific Integrated Circuits (ASIC) use
ककये जाते है ।

Functions of Switches
Layer 2 पर switches 3 important functions perform करते है । इनके बारे में कनचे detail से समझाया जा
रहा है ।

Hardware Address Learning

जब switch को पहली बार on ककया जाता है तो CAM table खाली होती है । जब कोई host frame send
करता है तो switch frame के source address को CAM table में store कर लेता है । क्योंकक इस समय
switch को destination host का ज्ञान नहीं है इसकलए switch इस frame को source port के आलावा बाकी
सर्ी ports को broadcast कर दे ता है ।
कजस host के कलए इस frame को send ककया गया है उसे छोडकर सर्ी hosts इस frame को discard कर
दे ते है । जो host frame को receive करता है वह source host को acknowledgment frame र्ेजता है । अब
switch इस frame के source address को अपनी CAM table में store कर लेता है ।
Network में जब र्ी कोई frame send ककया जाता है तो switch उसके source address को अपनी
CAM table में store कर लेता है । इस प्रकार एक switch अपनी CAM table build करता है । एक बार जब
switch सर्ी hosts के MAC addresses को store कर लेता है तो उसे ककसी frame को पहली बार की
तरह broadcast करने की आवश्यकता नहीं होती है । अब frames ककसी point to point connection की तरह
source से destination तक र्ेजे जाते है ।

Forwarding of Frames

जैसे ही कोई frame switch interface पर आता है तो उसके destination MAC address को CAM table के
MAC addresses से compare ककया जाता है । यकद frame का destination address match हो जाता है तो
frame को केवल उसी MAC address से सम्बंकधत port को forward कर कदया जाता है ।
यकद ककसी frame का destination address CAM table से match नहीं करता है तो उस frame को broadcast
ककया जाता है । यकद कोई host frame को receive करता है और उसका acknowledgment frame र्ेजता है
तो उस frame के source address को switch CAM table में store कर लेता है ।
यकद कोई host या server frames को broadcast करता है तो switch ऐसे frames को सर्ी hosts को send
करता है ।
Switches frames को forward करने के कलए 3 methods provide करते है ।

1. Store and Forward – इस method में complete frame को memory में copy ककया जाता है । Frame को copy करने
के बाद उस पर Cyclic Redundancy Check (CRC) perform ककया जाता है ।
2. Cut Through – इस method में frame की header से शुरआती 6 bytes को copy ककया जाता है ताकक destination
host को identify ककया जा सके। इस method में ककसी र्ी प्रकार की error checking नही ं perform की जाती है ।
3. Fragment Free – इस method में frame की शुरआती 64 bytes को copy ककया जाता है ताकक error checking
perform की जा सके।

Loop Avoidance

Switches के बीच multiple links होना बहुत ही important रहता है । क्योंकक यकद ककसी कारणवश एक link
down हो जाए तो दू सरी link द्वारा frames को send ककया जा सकता है । लेककन कई बार इन्हीं mulitple
links की वजह से network में कई समस्याएुँ उत्पन्न हो जाती है ।
Switches के बीच एक से अकधक link होने की वजह से network में loops create हो सकते है । यकद कोई
loop avoidance technique ना use की जाए तो network में broadcast storm create हो जाता है । Network में
loops की वजह से एक host frames की एक से अकधक copies receive कर सकता है ।
Layer 2 switching में loops को avoid करने के कलए Spanning Tree Protocol use ककया जाता है । इस
protocol के बारे में जानकारी आप Spanning Tree Protocol in Hindi tutorial से प्राप्त कर सकते है ।

Configuring Cisco Switches


By default एक switch के सर्ी ports enabled रहते है । क्योंकक युँ हा layer 2 switching की बात की जा रही
है इसकलए switch पर IP address या ककसी routing protocol को configure करने की आवश्यकता नहीं है ।
ऐसे में switch पर ज्यादा configuration नहीं ककया जाता है ।
Switch पर कनचे कदए गए normal configuration ककये जा सकते है ।

1. Switch पर hostname define कर सकते है ।


2. Switch के कलए password set कर सकते है ।
3. Switch के सर्ी ports का description दे सकते है ।
4. Console ports के कलए password set कर सकते है ।
5. Telnetting के कलए ports का password set कर सकते है।

ऊपर दी गयी configuration list को कनचे उदाहरण सकहत बताया जा रहा है ।


सबसे पहले आप switch के user execution mode से enable command execute करते है । इस mode में आप
switch open करते ही by default होते है । इस command को run करते ही आप privileged execution mode में
आ जाते है । इस mode में आप config terminal command execute करवाते है । इस command को execute
करवाने से आप global configuration mode में आ जाते है ।
Switch>enable
Switch# config terminal
Switch(config)#
Global configuration mode में आने के बाद आप अपने switch को configure कर सकते है । Switch पर
hostname configure करने के कलए आप hostname command use करते है । इस command के बाद आप
वह नाम कलखते है जो switch को दे ना चाहते है ।
Switch(config)#hostname BHTSwitch
इस command के execute होते ही आपके switch का नाम वही हो जाता है जो आपने कलखा है ।
Switch को password से protect ककया जा सकता है ताकक कोई unauthorised person उसे access ना कर
सके। इसके कलए आप enable secret command use करते है । इस command के बाद आप वह password
कलखते जो आप switch के कलए set करना चाहते है ।
BHTSwitch(config)#enable secret BHT123
Switch के ककसी र्ी interface को configure करने के कलए सबसे पहले आप interface configuration mode
में जाते है । इसके कलए आप interface command use करते है । इस command के आगे आप interface का
नाम कलखते है ।
BHTSwitch(config)# interface f0/16
ककसी र्ी interface का description define करने के कलए आप interface configuration mode में description
command use करते है । इस command के आगे आप उस interface का description कलखते है ।
BHTSwitch(config-if)# description Description of of/16 interface
ककसी र्ी console line का password set करने के कलए आप password command use करते है । लेककन
इसके कलए सबसे पहले आप कजस console line का password set करना चाहते है उसके configuration
mode में जाते है । इसके कलए आप line console command execute करवाते है । इस command के आगे आप
console का interface number कलखते है ।
BHTSwitch(config-if)# line console 0
BHTSwitch(config-line)#password bhtconsole
इसके बाद आप login command execute करवाते है । इस command से जो र्ी console line को access
करने का प्रयास कर रहा है उसे password enter करने के कलए force ककया जाता है । यकद आप login
command execute नहीं करते है तो password तो set हो जाता है लेककन password enter करने के कलए
force नहीं ककया जाता है । इस command को आप telnet password set करने के बाद र्ी execute करवाते
है ।
Interfaces पर telnet password set करने के कलए आप line vty command use करते है । इस command के
आगे आप virtual terminals lines की range दे ते है । यकद आप सर्ी 16 lines को configure करना चाहते है
तो इसके कलए 0 15 range दे ते है । इसके बाद password command से आप telnet password set करते है
और login command execute करवाते है ।
BHTSwitch(config-line)#line vty 0 15
BHTSwitch(config-line)#password bhttelnet
BHTSwitch(config-line)#login

CCNA in Hindi - ICMP (Internet Control Message


Protocol) - Best Hindi Tutorials
7-9 minutes

 Introduction to ICMP (Internet Control Message Protocol) in Hindi


 Types of ICMP (Internet Control Message Protocol) messages in Hindi
 ICMP (Internet Control Message Protocol) message format in Hindi
 Working of ICMP (Internet Control Message Protocol) in Hindi
Introduction to ICMP (Internet Control Messesage Protocol)
IP (Internet Protocol) एक network layer protocol है । ककसी र्ी network में data को deliver (Logical
Addressing) करने की कजम्मेदारी IP (Internet Protocol) की होती है । इस काम के कलए IP TCP और UDP
जैसे transport layer protocols को use करता है । TCP और IP कमलकर TCP/IP protocol suit का कनमाभ ण
करते है ।
ककसी र्ी data को source से destination तक deliver करने के कलए Internet Protocol द्वारा पूरा प्रयास
ककया जाता है । लेककन internet protocol में ऐसी कुछ limitations है कजससे इसकी performance कम हो
जाती है । इनके बारे में कनचे कदया जा रहा है ।
Limitations of IP (Internet Protocol)
Internet protocol की 2 महत्वपूणभ ककमयों के बारे में कनचे कदया जा रहा है । ICMP की जरुरत को समझने
के कलए आपका इन limitations को ठीक से समझना आवश्यक है ।
 No Error Reporting – यकद ककसी error की वजह से कोई packet router द्वारा discard हो जाए तो
इसके कलए internet protocol में ऐसा कोई mechanism नहीं है कजससे की sender को इस error के
बारे में report ककया जा सके। कुछ common errors के उदाहरण कनचे कदए जा रहे है ।
o मान लीकजये यकद router को destination तक data पहुुँ चाने के कलए कोई router नहीं कमल रहा
है तो ऐसी situation में router packet को discard कर दे गा।
o मान लीकजये की internet में travel करते करते ककसी packet का life time पू रा हो गया है
और packet में time to live field की value zero हो गयी है तो ऐसी situation में ये packet
discard कर कदया जाएगा।
o मान लीकजये destination तक सर्ी packets कनधाभ ररत समय में नहीं पहुुँ चे है तो ऐसी
पररल्थथकत में सम्पूणभ data को discard कर कदया जाएगा।
 No Communication – कई बार ऐसा हो सकता है की एक device को दू सरे device से
communicate करने की आवश्यकता हो तो ऐसी situation के कलए र्ी internet protocol में ऐसा
कोई mechanism नहीं है कजससे devices आपस में communicate कर सके। कजनमें devices को
communication की आवश्यकता होती है ऐसी कुछ common situations के बारे में कनचे कदया जा रहा
है ।
o कई बार data send करने से पहले एक host को ये determine करना होता है की
destination host alive है या नहीं।
o कई बार आपको र्ी ककसी host के बारे में information प्राप्त करने की आवश्यकता हो
सकती है ।
Internet Protocol की इन ककमयों को दू र करने के कलए ICMP (Internet Control Message Protocol) को
design ककया गया है । ICMP और IP दोनों एक साथ काम करते है । ICMP IP का supporting protocol है ।
ICMP में message mechanism होता है कजससे hosts को error और status के बारे में notify ककया जाता है ।
Types of ICMP (Internet Control Message Protocol) Messages
ICMP messages के द्वारा error reporting और devices का status share करता है । ICMP द्वारा create ककये
जाने वाले messages को 2 categories में divide ककया गया है ।
Error Reporting Messages
ये वे messages होते है कजनसे ICMP errors को report करता है । Common error reporting messages की
list कनचे दी जा रही है ।
 Destination Unreachable (Code 3) – यकद कोई router ककसी packet के कलए route नहीं ढूुँढ पाता है
तो ऐसी situation में packet को discard कर कदया जाता है और source को destination unreachable
message send ककया जाता है ।
 Source Quench (Code 4) – जै सा की आपको पता है IP में flow control नहीं है । Sending device को
इस बारे में कोई जानकारी नहीं होती है की उसके द्वारा send ककये गए data की speed forward
करने वाले router और process करने वाले destination host के अनुसार है या नहीं। जब sending
device की speed अकधक होती है तो IP कुछ packets को discard कर दे ता है । इस situation में
ICMP flow control provide करता है और source device को source quench messages send करता है ।
 Redirect (Code 5) – क्योंकक routing एक dynamic process होती है और कसर्भ routers ही इसमें कहस्सा
लेते है इसकलए एक host को कसर्भ एक ही router (gateway) के बारे में जानकारी होती है । इसकलए
जब यह host कोई data send करे गा तो data उस router के through correct router तक जाएगा। इस
situation में gateway router redirection message send करे गा ताकक host की routing information
update की जा सके और host directly correct router को data send कर सके।
 Time Exceeded (Code 11) – एक router ककसी र्ी packet को forward करने के कलए routing table
को use करता है । यकद routing table correct नहीं है और उसमे errors है तो ऐसी situation में
packet loop में ही िूमता रहता है । इस situation से बचने के कलए हर packet में एक time to live
field होता है । इस field की value हर router पर decrease होती जाती है । जैसे ही इस field की
value zero होती है तो router द्वारा इस packet को discard कर कदया जाता है । इस situation में
router source को Time Exceeded message send करता है ।
 Parameter Unintelligible (Code 12) – यकद कोई router या destination host packet के ककसी field को
empty पाता है तो उस packet को discard कर दे ता है और source को parameter unintelligible
message send करता है ।
Query Messages
ये वे messages होते है कजनसे ICMP ककसी host के status के कलए query करता है । Common query
messages की list उनके code के साथ कनचे दी जा रही है ।
 Echo Request (Code 8) & Echo reply (code 0) – Query messages का ये pair network में problems को
diagnose करने के कलए use ककया जाता है । ये दोनों messages ये determine करते है की क्या दो
hosts आपस में communicate कर सकते है ?
 Time-stamp Request (Code 13) & Time stamp Reply (Code 14) – ककसी packet को एक host से
दू सरे host तक travel करने में लगने वाले time को time stamp request & reply messages द्वारा पता
ककया जाता है ।
 Address Mask Request (Code 17) & Address Mask Reply (Code 18) – ककसी host को खु द के IP
address की जानकारी हो सकती है लेककन ये जरुरी नहीं की उसे खुद के subnet mask की
जानकारी हो। अपना subnet mask पता करने के कलए host router को address mask request र्ेजता है
और router इस host का subnet mask address mask reply message के रूप में र्ेजता है । यकद host
को router के address की जानकारी होती है तो वह सीधा ही router को request र्ेजता है नहीं तो
यह request broadcast की जाती है ।
ICMP (Internet Control Message Protocol) Message Format
अब तक आपने ICMP द्वारा send ककये जाने वाले 2 तरह के messages के बारे में जाना है । आइये अब
ICMP messages के format के बारे में जानने का प्रयास करते है । कनचे ICMP message का format एक
diagram के द्वारा show ककया जा रहा है ।

हालाुँ कक हर message type के कलए ICMP header अलग होती है लेककन शु रू के 3 field सर्ी messages में
समान होते है । इन 3 fields की total size 4 byte होती है । इन fields के बारे में कनचे detail से कदया जा
रहा है ।
 Type – ये field message का type define करता है । उदाहरण के कलए ककसी प्रकार की error report
करते समय उस error से सम्बंकधत code इस field में define ककया जाता है । उसी प्रकार यकद
query message है तो इस field में उस query का code आएगा।
 Code – Query messages के कलए इस field की value zero होती है । Error messages के कलए ये field
error के sub type को define करता है । उदाहरण के कलए यकद destination unreachable error आयी
है तो code field ये बताएगा की ककस तरह की destination unreachable error आयी है जैसे की
network unreachable (code 0), host unreachable (code 1) या कर्र protocol unreachable (code 2)
error आकद। Errors के इन sub types को र्ी codes के द्वारा define ककया जाता है ।
 Checksum – Header और data के द्वारा checksum calculate ककया जाता है कजसे errors को detect
करने के कलए use ककया जाता है ।
 Rest of the Header – जै सा की आपको पता है ICMP message को IP datagram में encapsulate ककया
जाता है । ICMP message में rest of the header section remaining IP header को दशाभ ता है ।
 Data – Error messages के सन्दर्भ में इस section में कजस packet के द्वारा error आयी है उस packet
की complete information होती है ।

CCNA in Hindi - DNS (Domain Name System) -


Best Hindi Tutorials
9-12 minutes

 Introduction to DNS (Domain Name System) in Hindi


 DNS (Domain Name System) servers in Hindi
 Working of DNS (Domain Name System) in Hindi
Introduction to DNS (Domain Name System)
एक website ककसी server पर stored रहती है । Sever पर website को IP address द्वारा uniquely
identify ककया जाता है । हर website का एक IP address होता है लेककन आप इसे दे ख नहीं पाते है ।
एक IP address numerical numbers से कमलकर बना होता है जो network और host के बारे में जानकारी
दे ता है । लोग एक कदन में बहुत सी websites पर जाते है । ऐसे में ककसी के कलए र्ी इतनी सारी websites
के IP address याद रखना possible नहीं है ।
Internet पूरी तरह IP addressing के द्वारा work करता है । लेककन क्योंकक names को IP addresses के
comparison में आसानी से याद रखा जा सकता है , इसकलए एक ऐसे system को use ककया जाता है जो
ककसी website के IP address को एक domain name के द्वारा identify कर सके।
DNS (Domain name system) एक internet service होती है जो आपके द्वारा कदए गए नाम को IP address के
रूप में resolve करता है । जब र्ी आप browser में कोई domain name type करते है तो DNS (Domain
Name System) उसके साथ associated IP address को resolve करता है । इसके बाद resolver, TLD और दू सरे
servers की मदद से website को ढूंढा जाता है और user को show ककया जाता है ।
DNS (Domain Name System) एक name resolution system होता है । Microsoft के द्वारा खुद के network में
names को resolve करने के कलए WINS (Windows Internet Name Service) name resolution system use
ककया जाता था। लेककन अब इसे use नहीं ककया जाता है । DNS सबसे popular name resolution system है ,
क्योंकक ये बहुत ही fast और reliable है ।
Domain Name Space
एक name space हर IP address को एक unique नाम के साथ map करता है । जब र्ी ककसी website को
या server को name assign ककया जाता है तो वह name space से ही select ककया जाता है । एक name
space को 2 प्रकार से organize ककया जा सकता है । इनके बारे में कनचे कदया जा रहा है ।
Flat Name Space
इस तरह के name space में एक name होता है कजसे IP के साथ map ककया जाता है । ये centralized name
space नहीं होता है इसकलए इसे internet के कलए use नहीं ककया जा सकता है । क्योंकक इससे duplicate
domain names create होने की problem हो जाती है ।
Hierarchical Name Space
जो आज आप domain names use करते है वे इसी तरह के name space से allot की जाती है । इस तरह
के name space में domain names कई parts से कमलकर बनी होती है । जैसे की एक part बताता है की ये
domain name ककस तरह की organization से सम्बंकधत है , ऐसे ही दू सरा part organization का नाम या उससे
सम्बंकधत जानकारी बता सकता है ।
उदाहरण के कलए www.MyCompany.com domain name में com बताता है की ये commercial है और
MyCompany ककसी company के बारे जानकारी दे रहा है ।
Hierarchical name space का implementation domain name space होता है । Domain name space को tree की
form में represent ककया जाता है , कजसमें एक root server होता है । बाकी दू सरे servers र्ी इस hierarchy में
होते है । जब कोई server ककसी name को resolve नहीं कर पाता है तो वह tree में दू सरे server को request
pass कर दे ता है ।

Domain name space में 2 तरह की domain name होती है । इनके बारे में कनचे कदया जा रहा है ।
Fully Qualified Domain Names
एक fully qualified domain name वह होता है जो dots (.) के द्वारा separated रहता है । हर dot operator एक
different hierarchy level को represent करता है । इस तरह की domain name का उदाहरण कनचे कदया जा
रहा है ।
www.MyComapny.com
Partially Qualified Domain Name
एक partially qualified domain name में dots नहीं होते है । इस तरह की domains में कसर्भ एक node का
नाम होता है और ये fully qualified domain names की तरह root की तरर् नहीं बढ़ती है । इसका
उदाहरण कनचे कदया जा रहा है ।
MyCompany
DNS (Domain Name System) Servers
DNS (Domain Name System) 3 प्रकार के servers से कमलकर बना हुआ है ।
1. Root Server
2. Primary Server
3. Secondary Server
ये तीनों servers domain name space की अलग अलग hierarchy levels पर काम करते है । Domain name
space hierarchy के संदर्भ में इनका diagram कनचे कदया जा रहा है ।

CCNA in Hindi - VLAN (Virtual LAN) - Best


Hindi Tutorials
7-9 minutes

 Introduction to virtual LANs in Hindi


 Advantages of virtual LANs in Hindi
 VLAN membership in Hindi
 Configuring virtual LANs in Hindi
Introduction to Virtual LANs
मान लीकजये आपकी company की 2 buildings है । इन दोनों buildings में आपने 2 LANs (Local Area
Network) A और B configure ककये हुए है । LAN A में 10 hosts (devices/computers) है , कजनके माध्यम से 10
employees काम करते है । इसी प्रकार LAN B में 7 hosts है , कजनके माध्यम से 7 employees काम करते है ।
LAN A के employees programmers है और LAN B के employees company की marketing करते है ।
Programmers की building में एक marketing employee की आवश्यकता है ताकक वो programmers के साथ
कमलकर काम कर सके। ऐसी situation में network administrator के रूप में आप LAN A में से एक host
(computer/device) को physically remove करके programmers वाली building में LAN B से connect कर दें गे।
अब marketing का employee programmers के साथ कमलकर काम कर सकता है ।
कुछ समय बाद marketing employee की marketing building (LAN B) में आवश्यकता पडती है । अब
आपको वापस एक host (device/computer) को LAN A से remove करके LAN B से connect करना पडे गा।
कुछ समय बाद 3 marketing employees को programmers की building में shift करने के आवश्यकता
पडती है । अब आपको 3 hosts को physically remove करके LAN A से connect करना पडे गा।
अब ऐसी situation की कल्पना कीकजये यकद हर कुछ कदन बाद एक LAN के employees की दू सरी LAN
में आवश्यकता पडती रहती है । ऐसे में हर बार hosts को एक LAN से remove करके दू सरी LAN से
connect करने में network administrator को बहुत अकधक समय और मेहनत लगेगी।
ऐसी situation में एक ऐसे mechanism की आवश्यकता है कजससे कबना ककसी host को physically remove
ककये ही दू सरी LAN से connect ककया जा सके। ताकक network administrator का समय बच सके और वह
दू सरे important काम कर सके।
VLAN एक ऐसी ही technology है कजसके माध्यम से आप एक LAN के hosts को दू सरी LAN से कबना
hosts को move ककये connect कर सकते है । VLAN के माध्यम से connect ककये गए hosts ऐसे काम करते
है जैसे की वे physically उस LAN से connected हो। लेककन जैसा की आपको पता है ये connection
physical होने की बजाय logical होता है ।
Advantages of VLAN (Virtual LAN)
VLAN को use करने की बहुत से advantages है , इनके बारे में कनचे कदया जा रहा है ।
1. Reduced Cost – दो LANs एक दू सरे से काफी दू र हो सकती है । ऐसे में hosts को एक LAN से
remove करके दू सरी से connect करने में जो cost लगती है वो VLAN को use करने से eliminate
हो जाती है ।
2. Reduced Time – एक LAN से hosts को remove करके दू सरी LAN से connect करने में काफी time
र्ी waste होता है । जब आप VLAN का उपयोग करते है तो आपको hosts को physically move
करने की आवश्यकता नहीं होती है इससे time की बचत होती है ।
3. Create Work Groups – VLAN के माध्यम से आप company के अलग अलग departments में काम
कर रहे employees का एक group बना सकते है , कजससे की वे कबना खुद move हुए ही ककसी
project पर काम कर सकते है ।
4. Broadcast Control – VLAN के माध्यम से अनुपयोगी broadcast traffic eliminate हो जाता है ।
Messages केवल उन्हीं hosts को र्ेजे जाते है जो VLAN में है । LAN के बाकी hosts को VLAN
broadcast messages नहीं र्ेजे जाते है कजससे unnecessary traffic generate नहीं होता है ।
5. Secure – VLAN technology extra security provide करती है । ककसी एक VLAN group में र्ेजे गए
broadcast messages उसी group के hosts को र्ेजे जाते है , दू सरे groups से ये data secure रहता है ।
6. Flexibility – VLAN आपको कुँही से र्ी ककसी group से जुडने की capability provide करती है ,
इसके कलए आपको physically move करने की आवश्यकता नहीं होती है ।
VLAN Configuration
By default सर्ी interfaces VLAN 1 में होते है । यकद आप ककसी port को दू सरी VLAN में add करना
चाहते है तो इसके कलए सबसे पहले आप वह VLAN create करते है ।
VLAN numbers की range 1 से लेकर 1005 तक है । इनमें से 1002 से लेकर 1005 तक token ring और
FDDI (Fibre Distributed Data Interface) के कलए reserved है ।
Creating VLAN
VLAN create करने के कलए आप vlan command use करते है । इस command को global configuration
mode में execute ककया जाता है । इसका उदाहरण कनचे कदया जा रहा है ।
ऊपर दी गयी command एक VLAN create करती है कजसका number 100 है । जैसे ही आप इस command
को execute करते है तो आप VLAN configuration mode में enter हो जाते है ।
Naming VLAN
VLAN configuration mode में आप VLAN का नाम configure कर सकते है । VLAN का नाम configure
करना optional है । इसका उदाहरण कनचे कदया जा रहा है ।
Switch(config-vlan)# name BHT
ऊपर दी गयी command vlan 100 को BHT name assign करती है । इसके बाद VLAN configuration mode
से बाहर आने के कलए आप exit command execute कर सकते है ।
यकद कोई switch VTP (VLAN Trunking Protocol) पर काम कर रहा है तो वह आसानी से 1006 से लेकर
4094 numbers तक VLAN के रूप में use कर सकता है । इन्हें extended range VLANs कहा जाता है ।
Showing VLANs
सर्ी create की गयी VLANs को दे खने के कलए आप show vlan command execute करते है । इसे
privileged execution mode में execute ककया जाता है । इसका उदाहरण कनचे कदया जा रहा है ।
यकद आप global configuration mode में है तो सर्ी VLANs को इस प्रकार दे ख सकते है ।
switch(config)# do show vlan
Removing VLANs
ककसी VLAN को remove करने के कलए आप no vlan command use करते है । इस command के बाद आप
वह VLAN number दे ते है कजसे आप remove करना चाहते है । इस command को global configuration
mode में execute ककया जाएगा। इसका उदाहरण कनचे कदया जा रहा है ।
switch(config)# no vlan 100
यकद आप एक साथ कई VLANs को remove करना चाहते है तो इसके कलए आप उन VLANs की
range दे ते है । इसका उदाहरण कनचे कदया जा रहा है ।
switch(config)# no vlan 50-77
VLAN Membership
एक बार जब आप VLAN create कर लें तो इस VLAN में आप interfaces (ports) को add करते है ।
ककसी र्ी interface (port) को VLAN का member 2 प्रकार से बनाया जा सकता है ।
Statically
इस तरीके में आप manually ककसी port को VLAN में add करते है । आप चाहे तो एक single port को
VLAN में add कर सकते है या कर्र एक साथ ports के group को र्ी VLAN में add कर सकते है । जो र्ी
host उस port से connected होता है वह VLAN का member बन जाता है ।
आइये अब दे खते है की आप ककस प्रकार एक interface को statically VLAN assign कर सकते है ।
ककसी र्ी interface को VLAN assign करने के कलए आपके पास उस interface का access होना चाकहए।
इसकलए सबसे पहले आप उस interface के configuration mode में enter होते है कजसे आप VLAN assign
करना चाहते है । इसका उदाहरण कनचे कदया जा रहा है ।
switch(config)# interface gi 1/10
जैसे ही आप ऊपर दी गयी command को execute करते है आप interface configuration mode में enter हो
जाते है । इसके बाद आप VLAN का port type configure करते है । इससे पता चलता है की port access
या trunk ककस type का है । इसका उदाहरण कनचे कदया जा रहा है ।
switch(config-if) switchport mode access
ऊपर दी गयी command के द्वारा port का type access configure ककया गया है । इसके बाद आप इस
access port को VLAN assign करते है । इसका उदाहरण कनचे कदया जा रहा है ।
switch(config-if) switchport access vlan 100
आपके द्वारा ककया गया VLAN configuration startup config file में stored रहता है , इसकलए यकद switch को
reboot र्ी ककया जाता है तो र्ी आपका VLAN database maintained रहता है ।
Dynamically
Host के Mac address के आधार पर आप VLAN को dynamically configure कर सकते है । ऐसा करने से
एक host उसी VLAN में रहता है , इससे कोई र्कभ नहीं पडता की वह ककस switch port से connected है ।
Dynamic VLAN assignment के कलए आपको separate database की आवश्यकता होती है ताकक Mac address
और VLAN की information को maintain ककया जा सके। ये functionality provide करने के कलए Cisco ने
VMPS (VLAN Membership Policy Server) develop ककया है कजसके माध्यम से dynamic VLAN
configuration आसानी से हो जाता है । Static VLAN ज्यादा use होता है इसकलए युँहा पर आपको उसके
बारे में ही detail से बताया जा रहा है ।

CCNA in Hindi - ARP (Address Resolution


Protocol) - Best Hindi Tutorials
5-6 minutes

 Introduction to address resolution protocol in Hindi


 Message format of address resolution protocol in Hindi
 Working of address resolution protocol in Hindi
Introduction to ARP (Address Resolution Protocol)
ARP एक network layer protocol है । TCP/IP protocol suit में ये एक बहुत ही important protocol है ।
हालाुँ कक इसे 80 के दशक के शुरआती कदनों में ही develop कर कलया गया था लेककन 1982 में RFC 826 में
define ककया गया था। ARP को IPv4, X.25, frame relay, ATM जैसी महत्वपूणभ technologies के साथ
implement ककया गया है ।
ARP protocol IP address के base पर MAC address को resolve करता है । Application layer पर ककसी र्ी
device से communicate करने के कलए IP address use ककया जाता है । लेककन data link layer (LAN) पर
ककसी device से communicate करने या कर्र उसे data send करने के कलए MAC address की आवश्यकता
होती है ।
जब ककसी local host को कोई data send ककया जाता है तो networks के बीच ये IP address के माध्यम
से travel करता है । लेककन LAN में उस host तक पहुुँ चने के कलए इसे उस host के MAC address की
requirnment होती है । इस situation में address resolution protocol एक अहम् र्ूकमका कनर्ाता है ।
Working of ARP (Address Resolution Protocol)
कनचे address resolution protocol की working को कुछ steps के द्वारा समझाया जा रहा है ।
 जब एक sender ककसी receiver से communicate करना चाहता है तो sender सबसे पहले अपना
ARP cache check करता है । Sender check करता है की क्या receiver का MAC address पहले से
ARP cache में मौजूद है ? यकद receiver का MAC address पहले से ARP cache में मौजूद है तो
sender उस MAC address को use करते हुए receiver से communicate करे गा।
 यकद receiver device का MAC address ARP cache में पहले से मौजू द नहीं है तो ऐसी situation में
sender device द्वारा एक ARP request message तै यार ककया जाता है । इस message में sender का
MAC address, sender का IP address और receiver का IP address होता है । Receiver के MAC
address वाले field को खाली छोड कदया जाता है क्योंकक उसे resolve ककया जा रहा है ।
 Sender device इस ARP request message को LAN में broadcast कर दे ता है ।
 क्योंकक ये एक broadcast message है इसकलए LAN से connected हर device इस message को
receive करता है ।
 सर्ी devices इस request message के receiver IP address को ियं के IP address से match करते है ।
कजन devices का ये IP address match नहीं होता है वे इस request message को drop कर दे ते है ।
 कजस device के IP address से इस request message का receiver IP address match करता है वह इस
message को receive करता है और ARP reply message तैयार करता है । ये एक unicast message
होता है जो कसर्भ sender को र्ेजा जाता है ।
 ARP reply message में sender के IP address और MAC address को reply message र्ेजने के कलए
use ककया जाता है । साथ ही इस message में receiver अपना IP address और MAC address र्ी
र्ेजता है । Receiver device र्ी अपने ARP cache को future use के कलए sender के MAC address
से update करता है ।
 जैसे ही sender device ARP reply message receive करता है तो वह अपने ARP cache को नयी
information (Receiver का MAC address) के साथ update कर लेता है ।
 अब sender के ARP cache में receiver का MAC address मौजूद है sender कबना ककसी परे शानी के
data send और receiver कर सकता है ।
Message Format of ARP (Address Resolution Protocol)
Address resolution protocol द्वारा MAC address resolve करने के कलए message र्ेजे जाते है । ये message
LAN में सर्ी devices को broadcast ककये जाते है । इस message का format कनचे diagram द्वारा show ककया
जा रहा है ।

ARP message format में कदए गए सर्ी fields को कनचे detail से समझाया जा रहा है ।
 Hardware Type – इस field की size 2 bytes होती है । ये field define करता है की ARP message को
transmit करने के कलए ककस प्रकार का hardware type use ककया गया है । सबसे common hardware
type Ethernet है । Ethernet की value 1 होती है ।
 Protocol Type – ये field बताता है की ARP message की transmitting के कलए ककस protocol को
use ककया गया है । ज्यादातर इस field की value 2048 होती है जो की IPv4 को दशाभ ती है ।
 Hardware Address Length – ये field hardware address की length bytes में दशाभ ता है । Ethernet MAC
address की size 6 byte होती है ।
 Protocol Address Length – ये field IP address की size bytes में दशाभ ता है । IP address की size 4
bytes होती है ।
 OP Code – ये field ARP message के type को बताता है । यकद इस field की value 1 है तो यह
request message है और यकद इस field की value 2 है तो यह reply message है ।
 Sender Hardware Address – इस field में message send करने वाले device का MAC address होता
है ।
 Sender Protocol Address – इस field में message send करने वाले device का IP address होता है ।
 Target Hardware Address – Request message में यह field खाली होता है । इस field में
receiving device का hardware address होता है ।
 Target Protocol Address – इस field में receiving device का IP address होता है ।

CCNA in Hindi - NAT (Network Address


Translation) - Best Hindi Tutorials
8-10 minutes

 Introduction to NAT (Network Address Translation) in Hindi


 Types of NAT (Network Address Translation) in Hindi
 Configuring NAT (Network Address Translation) in Hindi
Introduction to NAT (Network Address Translation)
ककसी र्ी device को internet से जुडने के कलए IP address की आवश्यकता होती है । यकद आपके work
environment में 10 device है तो इन्हें internet से जुडने के कलए 10 ही IP addresses की आवश्यकता होगी।
जैसा की आपको पता है internet बहुत अकधक गकत से बढ़ रहा है और IP address की सुँख्या जरुरत से
कम है , इसकलए इस समस्या से कनपटने के कलए IPV6 को develop ककया जा रहा है लेककन उसे
implement होने में अर्ी कार्ी समय लगेगा। ऐसी situation में IP address की आवश्यकता को पू री करने
के कलए NAT (Network Address Translation) का प्रयोग ककया जा रहा है ।
NAT (Network Address Translation) Cisco द्वारा develop ककया गया है । ये एक mechanism होता है
जो आपके private network और internet के बीच काम करता है । NAT ककसी device पर काम करता है । ये
device कोई र्ी हो सकता है जैसे की firewall और router आकद NAT को IETF RFC 1631 में define ककया
गया है ।
मान लीकजये आपके organization में 25 devices है कजन्हें internet से जोडा जाना है | Normally दे खे तो इसके
कलए आपको 25 IP address की आवश्यकता होगी। लेककन NAT को use करते हुए आप एक ही registered
IP address से सर्ी devices को internet से जोड सकते है । NAT के use से आपको 25 IP addresses की
आवश्यकता नहीं होगी| सर्ी devices को आप unregistered IP address से configure करते है | इन IP address
को local IP addresses कहा जाता है NAT ककसी organization में IP addresses की जरुरत को कम कर
दे ता है |
Types of NAT (Network Address Translation)
NAT को 3 प्रकार से use ककया जा सकता है |
1. Static NAT
2. Dynamic NAT
3. NAT Overload & Port Address Translation
इन सर्ी methods को कनचे समझाया जा रहा है ।
Static NAT
Static NAT में एक local IP address की एक global IP address में mapping की जाती है | ये one to one
process होती है । जब आप ककसी NAT enabled router के दू सरी तरर् के एक device को internet से
connect करना चाहे तो इस type के NAT को use करते है |
Dynamic NAT
Dynamic NAT में जब र्ी कोई local IP address का device internet से जु डने का प्रयास करता है
तो registered IP addresses के pool में से एक IP address dynamically select ककया जाता है और उसकी
local IP address से mapping की जाती है |
NAT Overload or Port Address Translation (PAT)
इस तरह के NAT में local IP address के traffic को एक single global IP address के अलग अलग ports
पर map ककया जाता है | PAT का उपयोग उस condition में ककया जाता है जब local address की सुँख्या
global addresses की सुँ ख्या से अकधक होती है ।
Working of NAT (Network Address Translation)
NAT की working को समझने के कलए पहले आपको कुछ terms को समझना होगा| इन terms के बारे में
कनचे बताया जा रहा है ।
Inside Local
ये आपके home/private network में ककसी host पर configure ककया हुआ unregistered IP address होता है ।
इसे एक private IP address र्ी कहा जाता है |
Inside Global
ये वह IP address होता है जो आपके private host को public network (Internet) में represent करता है | ये
एक registered IP address होता है |
Outside Global
ये ककसी outside host को assign ककया गया registered IP address होता है । ये host NAT enabled device के
दू सरी तरर् होता है ।
Outside Local
ये NAT enabled device के दू सरी तरर् private network में ककसी host को assign ककया गया unregistered
IP address र्ी हो सकता है और public network में कोई registered IP address र्ी हो सकता है |
NAT की working को कनचे एक diagram द्वारा समझाया जा रहा है ।

जैसा की आप ऊपर कदए गए diagram में दे ख सकते है home network में configure ककये गए IP
addresses inside local होते है | जो IP address आपके private को public network से connect करता है वह
inside global कहा जाता है | ये NAT enabled device (router) के उस interface पर configured होता है जो की
private network से जोडता है |
ये IP address आपके private network को represent करता है | NAT enabled device के दू सरी तरर् outside
global address होता है जो की इसे public network से जोडता है | वह कोई र्ी host जो public network में
होता है और NAT enabled device के interface से public network में connect रहता है outside local address
कहलाता है |
जब र्ी home network का कोई र्ी host internet से जुडने का प्रयास करता है तो NAT उसे एक
registered IP address में translate कर दे ता है और वह host आसानी से internet access कर पाता है |
Configuring NAT (Network Address Translation)
जैसा की मैने आपको पहले बताया NAT को 3 प्रकार से use ककया जाता है । इसकलए NAT को configure
र्ी 3 प्रकार से ककया जाता है । NAT के 3 तरह के configuration को कनचे समझाया जा रहा है |
Static NAT Configuration
Static NAT configure करने के कलए सबसे पहले आप inside और outside interfaces को identify
करके configure करते है | Inside interface वह होता है कजससे private host NAT enabled device
से connected करता है | Outside interface वह होता है कजससे NAT enabled device internet से जुडा होता है ।
Inside interface को configure करने के कलए आप इस प्रकार commands execute करें गे।
Router(config)# int e0/0
Router(config-if)# ip nat inside
पहली command से आप interface configuration mode में आ जाते है और दू सरी commands से आप उस
interface को inside interface के रूप में configure करते है |
Outside interface को आप इस प्रकार configure कर सकते है ।
Router(config)# int s0/0
Router(config-if)ip nat outside
आल्खर में एक private IP address को public IP address में map करने के कलए आप इस प्रकार command
execute करें गे।
Router(config)# ip nat inside source static 152.4.0.1 192.168.1.1
ऊपर दी गयी command 152.4.0.1 को 192.168.1.1 में statically translate करती है ।
Configuring Dynamic NAT
Dynamic NAT configuration के कलए र्ी सबसे पहले आप inside और outside interfaces को identify करके
configure करते है | इसके बारे में मैं static configuration में पहले बता चू का हुँ इसकलए युँहा पर मैं इस
process को skip कर रहा हुँ |
Inside और outside interfaces को identify करके configure करने के बाद आप public address का एक
pool specify करते है | Inside hosts internet से जुडते समय इस pool में next available IP address
dynamically select करें गे |
Public addresses के pool को configure करने के कलए आप इस प्रकार command execute करते है ।
Router(config)# ip nat pool BHTPOOL 151.70.1.1 151.70.1.1 netmask 255.255.255.0
ऊपर दी गयी command BHTPOOL नाम से एक pool define करती है कजसमें 151.70.1.1 से लेकर
151.70.1.50 तक के public IP addresses available है । आल्खर में आप उन private address को configure
करते है जो इस pool के द्वारा translate ककये जा सकते है | इसके कलए आप access-list का प्रयोग करते है |
Private address की list को configure करने के कलए आप इस प्रकार command execute करें गे।
Router(config)# ip nat inside source list 10 pool BHTPOOL
Router(config)# access list 10 permit 172.16.1.1 0.0.0.255
पहली command बताती है की कोई र्ी inside host जो access list 10 को match करता है उसे BHTPOOL
में available ककसी र्ी public address में translate ककया जा सकता है | Access list ककसी र्ी host को
172.16.1.1 network पर specify करता है ।
Configuring NAT Overload or (Port Address Translation)
जैसा की आपको पता है PAT को तब configure ककया जाता है जब inside local addresses की सुँ ख्या
outside public addresses से कम होती है | हर inside private address को एक single public address के
unique port number में translate ककया जाता है ।
PAT को configure करना आसान है | इसके कलए सबसे पहले आप inside और outside interfaces को
configure करते है | इनके बारे में आपको पहले बताया जा चूका है | इसके बाद आप PAT configure करते
है |
PAT को configure करने के कलए आप इस प्रकार commands execute करते है |
Router(config)# ip nat inside source list 10 interface Serial0/0 overload
Router(config)# access list 10 permit 172.16.1.1 0.0.0.255
ऊपर दी गयी commands बताती है की कोई र्ी inside host जो access list 10 को match करता है उसे
overload के साथ serial interface 0/0 में translate ककया जाएगा|
Troubleshooting NAT (Network Address Translation)
NAT को troubleshoot करने के कलए कुछ basic commands के बारे में कनचे बताया जा रहा है |
सर्ी static और dynamic NAT translations को दे खने के कलए आप कनचे दी गयी command execute करते
है |
Router# show ip nat translation
ये दे खने के कलए की कौनसा interface inside है और कौनसा outside है आप कनचे दी गयी command
execute करते है |
Router# show ip nat statistics
NAT translation को real time में दे खने के कलए आप कनचे दी गयी command execute करते है |
सर्ी dynamic NAT entries को clear करने के कलए आप कनचे दी गयी command execute करते है |
Router# clear ip nat translation

CCNA in Hindi - WAN (Wide Area Network) -


Best Hindi Tutorials
8-9 minutes

 Introduction to WAN (Wide Area Network) in Hindi


 WAN (Wide Area Network) connection types in Hindi
 WAN (Wide Area Network) terminology in Hindi
 WAN encapsulation in Hindi
Introduction to WAN (Wide Area Network)
एक LAN limited area में र्ैला हुआ network होता है जैसे की ककसी organization की building या
campus आकद। LAN को आप खुद manage करते है । आप अलग अलग topologies को use करते हुए
अपने organization में LAN network कबछा सकते है । LAN में एक switch होता है कजससे आप बहुत से
hosts को connect करते है ।
WAN (Wide Area Network) एक बहुत बडे geographical area में र्ैला हुआ network होता है । जैसे की
जब बात ककन्हीं दो दे शों के बीच network की आती है तो ऐसी situation में ये network WAN technology
पर आधाररत होता है । WAN बहुत से LANs (Local Area Networks) को आपस में connect करता है ।
WAN को आप control नहीं कर सकते है , ये ISP (Internet Service Provider) द्वारा control ककया जाता है ।
आइये अब इसे एक उदाहरण के माध्यम से समझने का प्रयास करते है । मान लीकजये आपकी एक छोटी
सी organization है जो एक छोटी सी building में काम करती है । अपनी organization में आप कुछ hosts
को internet से जोडना चाहते है । इसके कलए आप एक internet (broadband) connection लेते है ।
Internet connection आपको ISP द्वारा provide ककया जाता है । ISP कोई र्ी हो सकता है जैसे की BSNL,
Airtel आकद। Connection लेने की बाद आप अपनी organization में network setup करते है और सर्ी hosts
को connect कर दे ते है । आप ककस प्रकार setup करें गे ये आप पर depend करता है । आपका ये setup
एक LAN है जो आपने अपनी organization की building में कबछाया है । आप ककसी र्ी host को इस
network से जोड सकते है या remove कर सकते है ये पूरी तरह से आपके ऊपर कनर्भर करता है ।
दू सरी तरर् WAN है जो आपके इस network को बाकी दू सरे LANs से connect करता है ताकक दू सरी
city या country से र्ी कोई आपसे जुड सके और आप उसको email आकद send कर सकें। जै सा की मैने
आपको पहले बताया WAN ककस प्रकार काम करता है इसे आप control नहीं कर सकते है ये पू री तरह
ISP पर कनर्भर करता है ।
WAN के fast और reliable होने की वजह से आजकल WAN का चलन बढ़ता जा रहा है । अब WAN को
छोटे area के कलए र्ी use ककया जा रहा है । इसकलए ये identify करना काफी मुल्िल होता है की कोई
network ककस प्रकार का है ।
ऐसी situation में आप ककसी network को technology और devices के आधार पर identify कर सकते है ।
उदाहरण के कलए यकद ककन्हीं 2 building के बीच connection Ethernet से establish ककया गया है तो वह
एक LAN network होगा। यकद ये connection एक dedicated T1 line से establish ककया गया है तो वह एक
WAN network होगा।
WAN (Wide Area Network) Connection Types
एक WAN connection आप 3 प्रकार की technologies को use करते हुए setup कर सकते है । इनके बारे
में कनचे कदया जा रहा है ।
Point to Point
इस प्रकार की technologies को dedicated या leased lines र्ी कहा जाता है । इस प्रकार की technologies
WAN connection setup करने के कलए सर्ी दू सरी technologies से expensive होती है । Point to point
technologies Service Provider द्वारा lease पर दी जाती है । ये technology दो locations के बीच establish की
जाती है इसकलए इसे point to point technology कहा जाता है ।
Locations के बीच की दु री और allocate की गयी bandwidth के अनुसार इस technology की cost
determine की जाती है । Point to point technologies में data transfer के कलए ककसी र्ी प्रकार के
connection setup की आवश्यकता नहीं होती है । इस तरह की technology में connection हमेशा on ही
रहता है ।
Point to point technologies के उदाहरण कनचे कदए जा रहे है ।
1. T1 Lines – एक T1 line service provider और client के बीच एक dedicated link होती है । T1 line में
ज्यादा data carry करने के कलए telephone line को use ककया जाता है । एक T1 line 1.544 Mbps की
rate पर data को carry करती है ।
2. T3 Lines – T1 lines के comparison में T3 lines 44.736 Mbps की rate पर data carry करती है । T3
lines network backbone के रूप में काम करती है , इसकलए T1 lines के comparison में बहुत कम
use की जाती है ।
Circuit Switched
इस तरह की technology में data transfer से पहले connection setup की आवश्यकता पडती है । ये एक
session होता है जो data transfer के दौरान active रहता है । जैसे ही data transfer complete होता है ये
session बंद हो जाता है । इसे on demand circuit कहा जाता है ।
Circuit switched technologies के उदाहरण कनचे कदए जा रहे है ।
1. Dial Up – Dial up एक connection होता है जो modem के द्वारा establish ककया जाता है । इस तरह
के connection में client के द्वारा connection के कलए request र्े जी जाती है ।
2. ISDN – Integrated Service Digital Network एक communication standards का set है । ISDN के द्वारा
आप कई प्रकार का data जैसे की voice, video आकद simultaneously र्े ज सकते है ।
Packet Switched
Packet switched technologies सर्ी service providers के बीच एक common infrastructure share करती है ।
इस प्रकार की technologies में bandwidth की कोई guarantee नहीं होती है । इस प्रकार की technologies
best effort के base पर काम करती है । Packet switched technologies ऐसी application के कलए होती है कजन्हें
consistent bandwidth की requirement होती है लेककन साथ ही ये circuit switched और point to point
technologies से बेहतर होती है ।
Packet switched technologies के उदाहरण कनचे कदए जा रहे है ।
1. Frame Relay – Frame relay एक cost efficient service है । इसे LAN को आपस में connect करने के
कलए use ककया जाता है । साथ ही frame relay को WAN end points पर र्ी use ककया जाता
है ।
2. X.25 – X.25 protocol अलग अलग public networks में ल्थथत hosts को एक intermediary host के
द्वारा communicate करने की facility provide करता है ।
WAN (Wide Area Network) Terminology
WAN technology से जुडी हुई ऐसी कुछ terms है कजनके बारे में जानकार आप WAN को और र्ी अच्छी
तरह समझ पाएं गे। इनके बारे में कनचे बताया जा रहा है ।
Customer Premise Equipment
CPE एक equipment होता है जो की subscriber (customer) की physical location पर ल्थथत रहता है ।
उदाहरण के कलए यकद आपने कोई नया broadband connection कलया है तो आपको telephone handset
provide ककया जाता है । Telephone handset CPE category का ही equipment होता है ।
CSU/DSU (Channelized Service Unit/Data Service Unit)
CSU/DSU एक hardware device होता है । यह device T1 या T3 technology के कलए clocking और
channelization provide करता है । CSU/DSU WAN से आ रहे signal को LAN के कलए convert करता है
और LAN से आ रहे signal को WAN के कलए convert करता है ।
एक बात ध्यान रखने योग्य है की यकद T1 या T3 के अलावा कोई दू सरी WAN technology use की जा
रही है तो इसके कलए आपको दू सरे device की आवश्यकता होगी। CSU/DSU के उदाहरण ISDN और
Dialup है ।
Demarc
Demarc CPE (Customer Permise Equipment) और service provider equipment के बीच interface होता
है । Demarc के CPE की तरर् के कजतने र्ी device होते है उन्हें maintain करना customer की
responsibility होती है । Demarc physically labeled नहीं होता है । ज्यादातर cases में यह एक 2 port या 4
port का physical panel होता है ।
Smart Jack
एक T1 line smart jack में plugged in होती है । Smart jack में आकर T1 line terminate हो जाती है । यकद
कर्ी connectivity में कोई issue आता है तो service provider smart jack को ping करता है । यकद ping test
successful रहता है तो ये माना जाता है की problem customer side में है । Smart jack एक glass के box
में packed रहता है ।
Local Loop
Local loop उस line को कहते है जो customer premise और service provide के office के बीच होती
है ।
WAN (Wide Area Network) Encapsulation
WAN technology OSI model की physical और data link layer पर काम करती है । इसकलए higher layer
protocols पर WAN link को cross करने से पहले data encapsulate ककया जाता है । एक WAN सामान्यतः
ककसी Cisco device के serial link पर terminate होती है । Serial link कई प्रकार के WAN encapsulation
types को support करता है । इन encapsulation types को आप manually specify करते है ।
By default serial interface HDLC (High Level Data Link Control Protocol) को encapsulation के कलए use
करता है । Serial interface के द्वारा support ककये जाने वाले दू सरे encapsulation types की list कनचे दी जा
रही है ।
1. SDLC
2. PPP
3. LAPB
4. Frame Relay
5. X.25
6. ATM
जो र्ी encapsulation type use ककया जाए वह point to point link के दोनों तरर् same होना चाकहए।

CCNA in Hindi - HDLC - Best Hindi Tutorials


7-8 minutes

 Introduction to HDLC protocol in Hindi


 Features of HDLC protocol in Hindi
 HDLC protocol frames types in Hindi
 HDLC operational modes in Hindi
Introduction to High Level Data Link Control (HDLC) Protocol
HDLC एक point to point data link layer protocol है । HDLC protocol को ISO (International Standards
Organization) द्वारा point to point data links पर use करने के कलए बनाया गया है । HDLC full duplex
communication को support करता है ।
HDLC information को एक data frame में डालता है जो devices को data flow control और error
corrections की capabilities provide करता है । HDLC को IBM द्वारा बनाये गए Synchronous Data Link
Control (SDLC) protocol के आधार पर बनाया गया है ।
HDLC Cisco routers द्वारा synchronous serial links पर use ककये जाने वाला default
proprietary encapsulation है । इसका मतलब ये हुआ की ये ककसी दू सरे vendor के router पर implemented
HDLC से interact नहीं करे गा। हर vendor का different proprietary HDLC version होता है । हर vendor का
अलग HDLC version होने का कारण ये है की हर vendor अलग तरीके से HDLC protocol को network
layer protocols में encapsulate करता है । हर vendor की proprietary header HDLC encapsulation के data
field में होती है ।
ककसी र्ी Cisco device पर आपको HDLC configure करने की आवश्यकता नहीं होती है । जैसा की मैने
आपको बताया Cisco devices पर ये default encapsulation है । इसे दे खने के कलए आप ककसी र्ी
interface को show interface command से दे ख सकते है । इस command के result में यकद आप दे खेंगे तो
आपको encapsulation HDLC show होगा।
Features of High Level Data Link Control (HDLC) Protocol
 HDLC protocol full duplex communication को support करता है । ये आपको एक साथ information
receive और send करने की capabilities provide करता है ।
 HDLC एक bit oriented protocol है । Byte oriented protocols जैसे की TCP और IP में ककसी र्ी
control information को encode करने के कलए bytes use की जाती है । HDLC byte values को
recognize नहीं करता है । इसमें ककसी control information को encode करने के कलए single bits use
की जाती है ।
 HDLC protocol आपको flow control की capabilities provide करता है । इस protocol के द्वारा आप
receiver की क्षमता के अनुसार window की size adjust कर सकते है ।
 HDLC protocol frames को send और receive करने के कलए physical layer clocking और
shynchronization use करता है ।
HDLC Frame Types
HDLC protocol 3 प्रकार के frames send और receive करता है । इनके बारे में कनचे detail से कदया जा रहा
है ।
Information Frames (i-frames)
Information frames को i-frames र्ी कहा जाता है । ये frames user का data और उस data के बारे में
control information carry करते है । Information frames में user का data information field में carry ककया
जाता है ।
Supervisory Frames (s-frames)
Supervisory frames को संक्षेप में s-frames र्ी कहा जाता है । ये frames control information और error
controls carry करते है । इन frames में information field नहीं होता है ।
Unnumbered Frames (u-frames)
Unnumbered frames को u-frames र्ी कहा जाता है । ये frames system management के कलए reserved रहते
है । इनके द्वारा carry की गयी information routers के बीच link को manage करने के कलए use की जाती
है । दो devices के बीच में session management और control information को exchange करने के कलए u
frames को use ककया जाता है ।
HDLC Stations
Data link control के कलए HDLC 3 प्रकार के stations specify करता है । इनके बारे में कनचे detail से कदया
जा रहा है ।
Primary Station
Primary station data link पर एक controlling station होता है । Data link पर सर्ी दू सरे secondary stations
को control करना primary station की responsibility होती है । ये station data flow को organize करने और
error recovery के कलए र्ी responsible होता है । एक primary station command frames send करता है ।
Secondary Station
यकद ककसी network में HDLC को data link protocol के रूप में use ककया गया है और उस data link पर
primary station है तो उस link पर एक और एक से अकधक secondary stations र्ी जरूर होंगे। एक
secondary station primary station के control में रहता है । Secondary stations में link को control करने की
कोई functionality नहीं होती है । इन्हें primary station की request पर activate ककया जाता है । Secondary
stations केवल primary stations को ही respond करते है । एक secondary station response frame send करता
है ।
Combined Station
एक combined station primary station और secondary station का combination होता है । एक data link पर
combined stations कबना ककसी primary server की permission से एक दू सरे को command और responses
send और receive कर सकते है । एक combined station खुद को ियं ही control करता है ।
HDLC Configuration Types
तीन प्रकार के stations के कलए HDLC आपको तीन प्रकार का configuration provide करता है ।
Configuration types के बारे में कनचे detail से कदया जा रहा है ।
Unbalanced Configuration
HDLC unbalanced configuration में एक primary station होता है और बाकी secondary stations होते है ।
इसे unbalanced configuration इसकलए कहा जाता है क्योंकक एक station बाकी सर्ी दू सरे stations को
control करता है ।
Balanced Configuration
एक HDLC link में balanced configuration दो और अकधक combined stations के द्वारा establish होता है ।
सर्ी combined stations की link को maintain करने की बराबर कजम्मेदारी होती है ।
Symmetrical Configuration
ये configuration आजकल use नहीं ककया जाता है । इस तरह के configuration में दो point to point
unbalanced stations होते है । हर station का primary और secondary status होता है ।
HDLC Operational Modes
HDLC आपको operation के 3 modes provide करता है कजनके बारे में कनचे कदया जा रहा है ।
Normal Response Mode (NRM)
इस तरह के operational mode में primary station secondary station को transfer शुरू करता है । Secondary
station primary station के command पर केवल response transmit कर सकता है । ये ककसी frame के
acknowledgment की तरह work करता है , लेककन ये response acknowledgment से कई अकधक information
carry करता है । Response frames एक से अकधक र्ी हो सकते है । आल्खर response frame र्ेजने के बाद
secondary station primary station के command frame का wait करता है ।
Asynchronous Response Mode (ARM)
इस तरह के operational mode में primary station secondary station को transfer शुरू नहीं करता है । साथ
ही secondary station को र्ी ककसी र्ी प्रकार का frame र्ेजने के कलए primary station से command की
आवश्यकता नहीं होती है । Secondary station द्वारा र्ेजे जाने वाले frames में station के status से
सम्बंकधत data र्ी हो सकता है और control information र्ी हो सकती है । इस तरह के operational mode
से primary station पर कम load पडता है क्योंकक primary station को permission frames send करने की
आवश्यकता नहीं होती है ।
Asynchronous Balanced Mode (ABM)
ये operational mode combined stations use करता है । ककसी र्ी station को frames send करने के कलए
ककसी र्ी station से permission लेने की आवश्यकता नहीं होती है ।
HDLC Non-Operational Modes
HDLC में तीन non operational modes र्ी होते है । इनके बारे में कनचे कदया जा रहा है ।
1. Normal Disconnected Mode (NDM)
2. Asynchronous Disconnected Mode (ADM)
3. Initialization Mode (IM)

CCNA in Hindi - PPP (Point to Point Protocol) -


Best Hindi Tutorials
7-9 minutes

 Introduction to PPP (Point to Point Protocol) in Hindi


 Components of PPP (Point to Point Protocol) in Hindi
 PPP (Point to Point Protocol) connection establishment in Hindi
 Configuring PPP (Point to Point Protocol) in Hindi
Introduction to PPP (Point to Point Protocol)
Point to Point protocol एक data link layer protocol है । इस protocol को Dial Up या ISDN ककसी के र्ी
साथ use ककया जा सकता है । PPP point to point lines के कलए data link protocol provide करने की दृकि
से IETF (Internet Engineering Task Force) द्वारा बनाया गया था।
HDLC Protocol का non proprietary version Point to Point Protocol है । PPP को आप different vendors के
routers के साथ use कर सकते है । Point to Point Protocol का काम network layer packets को data link
layer पर ल्थथत point to point link में encapsulate करना होता है । साथ ही PPP authentication, compression,
dynamic addressing और call back जैसे features provide करता है । HDLC protocol के बारे में और अकधक
जानने के कलए आप इससे सम्बल्ित tutorial पढ़ सकते है ।
Point to Point Protocol ज्यादातर use ककये जाने वाला data link layer protocol है । ये protocol आपके
personal computer और ISP (Internet Service Provider) को आपस में connect करता है । PPP data link
connections को create और maintain करने के कलए LCP (Link Control Protocol) पर कनर्भर रहता है ।
OSI model के सन्दर्भ में PPP protocol stack का diagram कनचे कदया जा रहा है ।

ऊपर कदए गए diagram में physical layer और network layer के बीच data link layer पर PPP के
components को show ककया गया है । इन components के बारे में detail से आप आगे जानेंगे।
Components of PPP (Point to Point Protocol)
Point to Point Protocol के 4 main components है ।
1. EIA/TIA-232-C, V.24, v.35 and ISDN
2. HDLC (High Level Data Link Control)
3. LCP (Link Control Protocol)
4. NCP (Network Control Protocol)
ये सर्ी components PPP की working में अहम् role अदा करते है । इनके बारे में कनचे detail से कदया जा
रहा है ।
EIA/TIA-232-C, V.24, V.35 and ISDN
ये physical layer पर काम करने वाले hardware components होते है । ये सर्ी components serial
communication के कलए international standards को follow करते है ।
HDLC (High Level Data Link Control)
HDCL PPP में use ककये जाने वाला एक mechanism होता है , जो network layer से आने वाले datagrams को
serial link में encapsulate करने का काम करता है । ये सर्ी Cisco serial links पर default serial
encapsulation method है ।
कई बार students HDLC Protocol और PPP में HDLC mechanism को एक ही समझ लेते है और confuse
हो जाते है । इसकलए मैं आपको बताना चाहता हुँ की ये दोनों अलग अलग होते है |
LCP (Link Control Protocol)
जैसा की इस tutorial में पहले बताया गया है , PPP data link connections के कलए LCP पर कनर्भर रहता है ।
LCP के द्वारा कनचे कदए गए tasks perform ककये जाते है ।
1. Establishing Point to Point connections
2. Maintaining Point to Point connections
3. Terminating Point to Point connections
Link control protocol आपको कई PPP encapsulation options provide करता है , इनके बारे में कनचे कदया
जा रहा है ।
1. Authentication – ये option link की दू सरी तरर् की side को user information send करने के कलए
कहता है ताकक user को authenticate ककया जा सके।
2. Compression – ये option send करने से पहले data को compress करके PPP connections का
throughput increase करने के कलए use ककया जाता है ।
3. Error Detection – ये option PPP link में error detect करने के कलए use ककया जाता है ।
4. Multilink – ये option कसर्भ उन्हीं PPP links के कलए available है कजनमें Cisco routers use ककये गए
है । ये option एक link से दू सरी link तक कई separate paths को एक path के रूप में show करता
है । उदाहरण के कलए दो T1 lines को network layer पर एक single path के रूप में show ककया
जाएगा।
5. PPP callback – ये option dial up connections के साथ use ककया जाता है । Successfully authenticate
होने के बाद PPP को दु बारा call back के कलए configure ककया जा सकता है । जब callback feature
enabled रहता है तो client router के द्वारा sever router को call करके authenticate ककया जाता है ।
इस option के काम करने के कलए इसे दोनों side में enable रहना आवश्यक है ।
NCP (Network Control Protocol)
ये protocol PPP link में encapsulate करने के कलए different network layer protocols को establish और
configure करने का काम करता है । NCP के द्वारा आप कई network layer protocols को एक साथ use कर
सकते है । आसान शब्दों में कहा जाए तो ये protocol network layer protocols से communication allow
करता है ।
PPP Connection Establishment
जब एक PPP connection start होता है तो point to point links 3 phases से होकर गुजरती है । इन phases
के बारे में कनचे detail से बताया जा रहा है ।
Link Establishment Phase
इस phase में link को test और configure करने के कलए PPP devices के द्वारा आपस में LCP packets send
ककये जाते है । इन packets में एक Configuration option होता है कजससे सर्ी devices को data की size,
compression और authentication की जानकारी कमलती है । यकद कोई configuration field नहीं है तो ऐसी
situation में default configuration को use ककया जाता है ।
Peer Authentication Phase
कोई र्ी एक या कर्र दोनों तरर् से authentication request र्ेजी जा सकती है । PPP authentication के
कलए PAP (Password Authentication Protocol) या CHAP (Challenge Handshake Authentication Protocol)
use करता है । इन दोनों में से PAP कम secure होता है और कसर्भ शुरआती link establishment के दौरान ही
link को authenticate करता है । दू सरी तरर् CHAP शुरू में तो link को authenticate करता ही है साथ
में एक कनकित समय अंतराल के बाद र्ी बार बार link को authenticate करता है ।
यकद authentication successful रहता है तो network layer protocol phase शुरू हो जाती है और यकद
authentication fail होता है तो link termination phase शुरू हो जाती है ।
Network Layer Protocol Phase
इस phase में सर्ी network layer protocol NCP (Network Control Protocol) के साथ service establish करते
है ।
Link Termination Phase
PPP link ककसी र्ी तरर् से ककसी र्ी समय request र्ेजकर terminate की जा सकती है । Link
termination authentication fail होने के कारण र्ी हो सकता है ।
Configuring PPP (Point to Point Protocol)
ककसी र्ी serial link पर PPP configure करने के कलए सबसे पहले आप interface configuration mode में
enter होते है ।
इसके बाद उस interface पर PPP encapsulation configure करने के कलए आप कनचे दी गयी command
execute करते है ।
Router(config-if)# encapsulation ppp
अब तक एक Cisco router पर PPP को configure करना बताया गया है । ये करने के बाद आप PPP
authentication configure करते है । PPP authentication configure करने के कलए सबसे पहले आप router
को user name और password दे ते है । ऐसा आप global configuration mode में जाकर करते है । इसका
उदाहरण कनचे कदया जा रहा है ।
Router(config)# hostname router1
Router(config)# username Router2 password bypass
पहली command के द्वारा current router को router1 hostname कदया है । दू सरी command username है । इस
command से आप PPP link के दू सरी तरर् के router का hostname और password दे ते है ताकक दोनों
आपस में connection establish कर सके। यही process link के दू सरी तरर् के router पर र्ी follow की
जाती है लेककन उस router पर username command द्वारा आप इस router का user name और password
configure करते है ।
User name और password configure करने के बाद आप कौनसा authentication method use करना चाहते है
ये define करते है । इसका उदाहरण कनचे कदया जा रहा है ।
Router(config)# ppp authentication pap
इसी प्रकार आप CHAP को र्ी PPP authentication protocol के रूप में configure कर सकते है ।
Router(config)# ppp authentication chap
Debugging PPP (Point to Point Protocol)
ककसी र्ी interface पर configure ककये हुए PPP encapsulation को आप इस प्रकार दे ख सकते है ।
Router# show interface s0/0
दो routers के बीच में PPP authentication को आप इस प्रकार configure कर सकते है ।
Router# debug ppp authentication

CCNA in Hindi - Frame Relay - Best Hindi


Tutorials
5-7 minutes

 Introduction to frame relay in Hindi


 Encapsulation types of frame relay in Hindi
 Implementing & troubleshooting frame relay in Hindi
Introduction to Frame Relay
Frame relay एक packet switched technology है । इसे local area networks के बीच कम लागत में data
transfer करने के कलए design ककया गया था। साथ ही इसे Wide Area Networks में end points के बीच र्ी
use ककया जाता रहा है । Frame relay एक बहुत ही popular service रही है । लेककन अब इसे ज्यादातर
internet service providers द्वारा बंद कर कदया गया है ।
जैसा की आपको पता है packet switched technologies best effort basis पर काम करती है और data के
transfer होने की कोई guarantee नहीं दे ती है । Frame relay service र्ी इसी अवधारणा के अनुरूप काम
करती है । Frame relay service में data को एक frame में डाला जाता है और retransmission का काम
endpoints पर छोड कदया जाता है कजससे data transmission speed बड जाती है ।
जैसा की मैने आपको पहले बताया frame relay से data transfer लागत कम हो जाती है । उदाहरण के कलए
कनचे कनचे कदए गए diagram को दे ल्खये।

ऊपर कदए गए diagram में Main Office के router से सर्ी Branch office routers को एक dedicated line से
connect ककया हुआ है । क्योंकक ये WAN technology है इसकलए इस तरह की network configuration में
कार्ी लागत आती है । इस situation में frame relay को use ककया जा सकता है ।
Frame relay Main Office और सर्ी branch offices के बीच काम करे गा और सर्ी branch routers को एक
single physical connection के द्वारा Main Office से connect करे गा। Frame relay एक switch पर काम
करता है , कजससे की आप branch offices को ककसी WAN technology के बजाय LAN technology
से connect कर सकते है । ऐसा करने से आपको हर branch office के कलए अलग से dedicated WAN
technology line की आवश्यकता नहीं होगी और आपकी लागत बहुत कम हो जायेगी। इसे कनचे diagram
द्वारा समझाया गया है ।

ऊपर कदए गए उदाहरण में Main office router के कजस interface से frame relay switch connected है वह
DTE (Data Terminal Equipment) कहलाता है और frame relay switch के कजस interface से Main office
router connected है वह DCE (Data Communication Equipment) कहलाता है ।
CIR (Committed Information Rate)
एक frame relay network में अलग अलग locations से कई routers ककसी main router से connected रहते
है । Data transfer के दौरान ये सर्ी routers एक single dedicated line को share करते है । आसान शब्दों में
कहें तो सर्ी routers एक single dedicated line की bandwidth को share करते है ।
Frame relay के द्वारा data को कजस frame में डाला जाता है CIR उसी frame में एक field होता है जो ये
define करता है की एक frame dedicated line की ककतनी bandwidth occupy करे गा। इस field की value
अकधक और कम set की जा सकती है । लेककन जो र्ी value set करें वह access rate से अकधक नहीं होनी
चाकहए।
Access rate एक frame relay interface की maximum speed होती है । दू सरी और CIR maximum bandwidth
होती है जो frame occupy करे गा। यकद ये दोनों values same होती है तो frame relay connection ककसी
dedicated line की तरह काम करे गा।
DLCI (Data Link Connection Identifiers)
जैसा की DLCI के नाम से आप अंदाजा लगा सकते है यह frame relay के माध्यम से जुडे हुए different
data link connections को unquely identify करने के कलए use ककया जाता है । ये एक integer number होता
है जो frame relay service provider द्वारा assign ककया जाता है । इसे frame relay interfaces पर configure
ककया जाता है ।
यकद ऊपर उदाहरण में कदए गए network के सन्दर्भ में दे ख तो frame relay switch से जाने वाले सर्ी
interfaces पर इसे configure ककया जाएगा। इस प्रकार ये सर्ी branch offices को frame relay से main
office के बीच जाने वाली dedicated link में uniquely identify करे गा।
LMI (Local Management Interface)
LMI एक signalling standard है । इसे DTE router और frame relay के first switch (DCE) के बीच use ककया
जाता है । ये frame relay में होने वाले operations और status की जानकारी DTE और frame relay service
provider के बीच share करता है ।
LMI कनचे दी गयी information को share करता है ।
1. Keepalives – ये signal बताता है की data flow हो रहा है ।
2. Multicasting – ये LMI में एक optional extension है कजसके माध्यम से routing information और
ARP request frame relay network में distribute की जाती है ।
3. Global Addressing – ये option DLCI को globally identity provide करता है । इसके माध्यम से
frame relay network ककसी LAN की तरह काम कर सकता है ।
4. Status of Virtual Circuits – ये option सर्ी data link connections का status provide करता
है ।
LMI 3 प्रकार के standard signaling formats को support करता है कजनके बारे में कनचे कदया जा रहा
है ।
1. Cisco – Cisco devices पर ये signalling format default है । ये एक Cisco proprietary signalling
format है ।
2. ANSI – इस format में annex D को ANSI standard T1.617 के साथ include ककया गया है ।
3. ITU-T (Q.993A) – ITU – T में annex A को include ककया गया है । इसे q933a command द्वारा
define ककया गया है ।
Frame Relay Encapsulation Types
जब आप frame relay को Cisco router पर configure करते है तो आप इसे serial interface पर
encapsulation के रूप में define करते है । Frame relay के साथ आप HDLC या PPP को नहीं use कर
सकते है । Frame relay के साथ आप 2 encapsulation types use कर सकते है । इनके बारे में कनचे बताया
जा रहा है ।
1. IETF – यकद आप manually इस type को define नहीं करते है तो Cisco routers पर default frame
relay encapsulation type Cisco होता है । इस type को आप केवल तब ही define करें गे जब आप
ककसी Cisco router को ककसी दू सरे vendor के router से frame relay के द्वारा जोडना चाहते है ।
2. Cisco – Cisco devices पर ये default encapsulation type होता है ।

CCNA in Hindi - Telnet - Best Hindi Tutorials


6-7 minutes

 Introduction to telnet in Hindi


 Using telnet in Hindi
 Terminating telnet sessions in Hindi
Introduction to Telnet (Teletype Network)
मान लीकजये की आप ककसी company में network administrator है । आपकी company का network बहुत बडा
है और इसमें बहुत से hosts है । इतने बडे network में यकद आपको ककसी host से ककसी प्रकार का data
access करना हो या कर्र ककसी host पर कोई program run करना हो तो आपको physically उस host तक
जाना होगा।
लेककन क्योंकक आपकी company का network बडा है इसकलए आप हर host के पास जाकर काम नहीं कर
सकते है । हर host के पास physically जाना बहुत time consuming हो सकता है और इससे दू सरे
employees को distrubance र्ी हो सकता है । इस situation में आप telnet को use कर सकते है ।
Telnet एक network protocol होता है । इसकी मदद से आप ककसी network (LAN, Internet) में एक
computer से दू सरे computer को remotely access कर सकते है । Telnet को 1969 में develop ककया गया
था। इसे RFC 854 में define ककया गया है ।
Telnet connections को virtual terminal connections कहा जाता है । Telnet के माध्यम से आप कबना ककसी
host के पास physically जाए र्ी उससे information access कर सकते है या programs run करवा सकते है ।
इससे आपका time र्ी बचता है और effort र्ी कम लगता है ।
ककसी device को telnet करते समय आप उसका login password use करते है । एक बार उस device में
login होने के बाद आप उसे ककसी local user की तरह access कर पाते है ।
Telnet को public network (Internet) में use करना safe नहीं माना जाता है । इसकलए public network में
ककसी host को remotely access करने के कलए SSH (Secure Shell) को use ककया जाता है । SSH र्ी telnet
की तरह ही hosts को remotely access करने के कलए होता है लेककन ये telnet से अकधक secure होता है ।
Telnet को कसर्भ private networks में ही use करना safe माना जाता है ।
हालाुँ कक telnet सर्ी platforms पर available है लेककन इस tutorial में telnet को Cisco devices के सं दर्भ में
बताया जा रहा है ।
Using Telnet
Telnet एक platform independent program होता है । इसे run करने के कलए आप windows command prompt
र्ी use कर सकते है (यकद आप windows platform से ककसी host को remotely access करना चाहते है ।)
या कर्र Cisco device का command prompt र्ी use कर सकते है । (यकद आप Cisco device से ककसी दू सरे
Cisco device को remotely access करना चाहते है ।) Telnet program को run करने के कलए आप telnet
command execute करते है । इस command के आगे आप उस host का नाम या IP address कलखते है कजसे
आप remotely access करना चाहते है । इसे कनचे उदाहरण के द्वारा समझाया जा रहा है ।
Router1#telnet 198.10.10.3
जब र्ी आप ककसी device को remotely access करना चाहे उससे पहले उस device पर VTY password
configure होना चाकहए। ये password आप उस device को configure करते समय set करते है । यकद ये
password पहले से configure नहीं ककया हुआ है तो आपको कनचे कदया गया message show होगा।
Password required, but none set
यकद कजस device को आप access करना चाहते है उसका telnet password पहले से configure ककया हुआ है
तो आपको कनचे कदया गया message show होगा और password enter करने के कलए कहा जाएगा।
User Access Verification
Password:
Cisco devices में आप telnet command ना type करते हुए directly host का IP address र्ी कलख सकते है ।
ऐसा करने पर र्ी आप उस host को remotely access कर पाएं गे। इसका उदाहरण कनचे कदया जा रहा
है ।
Telnetting Multiple Devices
ककसी telnet connection को terminate करने के कलए आप exit command execute करवाते है । इस
command के execute होते ही आप वापस अपने original router पर आ जाते है । अब यकद आप वापस
उस router को telnet करना चाहते है तो इसके कलए आपको वापस telnet command execute करनी होगी
और वापस password enter करना होगा। Exit command आपके telnet connection को completely terminate
कर दे ती है ।
यकद आप एक telnet connection को background में चालू रखते हुए वापस अपने original router पर आना
चाहते है तो इसके कलए Ctrl+Shift+6 keys को एक साथ press करें गे और इसके बाद X press करें गे। ऐसा
करते ही आप अपने original router पर लौट जायेंगे। अब जब आप वापस उस router को access करें गे
तो आपको password enter करने की आवश्यकता नहीं होगी। इस प्रकार आप एक साथ एक से अकधक
telnet connections start कर सकते है ।
Checking Telnet Connections
यकद आप अपने router पर telnet connections को दे खना चाहते है तो इसके कलए show sessions commands
execute करते है । इस command को आप अपने original router पर execute करते है । ये command आपको
telnet connections की list show करती है । इसका उदाहरण कनचे कदया जा रहा है ।
Checking Telnet Users
यकद आप उन सर्ी VTY या console ports को दे खना चाहते है कजन पर telnet connection चल रहा है तो
इसके कलए आप show users command execute कर सकते है । ये command आपको सर्ी users की list
show करती है । इसका उदाहरण कनचे कदया जा रहा है ।
Terminating Telnet Sessions
आप ककसी telnet connection को 2 प्रकार से terminate कर सकते है । यकद आप telnetted router में है तो
आप exit command use कर सकते है । जैसा की आपको पता है इस command के use से आप original
router पर लौट जाते है और telnet connection terminate हो जाता है ।
मान लीकजये आपने router1 से router2 को telnet ककया है तो इस connection को आप router2 से इस
प्रकार terminate करें गे।
यकद आप original router से ही ककसी telnet connection को terminate करना चाहते है तो इसके कलए आप
discontinue command execute करते है । लेककन इस प्रकार ककसी telnet connection को terminate करने के
कलए आपको उसका session number पता होना चाकहए। ककसी र्ी telnet connection का session number
आप show sessions command से दे ख सकते है । Session number को आप discontinue command के बाद
कलखते है । इसका उदाहरण कनचे कदया जा रहा है ।
ऊपर कदए गए उदाहरण में session number 2 वाले telnet connection को terminate ककया गया है । इससे
आपको हर telnetted device पर अलग से जाकर connection terminate करने की जरुरत नहीं होती है ।

इन सर्ी servers के बारे में कनचे detail से बताया जा रहा है ।


Root Server
एक root server वह server होता है कजसके zone में complete domain name space hierarchy होती है । ये
server एक master zone file रखता है , कजसमें दू सरी सर्ी zones के बारे में information होती है । एक root
server domains के बारे में कोई information नहीं रखता है ।
ये server start of authority maintain करता है और दू सरे servers के कलए starting authority के रूप में काम
करता है । सबसे पहले request इस server के pass आती है कजसे बाद में दू सरे servers को pass कर कदया
जाता है ।
Primary Server
एक primary server अपने zone से related file maintain करता है । Primary servers को top level domain
servers र्ी कहा जाता है । Primary servers कई होते है जैसे की com, gov, in, edu आकद। ये सर्ी different
servers के रूप में maintain ककये जाते है । Primary servers के 3 task होते है ।
1. Create Zone File
2. Maintain Zone File
3. Update Zone File
Secondary Server
Secondary server ककसी दू सरे server की zone के बारे में information transfer करते है । Secondary servers
को authoritative servers र्ी कहा जाता है ।
ये information ककसी secondary या primary server को transfer की जाती है । एक secondary server zone
files create और update नहीं कर सकता है । ये कसर्भ domain से related authority के बारे में जानकारी
provide करता है ।
Working of DNS (Domain Name System)
DNS (Domain Name System) की working process को कनचे step by step समझाया जा रहा है ।
1. सबसे पहले user ककसी website का URL web browser के address bar में कलखता है और enter
press करता है । उदाहरण के कलए user www.besthinditutorials.com को खोलना चाहता है ।
2. Browser सबसे पहले अपने cache को check करता है की क्या उसके पास इस domain name का
IP address पहले से मौजू द है । जब र्ी आप ककसी website को visit करते है तो उसका IP address
browser अपने chache में कुछ कदनों के कलए store कर लेता है । ऐसा इसकलए ककया जाता है की
ताकक same process को बार बार ना दोहराया जाए और server पर load र्ी ना पडे ।
3. यकद browser को cache में ही IP address कमल जाता है तो user को उस IP address से connect कर
कदया जाता है और website load हो जाती है ।
4. यकद browser को IP address अपने cache में नहीं कमलता है तो browser ये request OS (Operating
System) को transfer करता है । Operating system इस request को resolver को transfer करता है ।
5. Resolver इस domain name के IP address के कलए खुद के cache को check करता है । यकद IP
address कमल जाता है तो resolver इसे OS को और OS web browser को transfer कर दे ता है ।
6. यकद resolver को IP address नहीं कमलता है तो वह इस request को root server तक पहुुँ चाता है ।
एक resolver आपका ISP (Internet Service Provider) होता है । सर्ी resolvers को root server के बारे
में जानकारी होती है ।
7. Root server इस request को top level domain server को pass कर दे ता है । Top level domain server
को com, gov, edu, org, in आकद servers के बारे में जानकारी होती है । इसकलए वह इस request को
appropriate top level domain server को pass कर दे ता है । उदाहरण के कलए Best Hindi Tutorials
के case में ये request com server को pass की जायेगी।
8. Top level domain server इस request को authoritative name server को pass कर दे ता है । अर्ी तक
की process में com server को locate ककया जा चूका है , अब actual name server को locate ककया
जाएगा। जब र्ी कोई domain register की जाती है तो domain registrar उस domain name को
store कर लेता है और top level domain servers के साथ इस information को share करता है ।
इसकलए top level domain server को पता रहता है की actual name server कुँहा है ।
9. Authoritative name server request की गयी domain name का IP address provide करता है । Resolver
इस IP address को अपने cache में store कर लेता है । साथ ही OS र्ी इस IP address को further
request को serve करने के कलए अपने cache में store कर लेता है ।
10. आल्खर में resolver IP address के base पर website को browser में load करता है ।
DNS की working process को कनचे एक diagram के द्वारा समझाया जा रहा है ।

Configuring DNS (Domain Name System)


Domain name system को 2 प्रकार से configure ककया जा सकता है ।
1. As local hosts files
2. As centralized DNS server
इन दोनों तरीकों के बारे में कनचे detail से कदया जा रहा है ।
As Local Hosts Files
जब आप domain name system को local files के रूप में configure करते है तो आपको हर translation
(from domain name to IP address) को हर device पर statically configure करना पडता है ।
Windows operating system में ये file c:windowssystem32driversetchosts directory में ल्थथत रहती है ।
Linux operating system में ये file etc/hosts directory में ल्थथत रहती है ।
DNS को local hosts file के रूप में configure करने की कई disadvantages है जो कनचे दी जा रही है ।
1. DNS को हर device पर statically configure करना होता है , इसकलए ये अकधक time consuming
process होती है ।
2. यकद कोई change करना हो तो हर device पर ये change manually करना होगा।
As Centralized DNS Server
DNS को local hosts files के रूप में configure करने की बजाय एक server के रूप में configure करना
अकधक बेहतर होता है । सर्ी devices name resolution के कलए इस central server को request र्ेजते है ।
DNS को centralized server के रूप में store करने की advantage ये है की कोई र्ी change एक ही जगह
पर perform करना होता है ।
यकद ककसी DNS server के pass required information नहीं होती है तो request DNS hierarchy में उससे
ऊपर के server को र्ेज दी जाती है ।
Configuring DNS on Cisco Devices
जैसा की मैने आपको ऊपर बताया DNS को 2 प्रकार से configure ककया जाता है । Cisco devices पर र्ी
आप name resolution इन दोनों methods से configure कर सकते है ।
Cisco devices पर host table manually build करने के कलए आप command इस प्रकार कलख सकते है ।
Router(config)# ip host host-name ip-address
इसे कनचे उदाहरण के द्वारा समझाया जा रहा है ।
Router(config)# ip host router1 192.168.10.1
Local hosts table को दे खने के कलए आप इस प्रकार command कलख सकते है ।
ककसी IOS device को centralized DNS server को point करने के कलए आप इस प्रकार command कलख
सकते है ।
Router(config)# ip name-server 10.0.1.1
ककसी IOS device पर DNS lookup disable करने के कलए आप इस प्रकार command कलख सकते है ।
Router(config)# no ip domain lookup
ककसी IOS device पर local domain configure करने के कलए आप इस प्रकार command कलख सकते है ।
Router(config)# ip domain-name besthinditutorials.com

You might also like