Download as pdf or txt
Download as pdf or txt
You are on page 1of 30

Introduction to Networking Networks म एक दूसरे से communicate करने के

Network श द को अलग अलग संदभ म योग कया लए devices कुछ rules follow करते है। ये rules
जाता है , जैसे क telephone network, computer protocols कहलाते है । कुछ common protocols क
network और peoples network आ द। एक list नीचे द जा रह है।
computer network कुछ devices से मलकर बना
 TCP(Transmission control protocol)
होता है जो आपस म wire से या  UDP(User Data gram Protocol)
wirelessly connected होते है ।  IP (Internet Protocol)
 HTTP (Hyper Text Transfer Protocol)
 SMTP (Simple Mail Transfer Protocol)
Networks communication के लए एक model Client/Server Architecture
follow करते है। ये model एक blueprint होता है जो Client/server architecture म एक host server
define करता है क network पर communication होता है और बाक सब host client होते है । सभी
MAN (Metropolitan Area Network)
कैसे होगा। सबसे common network model TCP/IP clients data/service के लए server को request
ये कई LAN networks को आपस म connect करता
है । करते है और server सभी clients को response करता
है । ले कन इस network type का area छोटा होता है,
Types of Networks है ।
जैसे क कोई campus, city या state आ द।
Networks को उनक size के according कई
VPN (Virtual Private Network)
categories म divide कया गया है। Network के
इस network से आप अपनी information कसी
types नीचे दए जा रहे है -
public network के वारा securely भेज सकते है ।
LAN (Local Areal Network)
इस network को आप कसी organization क 2
LAN एक high speed network होता है । ये बहुत ह
branches के बीच establish कर सकते है।
छोटा network होता है । जैसे क एक बि डंग या कपस।
Network Architecture
LAN म communication के लए different
Network architectures 3 तरह के होते है ।
technologies यज़
ू क जाती है िजनमे Ethernet सबसे
Architectures के बारे म जानने से पहले आइये कुछ
जैसा क आप ऊपर दए गए diagram म दे ख सकते है common technology है।
basic terms के बारे म जानने का यास करते है।
अलग अलग devices आपस म connected है । यह
 Host - Host कोई भी वो device होता है
एक simple computer network है।
What is Networking? (in plain Hindi) जो network से connected होता है ।
Networking एक process होती है िजसम networks  Client - वो host जो data या service के
को create और configure कया जाता है । यह काय लए request करता है client कहलाता है । उदाहरण के
Mainframe Architecture
hardware और software दोन के उपयोग से कया लए आप कसी web page के लए web browser के Mainframe architecture म data/services एक ह
जाता है। Network को create करने के लए वारा request करते है । host पर store होती है िजसे mainframe कहते है । सब
hardware के प म अलग अलग networking  Server - वो host जो data या service host इस mainframe से जुड़े होते है िज हे terminals
devices जैसे क hub, switch, router आ द use ोवाइड करता है , server कहलाता है । कहते है । ये terminals dumb होते है और खुद कुछ भी
कये जाते है। Software के प म protocols के  Peer - ऐसा host जो data या service task perform नह ं करते है । Terminals को सफ
अलावा आप इन devices को command के लए request भी कर सकता है और provide भी input और output के लए यूज़ कया जाता है ।
line interface के वारा एक दस
ू रे के साथ काम करने कर सकता है , Peer कहलाता है ।
के लए configure और manage करते है । आइये अब different architectures के बारे म जानते
WAN (Wide Area Network) है ।
Network establish होने के बाद network के सभी Peer to Peer Architecture
एक WAN network कई LAN networks को आपस म
device आपस म communication और information कसी भी peer to peer architecture म सभी host
connect करता है । ये बहुत बड़ा area cover करता है ।
sharing करते है । Network devices के वारा share data/service के लए request भी कर सकते है और
अलग अलग दे श के network आपस म WAN के वारा
क जाने वाल information कई कार क हो सकती है । data/service ोवाइड भी कर सकते है ।
ह connected रहते है । ये एक लोबल नेटवक होता है ।
जैसे क Messages, Documents, Music, Files,
Databases आ द।
 HTTP (Hyper text transfer protocol)  Presentation layer data को encrypt
 FTP (File Transfer Protocol) करती है ।
 POP 3 (Post Office Protocol)  Presentation layer data को compress
 SMTP (Simple mail transfer protocol) करती है ।
 Telnet Session Layer
ये सभी protocols network से interact करने के लए Session layer OSI model क 5th layer है । ये
यूज़ कये जाते है । Application layer कुछ tasks layer sender और receiver के बीच session
perform करती है जो नीचे दए जा रहे है । establish करती है , उस session को जब तक
1. Communicate करने वाले partners को maintain करती है जब तक क data transfer ना हो
application layer पहचानती है । जाये और data transfer होने के बाद उस session को
2. Data क availability का track रखना। terminate करती है । य द कोई session बीच म
3. Communication को synchronize break हो जाये तो इस layer म उसे recover करने क
ये layers दोन तरफ होती है sender क तरफ भी और
करना। ability होती है ।
receiver क तरफ भी। और ये layers descending
Introduction to OSI (Open Systems 4. Basic email स वस ोवाइड करना। ये layer data synchronization के लए भी
order म होती है या न आ खर layer सबसे ऊपर आती
Interconnection) Model 5. File transfer शु करना। responsible होती है ।
OSI model को ISO (International Organization है और पहल layer सबसे नचे आती है । आइये इन
Presentation Layer
layers के बारे म जानने का यास करते है।  ये layer session establish करती है।
for Standardization) ने 1984 म डेवलप कया था। Presentation layer OSI model क 6th layer होती
है । ये layer data के presentation के लए
 ये layer session maintain करती है ।
ये एक reference model है , या न इसका real life म
कोई यूज़ नह ं होता है । Real life म आप इसी के base responsible होती है। ये layer ये verify करती है क
 ये लेयर session terminate करती है ।
Transport Layer
पर बना हुआ TCP/IP (Transmission control जो data sender भेज रहा है वो receiver side के
Transport layer OSI model क 4th layer होती है।
protocol/ Internet Protocol ) model यूज़ करते है। समझ म आये। इसके लए दोन receiver और sender
ये layer data के reliable transfer के लए
OSI model को data क journey को समझने के लए कुछ data standards follow करते है जो नीचे दए जा
responsible होती है । Data order म और error free
बनाया गया है । OSI model के मा यम से आप समझ रहे है -
पहुंचे ये इसी layer क िज मेद ार होती है । Transport
सकते है क data कैसे एक network से दस
ू रे Data standards
layer 2 तरह से communicate करती है
network म जाता है। और इस दौरान डेटा के साथ या  Text - RTF, ASCII
connection-less और connection oriented।
या processing होती है।
 Images - JPG, GIF
 Audio - MP3, WAV Connection-less communication के लए UDP
OSI model 7 layers से मलकर बना होता है। ये सभी
Movies - AVI, MPEG और connection orientated के लए TCP/IP
layers डेटा के साथ कुछ ना कुछ processing करती ये कुछ common data standards है िजन पर दोन protocols यूज़ कये जाते है। Connection less
है, और जब data दूसर तरफ उसी layer म पहुँचता है side agree करती है। उदाहरण के लए य द sender communication fast होता है ले कन ये डेटा के error
तो ये processing डेटा से हट जाती है । हर layer पर कोई image भेज रहा है तो वह JPG format म होनी free होने और सह ढं ग से पहुचने क guarantee नह ं
data को अलग अलग नाम से जाना जाता है । चा हए ता क receiver उसे दे ख सके।
Layers of OSI Model दे ता है ।
Application Layer ये layer data क formatting करती है । इस layer से Connection oriented communication data के
Application layer यज़
ू र क ए ल केशन और नेटवक के data सीधा application layer पर जाता है , जँहा वो error free होने और ढं ग से पहुचने क guarantee
बीच इंटरफ़ेस ोवाइड करती है। जैसे क एक वेब ाउज़र यज़
ू र को show होता है। इस लए ये सार िज मेदार दे ता है । ये communication कुछ services ोवाइड
(Internet explorer, Mozilla fire-fox, chrome) या presentation layer क होती है क data यूज़र को करता है -
कोई ईमेल लाइंट (Outlook, Thunderbird). ये सभी कैसे present होगा।  Segmentation - Data को भेजने से पहले
applications आपको network पर काम करने के लए य द sender और receiver एक ह format को छोटे छोटे segments म convert कया जाता है ।
इंटरफ़ेस provide करती है । support नह ं करते है तो presentation layer  Sequencing - हर segment को एक
यज़
ू र क application ए ल केशन लेयर म नह ं होती है translation और conversion क services भी
sequence number दया जाता है ।
बि क protocol होता है जो यूज़र के operations को ोवाइड करती है।
control करता है। यूज़र ए ल केशन से interact करता
 Connection establishment - Data को
Presentation layer के कुछ functions नीचे दए जा
भेजने से पहले sender और receiver के बीच
है और application network से interact करती है । रहे है ।
connection establish कया जाता है ।
जैसे क कोई web address open करना।
 Presentation layer डेटा को translate
 Acknowledgment - जब segment
Application layer पर बहुत से protocol यज़ू कये
करती है ।
पहुचता है तो उसका acknowledgment आता है क
जाते है िजनमे से कुछ नचे दए जा रहे है ।
इतने number का segment आ चूका है उसे दुबारा transfer कया जाता है जैसे क Cables. ये परु े OSI अलग अलग कार क cables के बारे म जानने का shielded twisted pair cable से अ धक सरु ा
भेजने क ज रत नह है । model क एक मा ऐसी layer है जो वा तव म यास करते है। ोवाइड करती है।
 Flow control - Data क transfer rate physically 2 के बीच communication establish Twisted pair cable क कई categories होती है । ये
Ethernet Cables
को confirm कया जाता है। करती है । categories एक इंच म कतने twist है इस बेस पर
Ethernet technology म 3 तरह क cables यूज़ क
Network Layer Physical layer के devices म NIC cards और डफाइन क गयी है -
जाती है
Network layer OSI model क 3rd layer होती है । different cables आती है।  Cat3 - इस category क केबल म हर इंच
ये layer network communication के लए Physical layer के functions नीचे दए जा रहे है - Coaxial Cable म 3 twist होते है ।
responsible होती है। Network layer म data  Data rate - ये layer data rate define इस तरह क केबल म एक संगल wire होता है जो  Cat5 - इस category क केबल म हर इंच
packets म convert हो जाता है । Network layer के करती है , जैसे क एक second म कतनी bits insulator, metal क shield और plastic के खोल से म 5 twist होते है ।
2 मख
ु काम होते है जो नीचे दए जा रहे है । transfer होगी। घरा रहता है । Insulator signal को control करता है ।  Cat5e - इस केटे गर क केबल म हर इंच म
 Logical addressing - Network layer  Synchronization - ये layer sender Metal क shield wire को electromagnetic 5 twist होते है और pairs को भी आपस म twist कया
डेटा को network म travel करने के लए IP address interference से बचाती है ता क signal बीच म ह
और receiver को bit level पर synchronize करती जाता है ।
provide करती है ये IP address डेटा को destroy ना हो। और plastic का खोल wire को बाहर
है ।  Cat6 - इस category क केबल म हर इंच
destination तक पहुचने के लए responsible होती अवरोध से बचाता है जैसे क पानी और आग। Coaxial
 Signals - ये layer bits को signals म म 6 twist होते है ।
है । cabling यादातर televisions के लए यूज़ क जाती
convert करके भेजती है । Fiber Optic Cable
 Routing - Data को एक network से दस
ू रे Introduction to Ethernet (What is it?) है । Coaxial cable और twisted pair cable electronic
network म भेजना भी network layer क िज मेदार कसी local area network म network devices को 2 तरह क coaxial cable यज़
ू क जाती है - signals क मदद से डेटा को ले जाती है । जब क fiber
होती है। िजस cable technology से आपस म connect कया 1. Thick net - इस तरह क coaxial cable optic cables light के मा यम से डेटा को ले जाती है ।
Network layer पर IP (Internet Protocol) यज़
ू जाता है वह ethernet होती है । Ethernet cable थोड़ी मोट होती है और इसम shielding भी यादा होती Fiber optic cables म पतले पतले धागे जैसे दखने
कया जाता है। technology सामा य cables से अलग होती है । इसे है । Thick net coaxial cables लंबी दरु के लए यज़
ू वाले तार होते है । ये तार या तो plastic के होते है या
Data Link Layer मु यतौर पर data communication के लए ह क जाती रह है । ले कन ये केबल reliable नह ं होती है। glass के होते है ।
Data link layer OSI model क 2nd layer है । ये
design कया जाता है। इस तरह क Coaxial cables को connect करने के Fiber optic cables क bandwidth दस
ू र metal
layer network के अंदर data को transport करने के
Ethernet एक परू ा system होता है िजसम cables के लए Vampire tap यज़
ू होता है । cables से यादा होती है । इसका मतलब ये है क ये
लए responsible होती है। Data link layer क 2
अलावा protocols भी होते है । Protocols ये define 2. Thin net - इस तरह क coaxial cable केबल दूसर केब स से अ धक डेटा carry कर सकती है ।
sub layers होती है ।
करते है क cables के वारा कैसे devices आपस म normal size क होती है । ये cables thick net Fiber optic cables म signal के ख़राब होने के बहुत
 Logical link control - LLC sub-layer
communicate और data transfer करगे। cables के comparison म यादा reliable होती है । काम chance होते है । Fiber optic cables दस
ू र
physical layer और बाक ऊपर क layers के बीच म
Ethernet को 1970 म xerox ने develop कया था। इस तरह क coaxial cables को connect करने के cables से पतल और हलक होती है ।
एक link establish करती है ।
उस समय इसक पीड़ 2 से 3 MB के बीच थी। लए BNC connector यूज़ कये जाते है । Ethernet technology म 2 तरह क fiber optic
 Media access control - MAC sub layer Twisted Pair Cable
Ethernet का standard नाम IEEE 802.3 है । cables यज़
ू क जाती है -
physical medium के access को control करती है । ये Ethernet technology म सबसे यादा यज़
Ethernet एक LAN technology है । िजससे आप ू होने
Data link layer नेटवक लेयर के data को frames म वाल केबल है । Twisted pair cables म 2 या 4 1. Single mode fiber - Single mode
computers को आपस म connect कर सकते है और
पैक करती है। Data link layer म डेटा frames म copper wires के जोड़े plastic के खोल से घरे रहते fiber optic cables म एक बार म एक ह data ray
एक Local Area Network बना सकते है । इस
convert हो जाता है । ता क data को कसी physical है । Copper wire के जोड़े एक दस travel करती है।
technology म आप information के flow को ू रे के लपटे होते है
medium के through भेजा जा सके। ये process ता क cross talk ना हो। Cross talk उस error को
2. Multi mode fiber - Multi mode fiber
control करने के लए protocols यूज़ करते है। optic cables म एक बार म multiple data rays
framing कहलाती है। कहते है जब एक wire का signal दस
Ethernet technology म आप cables क सहायता से ू रे wire के signal
Frames source और destination devices के travel कर सकती है ।
computers को connect करते है । शु म Ethernet को disturb कर दे ता है ।
Ethernet Network Topology
hardware address contain करते है । कसी Twisted pair cables 2 तरह क होती है -
technology म coaxial cables ह यूज़ क जाती थी। एक topology ये बताती है क physically network
network म host को uniquely identify करने के
ले कन अब twisted pair और fiber cables भी यूज़ कैसे design कया गया है या network का structure
लए hardware address यज़
ू कया जाता है । सबसे 1. Shielded - Shielded twisted pair केबल
क जाती है । या है । ये design physical और logical दोन तरह
common hardware address Ethernet का MAC म cable को एक shield cover करती है । ये केबल
Ethernet technology के साथ आप LAN कई कार क होती है । वैसे तो network topology 4 तरह क
address होता है। electromagnetic interference से यादा बचाव
से बना सकते है िजसे topology कहते है । जैसे क होती है Bus, Star, Ring और Mesh। ले कन
Physical Layer करती है ।
Physical layer OSI model क 1st layer है । इस Bus, star, ring और mesh topology आ द। Ethernet म 2 ह तरह क topology यूज़ क जाती है
2. Un-shielded - Un-shielded twisted
layer म data bits म convert हो जाता है । इस Ethernet technology म cables का बहुत बड़ा role pair cable म कोई shield नह ं होती है और ये Bus और Star। आइये इन दोन topology के बारे म
layer के वारा डेटा physical mediums के वारा है । आइये Ethernet technology म यूज़ होने वाल जानने का यास करते है -
Bus Topology जब भी कोई host कोई frame भेजता है तो वो सबके डेटा को forward नह ं कर सकते है। है । मतलब या तो कोई host डेटा send कर सकता है या
एक bus topology म सभी computers एक wire से पास ना जाकर only उसी host के पास जाता है िजसका receive कर सकता है । दोन काम एक साथ नह ं कये
connected रहते है । जब भी कोई एक computer MAC address मैच करता है । जा सकते है। इस लए hub म frames बहुत यादा ै श
े म भेजता है तो वो topology म available बा क सभी Star topology क सबसे बड़ी disadvantage ये होती होते है । य क जब कोई एक host frame send कर
computer के पास जाता है ले कन उसे accept वह है क य द switch या hub फ़ैल हो जाये तो सारा रहा होता है तो दस
ू रा host भी उसी समय frame सड
computer करता है िजसका MAC address े म से नेटवक fail हो जाता है। कर रहा होता है । इसे collision कहते है ।
मैच करता है । Ethernet Frame Collision से बचने के लए एक technique यज़
ू क
Ethernet data link layer technology है । Data जाती है । िजसे CSMA/CD (Carrier Sense Multiple
link layer म data को frames के नाम से जाना जाता Access with Collision Detection) कहते है । इस
है । एक frame क size 64 bytes से ले कर 1522 technique म कोई भी host े म send करने से पहले
bytes तक हो सकती है। Frame म कुछ fields ऐसे चेक करता है क link खाल है या नह ं। य द लंक म
होते है िजनक size फ स होती है। इन fields के बारे कोई signal होता है तो ये host wait करता है । जब
म जानकार नीचे द जा रह है। लंक खाल हो जाती है। तब ये host अपना frame सड
Preamble
करता है ।
इस field क size 7 bytes होती है । ये field
synchronization purpose के लए यूज़ कया जाता
है ।
Bus topology क सबसे बड़ी disadvantage ये है क
Start of Frame
य द wire कभी ख़राब हो जाता है तो सभी computers इस field क size 1 byte होती है । ये field े म के
का communication एक साथ ठप हो जाता है । starting point को दशाता है ।
Computers के पास एक दस
ू रे से separately Destination MAC Address Working of Hubs
communication का कोई मा यम नह ं होता है। इस field क size 6 bytes होती है । ये field जब कोई host frame send करता है तो hub उस ेम
Star Topology destination host के MAC address को contain को सभी ports म forward कर दे ता है । Hubs frame
Star topology म सभी hosts एक switch या hub से करके रखता है । के type को भी अलग अलग नह ं करते है चाहे frame
जुड़े होते है और ये hosts hubs और switches के Source MAC Address uni-cast हो चाहे multicast हो या broadcast हो जब collision होता है तो frame send करने वाले
मा यम से एक दस
ू रे को frames भेजते है । इस field क size भी 6 bytes होती है। ये field
hubs सभी े म को सभी ports म forward कर दे ते hosts को पता चल जाता है । जो frames भेजे गए थे
source host के MAC address को contain करता है।
है । वो frames destroy हो जाते है । और hosts एक jam
802. 1Q Tag
इस field क size 4 bytes होती है । ये field optional signal send करते है । जो शो करता है क दोन hosts
होता है। ये tag VLAN configuration शो करने लए wait करने वाले है । दोन hosts का waiting time
यूज़ कया जाता है। अलग अलग होता है । या न एक host य द वापस
Length frame सड करने से पहले 10 second wait करे गा तो
इस field क size 2 bytes होती है । ये field दस
ू रा host 15 second wait करे गा ता क दब
ु ारा
complete े म क साइज को शो करता है । collision ना हो।
Payload Collision Domain
इस field क size 42 bytes से 1500 bytes तक हो याद रखे जब भी hub से connected 2 device एक
सकती है । ये आपका actual डेटा होता है। साथ frames send करगे तो collision होगा। इस लए
CRC (Cyclic Redundancy Check) hub से connected सभी devices एक ह collision
इस field क size 4 bytes होती है । ये field frame
domain के अंदर आते है। Hubs single collision
क errors को शो करता है ।
domain को represent करते है ।
Inter-frame Gap हालां क एक hub frame को सभी ports को भेजता है

Hubs intelligent नह ं होते है । जब hub के मा यम से इस field क size 12 bytes होती है । ये field ले कन frame वह accept करता है िजसका MAC

frames भेजे जाते है तो hub वो frames सभी hosts frames के बीच म time gap को दशाता है । address frame के destination MAC address

को भेजता है और िजस host के साथ MAC address


Introduction to Hubs field से मैच करता है । बाक़ hosts इसे receive करने
Hubs को repeaters भी कहते है। ये layer 1 device के बाद discard कर दे ते है ।
match होता है वह host उसे receive करता है ।
होते है । Hubs computer को communicate करने के CSMA/CD (Carrier Sense Multiple Access
Switch intelligent devices होते है। Switches सभी
लए आपस म जोड़ते है । Hubs intelligent नह ं होते with Collision Detection)
hosts क address table maintain करते है । इस लए Hubs half duplex communication perform करते
है । Hubs logical और physical address के base पे
जैसा क मैने आपको बताया था क hubs half duplex क table build और maintain करने के लए
एक switch क hardware address table इस कार हो communication करते है । Hubs के साथ या तो आप send Application Specific Integrated Circuits (ASIC)
सकती है - कर सकते है या केवल receive कर सकते है। ले कन use कये जाते है ।
Functions of Switches
switches के साथ ऐसा नह ं है switches के साथ आप एक
Layer 2 पर switches 3 important functions
साथ data send भी कर सकते है और receive भी कर
perform करते है । इनके बारे म नचे detail से
सकते है ।
समझाया जा रहा है ।
Hubs एक single collision domain को represent करते है
Hardware Address Learning
ले कन ि वच म हर port एक separate collision domain जब switch को पहल बार on कया जाता है तो CAM
Working Of Switch
जब भी कोई host कसी दस होता है । इससे दूसरे hosts पर कोई फक नह ं पड़ता है । table खाल होती है । जब कोई host frame send
ू रे host को कोई frame send
Introduction to Layer 2 Switching
करता है तो source host का MAC address switch क करता है तो switch frame के source address को
जैसा क आपको पता है hubs intelligent devices
address table म port के साथ store हो जाता है । एक CAM table म store कर लेता है । य क इस समय
नह ं होते है । जब भी कोई hub एक frame receive
switch हमेशा source का address ह table म store करता switch को destination host का ान नह ं है इस लए
Introduction to Switches करता है तो वह frame को सभी ports म broadcast
है । मेरा मतलब जब तक क कोई host कुछ data send switch इस frame को source port के आलावा बाक
Switches intelligent devices होते है । Switches को कर दे ता है। साथ ह hub एक single collision
नह ं करे गा तब तक उसका MAC address और port सभी ports को broadcast कर दे ता है ।
intelligent इस लए माना जाता है य क switches म domain को represent करते है यानी जब कोई भी 2
number switch क table म store नह ं होगा। िजस host के लए इस frame को send कया गया है
memory होती है िजससे switches hardware address tables hosts एक साथ frames send करते है तो collision
जब आप शु म switch को setup करते है तो switch को उसे छोड़कर सभी hosts इस frame को discard कर
maintain करते है। इन tables म सभी hosts का address होता है । Hubs क इ ह ं limitations क वजह से
कसी भी host और उसके address क कोई जानकार नह ं दे ते है। जो host frame को receive करता है वह
store होता है और साथ ह कौनसा host कस port के network म broadcast storm जैसी सम याएँ आती
होती है। ऐसी situation म जब कोई host frame send करता source host को acknowledgment frame भेजता
मा यम से switch से जड़
ु ा हुआ है ये भी store रहता है । है ।
है तो उसका MAC address तो table म store हो जाता है है । अब switch इस frame के source address को
एक switch LAN के अंतगत hosts को आपस म connect Hubs क limitations को overcome करने के लए
ले कन destination क कोई भी जानकार नह ं होने अपनी CAM table म store कर लेता है ।
करने के लए यूज़ कया जाता है । Switch से आप 2 bridges का नमाण कया गया। Bridges hubs से
क वजह से switch उस frame को सभी hosts को send कर Network म जब भी कोई frame send कया जाता है
networks को आपस म connect नह ं कर सकते है । अलग better होते है । Bridges 2 local area networks को
दे ता है । तो switch उसके source address को अपनी
अलग networks को आपस म connect करने के लए आपस म जोड़ने के लए use कये जाते है। य द आप
ऐसे ह जब दूसरा host कुछ data send करता है तो उसका CAM table म store कर लेता है । इस कार एक
router का यूज़ कया जाता है। अपने local area network को और अ धक फैलाना
address भी table म store हो जाता है। ऐसे जब भी कोई switch अपनी CAM table build करता है । एक बार
चाहते है तो ऐसा आप bridges के मा यम से कर सकते
host frames भेजता है और य द उसका address पहले से जब switch सभी hosts के MAC addresses को
है । एक bridge single collision domain को 2
table म मौजद
ू नह ं है तो switch उसे store कर लेता है । store कर लेता है तो उसे कसी frame को पहल बार
collision domains म divide कर दे ता है। Bridges
इस कार एक switch अपनी table build करता है । क तरह broadcast करने क आव यकता नह ं होती है।
frames को forward करने के लए MAC address
जब सभी hosts के addresses और port numbers switch म अब frames कसी point to point connection क
use करते है । ले कन य क bridges म केवल 2 ह
आ जाते है तो switch बना सभी hosts को frame भेजे तरह source से destination तक भेजे जाते है।
port होते है इस लए bridges भी एक reliable और
केवल िजस host के लए data भेजा गया है उसी host को Forwarding of Frames
scalable network provide करने म स म नह ं थे। जैसे ह कोई frame switch interface पर आता है तो
deliver करता है ।
Hubs और bridges क limitations को overcome उसके destination MAC address को CAM table के
करने के लए switches को use कया जाता है। एक MAC addresses से compare कया जाता है । य द
switch का हर port single collision domain frame का destination address match हो जाता है
होता है । इस लए एक switch multiple collision तो frame को केवल उसी MAC address से स बं धत
domains और single broadcast domain को port को forward कर दया जाता है ।
represent करता है । Switches intelligent device य द कसी frame का destination address CAM
होते है । table से match नह ं करता है तो उस frame को
Layer 2 switching म destination को determine broadcast कया जाता है । य द कोई host frame को
करने के लए switches MAC (Media Access receive करता है और उसका acknowledgment
Control) addresses क table को use करते है । इस frame भेजता है तो उस frame के source address
table को CAM table भी कहा जाता है । MAC को switch CAM table म store कर लेता है ।
address हर host के NIC (Network Interface य द कोई host या server frames को broadcast
Card) पर manufacturer वारा hardcode कया करता है तो switch ऐसे frames को सभी hosts को
जाता है। Layer 2 switches MAC addresses send करता है।
Switches frames को forward करने के लए 3 Routers data को कसी network म forward करने ROM म एक bootstrap program होता है िजसे ROM
methods provide करते है । के लए 2 तरह के protocols यज़
ू करते है । monitor कहते है । जब router को on कया जाता है
1. Routed protocols - इस तरह के तो यह bootstrap program hardware diagnostic
1. Store and Forward - इस method म protocols म हर device को manually एक IP perform करता है िजसे Power On Self Test कहते
complete frame को memory म copy कया जाता address दया जाता है । तब ह devices एक दस
ू रे क है । य द ये diagnostic successful होता है तो
है । Frame को copy करने के बाद उस पर Cyclic location को जान पाते है। इस तरह के protocol का bootstrap program flash memory म से IOS को
Redundancy Check (CRC) perform कया जाता उदाहरण IP (Internet Protocol) है। इस तरह के ढूंढ कर load करता है । Flash memory को rewrite
है । protocols के मा यम से data भेजा जाता है। कया जा सकता है । इससे Cisco router को IOS को
2. Cut Through - इस method म frame 2. Routing protocols - इस तरह के upgrade करने क ability मलती है ।
क header से शरु आती 6 bytes को copy कया जाता protocols routers के बीच म यूज़ होते है। इनक मदद य द bootstrap को IOS flash memory म नह ं
है ता क destination host को identify कया जा से routers अपनी routing tables को update करते मलता है तो ROM म से IOS का temporary
सके। इस method म कसी भी कार क error है। जब कसी router को कसी नए network version load कया जाता है । ROM को rewrite या
checking नह ं perform क जाती है । क जानकार मलती है तो वो इसे अपनी routing table erase नह ं कया जा सकता है । य द device को
3. Fragment Free - इस method म frame म update कर लेता है और ये information दस
ू रे upgrade करने क ज रत हो तो आपको ROM को
क शुरआती 64 bytes को copy कया जाता है ता क routers के पास automatically routing protocols change करना होगा।
error checking perform क जा सके। क मदद से update हो जाती है। Routing protocols य द IOS flash memory म मल जाता है तो इसे
Loop Avoidance एक बात आपको हमेशा यान रखनी चा हए क Router के उदाहरण म मु य नाम EIGRP, RIP और OSPF है। RAM म load कर दया जाता है । इसके बाद bootstrap
Switches के बीच multiple links होना बहुत ह
कसी packet को destination host को नह ं भेजता है Working of Routers NV-RAM म Startup-Configuration file को ढूंढ़ता
important रहता है। य क य द कसी कारणवश एक
बि क destination network को भेजता है। है । NV-RAM non volatile RAM होती है इस लए इसके
link down हो जाए तो दस
ू र link वारा frames को उदाहरण के लए कोई host कसी दस
ू रे host को data contents erase नह ं होते है ।
send कया जा सकता है। ले कन कई बार इ ह ं
भेज रहा है जो क दूसरे network म है। Router का य द IOS को startup configuration file नह ं मलती
mulitple links क वजह से network म कई सम याएँ
इस situation म सफ इतना role है क वो data को है तो ये TFTP server से configuration file load
उ प न हो जाती है ।
एक network से receive करता है और दस
ू रे network करने क को शश करता है । य द TFTP server भी
Switches के बीच एक से अ धक link होने क वजह से
म भेजता है । इसके बाद data को host तक पहुचाने क respond नह ं करता है तो IOS initial configuration
network म loops create हो सकते है । य द कोई
िज मेदार switch क होती है । mode म enter हो जाता है । इस mode म user से
loop avoidance technique ना use क जाए तो Introduction to Router Components
जैसे क मैने आपको पहले बताया routers routing questions पूछे जाते है िजससे router को quickly
network म broadcast storm create हो जाता है। एक router कई कार के components से मलकर
tables maintain करते है । एक simple routing टे बल configure कया जाता है ।
Network म loops क वजह से एक host frames क बना होता है । उदाहरण के लए कसी भी Cisco router
म एक packet क final destination network का य द IOS को NV-RAM म startup configuration
एक से अ धक copies receive कर सकता है । म आपको 4 तरह क memory और 2 तरह के ports
IP address होता है , next network का IP address file मल जाती है तो इसे RAM म load कर दया जाता
Layer 2 switching म loops को avoid करने के लए मलगे। कसी भी Cisco router के basic
होता है , और routing metrics होती है । है और ये running configuration file बन जाती है।
Spanning Tree Protocol use कया जाता है । इस components इस कार है।
Final destination network वो network होता है Memory
protocol के बारे म जानकार आप Spanning Tree  Memory
िजसमे destination host होता है िजसके लए data Cisco IOS म 4 तरह क memory होती है इनके बारे
Protocol in Hindi tutorial से ा त कर सकते है।
o ROM
भेजा गया है । Next network वो network होता है तो o FLASH म नचे दया जा रहा है।
Introduction to Router (What is it?)
जो source network और destination network के o RAM
Routers network layer devices होते है । Network o NV-RAM Memory Description
बीच होता है । ऐसे networks को next hop भी कहते
layer पर data को packets के नाम से जाना जाता है ।  Ports (Interfaces & lines) ROM ये read only memory होती है । ये router म
है । और routing metrics final network तक
Routers packets को एक network से  Command Line Interface hardwired होती है । ROM के अंदर
shortest path find करने के लए यज़
ू क जाती है ।
दस
ू रे network म forward करने का काम करते है । bootstrap program होता है जो power on
एक routing table इस कार हो सकती है -
Routers भी address table maintain करते है । self test perform करता है। इसे ROM
monitor mode कहा जाता है। जब router
IOS find नह ं कर पाता है तो वह ROM से
ह boot होता है ।
FLASH By default सबसे पहले router IOS के लए
flash memory को ह search करता ह और
Protocols IOS को boot करता है । ये electronically
erasable programmable read only memory devices को configure और manage करने के लए है । Routing routers के वारा perform क जाती है । Prefix length िजतनी यादा होती है route उतना ह
होती है । command line interface सबसे पहला option होता इसके लए routers routing tables बनाते है । आइये सट क होता है । उदाहरण के लए मान ल िजए एक
RAM इसे dynamic random access memory भी है । इसे आप console, modem और telnet अब routing tables के बारे म जानने का यास करते packet 10.1.5.0/24 host पर जा रहा है और router
कहा जाता है। RAM Cisco router के CPU connection के वारा access कर सकते है। इसम आप है । क routing table म नचे दए गए 2 networks है।
का working area होता है। इस memory म commands को type करते है और execute करवाते Routing Tables यँहा पर पहले network को choose कया जायेगा
running configuration file और routing है । Routers routing tables बनाते है िजनम नचे द गई य क इसक prefix length अ धक है । इससे कोई फक
tables stored होती है । Router Booting Process information होती है । नह ं पड़ता क metric या administrative distance
NV-RAM इसे non volatile random access memory हर Cisco एक booting process से होकर गुजरता है  Destination network और उसका sub- या है ।
कहा जाता है। NV-RAM म startup इस process को नचे explain कया जा रहा है। net mask होता है। 1. 10.1.5.0/24
configuration file stored होती है जो system 1. Router का power on कया जाता है।  Destination network तक जाने के लए 2. 10.0.0.0/8
ROM म से bootstrap program load 2. Metric - Metric router को routing
के startup म काम आती है । 2. next hop router के बारे म information होती है ।
होता है। protocol के अंतगत best route ढूंढने क
Ports  Routing metrics और administrative
Cisco IOS म interfaces और lines 2 तरह के ports 3. Bootstrap program POST (Power On यो यता दे ती है । Distance vector protocols
distance stored होती है ।
होते है। इनके बारे म नचे दया जा रहा है । Self Test) run करता है । distance को metric क तरह यूज़ करते है और link
Routing tables 2 तरह के protocols से
Interfaces router को दूसरे devices जैसे क 4. Bootstrap flash memory से IOS को state protocols shortest path first algorithm
related होती है । वारा calculate क गई cost को metric क तरह यूज़
routers और switches से connect करते है। अगर load करने का यास करता है -
1. Routed protocols - ये network layer करते है । िजन routes क best metric होती है वह
आसान भाषा म कहा जाये तो network म data इ ह ं 1. य द flash memory म IOS
protocols होते है। Routed protocols devices के routing tables म add कये जाते है। यँहा तक क
ports से होकर travel करता है । कुछ common नह ं मलता है तो bootstrap ROM म से
साथ logical addresses attach करते है। ये य द कसी routing protocol के पास एक ह
interfaces के नाम नचे दए जा रहे है । basic IOS को load करता है ।
protocols data को एक network से दस
ू रे network network तक जाने के 4 route है तो भी जो metric
2. य द flash memory म IOS
 Serial interface म भेजने के लए responsible होते है । उदाहरण के लए सबसे better होगी उसे ह routing table म add कया
 Ethernet interface मलता है तो इसे RAM म load कर दया
IP (Internet Protocol) और IPX आ द। जायेगा। य द equal metric के एक से यादा route
 Fast Ethernet interface जाता है।
2. Routing protocols - ये protocols available है तो load balance के वारा सह metric
Interfaces को उनके नाम और number के वारा 5. IOS NV-RAM से startup config file को
routing tables म network, topology और next को choose कया जायेगा।
identify कया जाता ह। उदाहरण के लए पहले load करने का यास करता है -
hop information build करते है । ये सार 3. Administrative Distance - य द router
ethernet interface को Ethernet0 के नाम से जाना 1. य द startup configuration
information dynamically (automatically) build
file NVRAM म नह ं मलती है तो IOS पर एक से अ धक routing protocols चल रहे है तो
जाता है । कुछ router families है वो modular है क जाती है। उदाहरण के लए RIP, IGRP और OSPF
TFTP server से एक configuration file कस protocol पर सबसे अ धक trust करना है ये
इस लए उनम interfaces को slots म organize कया आ द। Routing protocols 2 तरह के होते है।
load करने का यास करता है। administrative distance के वारा determine कया
गया है । इस लए उनम interface number के साथ 3. Distance vector - इस तरह के protocols म
य द TFTP server respond जाता है । जँहा पर administrative distance सबसे
साथ slot number भी लखा जाता है । जैसे क पहले 2. metric hop count (number of routers between
नह ं करता है तो router initial source and destination) के वारा determine क कम होती है वह protocol choose कया जाता है ।
slot के 2 interface को इस कार लख सकते है ।
Ethernet0/2 configuration mode म enter हो जाता जाती है। िजस route म distance सबसे कम होती है Administrative distance एक numerical value
जो दसू रे तरह के ports होते है उनसे आप connect है । वह route choose कया जाता है। इस तरह के होती है जो dynamic protocols को assign क जाती
होकर router को configure कर सकते है। इ ह lines 3. य द startup config file protocol का उदाहरण RIP है। है । ये fixed होती है । िजस protocol क
कहा जाता है। ऐसे कुछ ports के नाम नचे दए जा रहे NVRAM म मल जाती है तो इसे RAM म 4. Link state - इस तरह के protocols म metric administrative distance unknown होती है उसे
है । load कर दया जाता है । shortest path first algorithm से determine क कभी भी routing table म नह ं लया जाता है। कुछ
 Console ports 6. Startup configuration RAM म running जाती है। सभी routes क cost म जो सबसे कम cost common protocols क administrative distance
 Auxiliary ports configuration बन जाता है । होती है उसे ह route चूना जाता है । इस तरह नचे द जा रह है ।
 VTY ports Introduction to Routing के protocols का उदाहरण OSPF है । Protocols Administrative Distance
Interfaces क तरह ह lines को भी line type और एक network से दसू रे network म packets send IGRP 100
line number के वारा identify कया जाता है । करने क process को routing कहते है । Routing Destination network तक best route OSPF 110
RIP 120
इस लए य द पहला console port कुछ इस तरह लखा static और dynamic 2 कार क होती है । Routes identify करने के लए router नचे दए गए 3
Unknown 255
जायेगा। destination network पर based होते है । Routing elements को यूज़ करता है ।
Viewing Routing Table
Console0 Prefix-Length - ये network को
म एक network से दस
ू रे network के लए best 1. कसी भी router पर routing table दे खी जा सकती है।
Command Line Interface (CLI)
path find कया जाता है। Best path को metric और identify करने के लए bits क quantity होती है । इसके लए आप show ip route command execute
Cisco router के साथ interact करने के लए IOS एक
administrative distance के base पर चुना जाता इससे सबसे सट क route determine कया जाता है ।
command line interface provide करता है । Cisco
करते है। इसे आप user execution mode से दे ख Static & Dynamic Routing  Static routing large networks के लए क कुछ characteristics होती है जो नचे द जा रह
सकते है। Routing table build करने के लए 2 basic method है ।
impractical है ।
#Router1 show ip route available है । Dynamic Routing  पूर routing table क periodic updates
जब आप इस command को execute करते है तो  Static routing एक dynamic routing table routing protocols के सभी पड़ौसी routers को भेजी जाती है ।
आपको सभी routers क list show हो जाती है । इन  Dynamic routing वारा create, maintain और update क जाती है ।
 Distance vector protocols म
सभी routers के साथ एक label भी show कया जाता इन दोन methods के बारे म नचे detail से दया जा Routing protocols म नचे दए गए 3 protocols
convergence बहुत slow होता है और ये protocols
है जो ये बताता है क ये सब router current router रहा है । होते है ।
loops के त अ तसंवेदनशील होते है ।
से कस कार connected है । जैसे क C मतलब Static Routing 1. RIP (Routing Information Protocol)
Static routing table को network administrator 2. IGRP (Interior Gateway Routing  Route क metric calculate करने के लए
directly connected होता है । इन सभी labels क list
manually create, maintain और update करता है । Protocol) distance को यूज़ कया जाता है ।
नचे द जा रह है । 3. EIGRP - (Enhanced Interior Gateway
हर network के लए route हर router पर manually Routing Protocol)
 Shortest path तय करने के लए
 C - इस label का मतलब है क दया गया
configure कया जाता है । इससे आप routing को बहुत 4. OSPF - (Open Shortest Path First) Bellman ford algorithm यूज़ क जाती है ।
router current router से directly connected है ।
deep level पर control कर सकते है। ले कन ये Dynamic routing म routers एक दस ू रे के साथ Distance vector routing protocols सभी
 S - ये label बताता है क दया गया routing information share करते है । इससे CPU और neighbors को directly connected networks के
approach large networks के लए impractical है ।
router statically manage कया गया है । Memory का overhead बढ़ जाता है और bandwidth
इस approach म routers एक दस
ू रे के साथ routes बारे म updates send करते है । ये update
 S* - ये बताता है क current router से
नह ं share करते है , इससे router क RAM/CPU पर भी use होती है । ले कन य द network म कोई link regularly भेजी जाती है। RIP म ये update हर 30
दए गए router के बीच म default route है । down हो जाये तो routing protocols dynamically
extra stress नह ं पड़ता है और साथ ह इससे second म भेजी जाती है और IGRP म ये update हर
 D - इस label का मतलब है क दया गया
bandwidth भी save हो जाती है । Static routing दूसरा better path choose कर सकते है । 90 second म भेजी जाती है । इन updates से
router EIGRP protocol यज़
ू कर रहा है। नीचे dynamic routing क कुछ advantages द जा neighbors अपनी routing tables म route add कर
fault tolerant नह ं है य क इसम सभी कुछ
 I - ये label बताता है क दया गया router manually कया जाता है । इस लए जब भी कोई link रह है । लेते है । इसके बाद सभी neighbors अपनी परू
IGRP protocol यज़
ू कर रहा है। down होती है या नया router add कया जाता है तो  Dynamic routing को large networks routing table को सभी neighbors के साथ share
 R - ये बताता है क दया गया router RIP routers म changes manually करने पड़ते है । जो पर आसानी से configure कया जा सकता है । करते हुए forward कर दे ते है ।
protocol यज़
ू कर रहा है । routers pure static environment म काम करते है  Automatically better path choose इस तरह क process क कई disadvantages है।
 O - इस label का मतलब है क दया गया वो कोई भी link unavailable होने पर दूसरा better करने म स म। Routing information एक neighbor से दस
ू रे
router OSPF protocol यज़
ू कर रहा है। route choose करने म incapable होते है ।  Different links के बीच म load balance neighbor के pass periodic updates से जाती है
Clearing Routing Table Static routes क administrative distance 1 होती करने म स म। इस लए convergence बहुत slow होता है । साथ सभी
य द आप routing table से सभी routes clear करना
है इस लए इ ह dynamic routes से पहले नचे dynamic routing क कुछ disadvantages भी neighbors एक दस
ू रे पर depend करते है इस लए
चाहते है तो इसके लए आप clear command यज़
ू कर
preference द जाती है । इस administrative द जा रह ह। looping के chances भी बहुत अ धक होते है।
सकते है। Routing table clear करके आप routing
distance को change भी कया जा सकता है । िजन  Dynamic routing bandwidth consume जैसा क मैने आपको पहले बताया distance vector
protocols को routing table दोबारा populate करने करती है ।
static routes क administrative distance adjust protocols metric calculate करने के लए distance
के लए force कर सकते है ।  Router के CPU पर additional load पड़ता
क जाती है उ ह floating static route कहते है । नचे को यूज़ करते है। RIP म metric hop counts के वारा
#Router clear ip route
Choosing Best Route static routing क कुछ advantages द जा रह है। है । calculate क जाती है । IGRP म bandwidth और
कसी भी destination router तक best route  Static routing म CPU पर overhead  Route क choice routing protocol के delay के वारा metric calculate क जाती है ।
choose करने के लए आप नचे द हुई process को बहुत कम होता है । हाथ म होती है administrator इसम कुछ नह ं कर Link State Routing Protocols
सकता है । Link state protocols को distance vector
follow कर सकते है।  Bandwidth म overhead बलकुल भी नह ं
Categories of Dynamic Routing Protocols protocols म आने वाल looping और convergence
 सबसे पहले आप सभी route क होता है य क routers एक दस
ू रे के साथ updates
Dynamic routing protocols को 2 categories म problem को overcome करने के लए develop कया
destination route के साथ prefix length match share नह ं करते है।
divide कया गया है । गया था। Link state routing protocols 3 तरह क
करगे। िजन routes क prefix length सबसे  Static routing से आप network को
accurate है आप उ ह चुन लगे।
 Distance vector protocols routing tables build करते है । इनके बारे म नचे दया
deep level पर control कर सकते है।
 Link state protocols जा रहा है ।
 अब इन routes म से िजस route क नचे static routing क कुछ disadvantages भी द
इन दोन protocols के बारे म नचे detail से दया जा  Neighbor table - इस table म सभी
metric सबसे कम है आप उसे choose कर लगे। जा रह ह।
रहा है । neighbors क list होती है और साथ ह ये भी होता है
 य द same metric के एक से अ धक  य द network म कोई change करना हो तो Distance Vector Routing Protocols
क कौनसा neighbor कस interface से connected
route है तो आप सबसे कम administrative उसे सभी routers पर manually करना होता है। RIP और IGRP distance vector routing protocols
है । Neighbor table hello packets भेज कर बनायीं
distance वाले route को choose करगे और यह  य द कोई link down हो जाये तो इसम कोई होते ह। सभी distance vector routing protocols
जाती है ।
आपका सबसे best route होगा। fault tolerant नह ं होती है।
 Topology table - इसे link state table Example - 06:5e:39:ad:dd:2c tasks perform करता है । पहला logical addressing
MAC address क पहल 6 digits से NIC (Network Classes of IP Address
भी कहते है । इसम एक area क सभी links का map और दस
ू रा routing। Routing के मा यम से एक
Interface Card) के manufacturer को identify IPV4 addresses को कई classes म divide कया
stored रहता है। साथ ह हर link का status भी packet को सह network म forward कया जाता है।
कया जाता है । इन शु आती 6 bits को OUI गया है । IP address कस class का है ये आप IP
stored रहता है। Internet protocol 2 तरह क addressing provide
(Organizational Unique Identifier) भी कहते है । address के first octet क range दे ख कर बता सकते
 Shortest path table - इस table म हर करता है । एक IPV4 addressing और दस
ू र IPV6
बाक क 6 digits host को network म uniquely है । आइये इन classes के बारे म detail म जानते है ।
destination के लए best routes stored रहते है । addressing होती है।
identify करने के लए यूज़ क जाती है । इन last 6 IPV4 addressing म 32 bit addresses assign
Link state routing protocols म routers directly digits को host id कहते है। कये जाते है। इस तरह के IP address म 8 bits के
connected networks के status के बारे म updates चार octet होते है ।
भेजते है। सभी routers ये information topology
table म store करते है । एक area के अंदर िजतने भी Class A
Class A क network range 1 से 127 होती है और
routers होते है उनक topology table same होती है ।
MAC address के अंदर एक कमी होती है इससे से आप इस class का default subnet mask 255.0.0.0
य द कसी link म कोई change आता है तो केवल इस
network को नह ं identify कर सकते है । य द आपको होता है । इसका मतलब ये हुआ क इस class के IP
link से related update सभी routers को भेजी जाती
ये identify करना है क host कस network म है तो addresses म only first octet ह network को शो
है और सभी routers उसके अनुसार अपनी topology
उसके लए आप उसका IP address दे खगे। IP
What is Subnet Mask? (in plain Hindi) करता है और बाक के 3 octets hosts को शो करते है।
table को adjust कर लेते है।
जैसा क मैने आपको पहले बताया क IP address का इस लास म 127 network होते है और हर network
केवल िजस link म change हुआ है उसी क update addresses को logical addressing म explain कया
एक part तो Network को बताता है और दूसरा part म 16777214 hosts होते है ।
भेजी जाती है इस वजह से bandwidth पर भी यादा गया है ।
host को बताता है। Subnet mask यह बताने के लए Class B
भाव नह ं पड़ता है । ले कन 3 tables को manage
होता है क पुरे IP address का कौनसा part network Class B क network range 128 से 191 होती है ।
करने क वजह से CPU बहुत अ धक utilize होता है ।
को represent करता है और कौनसा host को इस class के IP addresses का default subnet
Link state protocols म Dijkstra formula के वारा
represent करता है । हर IP address के साथ उसका mask 255.255.0.0 होता है। इस class के IP
shortest path calculate कया जाता है ।
subnet mask जड़
ु ा होता है। िजसे दे ख कर बताया जा addresses म पहले 2 octet network को
Introduction to Addressing
सकता है क IP address कस network और कस represent करते है और आ खर 2 octet hosts को
Addressing hosts को address assign करने क
host का है । define करते है। इस लास म 16384 networks होते
process होती है। Unique address के मा यम से
Subnet mask के बारे म पढ़ने से पहले आप decimal है और 65534 hosts हर network म होते है ।
hosts को uniquely identify कया जाता है ।
to binary और binary to decimal conversion Class C
Addressing 2 कार क होती है ।
Class C क network range 192 से 223 होती है ।
1. Hardware Addressing ज र सख ले।
2. Logical Addressing Example इस class के IP addresses का default subnet
Logical Addressing
Hardware addressing host को local area म OSI model के अनुसार दे खे तो network layer म IP Address : 192 . 10 . 2 . 1 mask 255.255.255.0 होता है । इस class के IP
Subnet mask : 255 . 255 . 0 . 0
identify करने के लए use होती है और logical logical addressing यूज़ क जाती है। Logical addresses म पहले 3 octet network को
addressing host को network level पर identify address के मा यम से आप कसी host को IP (Binary) : 11000000 : 00001010 : represent करते है और आ खर एक octet hosts को
करती है । इन दोन तरह क addressing के बारे म 00000010 : 00000001 represent करता है । इस class म 2097152
पुरे network म uniquely identify करते है । Logical
Subnet mask : 11111111 : 11111111 :
नचे detail से बताया जा रहा है । addresses एक network को दस
ू रे network से 00000000 : 00000000 network होते है और 254 hosts हर network म होते
Hardware Addressing separate भी करते है। Logical addresses fix नह ं है ।
एक hardware address क मदद से local ऊपर दए हुए example को दे खये IP address के साथ Class D
होते है इ हे change भी कया जा सकता है। Logical
area network म hosts को uniquely identify कया subnet mask दया गया है । Subnet mask म 255 Class D के network multicast के लए reserved
addresses को IP address कहते है ।
जाता है। य द आप OSI model के अनस
ु ार दे खे का मतलब होता है network octet और 0 का मतलब होते है । इस class के addresses का कोई subnet
IP address क size 32 bit होती है । एक IP address
तो layer 2 (Data link layer) पर hardware होता है host octet। इस example म 192.10 तो mask नह ं होता है।
2 parts म divided होता है । पहला part होता है
addressing यज़
ू क जाती है । Hardware address network portion है जो network को represent Introduction to IPV4 Addressing
network ID िजससे ये identify कया जाता है क Internet protocol version 4 कसी भी network म
को MAC (Media Access Control) address भी करता है । और 2.1 host portion है जो host को
host का network या है । दूसरा part होता है host hosts के लए logical address (IP address)
कहते है। MAC address को network interface represent करता है ।
ID िजससे से host को uniquely identify कया जाता assign करने का standard protocol होता
cards (NIC) पर hard-code कया जाता है । य द आप binary form दे खगे तो network portion 1
है । है । अभी आप इसी protocol को यूज़ कर रहे है। ये
MAC address क size 48 bits होती है । एक MAC से represent कया जाता है और host portion 0 से
Logical addressing के लए Internet Protocol protocol इस द ु नया म available िजतने भी devices
address hexadecimal form म represent कया represent कया जाता है।
(IP) responsible होता है । Internet protocol 2 है उनको unique address provide करने म अभी तो
जाता है। इसका उदाहरण नीचे दया जा रहा है ।
स म है ले कन कुछ साल बाद नह ं होगा। इस लए इसका Version Number - Version Number field के receiver side पर De-multiplexing के लए ये पता दस
ू रे network म एक IP addresses के group को
advanced version IPV6 introduce कया गया है , वारा Internet Protocol का version number होना चा हए क कौनसे protocol को data pass करना packet send करता है। ये packet सफ उ ह ं hosts
िजसके बारे म आप IPV6 क tutorial म पढ़ सकते है। define कया जाता है । यँहा पर IPV4 header क बात है । वारा receive कया जाता है जो multicast group म
IPV4 म IP address 32 bits का होता है । इसे 8 bits क जा रह है इस लए version भी 4th ह होगा। Header Checksum - ये field errors को check है ।
के 4 blocks म दशाया जाता है । नचे IPV4 address Header Length - इस field के वारा IP header क करने के लए यूज़ कया जाता है । जब packet source Broadcast
को binary और decimal दोन form म represent length define क जाती है। IPV4 header क से send कया जाता है तो इस field म एक value होती IPV4 के वारा कसी एक host के packet को पुरे

कया गया है। length 32 bit words (with options) के वारा है जो algorithm के वारा header से calculate क network म फैलाने के लए broadcast addresses
Binary Decimal दशायी जाती है । य द header म कोई options जाती है। जब ये packet receiver side पर पहुँचता है यूज़ कये जाते है। ये एक one-to-all

defined ना हो तो इस filed क value 5 set होती तो उसी algorithm के वारा value को वापस header communication होता है । उदाहरण के लए एक host

11000000.10101000.00001010.00000001 192.168.10.1 है । से calculate कया जाता है य द value source side कसी packet को LAN म available बा क सभी hosts

Types of Service - ये field वो तर का define करता से match करती है तो माना जाता है क packet error को भेज सकता है ।
Introduction to IPV6 (Internet Protocol
ये blocks network और hosts को represent करते है िजससे router को packets को queue करना चा हए free है । ये field 8 bits का होता है ।
Version 6)
है । शु के blocks network को represent करते है जब packets forward होने के लए wait कर रहे हो। Source IP Address - ये field source के IP IPV6 क full form Internet Protocol Version 6
और बाद के hosts को represent करते है । कतने य द कसी packet क priority यादा हो तो इस field address को represent करता है। इस field क size होती है । ये Internet Protocol का सबसे latest
blocks network को represent करगे और कतने क value 1 होती है। Regular packets के लए इस 32 bits क होती है। version है । यह IETF (Internet Engineering Task
hosts को represent करगे ये IP address क packet क value 0 होती है । Destination IP Address - इस field के वारा Force) वारा बनाया गया है। ये IPV4 का upgraded
classes के वारा defined होता है । य द आप Total Length - ये field IP data-gram क total destination address represent कया जाता है । इस version है और इसे भ व य म IPV4 को replace करने
IPV4 address के format और classes के बारे म length को दशाता है । ऊपर define कया गया header field क size 32 bits होती है। के लए बनाया गया है । इस समय ये IPV4 के साथ ह
और अ धक जानना चाहते है तो Addressing tutorial length field header क length को define करता है Options - ये field कुछ options को represent मलकर काम करता है । य द आप अपने computer म
को पढ़ सकते है। और ये field data और header स हत data-gram क करता है जो कुछ packets use कर सकते है। हालाँ क network center खोले तो दोन protocols को एक
total length को define करता है। ये एक 16 bit इस field को यूज़ नह ं कया जाता है ले कन जब भी इसे साथ काम करते हुए दे ख सकते है । जैसे क नचे show
IPV4 Header field होता है । यज़
ू कया जाता है इससे header क length 32 bits कया गया है ।
Internet Protocol (IP) layer 3 (Network Layer)
Identification - ये field एक segment का से यादा हो जाती है ।
पर काम करता है । ये layer layer 4 (Transport
identification होता है। ये एक 16 bit का number Data - इस field म मु य data होता है जो
Layer) के वारा भेजे गए segments (when using
होता है जो source address के साथ मलकर कसी transport layer protocols वारा IP को pass कया
TCP as protocol) या datagram (when using
segment को uniquely identify करता है । जाता है।
UDP as protocol) को packets म break करती है ।
Flags - ये field दशाता है क या router कसी IPV4 Address Types
Packets म break करने के बाद इन packets के साथ
segment को fragment कर सकते है । इस field म 3 जब भी IPV4 packets send या receive कये जाते है
IP header attach क जाती है । ये header packet
bits होती है । पहल bit reserved होती है। य द इस तो वे नचे दए गए 3 म से एक कार के address
से related आव यक information receiver side
field म second bit set हो तो उसका मतलब होता है वारा send/receive होते है । आइये इनके बारे म
को provide करती है । IP header म ये information
don't fragment और य द इस field म third bit set detail से जानने का यास करते है ।
different fields के वारा represent क जाती है । Unicast
हो तो उसका मतलब होता है क segment
नचे IP header को एक diagram के वारा एक unicast address एक specific host को
fragmented है।
represent कया गया है। इसके बाद सभी fields को represent करता है । इस तरह के address IPV4
Fragment Offset - य द packet fragmented है तो
नचे detail से समझाया गया है । packet म specific destination host को
ये field original packet क शु क 8 bits को दशाता
represent करते है । इस कार के address one-to-
है । ये field 13 bits का होता है ।
one communication के लए यूज़ कये जाते है ।
Time to Live - ये field एक limit set करता है। मान
उदाहरण के लए LAN A का एक host LAN B के कसी
ल िजये इस field क value 15 है। य द packet 15
host को packet send करे तो वह unicast
routers से pass होने के बाद भी destination तक
addressing कहलाएगी।
नह ं पहुँचता है तो उस packet को discard कर दया
Multicast
जाता है । Authenticity के नज रए से ये एक मह वपूण Multicast addresses को कसी packet को एक से
field है। इस field क size 8 bits होती है। अ धक hosts को send करने के लए यज़
ू कया जाता IPV4 को 80 के दशक म बनाया गया था। तब से ले कर
Protocol - इस field म उस protocol का नाम होता है है । ये one-to-many communication के लए यूज़ अब तक internet क द ु नया म बहुत यादा बदलाव आ
िजसने packet network layer को pass कया य क कये जाते है। उदाहरण के लए कोई एक host कसी गए है । शु आत म internet कुछ limited
organizations तक ह स मत था ले कन अब यह पूर नजद क भ व य म IP address क कमी क कोई जैसा क आप दे ख रहे है IPV6 address को 3 parts Class
द ु नया म फैल चूका है। दन दन internet के users problem नह ं होगी। IPV6 का address space भ व य म divide कया गया है । हर part का अलग मह व है। ये field traffic class को represent करता है । इसक

बढ़ते जा रहे है । इस लए ऐसी कुछ limitations है क ज रत को पूरा करने के लए पया त है। size 8 bit होती है । ये field IPV4 header के Type
 Global prefix part network ID होती है
िजनक वजह से IPV4 भ व य म internet क ज रत IPV6 security के लए IPSec (Internet of Service field जैसा ह होता है।
2. जो routing के लए यूज़ क जाती है । इसक size 48
को परू ा नह ं कर पायेगा। आइये इन limitations के बारे Protocol Security) को यूज़ करता है । IPV6 क bits होती है । ये शु के 3 groups वारा represent Flow Label
म जानने का यास करते है। header म IPSec के लए field provide कया गया क जाती है। इस field क size 24 bits होती है । ये field packet
Limitations of IPV4 है । शु म ये IPV6 के साथ ह built in था ले कन बाद  Global prefix field के बाद subnet field और traffic flow को mark करने के लए यूज़ कया
नचे IPV4 क limitations द जा रह है । इनके बारे म म इसे optional बना दया गया। आता है, इसम एक number होता है जो sub network जाता है । ये field बताता है क packets कस
जानकर आप समझ सकते है क IPV6 क ज रत य IPV6 packets को priority के base पर
3. को identify करने के लए यूज़ कया जाता है । इसक sequence म source से destination तक flow
पड़ी। efficiently forward करने म स म है । इसके लए size 16 bits होती है । करगे।
1. जैसा क आपको पता है क internet दन IPV6 header म flow label field provide कया  Interface ID कसी भी host को
दन बढ़ता ह चला जा रहा है। ऐसे म IPV4 के वारा गया है । ये एक 20 bit field होता है इसके बारे म और Payload Length
uniquely identify करती है । ये ID sub network म
provide कये गए addresses क सं या कम होती जा ये field data क size को store करता है। इस field
अ धक आप IPV6 header explanation म जानगे। और globally भी host को uniquely identify करती
रह है । आने वाले समय म ये addresses पूर तरह क size fixed नह ं होती है।
4. IPV6 आपको auto configuration है । इसक size 64 bits होती है ।
occupied हो जायगे और दूसरे devices के लए feature provide करता है । इससे य द DHCP server IPV6 addresses को लखने के लए आप shorthand Next Header
address available नह ं ह गे िजस वजह से वे available ना हो तो भी communication म कोई expressions भी यूज़ कर सकते है । जैसे क य द आप ये field बताता है क next header कौनसी होगी।
internet नह ं use कर पाएंगे। problem नह ं आती है । साथ ह IPV6 म state- चाहे तो ऊपर दए गए IPV6 address को इस कार भी IPV4 म ये feature available नह ं होता है।
2. IPV4 data को वयं कोई सुर ा नह ं दे ता full और stateless दोन तरह के configuration संभव लख सकते है।
है । Data को भेजने से पहले उसे encrypt कया जाना है ।
Hop Limit
चा हए। 2d12:1ba8:3c4d:21d3:0:0:3214:ab65 ये field बताता है क destroy होने से पहले
5. IPV6 क header simple है इसम सफ 8
3. IPV4 म special packets को ाथ मकता maximum कतने hops (routers) IPV6 packets
fields ह include कये गए है । Simple header क
यँहा पर िजन groups म सभी zero थी उन groups traverse करगे।
दे ने का कोई option नह ं है । हालां क IPV4 एक वजह से IPV6 packets IPV4 packets क तुलना म
को single zero वारा represent कया गया है। आप
Quality Of Service filed define करता है । ले कन fast forward होते है । इसका reason ये है क router
ऐसा सभी ऐसे groups के साथ कर सकते है िजनम Source Address
वह packets को ाथ मकता के म म handle करने को IPV4 क तरह बड़ी header process करने से इस field म source host का 128 bit का IPV6
सभी zero's हो। जब ऐसे दो groups िजनम सभी zero
के लये पया त नह ं है। time बच जाता है और packets बहुत ह fast address define कया जाता है ।
है एक साथ आते है तो आप उनको double colon से
4. IPV4 को या तो आप manually forward कये जाते है।
भी replace कर सकते है जैसा क नचे दया गया है। Destination Address
configure करते है या इसे dynamically DHCP 6. IPV6 broadcast को support नह ं करता
इस field म destination host का 128 bit IPV6
(Dynamic Host Configuration Protocol) वारा है । एक से यादा hosts को packets send करने के 2d12:1ba8:3c4d:21d3::3214:ab65
address store कया जाता है ।
configure कया जा सकता है । इसके लए आपको लए ये multicast यूज़ करता है।
IPV6 Header
DHCP को भी manage करना पड़ता है । इससे बहुत सी 7. IPV6 के पूर तरह लागू होने पर हर system IPV6 Routing Protocols
IPV6 addresses को दे ख कर य द आप सोच रहे है क
bandwidth यूज़ हो जाती है और साथ ह network के pass एक globally unique IP address होगा। आपने अभी तक िजतने भी routing protocols के बारे
IPV6 header बहुत ह बड़ी और complicated होगी
administrator का time भी consume होता है । इससे हर host internet पर कसी दस म पढ़ा है वे सभी IPV6 को support करने म स म
ू रे host से तो ऐसा बलकुल भी नह ं है । IPV6 के designers ने
directly communicate कर सकता है। IPV6 के लागू नह ं थे। इस लए उनम से कुछ को eliminate कर दया
अब तक आपने IPV4 क कुछ ऐसी limitations के बारे IPV6 header को इस तरह design कया है ता क
होने पर आपको NAT (Network Address गया और कुछ को upgrade करके IPV6 के साथ काम
म जाना है िजनक वजह से IPV4 भ व य म Internet इसम कम से कम field हो जो क यादा से यादा
Translation) क भी आव यकता नह ं पड़ेगी। करने यो य बना दया गया।
क ज रत को पूरा नह ं कर पायेगा। आइये अब जानने task perform करे । IPV6 header म 8 fields होते
8. IPV6 के वारा devices जैसे क mobile Protocols को upgrade करने से वो techniques जो
का यास करते है क IPV6 इन limitations को कैसे है । इसक size 40 bytes होती है। IPV6 header का
phones कसी दस
ू र location पर जाकर भी उसी IP IPV4 routing protocols के साथ यूज़ क जाती थी वो
fulfill करता है और ऐसे कौनसे features जो इसे IPV4 diagram नचे दया जा रहा है ।
address के साथ network से connected रह सकते IPV6 के साथ भी यूज़ क जाएगी। इससे आपको IPV6
से बेहतर बनाते है । ये एक बहुत ह simple सी header है िजसे आप
है । routing को समझने म यादा problem नह ं होगी।
Features of IPV6 आसानी से समझ सकते है । आइये अब different IPV6
IPV6 Addressing जैसा क आपको पता है क IPV6 म broadcasting को
नचे IPV6 के कुछ features दए गए है जो IPV6 को header fields के बारे म detail से जानने का यास
IPV6 address 128 bits का होता है। जँहा IPV4 पूर तरह eliminate कर दया गया है । इस लए वे
IPV4 से बेहतर बनाते है । करते है ।
decimal numbers के 4 groups वारा represent protocols जो broadcasting यूज़ करते है वो IPV6 के
1. IPV6 म address space बहुत ह बड़ा है । Version
कया जाता है वँह IPV6 hexadecimal numbers के इस field क value 6 होती है। ये field internet साथ काम नह ं कर सकते है।
ऐसा माना जाता है क इस दु नया के हर इंसान को
8 groups के वारा represent कया जाता है। IPV6 protocol के version को define करता है । इस field
20,000 IP address दए जा सकते है । इस लए
address का example नचे दया जा रहा है । क size 4 bits होती है ।
मु यतः IPV6 3 routing protocols के साथ काम ऐसी कुछ limitations है िजससे इसक performance काम करते है । ICMP IP का supporting protocol है । situation म packet loop म ह घूमता रहता है । इस
करता है । CCNA exams म आपसे सफ IPV6 static कम हो जाती है । इनके बारे म नचे दया जा रहा है । ICMP म message mechanism होता है िजससे situation से बचने के लए हर packet म एक time
routing और OSPFv3 के बारे म पूछा जायेगा। hosts को error और status के बारे म notify कया to live field होता है। इस field क value हर router
Limitations of IP (Internet Protocol)
 RIPng जाता है। पर decrease होती जाती है । जैसे ह इस field क
Internet protocol क 2 मह वपूण क मय के बारे म
 EIGRPv6 value zero होती है तो router वारा इस packet को
नचे दया जा रहा है । ICMP क ज रत को समझने के Types of ICMP (Internet Control Message
 OSPFv3 discard कर दया जाता है । इस situation म router
लए आपका इन limitations को ठ क से समझना Protocol) Messages
आइये अब इन protocols के बारे म जानने का यास source को Time Exceeded message send करता
आव यक है । ICMP messages के वारा error reporting और
करते है। Static routing के बारे म configuration है ।
devices का status share करता है । ICMP वारा
part म बताया जायेगा।  No Error Reporting - य द कसी error
create कये जाने वाले messages को 2 categories  Parameter Unintelligible (Code 12) -
क वजह से कोई packet router वारा discard हो
म divide कया गया है । य द कोई router या destination host packet के
RIPng जाए तो इसके लए internet protocol म ऐसा कोई
RIPng का पूरा नाम Routing Information Protocol कसी field को empty पाता है तो उस packet को
mechanism नह ं है िजससे क sender को इस error Error Reporting Messages
Next Generation है। ये protocol IPV4 के साथ यूज़ discard कर दे ता है और source को parameter
के बारे म report कया जा सके। कुछ common ये वे messages होते है िजनसे ICMP errors को
कये जाने वाले RIP का upgraded version है, िजसे unintelligible message send करता है ।
errors के उदाहरण नचे दए जा रहे है । report करता है । Common error reporting
IPV6 के साथ काम करने के लए upgrade कया गया o मान ल िजये य द router को messages क list नचे द जा रह है । Query Messages
है । ये एक Interior Gateway Protocol है जो best destination तक data पहुँचाने के लए कोई router ये वे messages होते है िजनसे ICMP कसी host के
 Destination Unreachable (Code 3) -
route determine करने के लए distance vector नह ं मल रहा है तो ऐसी situation म router packet status के लए query करता है। Common query
य द कोई router कसी packet के लए route नह ं ढूँढ
algorithm यज़
ू करता है। को discard कर दे गा। messages क list उनके code के साथ नचे द जा
पाता है तो ऐसी situation म packet को discard कर
o मान ल िजये क internet म दया जाता है और source को destination रह है ।
EIGRPv6
IPV6 के लए EIGRP म वह features include कये travel करते करते कसी packet का life time पूरा हो unreachable message send कया जाता है।  Echo Request (Code 8) & Echo reply
गया है और packet म time to live field क value (code 0) - Query messages का ये pair network
गए है जो IPV4 के EIGRP version म available है।  Source Quench (Code 4) - जैसा क
zero हो गयी है तो ऐसी situation म ये packet म problems को diagnose करने के लए use कया
साथ ह यादातर operations भी उसी कार perform आपको पता है IP म flow control नह ं है । Sending
discard कर दया जाएगा। जाता है । ये दोन messages ये determine करते है
होते है जैसे क IPV4 के EIGRP म perform होते है । device को इस बारे म कोई जानकार नह ं होती है क
o मान ल िजये destination तक क या दो hosts आपस म communicate कर सकते
ले कन इन versions म कुछ difference भी है जैसे क उसके वारा send कये गए data क speed forward
सभी packets नधा रत समय म नह ं पहुँचे है तो ऐसी है?
EIGRPv6 सीधा router interfaces पर configure करने वाले router और process करने वाले
कया जाता है और य द router ID नह ं है तो आप प रि थ त म स पूण data को discard कर दया destination host के अनुसार है या नह ं। जब  Time-stamp Request (Code 13) &
जाएगा। Time stamp Reply (Code 14) - कसी packet को
EIGRPv6 को configure नह ं कर सकते है आ द। sending device क speed अ धक होती है तो IP कुछ
एक host से दस
ू रे host तक travel करने म लगने वाले
 No Communication - कई बार ऐसा हो packets को discard कर दे ता है। इस situation म
OSPFv3 time को time stamp request & reply messages
सकता है क एक device को दूसरे device से ICMP flow control provide करता है और source
OSPFv3 एक link state routing protocol है । ये वारा पता कया जाता है ।
communicate करने क आव यकता हो तो ऐसी device को source quench messages send करता
IPV4 के साथ यूज़ कये जाने वाले OSPF का  Address Mask Request (Code 17) &
situation के लए भी internet protocol म ऐसा कोई है ।
upgraded version है। इसे IPV6 के साथ work करने Address Mask Reply (Code 18) - कसी host को
mechanism नह ं है िजससे devices आपस म  Redirect (Code 5) - य क routing एक
के लए upgrade कया गया है । इसके सभी basic खद
ु के IP address क जानकार हो सकती है ले कन ये
communicate कर सके। िजनम devices को dynamic process होती है और सफ routers ह
features वह है जो OSPF म पाए जाते है। ज र नह ं क उसे खुद के subnet mask क जानकार
communication क आव यकता होती है ऐसी कुछ इसम ह सा लेते है इस लए एक host को सफ एक ह
Introduction to ICMP (Internet Control हो। अपना subnet mask पता करने के लए host
Messesage Protocol) common situations के बारे म नचे दया जा रहा है । router (gateway) के बारे म जानकार होती है ।
router को address mask request भेजता है और
IP (Internet Protocol) एक network layer o कई बार data send करने से इस लए जब यह host कोई data send करे गा तो data
router इस host का subnet mask address mask
protocol है। कसी भी network म data को deliver पहले एक host को ये determine करना होता है क उस router के through correct router तक जाएगा।
reply message के प म भेजता है । य द host को
(Logical Addressing) करने क िज मेद ार IP destination host alive है या नह ं। इस situation म gateway router redirection
router के address क जानकार होती है तो वह सीधा
(Internet Protocol) क होती है । इस काम के लए o कई बार आपको भी कसी host message send करे गा ता क host क routing
ह router को request भेजता है नह ं तो यह request
IP TCP और UDP जैसे transport layer protocols के बारे म information ा त करने क आव यकता हो information update क जा सके और host directly
broadcast क जाती है।
को use करता है। TCP और IP मलकर TCP/IP सकती है । correct router को data send कर सके।
protocol suit का नमाण करते है ।  Time Exceeded (Code 11) - एक ICMP (Internet Control Message
कसी भी data को source से destination तक Internet Protocol क इन क मय को दरू करने के Protocol) Message Format
router कसी भी packet को forward करने के लए
deliver करने के लए Internet Protocol वारा पूरा लए ICMP (Internet Control Message Protocol) अब तक आपने ICMP वारा send कये जाने वाले 2
routing table को use करता है । य द routing table
यास कया जाता है। ले कन internet protocol म को design कया गया है। ICMP और IP दोन एक साथ तरह के messages के बारे म जाना है । आइये अब
correct नह ं है और उसमे errors है तो ऐसी
ICMP messages के format के बारे म जानने का Introduction to TCP (Transmission चाहता है । जब receiver को ये message मलता है तो destination और host दोन तरफ होते है। सभी
Control Protocol)
यास करते है। नचे ICMP message का format एक receiver वापस sender को message भेजता है क वो connection से related data को Transmission
Transport layer पर 2 तरह के protocols पाये जाते
diagram के वारा show कया जा रहा है। data के लए ready या sender ready है। इसके control block म maintain कया जाता है ।
है ।
बाद sender वापस एक message भेजता है जो
 Connection-less protocol - इस तरह के Segmentation
क receiver को data क sequence बताता है । इसके
protocol म जब data send कया जाता है तो Network layer के वारा data transport layer को
बाद sender और receiver के बीच म data transfer
sender और receiver के बीच म कोई connection दया जाता है । Transport layer पर ये data
शु हो जाता है।
established नह ं होता है। इस category के protocol TCP segments म convert कया जाता है। Data को
Sender और receiver के बीच म भेजे जाने वाले ये
का मु य उदाहरण UDP (User Data-gram transfer करने से पहले छोटे छोटे segments के प म
messages 3 तरह के होते है। इनके बारे म नचे दया
Protocol) है । तोडना segmentation कहलाता है ।
हालाँ क हर message type के लए ICMP header जा रहा है ।
 Connection oriented protocol - इस Segmentation TCP का एक primary task है ।
अलग होती है ले कन शु के 3 field सभी messages  SYN - Connection Request
तरह के protocol म data transfer के दौरान sender
म समान होते है। इन 3 fields क total size 4 byte  SYN + ACK - sequence Network layer के वारा TCP को packets transfer
और receiver के बीच म connection establish कया number request cum acceptance of connection
होती है। इन fields के बारे म नचे detail से दया जा कये जाते है। Packets size म बहुत बड़े होते है इस लए
जाता है । इस category के protocol का उदाहरण TCP request
रहा है ।  ACK - Acceptance of connection इ ह छोटे छोटे parts म divide कर दया जाता है । ये
(Transmission Control Protocol) है।
 Type - ये field message का type request and data sequence numbers parts segments कहलाते है । आपको ये भी यान
define करता है । उदाहरण के लए कसी कार क TCP (Transmission Control Protocol) एक रखना चा हए क transport layer पर data segment
नचे connection establishment process को कुछ
error report करते समय उस error से स बं धत transport layer connection oriented protocol है। कहलाता है ।
simple steps के वारा define कया जा रहा है।
code इस field म define कया जाता है । उसी कार ये protocol reliable delivery provide करता है ।
1. सबसे पहले sender synchronization Sequencing
य द query message है तो इस field म उस query TCP और Internet Protocol मलकर Internet
message के वारा connection establish करने क Data को segments के प म तोड़ने के साथ ह हर
का code आएगा। Protocol Suit बनाते है। TCP को RFC 675 म
request करता है । segment को एक sequence number दया जाता है ।
 Code - Query messages के लए इस define कया गया था। हालाँ क शु म TCP को
2. इसके बाद receiver synchronization Data क sequencing के 2 advantages नचे दए
field क value zero होती है । Error messages के network layer और transport layer services
cum acknowledge message के वारा connection जा रहे है ।
लए ये field error के sub type को define करता है। provide करने के लए बनाया गया था ले कन ये एक
establish करने क वीकृ त दे ता है और data के  Segments को sequence number दे ने से
उदाहरण के लए य द destination unreachable अनुपयोगी combination सा बत हुआ। इस लए इसके
sequence numbers के लए request करता है। receiver सभी segments को receive करने के बाद
error आयी है तो code field ये बताएगा क कस तरह network layer functions को अलग करके उससे IP
3. इसके बाद sender data के sequence उ ह proper order म arrange कर सकता है।
क destination unreachable error आयी है जैसे क (Internet Protocol) को design कया गया और
numbers के प म अपनी वीकृ त दान करता है ।  Transfer के दौरान य द कोई segment
network unreachable (code 0), host केवल transport layer functions के साथ TCP को
4. अब connection establish हो चूका है और drop भी हो जाये तो sequence number के वारा
unreachable (code 1) या फर protocol दब
ु ारा introduce कया गया। इस दौरान TCP को दब
ु ारा
sender और receiver के बीच म data transfer शु उसे identify करके दोबारा भेजा जा सकता है ।
unreachable (code 2) error आ द। Errors के इन RFC 793 म define कया गया था।
हो जाता है। जब भी कोई segment कसी sequence number के
sub types को भी codes के वारा define कया जाता
है । TCP connection oriented है। 2 devices के बीच म साथ आता ह तो receiver उस sequence number

connection establish करने के लए दोन devices को +1 करके acknowledge भेजता है । इसका मतलब
 Checksum - Header और data के वारा
को कुछ parameters को fulfill करना होता तब ह ये होता है क मझ
ु े segment मल चूका है आप इससे
checksum calculate कया जाता है िजसे errors को
connection establish हो पाता है । आइये TCP क next segment भेिजए।
detect करने के लए use कया जाता है ।
 Rest of the Header - जैसा क आपको connection process को समझने का यास करते है।
TCP एक बहुत ह reliable protocol है इसम हर
पता है ICMP message को IP datagram म
TCP Connection Establishment (Three transfer को acknowledge कया जाता है। मान
encapsulate कया जाता है । ICMP message म Way Handshake) ल िजए sender ने segment number 101 भेजा है।
rest of the header section remaining IP header TCP म connection establishment बहुत ह simple
TCP म connection bidirectional होता है । इससे से Receiver इस segment को पाकर
को दशाता है।
है इसे Three way handshake के वारा perform acknowledgment message के वारा sender को
कोई फक नह ं पड़ता क connection क request
 Data - Error messages के स दभ म इस कया जाता है । Three way handshake sender और
कसने भेजी थी। जो भी चाहे वो data transfer शुर कर बतायेगा क मुझे segment number 101 मल चुका है
section म िजस packet के वारा error आयी है उस receiver के बीच म messages क sequence होती
सकता है । TCP के वारा एक साथ कई connections और साथ ह receiver इसम 1 number add करके
packet क complete information होती है। है िजससे connection establish कया जाता है ।
establish कये जा सकते है। हर connection को TCP भेजग
े ा। 1 add करके भेजने का मतलब होता है क अब
individually track कर सकता है । Connections को आप next segment भेज द िजये। इस उदाहरण म
सबसे पहले Sender receiver को message भेजता है
sockets के वारा identify कया जाता है । Sockets receiver sequence number 102 भेजग
े ा जो
क वो connection establish करके कुछ data भेजना
sender को बताता है क next segment भेजना है । Terminating a TCP Connection क characteristics बताती है। जैसे क source, 6. FIN (Finish) - ये flag connection को
जब कसी receiver के वारा कोई जब तक कोई host (sender or receiver) खुद destination और sequence number आ द। TCP terminate करने के लए set कया जाता है ।
acknowledgement नह ं मलता है तो sender उस connection को terminate नह ं करते है तब तक header 12 fields से मलकर बनी होती है और इसक
segment को दब connection established ह रहता है । दोन म से कोई Window Field
ु ारा भेजता है। minimum size 20 byte होती है । आइये TCP
भी host connection को terminate कर सकता है। ये एक 16 bit field होता है । ये identify करता है क
header के सभी fields के बारे म जानने का यास
Sliding Window यादातर जब data transfer complete हो जाता है तो receiver कतनी bytes receive करने म capable
करते है ।
जब आप TCP header को दे खगे तो पाएंगे क उसम connection को terminate कर दया जाता है । दोन है ।
एक window field होता है। इस window field से ये hosts को connection terminate करने क ability Source Port
Checksum Field
define कया जाता है क receiver कतनी bytes का इस लए द गई है ता क connection के terminate इस field क size 16 bits होती है । ये field sender
ये field error checking के लए यूज़ कया जाता है।
data एक बार म receive कर सकता है । उदाहरण के होने से पहले data transfer परू तरह complete हो के port number को carry करता है ।
इसे TCP segment और IP header के select field
लए कोई sender क data transfer speed और सके। य द ऐसा न हो तो एक ह host के पास परू ा
Destination Port से compute कया जाता है । य द receivers side पर
buffer size अ धक हो सकती है। ले कन य द दस
ू र control होता है और इससे data transfer होने से इस field क size भी 16 bits ह होती है और ये calculate कया हुआ checksum same ना हो तो
तरफ receiver क speed और buffer size कम है तो पहले ह connection terminate होने के chances receiver के port number को carry करता है । segment discard कर दया जाता है । इस field क
receiver कम bytes क window size value set होते है । size 16 bit होती है।
करके sender को भेजग
े ा। इससे sender को ये पता Sequence Number
चलता है क receiver कतना data कतनी तेजी से जब भी कोई host connection को terminate करना ये field 32 bits का होता है और इसम segment का Urgent Pointer Field
receive कर सकता है। चाहता है तो वह एक message send करता है िजसम sequence number होता है । ये एक 16 bit का field होता है। जब urgent flag set
FIN flag set होता है । FIN flag का मतलब Finish कया जाता है तो ये field traffic क last byte को
Sender शु म हमेशा कम size के segments Acknowledgement Number
होता है। ये बताता है क इस message को send करने identify करता है।
ये field भी 32 bits का होता है और इसम
transfer करता है । ले कन जब sender को लगता है क वाला host connection को terminate करना चाहता
acknowledgment number carry होता है। Options Field
receiver आसानी से receive कर रहा है तो sender है ।
ये field variable size का होता है । ये field TCP
transfer speed को बढ़ाने का यास करता है और Data Offset
segment के लए optional parameters set करने
यादा size का data भेजता है । य द receiver इस उदाहरण के लए जब host A FIN message send Data Offset ये बताता है क TCP segment म data
के लए यूज़ कया जाता है ।
size के data को receive कर लेता है तो sender आगे करता है तो ये FIN message को acknowledge होने कँहा से शु होता है । इस field क size 4 bits होती
के सभी packets इसी size के भेजता है । थोड़ी दे र बाद का इंतज़ार करे गा और FIN-WAIT state म चला है । Padding Field
sender वापस transfer speed को बढ़ाने के लए और जायेगा। इसके बाद host B acknowledge message ये field भी variable size का होता है । ये field
Reserved Field
बड़ी size का data भेजता है । य द receiver इस data send करता है और FIN को acknowledge करता है । नि चत करता है क TCP header 32 bit bounder के
इस field क size 6 bits होती है । इसे future use के
को भी receive कर लेता है तो sender फर इसी size Host A कुछ भी ना करते हुए FIN state म रहता है । भीतर ह समा त हो जाये। ये field हमेशा zero पर set
लए रख जाता है। ये हमेशा zero पर set रहता है।
का data भेजता है। ले कन य द इस data का size अब same process को follow करते हुए host B FIN रहता है।
receiver के buffer से अ धक है तो receiver message send करता है तो FIN-WAIT state म Control Bits Introduction to UDP (User Datagram
Protocol)
window field क value 0 set करके भेजता है। इससे चला जाता है । इसके बाद host A इस FIN message ये field 6 bits का होता है । इसम एक एक bit के 6
UPD (User Datagram Protocol) एक transport
sender को पता चलता है क sender इस size का को receive करके acknowledgement message flags होते है । इन flags को set करके आप बता सकते
layer connection less protocol है । इस protocol
data receive नह ं कर सकता है । इसके बाद sender भेजता है । इसके बाद दोन तरफ से connection है क ये segment कस तरह का है ।
को RFC 768 म define कया गया है । UDP एक
पुरानी इससे कम size का data भेजता है । terminate हो जाता है। 1. URG (Urgent) - ये flag set करने से
unreliable protocol है या न क ये data के पहुँचने
segment को traffic म priority मलती है ।
Window size का एक मतलब ये और होता है क आसान श द म कह तो पहले एक host FIN message क guarantee नह ं दे ता है। UDP सफ segments को
2. ACK (Acknowledgment) - ये flag कसी
कतने segments या bytes sender बना कसी भेजग
े ा और acknowledge होने के लए wait करे गा। forward करता है इसके बाद उस segment का या
भी message को acknowledge करने के लए set
acknowledgment के भेज सकता है । जब receiver ऐसे ह फर दस
ू रा host FIN message send करे गा होता है इससे UDP को कोई मतलब नह ं होता है । UDP
कया जाता है ।
segments receive करता है तो आ खर segment और acknowledge होने के लए wait करे गा। जब दोन म three way handshake, flow control,
3. PSH (Push) - ये flag segment को
म +1 करके acknowledgment भेजता है िजसका host एक दस
ू रे के FIN message को acknowledge sequencing और data का acknowledgment भी
forcefully send करता ह चाहे window full हुई हो या
मतलब होता है क पछले सभी segments receive कर दे ते है तो connection terminate हो जाता है। नह ं होता है।
नह ं।
कर लए गए है । अब आप आगे के segments भेज 4. RST (Reset) - ये flag connection को
A TCP Header UDP के connection less होने से मतलब है क जब
सकते है। forcefully terminate कर दे ता है।
Data को transfer करने के दौरान data के साथ TCP data का transfer होता है तो sender और receiver
header attach क जाती है । इस header म कई 5. SYN (Synchronize) - ये flag के बीच म कोई connection establish नह ं कया
कार क information होती है जो आपके segment connection establish करने के काम आता है। जाता है ।
TCP के comparison म दे खा जाये तो UDP एक बहुत TCP vs UDP 4. Simple Network Management  जैसे जैसे network बढ़ता जाता है Cisco
ह fast service है य क इसम extra काम जैसे क हालाँ क TCP और UDP को differentiate करना इतना Protocol messages send करने के लए UDP का
IOS म need के according capabilities आती जाती
acknowledgment, sequencing आ द कुछ भी नह ं मिु कल नह ं है ले कन फर भी नचे इनका इ तेमाल करता है।
है । य द आपका network बड़ा होता जा रहा है तो आप
होता है। जँहा पर आपको reliability क जगह speed comparison दया जा रहा है िजससे से आप दोन को 5. Routing Information Protocol
को परे शान होने क ज रत नह ं है।
differentiate कर सकते है। (RIP) routing information भेजने के लए UDP को
क आव यकता हो वँहा पर आप UDP को यूज़ कर सकते  Cisco IOS ये सु नि चत करता है क िजतने
TCP (Transmission Control UDP (User Datagram यज़
ू करता है।
है । भी network resources आपके network म है वो
Protocol) Protocol) Introduction to Cisco IOS (Internetwork
TCP connection oriented UDP एक connection less Operating System) हमेशा आपक पहुंच म हो।
TCP क तरह ह UDP भी checksum के वारा basic protocol होता है । IOS का पूरा नाम Internetwork operating System
protocol होता है ।
error checking provide करता है । एक ह host पर होता है । सभी Cisco devices इस operating system Version Numbers of Cisco IOS
TCP data delivery क UDP data के पहुँचने क कोई Cisco IOS के बहुत से version release हो चुके है।
चलने वाल बहुत सी applications को UDP port के वारा ह operate कये जाते है। Basically ये एक
guarantee दे ता है । guarantee नह ं दे ता है । हर नए version म कुछ नयी functionalities होती है ।
numbers के वारा differentiate करता है। command line interface होता है । इस operating
ले कन ये ज र नह ं है क हर नए version म कोई
system को commands के वारा operate कया
Characteristics of UDP TCP data क receipt के तौर UDP के वारा कोई नयी चीज़ हो कई बार previous version क bugs को
नचे UDP क कुछ characteristics द जा रह जो इसे जाता है। IOS layer 2 और layer 3 के सभी
पर acknowledgment भेजता acknowledgment नह ं भेजा fix करके भी modified versions को launch कया
दस functions को configure करने का mechanism
ू रे protocols से अलग बनाती है । है । जाता है। जाता है । Cisco क कुछ release categories होती है
provide करता है । Cisco के सभी routers और
 UDP एक unreliable service है इसम
TCP एक बहुत ह slow UDP बहुत fast service है । िजनके बारे म आपको जानना आव यक है । इनके बारे म
switches म ये ह operating system यज़
ू कया
data delivery क कोई guarantee नह ं होती है। नचे दया जा रहा है ।
service है ।
जाता है।
 UDP basic error checking provide
TCP data क sequencing UDP के वारा data क  Early deployment (ED) - इस category
करता है । IOS म बहुत से modes होते है । हर mode के लए
करता है । sequencing नह ं क जाती म िजतने भी releases कये जाते है वो सब नए
commands का set provide कया जाता है । इन
 UDP data sequencing perform नह ं
features और नया platform provide करते है साथ
है । commands क मदद से आप उस mode म work कर
करता है ।
य द कोई segment transfer के Drop होने वाले segments को ह उसमे पुरानी bugs भी solved होती है ।
सकते है । हर mode को हर कोई access नह ं कर
 UDP दस
ू रे protocols के comparison म
 Limited Deployment (LD) - इस
दौरान drop हो जाये तो TCP UDP वापस नह ं भेजता है। सकता है । इन modes को privilege levels के वारा
बहुत ह fast है।
उस segment को दोबारा भेज protect कया जाता है । नचे IOS interface का category के िजतने भी releases होते है उनम कोई भी

A UDP Header दे ता है । उदाहरण दया जा रहा है। नयी functionality add नह ं होती है। केवल पुराने
UDP data के साथ एक बहुत ह simple 64 bits क TCP window sliding के UDP म flow control नह ं version क problems का solution provide कया
header attach करता है। इसम सफ 4 fields होते है । वारा flow control provide होता है । जाता है ।
इन fields के बारे म नचे दया जा रहा है। करता है ।  General Deployment (GD) - इस
1. Source port - इस field क size 16 bit TCP data को errors के लए UDP भी data के लए basic category क सभी releases सभी platforms के साथ
होती है। ये Source के port को carry करता है । check करता है । error checking provide करता work करती है । ये सभी Cisco devices के लए
2. Destination port - 16 bits के इस field है । common होती है ।
म destination port number carry कया जाता है ।
Different applications को UDP भी port numbers के Functions of Cisco IOS
 Maintenance Deployment (MD) - इस
3. Length - इस field म header और data Cisco IOS के बहुत से functions होते है इनके बारे म categories क सभी releases additional
identify करने के लए TCP वारा ह दूसर applications
क length stored होती है । नचे दया जा रहा है । maintenance support provide करती है ।
port numbers यज़
ू करता है। को identify करता है ।
4. Checksum - ये field basic error
 Cisco IOS क मदद से आप different IOS Version Numbers Pattern
checking के लए यूज़ कया जाता है । Applications of UDP protocols को handle कर सकते है। Cisco IOS हर release category म बहुत से versions release
Source port (16 bit) Destination port (16 bit) 1. UDP को Domain Name Server के वारा आपको सभी protocols के functions को simple कये जा चुके है । Cisco हर नए version को
simple request response process के लए यूज़ commands के वारा compute करने क ability interesting way म represent करता है। आइये इसे
कया जाता है । provide करता है ।
Length (16 bit) Checksum (16 bit) समझने का यास करते है।
2. Bootstrap Protocol और Dynamic host  य द 2 devices Cisco IOS के वारा
control protocol भी UDP को short messages operate कर रहे है तो उनके बीच म data transfer
Data send और receive करने के लए यूज़ करते है। speed बहुत high होती ह।
3. Trivial file transfer protocol UDP को  Cisco IOS network को security
बड़ी बड़ी files को send करने के लए यूज़ करता है । provide करता है । ये unauthorized network use
का पता लगाकर उसे eliminate करता है ।
ऊपर दया गया उदाहरण IOS 12.4 क तीसर release use कर सकते है। ये command flash memory म CDP हर 60 second म एक message भेजता है । इसे
Telnet
को represent कर रहा है। T एक train identifier है । stored files को भी show करती है । CDP message कहा जाता है। CDP message को
Cisco IOS के वारा आप कसी एक device से दस
ू रे
Trains IOS version के market को define करते है । forward नह ं कया जा सकता है । इस लए ये message
#Router show flash device को telnet के मा यम से access कर सकते है।
इसे एक single letter से define कया जाता है । इनके सफ directly connected devices को ह भेजा जाता
Telnet technology आपको एक device से कसी दस
ू रे
बारे म नचे दया जा रहा है। Flash memory से कसी भी IOS file का आप है ।
device को remotely access और configure करने
 T - यँहा पर T का मतलब technology से backup ले सकते है। आगे इसी process के बारे म कसी भी CDP message म नीचे द गई information
क capability provide करती है । कई बार device
है । इस तरह के version हमेशा नयी technology के बताया गया है । होती है ।
network administrator से दूर होता है। इस लए
साथ updated रहते है।  Host का नाम ।
administrator खद
Backing Up IOS ु वँहा जाने के बजाए उस device को
 E - E का मतलब enterprise से है ।  उस interface का नाम िजससे device दस
ू रे remotely access करके configure कर सकता है ।
IOS का backup लेने के लए एक TFTP server क
Enterprise level devices के लए जो features device से connected है ।
ज रत पड़ती है । Router और TFTP server के बीच म
release कये जाते है उ ह इस train से define कया  Hold time - कतनी दे र तक information कसी device को telnet के वारा access करने के
IP connection होना चा हए। Router क flash
जाता है। CDP table म रहे गी। लए आप telnet command execute करते है । इस
memory से TFTP server पर backup लेने के लए
 S - Service provider के वारा Internet  कस तरह का device है जैसे क router, command के बाद host का नाम दे ते है । नाम क
आप copy flash tftp command execute करते है ।
service provider से related features के release switch आ द। जगह आप चाहे तो िजस device को आप access करना
को define कया जाता है। #Router copy flash tftp  remote device का model या है । चाहते है उसका IP address भी दे सकते है । इसका
 जब कोई भी train identifier ना तो ऐसी  IOS का version number। उदाहरण नीचे दया जा रहा है।
जब आप इस command को execute करते है तो
situation म उस release को machine release CDP timers और related information के बारे म
आपसे command line interface के वारा Router# telnet router2
माना जाता है। जानने के लए आप नीचे द गई command execute
information माँगी जाती है। इस information क
करवाते है। जब आप telnet command को execute करते है तो
Cisco device पर console के वारा IOS version list नीचे द जा रह है।
आप उस device म enter हो जाते है। अब आप उस
दे खने के लए आप show version command का  TFTP server का address Router# show cdp
device को configure कर सकते है। य द आप इस
इ तेमाल कर सकते है। Cisco IOS routers और  Flash memory म stored उस file का
य द आप कसी device के neighbors के बारे म device से exit होकर पुराने device पर लौटना चाहते है
switches म एक flash drive क bin file म stored नाम िजसे आप copy करना चाहते है ।
information चाहते है तो इसके लए आप नीचे द गई तो इसके लए आप exit command execute करवाते
रहता है । इस bin file म IOS का version कुछ  और destination म आप file को कस नाम
है । इसका उदाहरण नचे दया गया है ।
command execute कर सकते है।
different तर के से define कया जाता है । इसके बारे म से store करना चाहते है।
नचे दया जा रहा है। जैसे ह आप ऊपर बताई गई information provide Router# show cdp neighbors Router# exit
करते है आपक file flash memory से TFTP server
c2600-ik9s-mz. 121-3.T.bin नचे द गई command से आप traffic से related आप एक साथ कई telnet sessions establish कर
पर copy हो जाती है ।
information ा त कर सकते है । सकते है। य द आप सभी telnet sessions को दे खना
c2600 - Cisco Hardware Name
Restoring Cisco IOS चाहते है तो इसके लए show sessions command
ik9s - Feature set (according to Cisco router को restore करना बलकुल आसान है । Router# show cdp traffic execute करवाते है ।
version) Cisco IOS file को restore करने के लए आप copy
Port और interface क information पाने के लए Router# show sessions
m - Memory location in Cisco device tftp flash command execute करते है । जैसे ह आप
आप नचे द गई command execute कर सकते है।
इस command को execute करते है IOS file TFTP Telnet के बारे म और अ धक जानकार आप Telnet in
z - Compression format of file
server से flash memory म load हो जाती है । Hindi tutorial से ा त कर सकते है।
Router# show cdp interface
121 - Maintenance release number
#Router copy tftf flash
कसी भी interface पर आप CDP को इस कार Configuration Register
3 - Individual release number Configuration register एक hexadecimal value
CDP (Cisco Discovery Protocol) disable कर सकते है।
T - Train identifie CDP एक Cisco proprietary protocol है िजसे होती है । ये value router क booting process को
Router# no cdp enable control करती है । आसान श द म कहे तो ये value
Cisco devices के लए design कया गया है। इस
Backing up & Restoring Cisco IOS represent करती है क router कैसे boot होगा। इस
protocol क मदद से Cisco devices दूसरे Cisco य द आप CDP को सभी devices पर disable करना
Cisco IOS flash memory म stored होता है । य द
devices के बारे म information collect करते है । value से booting process से related कई
flash memory म जगह हो तो एक से अ धक IOS चाहते है तो इसके लए नचे द गई command
CDP सभी Cisco devices म by default enabled elements define होते है । इनके बारे म नचे दया जा
files भी flash memory म store क जा सकती है । execute कर सकते ह।
रहता है । रहा है ।
य द आप flash memory म available space दे खना
Router# no cdp run  Baud rate
चाहते है तो इसके लए आप show flash command
 Boot message एक website कसी server पर stored रहती है । name space नह ं होता है इस लए इसे internet के क तरह root क तरफ नह ं बढ़ती है। इसका उदाहरण
 Break Sever पर website को IP address वारा uniquely लए use नह ं कया जा सकता है । य क इससे नचे दया जा रहा है ।
 Flash identify कया जाता है । हर website का एक IP duplicate domain names create होने क MyCompany
 NV-RAM address होता है ले कन आप इसे दे ख नह ं पाते है । एक problem हो जाती है ।
DNS (Domain Name System) Servers
0x2102 default configuration value होती है । य द
IP address numerical numbers से मलकर बना DNS (Domain Name System) 3 कार के
आप अपने router का configuration register दे खना Hierarchical Name Space
होता है जो network और host के बारे म जानकार servers से मलकर बना हुआ है ।
चाहते है तो इसके लए आप show version जो आज आप domain names use करते है वे इसी
दे ता है । लोग एक दन म बहुत सी websites पर जाते 1. Root Server
command execute करवा सकते है। तरह के name space से allot क जाती है । इस तरह
है । ऐसे म कसी के लए भी इतनी सार websites के 2. Primary Server
के name space म domain names कई parts से 3. Secondary Server
IP address याद रखना possible नह ं है ।
Router# show version मलकर बनी होती है। जैसे क एक part बताता है क ये ये तीन servers domain name space क अलग
domain name कस तरह क organization से अलग hierarchy levels पर काम करते है । Domain
जब आप इस command को execute करवाते है तो Internet पूर तरह IP addressing के वारा work
स बं धत है , ऐसे ह दस
ू रा part organization का नाम name space hierarchy के संदभ म इनका diagram
आपको configuration register क value शो हो करता है । ले कन य क names को IP addresses के
या उससे स बं धत जानकार बता सकता है । उदाहरण के नचे दया जा रहा है ।
जाती है। comparison म आसानी से याद रखा जा सकता है ,
लए www.MyCompany.com domain name म इन सभी servers के बारे म नचे detail से बताया जा
इस लए एक ऐसे system को use कया जाता है जो
नचे कुछ common configuration registers के बारे com बताता है क ये commercial है और रहा है ।
कसी website के IP address को एक domain
म दया जा रहा है। name के वारा identify कर सके। MyCompany कसी company के बारे जानकार दे रहा
Root Server
Register Explanation है ।
एक root server वह server होता है िजसके zone म
0x2101 ये configuration register 9600 baud rate DNS (Domain name system) एक internet
complete domain name space hierarchy होती
service होती है जो आपके वारा दए गए नाम को IP Hierarchical name space का implementation
represent करता है । साथ ह booting के दौरान है । ये server एक master zone file रखता है , िजसम
address के प म resolve करता है । जब भी आप domain name space होता है। Domain name
IOS ROM म से load होता है। Flash memory दस
ू र सभी zones के बारे म information होती है । एक
browser म कोई domain name type करते है तो space को tree क form म represent कया जाता
readable और writable होती है । root server domains के बारे म कोई information
DNS (Domain Name System) उसके साथ है, िजसम एक root server होता है । बाक दस
ू रे
0x2102 इसम भी baud rate 9600 होती है । इसम IOS नह ं रखता है। ये server start of authority
associated IP address को resolve करता है । इसके servers भी इस hierarchy म होते है । जब कोई
flash memory से load होता है । इसम flash maintain करता है और दस
ू रे servers के लए
बाद resolver, TLD और दूसरे servers क मदद से server कसी name को resolve नह ं कर पाता है तो
memory read only होती है । starting authority के प म काम करता है। सबसे
website को ढूंढा जाता है और user को show कया वह tree म दस
ू रे server को request pass कर दे ता
0x2142 Baud rate 9600 होती है । Flash memory read पहले request इस server के pass आती है िजसे बाद
जाता है । है ।
only होती है और इसम आप IOS file को म दस
ू रे servers को pass कर दया जाता है ।
bypass भी कर सकते है ।
DNS (Domain Name System) एक name Primary Server
यान रख क 0x2102 सभी Cisco routers म
resolution system होता है । Microsoft के वारा खुद एक primary server अपने zone से related file
default configuration register होता है । य द आप
के network म names को resolve करने के लए maintain करता है । Primary servers को top level
IOS को upgrade करना चाहते ह तो आपको WINS (Windows Internet Name Service) name domain servers भी कहा जाता है । Primary servers
configuration register क value 0x2101 resolution system use कया जाता था। ले कन अब
कई होते है जैसे क com, gov, in, edu आ द। ये सभी
भी change करनी होगी ता क flash memory इसे use नह ं कया जाता है। DNS सबसे popular Domain name space म 2 तरह क domain different servers के प म maintain कये जाते
writable बन जाये। name resolution system है , य क ये बहुत ह fast name होती है। इनके बारे म नचे दया जा रहा है । है । Primary servers के 3 task होते है।
IOS से configuration register क value change और reliable है । 1. Create Zone File
करने के लए आप config-register command Fully Qualified Domain Names 2. Maintain Zone File
execute कर सकते है । इस command के आगे आप Domain Name Space एक fully qualified domain name वह होता है जो 3. Update Zone File
एक name space हर IP address को एक unique dots (.) के वारा separated रहता है । हर dot
जो register यज़
ू करना चाहते है उसे define कर दे ते Secondary Server
नाम के साथ map करता है । जब भी कसी website को operator एक different hierarchy level को
है । इस command को आप global configuration Secondary server कसी दस
ू रे server क zone के
या server को name assign कया जाता है तो वह represent करता है । इस तरह क domain name का
mode म execute करते है । ले कन यान रहे क बारे म information transfer करते है । Secondary
name space से ह select कया जाता है। एक name उदाहरण नचे दया जा रहा है ।
changes तभी आते है जब आप router को reboot servers को authoritative servers भी कहा जाता है ।
space को 2 कार से organize कया जा सकता है । www.MyComapny.com
करते है। ये information कसी secondary या primary
इनके बारे म नचे दया जा रहा है।
Partially Qualified Domain Name server को transfer क जाती है। एक secondary
Router(config)# config-register 0x2101
Flat Name Space एक partially qualified domain name म dots नह ं server zone files create और update नह ं कर
Introduction to DNS (Domain Name
System) इस तरह के name space म एक name होता है िजसे होते है । इस तरह क domains म सफ एक node का सकता है । ये सफ domain से related authority के
IP के साथ map कया जाता है । ये centralized नाम होता है और ये fully qualified domain names बारे म जानकार provide करता है ।
है । अभी तक क process म com server को locate DNS को local hosts file के प म configure करने को LAN A से remove करके LAN B से connect
Working of DNS (Domain Name System)
कया जा चूका है , अब actual name server को क कई disadvantages है जो नचे द जा रह है । करना पड़ेगा। कुछ समय बाद 3 marketing
DNS (Domain Name System) क working
locate कया जाएगा। जब भी कोई domain register 1. DNS को हर device पर statically employees को programmers क building म
process को नचे step by step समझाया जा रहा है ।
क जाती है तो domain registrar उस domain configure करना होता है, इस लए ये अ धक time shift करने के आव यकता पड़ती है। अब आपको 3
1. सबसे पहले user कसी website का URL
name को store कर लेता है और top level domain consuming process होती है । hosts को physically remove करके LAN A से
web browser के address bar म लखता है और
servers के साथ इस information को share करता 2. य द कोई change करना हो तो हर device connect करना पड़ेगा।
enter press करता है । उदाहरण के लए user
है । इस लए top level domain server को पता रहता पर ये change manually करना होगा।
www.besthinditutorials.com को खोलना चाहता अब ऐसी situation क क पना क िजये य द हर कुछ
है क actual name server कँहा है।
है । As Centralized DNS Server दन बाद एक LAN के employees क दस
9. Authoritative name server request क ू र LAN म
2. Browser सबसे पहले अपने cache को DNS को local hosts files के प म configure करने आव यकता पड़ती रहती है । ऐसे म हर बार hosts को
गयी domain name का IP address provide करता
check करता है क या उसके पास इस domain क बजाय एक server के प म configure करना एक LAN से remove करके दस
है । Resolver इस IP address को अपने cache म ू र LAN से connect
name का IP address पहले से मौजद
ू है । जब भी आप अ धक बेहतर होता है । सभी devices name करने म network administrator को बहुत अ धक
store कर लेता है । साथ ह OS भी इस IP address को
कसी website को visit करते है तो उसका IP resolution के लए इस central server को request समय और मेहनत लगेगी।
further request को serve करने के लए अपने
address browser अपने chache म कुछ दन के भेजते है । DNS को centralized server के प म
cache म store कर लेता है।
लए store कर लेता है । ऐसा इस लए कया जाता है क store करने क advantage ये है क कोई भी change ऐसी situation म एक ऐसे mechanism क
10. आ खर म resolver IP address के base
ता क same process को बार बार ना दोहराया जाए एक ह जगह पर perform करना होता है । आव यकता है िजससे बना कसी host को physically
पर website को browser म load करता
और server पर load भी ना पड़े। remove कये ह दस
ू र LAN से connect कया जा
है । य द कसी DNS server के pass required
3. य द browser को cache म ह IP सके। ता क network administrator का समय बच
DNS क working process को नचे एक diagram के information नह ं होती है तो request DNS
address मल जाता है तो user को उस IP address सके और वह दस
ू रे important काम कर सके।
वारा समझाया जा रहा है । hierarchy म उससे ऊपर के server को भेज द जाती
से connect कर दया जाता है और website load हो
जाती है। है । VLAN एक ऐसी ह technology है िजसके मा यम से

4. य द browser को IP address अपने आप एक LAN के hosts को दस


ू र LAN से बना
Introduction to Virtual LANs
cache म नह ं मलता है तो browser ये request OS hosts को move कये connect कर सकते है। VLAN
मान ल िजये आपक company क 2 buildings है। इन
(Operating System) को transfer करता है । के मा यम से connect कये गए hosts ऐसे काम करते
दोन buildings म आपने 2 LANs (Local Area
Operating system इस request को resolver को है जैसे क वे physically उस LAN से connected हो।
Network) A और B configure कये हुए है । LAN A म
transfer करता है । ले कन जैसा क आपको पता है ये connection
10 hosts (devices/computers) है, िजनके मा यम
5. Resolver इस domain name के IP physical होने क बजाय logical होता है ।
से 10 employees काम करते है । इसी कार LAN B म
address के लए खुद के cache को check करता है । 7 hosts है, िजनके मा यम से 7 employees काम Advantages of VLAN (Virtual LAN)
य द IP address मल जाता है तो resolver इसे OS Configuring DNS (Domain Name System) करते है । LAN A के employees programmers है VLAN को use करने क बहुत से advantages है,
को और OS web browser को transfer कर दे ता है । Domain name system को 2 कार से configure और LAN B के employees company क इनके बारे म नचे दया जा रहा है।
6. य द resolver को IP address नह ं मलता कया जा सकता है। marketing करते है । 1. Reduced Cost - दो LANs एक दूसरे से
है तो वह इस request को root server तक 1. As local hosts files काफ़ दरू हो सकती है। ऐसे म hosts को एक LAN से
2. As centralized DNS server Programmers क building म एक marketing
पहुँचाता है। एक resolver आपका ISP (Internet remove करके दस
ू र से connect करने म जो cost
इन दोन तर क के बारे म नचे detail से दया जा रहा
Service Provider) होता है । सभी resolvers को root employee क आव यकता है ता क वो programmers लगती है वो VLAN को use करने से eliminate हो
है ।
server के बारे म जानकार होती है । के साथ मलकर काम कर सके। ऐसी situation जाती है ।
7. Root server इस request को top level As Local Hosts Files म network administrator के प म आप LAN A म 2. Reduced Time - एक LAN से hosts को
domain server को pass कर दे ता है । Top level जब आप domain name system को local files के से एक host (computer/device) को physically remove करके दूसर LAN से connect करने म
domain server को com, gov, edu, org, in आ द प म configure करते है तो आपको हर translation remove करके programmers वाल building म LAN काफ़ time भी waste होता है। जब आप VLAN का
servers के बारे म जानकार होती है । इस लए वह इस (from domain name to IP address) को हर B से connect कर दगे। अब marketing का उपयोग करते है तो आपको hosts को physically
request को appropriate top level domain device पर statically configure करना पड़ता है । employee programmers के साथ मलकर काम कर move करने क आव यकता नह ं होती है इससे time क
server को pass कर दे ता है । उदाहरण के लए Best Windows operating system म ये file सकता है । बचत होती है ।
Hindi Tutorials के case म ये request com c:\windows\system32\drivers\etc\hosts
3. Create Work Groups - VLAN के मा यम
directory म ि थत रहती है । Linux operating कुछ समय बाद marketing employee क
server को pass क जायेगी। से आप company के अलग अलग departments म
system म ये file etc/hosts directory म ि थत marketing building (LAN B) म आव यकता पड़ती
8. Top level domain server इस request काम कर रहे employees का एक group बना सकते
रहती है । है । अब आपको वापस एक host (device/computer)
को authoritative name server को pass कर दे ता
है, िजससे क वे बना खुद move हुए ह कसी project  Reliability - Connection reliable होता SSL Alert Protocol जाता है ।
पर काम कर सकते है । SSL alert protocol sessions म आने वाल आइये इस process को कुछ steps से समझने का
है य क हर message क completeness
Broadcast Control - VLAN के मा यम से problems (errors) को alert messages के वारा यास करते है।
4. authentication code के वारा check क जाती है।
अनुपयोगी broadcast traffic eliminate हो जाता है । represent करता है । एक alert message म 1. सबसे पहले handshake protocol के वारा
Messages केवल उ ह ं hosts को भेजे जाते है जो
Components of SSL error क गं भीरता और उसके बारे म short client और server एक दस
ू रे को authenticate करते
SSL के 4 primary component (protocols) होते है । description दया जाता है। जब भी कोई fatal error
VLAN म है । LAN के बाक hosts को VLAN है ।
SSL को इन 4 protocols म divide कया गया ह। message मलता है तो server और client दोन ह
broadcast messages नह ं भेजे जाते है िजससे 2. इसके बाद change cipher spec protocol
 SSL handshake protocol connection को close कर दे ते है। जब connection
unnecessary traffic generate नह ं होता है। के वारा encryption method set कया जाता है ।
5. Secure - VLAN technology extra
 SSL record protocol को close कया जाता है तो इसी protocol के मा यम 3. इसके बाद SSL record protocol के वारा
security provide करती है । कसी एक VLAN group
 SSL alert protocol
से client और server एक दस
ू रे को notify करते है । SSL को packets म break कया जाता है , compress
म भेजे गए broadcast messages उसी group के
 SSL change cipher spec protocol
इसके लए close_notify message भेजा जाता है। ये
इन सभी protocols के बारे म detail से नचे दया जा कया जाता है और SSL header attach कया जाता
hosts को भेजे जाते है, दूसरे groups से ये data protocols warnings भी present करता है । है । फर ये packets TCP को भेज दए जाते है ।
रहा है ।
secure रहता है। 4. य द इस process के दौरान कोई error
SSL Change Cipher Spec Protocol
6. Flexibility - VLAN आपको कँह से भी SSL Handshake Protocol आती है तो alert protocols इन errors को present
Change cipher spec protocol client और server
कसी group से जुड़ने क capability provide करती SSL hand shake protocol के वारा client और
के वारा यूज़ कये जाने वाले encryption method को करता है ।
है, इसके लए आपको physically move करने क server के बीच म secure channel establish कया
change करने के लए यूज़ कया जाता है । Change 5. साथ ह alert protocol के वारा
आव यकता नह ं होती है । जाता है। ये protocol keys और algorithms क
cipher protocol एक single message होता है जो ये connection terminate करने के लए message भी
Introduction to SSL (Secured Socket information SSL record protocol को provide
बताता है क sender symmetric key encryption भेजा जाता है ।
Layer)
करता है । इस protocol के वारा clients और
SSL एक network protocol होता है जो client और को change करना चाहता है । ये एक message होता है
servers 3 primary tasks perform करते है । Introduction to ARP (Address Resolution
server के बीच authentication और िजसमे 1 byte value 1 set होती है। इस protocol के Protocol)
 Clients और servers cryptographic
communication को manage करता है । SSL के 3 advantage ये है क दोबारा connection establish ARP एक network layer protocol है। TCP/IP
algorithm determine करते है। ये वो algorithm
primary task है । कये बना ह आप encryption method को change protocol suit म ये एक बहुत ह important
होती है िजससे data encrypt कया जायेगा। जब
 Client authentication कर सकते है। protocol है। हालाँ क इसे 80 के दशक के शुरआती
client और server दोन कसी एक algorithm को
 Server authentication दन म ह develop कर लया गया था ले कन 1982 म
support करते है तो उसे ह choose कया जाता है । Working of SSL (Secured Socket Layer)
 Communication encryption RFC 826 म define कया गया था। ARP को IPv4,
 Clients और servers एक दस
ू रे को जब भी client server के बीच म connection होता है
SSL एक web server और browser के बीच म X.25, frame relay, ATM जैसी
authenticate करते है । तो ये एक initial handshake process के वारा
secure connection establish करता है। SSL मह वपूण technologies के साथ implement कया
 एक दस
ू रे के साथ keys exchange करते है start होता है । सबसे पहले server अपना digital
Netscape के वारा develop कया गया था। SSL को गया है ।
ता क दस
ू र तरफ data का decryption कया जा सके। certificate client को present करता है । Client इस
RFC 2246 म declare कया गया है । इसे TLS
certificate को public key cryptography के वारा ARP protocol IP address के base पर MAC
(Transport Layer Security) के नाम से भी जाना
SSL Record Protocol authenticate करता है। ये certificate बताता है
जाता है। address को resolve करता है । Application layer
SSL record protocol data का fragmentation,
server एक authorized server है । Server के पर कसी भी device से communicate करने के लए
इस protocol का सबसे important task
compression और encryption करता है । इस
authenticate होने के बाद client भी खद
ु को IP address use कया जाता है । ले कन data link
applications के बीच data क privacy और
property के functions नचे explain कये जा रहे
authenticate करता है। layer (LAN) पर कसी device से communicate
completeness provide करना है । जब भी कोई
है ।
connection SSL के साथ secure कया जाता है तो करने या फर उसे data send करने के लए MAC
 Application layer से ा त data को जब एक बार server authenticate हो जाता है तो
उसक 3 characteristics होती है । ये characteristics address क आव यकता होती है ।
fixed length के packets म break करना। client और server encryption method determine
नचे द जा रह है ।
 Data को compress करना। करते है । जैसा क मैने आपको पहले बताया सफ वह जब कसी local host को कोई data send कया जाता
 Privacy - Connection private होता है
encryption method यूज़ कया जाता है िजसे client
 Message Authentication Code (MAC) है तो networks के बीच ये IP address के मा यम
य क transmit होने वाले data को Symmetric
add करना। और server दोन support करते हो। साथ ह एक से travel करता है। ले कन LAN म उस host तक
Cryptography से encrypt कया जाता है । ये एक
 Break कये गए packets को encrypt common key भी share क जाती है जो data के पहुँचने के लए इसे उस host के MAC address क
algorithm होती है जो data को encrypt करती है।
करना। decryption के लए यूज़ क जाती है । requirnment होती है । इस situation म address
 Authenticity - Communicate करने वाल
 सभी packets के साथ SSL header resolution protocol एक अहम ् भू मका नभाता है ।
applications authentic होती है । य क public-key जब भी आप कसी SSL secure connection म
attach करना।
cryptography से उ ह authenticate कया जाता है । enter करते है तो protocol HTTP से HTTPS बन
Working of ARP (Address Resolution को नयी information (Receiver का MAC address)  Sender Hardware Address - इस field hosts पर passive mode म run होता है। िजस
Protocol)
के साथ update कर लेता है । म message send करने वाले device का MAC router पर RIP active mode म run होता है वह हर
नचे address resolution protocol क working को
कुछ steps के वारा समझाया जा रहा है ।
 अब sender के ARP cache म receiver address होता है। 30 second म एक message भेजता है। इस
का MAC address मौजूद है sender बना कसी  Sender Protocol Address - इस field म message के वारा router अपनी routing table
 जब एक sender कसी receiver से
परे शानी के data send और receiver कर सकता है। message send करने वाले device का IP address directly connected routers के साथ share करता
communicate करना चाहता है तो sender सबसे पहले
होता है । है । हर message म IP addresses होता है जो दूसरे
अपना ARP cache check करता है । Sender check Message Format of ARP (Address
 Target Hardware Address - Request network को represent करता है और एक integer
करता है क या receiver का MAC address पहले से Resolution Protocol)
Address resolution protocol वारा MAC address message म यह field खाल होता है । इस field म value होती है जो क hop counts क form म उस
ARP cache म मौजद
ू है ? य द receiver का MAC
resolve करने के लए message भेजे जाते है। ये receiving device का hardware address होता है। network से दुर बताती है।
address पहले से ARP cache म मौजूद है तो sender
message LAN म सभी devices को broadcast  Target Protocol Address - इस field म
उस MAC address को use करते हुए receiver से जब भी कोई router कसी दस
ू रे router से कोई route
कये जाते है । इस message का format नचे receiving device का IP address होता है ।
communicate करे गा। ा त करता है तो वह तब तक उसे अपनी table म
diagram वारा show कया जा रहा है। Introduction to (RIP) Routing
 य द receiver device का MAC address Information Protocol रखता है जब तक क उसे दस
ू रा better route नह ं
ARP cache म पहले से मौजूद नह ं है तो ऐसी RIP को 1969 म develop कया गया था। ये मल जाये।
situation म sender device वारा एक ARP ARAPNET का एक part था। RIP के एक formal
request message तैयार कया जाता है। इस standard बनने से पहले ह इसे develop और Routing Table Structure
RIP routing table क हर entry से कई तरह क
message म sender का MAC address, sender का accept कर लए गया था। ये एक distance vector
information ा त होती है। जैसे क
IP address और receiver का IP address होता है। protocol है । RIP metric calculate करने के लए
Receiver के MAC address वाले field को खाल छोड़ hop counts यूज़ करता है।
 Destination - इस field म destination
network का IP address defined होता है ।
दया जाता है य क उसे resolve कया जा रहा है।
 Sender device इस ARP request
RIP metric म जो routers directly connected है  Next hop (Metric) - इस field
ARP message format म दए गए सभी fields को उनम एक hop क और जो दस
ू रे कसी एक router के म destination तक पहुँचने के लए next router को
message को LAN म broadcast कर दे ता है ।
नचे detail से समझाया जा रहा है । वारा जुड़े हुए है उनम 2 hop क दरु होती है। इसी define कया जाता है।
 य क ये एक broadcast message है
 Hardware Type - इस field क size 2 कार जैसे जैसे router add होते है hop count बढ़ता  Hop count - ये field destination
इस लए LAN से connected हर device इस
bytes होती है । ये field define करता है क ARP जाता है। Source से destination के बीच के hop router से source क दरु hop counts क form म
message को receive करता है ।
message को transmit करने के लए कस कार का counts path को भी show करते है । RIP म
 सभी devices इस request message के
hardware type use कया गया है । सबसे common Destination Hop count Next hop Other
maximum 15 hop allowed है । य द destination
receiver IP address को वयं के IP address से (Metric) information
hardware type Ethernet है। Ethernet क value 15 hop से भी दूर है तो destination unreachable (Timers)
match करते है। िजन devices का ये IP address
1 होती है । error आती है । 100.2.31.0 5 100.3.1.5
match नह ं होता है वे इस request message को
 Protocol Type - ये field बताता है क 192.168.2.0 2 192.200.3.1
drop कर दे ते है । RIP internet protocol suit क network layer के
ARP message क transmitting के लए कस 172.20.1.0 3 200.1.2.0
 िजस device के IP address से इस
protocol को use कया गया है । यादातर इस field क ऊपर काम करता है । ये data carry करने के लए
request message का receiver IP address UDP port 520 यूज़ करता है । Metric calculate करने represent करता है । इसे metric field भी कहते है ।
value 2048 होती है जो क IPv4 को दशाती है ।
match करता है वह इस message को receive करता के लए RIP bellman ford algorithm यूज़ करता है ।  Timers - ये field timers के लए होता है।
 Hardware Address Length - ये field
है और ARP reply message तैयार करता है । ये एक ये blank भी रह सकता है।
hardware address क length bytes म दशाता है।
unicast message होता है जो सफ sender को भेजा RIP Modes
Ethernet MAC address क size 6 byte होती है । RIP routers को 2 modes म categories करता है । RIP हमेशा destination के लए best route को ह
जाता है।
 Protocol Address Length - ये field IP  Active - इस mode म routers अपनी store करता है इस लए जब भी कोई नयी information
 ARP reply message म sender के IP
address क size bytes म दशाता है । IP address क routing information दस
ू रे routers के साथ share और भी अ छा route present करती है तो table से
address और MAC address को reply message
size 4 bytes होती है। करते है । old route को replace कर दया जाता है।
भेजने के लए use कया जाता है । साथ ह इस
 OP Code - ये field ARP message के  Passive - इस mode म routers दस
ू रे
message म receiver अपना IP address और MAC RIP Timers
type को बताता है । य द इस field क value 1 है तो routers से routing information लेते है ले कन अपनी
address भी भेजता है। Receiver device भी अपने दस
ू रे protocols क तरह RIP भी खद
ु क
यह request message है और य द इस field क routing information कसी भी router के साथ
ARP cache को future use के लए sender के MAC performance को adjust करने के लए कुछ timers
value 2 है तो यह reply message है। share नह ं करते है।
address से update करता है । यूज़ करता है। RIP 3 तरह के timers यूज़ करता है।
RIP by default active mode म run होता है । केवल
 जैसे ह sender device ARP reply  Routing update timer
routers पर ह RIP active mode म run होता है और
message receive करता है तो वह अपने ARP cache  Route timeout timer
 Route flush timer  Command - ये field बताता है क 7. कई बार routing loops create होने क Introduction to EIGRP (Enhanced Interior
Gateway Routing Protocol)
Routing update timer periodically भेजे जाने वाल message एक request message है या response वजह से network काम करना बंद कर सकता है ।
EIGRP एक Cisco proprietary protocol है , या न ये
routing updates का timer होता है । जैसा क आपको message है । य द इसक value 1 है तो message Introduction to IGRP (Interior Gateway
Routing Protocol) सफ Cisco routers पर ह काम करता है । इसे
पता है RIP हर 30 second म अपनी routing table request message है और य द 2 है तो message
IGRP एक Cisco proprietary protocol है । इसका Hybrid routing protocol भी कहा जाता है। ये
दस
ू रे routers के साथ share करता है । आप चाहे तो response है।
मतलब ये हुआ क ये सफ Cisco routers के साथ ह protocol distance vector और link state routing
इस time को कम या अ धक कर सकते ह। ले कन  Version - ये field बताता है क RIP का
available है । जब कसी एक network म सभी protocols के features को combine करके बनाया
generally ये 30 seconds ह होता है । कौनसा version यूज़ कया गया है ।
routers Cisco के हो तो IGRP को implement कया गया है । EIGRP क कुछ characteristics नचे द जा
 Zero - इस field क default value zero जा सकता है। रह है ।
Route timeout timer को route invalid timer भी
होती है। इस field को सफ RIP के different
कहा जाता है। ये determine करता है क य द कसी  EIGRP एक classless protocol है । ये
versions के साथ compatibility provide करने के IGRP एक Distance Vector Routing Protocol है।
route के बारे म नयी information नह ं ा त हो रह VLSM को support करता है।
लए add कया गया है । शु आत म originally ऐसा ये source से destination के बीच क distance को
है तो कब तक उसे valid माना जाना चा हए। हर  Metric calculate करने के लए by
कोई field नह ं था। metric calculate करने के लए यूज़ करता है । ले कन
routing table entry के साथ route timeout timer default bandwidth और delay क composite key
 Address family identifier - ये field सफ RIP क तरह distance ह metric calculate
attached रहता ह। जब route timeout timer use क जाती है। साथ ह ये दस
ू रे parameters को भी
identify करता है क कस family का address use करने के लए नह ं यूज़ क जाती है। IGRP के case म
expire होता है तो route को invalid मान लया जाता support करता है िजनसे metric calculate क जा
कया जाता है । जब इस field क value 2 होती है तो ये distance, bandwidth और delay क एक
है और सभी routers को इसके बारे म update भजे द सकती है । जैसे क Reliability, Load और MTU
IP protocol को represent करता है । composite key के वारा metric calculate क जाती
जाती है। Route timeout timer क default value आ द।
 IP address - इस field म destination है । Metric calculate करने के लए Bellman Ford
90 seconds होती है।  Metric calculate करने के लए DUAL
IP address define कया जाता है । algorithm यज़
ू क जाती है।
(Diffusing Update Algorithm) यज़
ू क जाती है । ये
Route flush timer determine करता है क एक  Metric - ये field destination network algorithm network म loop free environment भी
IGRP हर 90 seconds म routing updates भेजता
invalid route को कतनी दे र म routing table से हटा तक hop counts को represent करता है । create करती है ।
है । इस update म router क परू routing table
दे ना चा हए। इसक default value 270 seconds होती
Limitations of RIP दूसरे IGRP neighbors के साथ share क जाती है ।  EIGRP packets या तो unicast क तरह
है । जब ये timer expire होता है तो route को table
1. RIP म hop counts सफ 15 routers तक IGRP एक classful routing protocol है। इस लए भेजे जाते है , या फर address 224.0.0.10 पर
से remove कर दया जाता है ।
ह limited होती है। य द 15 routers को cross करने routing table म सभी networks classful multicast के प म भेजे जाते है ।

RIP Message Format के बाद भी packet destination पर नह ं पहुँच पाता है boundaries म represent कये जाते है।  EIGRP उस Autonomous system म ह
RIP messages को 2 categories म divide कया तो उसे discard कर दया जाता है । neighbor relationship build करता है िजसमे वह
गया है । 2. RIP variable length subnet mask को IGRP by default 100 hops तक packet delivery खद
ु है।
 Routing information message support नह ं करता है । इसका मतलब जो network support करता है । ले कन इस value को आप adjust  Packets क delivery सु नि चत करने के
 Information request message class-full boundaries म होता है उसे ह routing करके 255 तक बड़ा सकते है । लए Reliable Transport Protocol (RTP) यज़
ू कया
इन दोन ह messages का format same होता है । table म जगह मलती है । जाता है ।
Characteristics of IGRP (Interior
इसम 32 bits क RIP header होती है । Header के 3. Routing update messages क वजह से Gateway Routing Protocol)  EIGRP routers periodic routing
बाद message म IP address और metric का pair large networks पर convergence बहुत slow होता नचे IGRP protocol क कुछ characteristics द जा updates नह ं भेजते है । केवल जब network म कोई
होता है। RIP header म बहुत से fields होते है । आइये है । एक router से update दूसरे router तक जाती है रह है । change आता है तब ह update भेजी जाती है और इस
इनके बारे म जानने का यास करते है । और अंत म सभी routers के pass same routing  IGRP म metric calculate करने के लए update म परू routing table नह ं भेजी जाती है , सफ
table होती ह इसे convergence कहते है। ले कन composite key use क जाती है । जो change हुआ है उसी क update भेजी जाती है ।
large networks म यह process बहुत अ धक समय  Routing updates 90 seconds म भेजी  EIGRP कई तरह के दस
ू रे protocols को
ले लेती है। जाती है। support करता है । जैसे क IP, IPX और Apple Talk
4. RIP के वारा कसी भी router क  IGRP VLSM (Variable Length Subnet आ द।
bandwidth के बारे म कोई भी information नह ं ा त Mast) को support नह ं करता है।  जो route local autonomous system से
क जा सकती है।  Maximum hop counts 255 तक हो generate हो रहे है उनके लए 90 administrative
5. RIP एक destination के लए multiple सकते है । distance यज़
ू क जाती है ।
routes storage को support नह ं करता है ।  ये एक classful routing protocol होता  जो routes local autonomous system
6. Routing updates के लए specific है । के बाहर से आ रहे है उनके लए 170 administrative
bandwidth क ज रत हो सकती है । distance यज़
ू क जाती है ।
 EIGRP म maximum hop count 224 Topology Table  Query packets - जब कोई route fail है । ऐसा करने के लए OSPF Link State
इस table म Autonomous system के सभी routes Advertisements (LSA) को use करता है । LSA एक
होते है और default maximum hop count 100 होते होता है और उसका कोई backup route नह ं होता है तो
क list होती है । या न क वो सभी paths जो packet होता है जो क link status को carry करता
है । query packets भेजे जाते है। Router failed route
EIGRP Tables autonomous system म neighbors ने learn कये है । LSA packets के भी कई type होते है , िजनके बारे
को active state म डाल दे ता है और इसके neighbors
EIGRP routers 3 separate tables maintain है । ये table सभी EIGRP routers पर same होती है । म आप आगे पड़गे। OSPF adjacent routers के link
से alternative route के लए query क जाती है ।
करते है । इनके बारे म नचे दया जा रहा है । इस table के कुछ fields के बारे म नचे दया जा रहा
 Reply packets - ये packets query status को collect करके एक network topology
है । build करता है ।
Neighbour Table packets के response म भेजे जाते है । ये packets
इस table म सभी neighbor routers क list होती है ।  P - इसका मतलब passive होता है । इसका
unicast के प म भेजे जाते है । Respond करने वाला 4. जब भी link म कोई change आता है तो
ये सभी neighbors एक ह autonomous system से मतलब होता है क router route को लगातार नह ं खोज OSPF LSA send करता है । इस LSA म केवल उसी
router alternative route provide करता है ।
होने चा हए। जब भी कोई नया neighbor detect कया रहा है । इसका मलतब ये होता है क ये अ छ link से related update होती है । Complete update
 Acknowledgment packets - ये
जाता ह तो उसक entry इसी table म क जाती है। situation म है । य द passive क जगह active होता हर 30 second म LSA के वारा भेजी जाती है ।
packets hello packets ह होते है। इनमे कोई data
Packets क reliable और sequence delivery के है तो उसका मतलब होता है क network म गड़बड़ 5. OSPF सभी packets को multicast
नह ं होता है सफ acknowledgment number होते
लए ये tables यज़
ू क जाती है। Neighbor routers है । address 224.0.0.5 पर भेजता है । ये address सभी
है । ये delivery verification response packets होते
क information hello packets के वारा मलती है ।  FD - ये field feasible distance होता है ।
है । OSPF routers का common address होता है । यँहा
नचे neighbor table के कुछ fields दए जा रहे है । ये destination तक पहुँचने के लए metric होती है । ये Introduction to OSPF (Open Shortest भेजा जाने वाला packet सभी OSPF routers receive
 H Handle - ये वो order होता है िजसमे current router से destination तक क full Path First) करते है ।
distance होती है। OSPF (Open Shortest Path First) एक standard
neighbor table build हुई है । पहले router के लए 6. Shortest path determine करने के लए
link state routing protocol है । इसका मतलब ये
इस field क value 0 होती है और दस ू रे router के OSPF protocol Dijkstra algorithm use करता है ।
Routing Table हुआ क आप अपने network म कसी भी vendor का
लए 1 होती है । इसी कार आगे आने वाले routers के इसम हर destination network के लए एक best 7. OSPF एक classless (Subnet कये हुए
router यज़
ू कर सकते है । ये protocol सभी vendors
साथ साथ ये numbers बढ़ते जाते है। route store कया जाता है । इस table के कुछ fields networks के साथ काम कर सकता है ।) routing
के routers के साथ काम कर सकता है । इस लए आपको
 Address - इस field म neighbour नचे explain कये जा रहे है । protocol है और इस लए ये VLSM (Variable Length
ज र नह ं क आपके network म सभी routers Cisco
router का IP address होता है । Subnet Mask) को support करता है ।
 D - इसका मतलब होता है क ये route के हो।
 Interface - इस field म उस interface को EIGRP के वारा पाया गया है । Characteristics of OSPF
बताया जाता है िजससे के वारा neighbor connected  via IP - िजस neighbor ने route को उदाहरण के लए EIGRP protocol एक Cisco नीचे OSPF क कुछ characteristics द जा रह है ।
है । advertise कया ये उसका IP address होता है । proprietary protocol है , जो क सफ Cisco  OSPF केवल IP routing को support
 Hold Time - ये timer बताता है क य द devices के साथ ह काम करता है । ले कन OSPF करता है । इसका मतलब ये हुआ क ये protocol सफ
कसी neighbor से hello packet receive नह ं कया EIGRP Packets
एक common standard है जो सभी vendors follow एक source से destination तक जाने के लए best
जैसा क आप जानते है EIGRP protocol 3 तरह क
गया है तो उसे कब तक table म store करना है । By करते है । इस लए network म आप Cisco के अलावा path find करता है। Data को source से
tables maintain करता है। इन tables को build करने
default इसक value 15 होती है । दूसरे vendors के routers भी यूज़ कर सकते है । destination तक ले जाने का काम OSPF का नह ं होता
के लए EIGRP routers packets के वारा updates
 Up time - ये field show करता है क है । इसके लए दस
ू रे protocols use कये जाते है जैसे
receive और send करते है । EIGRP म 5 तरह के OSPF के बारे म कुछ technical facts नीचे दए जा
neighbor कब से alive ह। क TCP और UDP आ द।
packets पाये जाते है । इनके बारे म नचे explain रहे है आइये इ ह समझने का यास करते है।
 SRTT - ये smooth round trip time होता  OSPF routes क administrative
कया जा रहा है।
है । ये वो time होता है जो एक packet को neighbor distance 110 होती है । म आपको बता द ूँ
 Hello packets - ये packets neighbor 1. OSPF protocol Areas (एक बड़े OSPF
तक पहुँचने और वापस acknowledgment आने म administrative distance वो distance होती है जो
table build करने के लए यूज़ कये जाते है। ये network को छोटे छोटे networks म divide कया
लगता है। क 2 best path मलने पर एक को चुनने के लए use
packets हमेशा 224.0.0.10 address पर multicast जाता है, िज ह area कहते है ।) को use करते हुए
 RTO - ये re-transmission timeout होता क जाती है ।
कये जाते है। hierarchical network design (2 layers) set करता
है । कसी packet को दब
ु ारा भेजने से पहले router  Metric calculate करने के लए OSPF
 Update packets - ये packets topology है ।
िजतनी दे र wait करता है , ये वह time होता है। cost use करता है । ये cost link क bandwidth होती
और routing tables build करने के लए neighbors 2. OSPF एक area के अंदर adjacent
 Q Cnt - ये Queue Count होता है । ये
routers (directly connected) के बीच neighbor है । OSPF म कोई भी hop count limit नह ं होती है।
के बीच म भेजे जाते है। ये packets unicast के तौर
filed बताता ह क कतनी packets transmit होने के जैसे क RIP म 15 होती है।
पर भेजे जाते है। ले कन य द metric change हो जाती relationship (routing information share करने का
लए wait कर रहे है ।
है तो ये packets multicast address पर भेजे जाते contract ) build करता है ।
 Seq Number - ये neighbor से receive
3. Connected routers के साथ distance
है ।
कये गए last packet का sequence number होता
(hops) share करने के बजाय OSPF protocol
है ।
directly connected links का status share करता
OSPF Protocol Tables इंतज़ार करने के बाद neighbor को down announce Hello packet म neighbor field होता है network म कसी भी router को Designated
OSPF protocol 3 तरह क अलग अलग tables करना है । Broadcasts के लए default dead Router बनाया जा सकता है। िजस भी router क
इस लए इसे 2 way communication माना
maintain करता है । आइये इन tables के बारे म जानने interval 40 seconds होती है और non broadcasts priority सबसे अ धक होती है वह Designated
जाता है ।
का यास करते है । के लए ये 120 होती है । Dead interval time hello Router बन जाता है और िजसक priority DR से
ExStart ये state बताती है क routers link state
Table Description
timer का 4 गन
ु ा होता है। information share करने के लए ready कम होती है वह Backup Designated Router बन
Neighbor इस routing table म सभी neighbor
table है । जाता है । कसी भी router क priority आप इस कार
routers क list होती है । OSPF routers केवल तब ह neighbors बनते है जब
Exchange ये state बताती है क routers एक दस
ू रे set कर सकते है ।
Topology इस table म एक area के अंदर सभी नीचे दए गए parameters same हो।
table के साथ Database Descriptors (इसम
identified networks के possible routes  Area ID Router(config-if)# ip ospf priority 125
routers के topology database का
store कये जाते है।  Area Type
description होता है ।) exchange कर रहे
Routing table इस table म हर identified network के  Prefix
है ।
लए best route store कये जाते है।  Subnet Mask Cisco routers पर default priority 1 होती है। य द
 Hello interval
Loading इस state से पता चलता है क routers आप चाहते है क एक particular router कभी भी
Neighbour Relation Forming
OSPF neighbor relationship hello packets के  Dead interval एक दूसरे के साथ Link State designated router ना बने तो इसके लए आपको
वारा बनाता है। ये relationship एक ह area म  Network Type (Broadcast, Unicast) Advertisements exchange कर रहे है । उसक priority 0 set करनी चा हए।
बनायीं जाती है। इसका मतलब ये हुआ क एक area का  Authentication Full ये state बताती है क routers पूर तरह
जब ऊपर दए गए सभी parameters match करते है synchronized हो चु के है। OSPF Network Types
router दसू रे area के router से relation नह ं build
तो routers neighbors बन सकते है। अलग अलग network topology types म OSPF क
कर सकता है । Hello packets multicast address Full/DR इस state से पता चलता है क router एक
Hello packets क मदद से कोई router को ज द से functionality भी अलग अलग होती है । आइये इन
224.0.0.5 पर भेजे जाते है। Neighbor relationship DR (Designated Router) है।
ये पता चल जाता है क उसका neighbor down है या different network types के बारे म जानने का यास
build होने के बाद ह routers एक दस
ू रे के साथ OSPF Designated Routers
नह ं। एक neighbor table hello packets के वारा OSPF network म routing information हर 30 करते है ।
routing information build कर सकते है। Neighbor
बनायीं जाती है । Hello packets म नीचे द गयी second म send क जाती है। मान ल िजये network
relationship को adjacencies भी कहा जाता Point-to-Point
information होती है। म कोई router fail हो गया है । इसक update दस
ू रे
है । Point-to-Point वह network topology होती है
 हर neighbor router क router ID होती router को भेजी जाएगी वो router इसके बारे म दूसरे िजसम 2 routers एक दस
ू रे से directly connected
हर OSPF router को unique Router ID के वारा है । routers को बताएगा। और अचानक network के सभी होते है । जब network topology point to point
identify कया जाता है । कसी भी router पर Router  हर neighbor router क current state routers इस update के बारे म एक दस
ू रे को update होती है तो OSPF Designated Router और Backup
ID तीन तरह से apply क जा सकती है । होती है send करना शु कर दगे। ऐसा होने से links क Designated Router elect नह ं करता है । सारा OSPF
1. आप Router ID manually specify कर  सभी directly connected interfaces जो bandwidth बहुत अ धक consume हो जाती है । और traffic 224.0.0.5 address पर multicast कया
सकते है। neighbors से connected होते है । network के लए ये एक अ छ situation नह ं मानी जाता है । इस तरह क network type म neighbor को
2. य द आप Router ID manually specify  हर neighbor के remote address का IP जाती है। इसे flood कहा जाता है । manually specify करने क कोई आव यकता नह ं होती
नह ं करते है , तो router के कसी भी loop back address होता है। है । Point-to-Point network को आप अपने router
interface (एक virtual interface) पर configure इस situation से बचने के लए OSPF routers म से
पर इस कार configure कर सकते है।
कया हुआ highest IP address Router ID बन जाता
Neighbour States कसी एक router को designated router बनाया
Neighbor adjacencies कई states से होकर जाता है। Designated router वो router होता है िजसे
है । Router(config-if)# ip ospf network point-to-point
progress करती है। इन states के बारे म नीचे दया link fail होने क update भेजी जाती है। फर यह
3. य द loop back interface exist नह ं
जा रहा है । router एक एक करके सभी दस
ू रे routers को link fail
करता है तो कसी भी physical interface पर Broadcast
State Explanation
configure कया हुआ highest IP address Router (router down) होने क updates भेजता है ।
Down ये state बताती है क neighbor router से Broadcast वह network होता है िजसमे क
ID बन जाता है । broadcast होता है । इसका मतलब कसी एक router
कोई hello packet receive नह ं कया गया इसे आसान श द म कहे तो सभी routers के एक दूसरे
है । के वारा दस
ू रे सभी routers को एक साथ message
By default OSPF enabled interfaces पर hello को link fail updates भेजने क बजाय, एक router ह
भेजा जाता है । Broadcast network म OSPF
packets हर 10 second म भेजे जाते है। इ ह
Init ये state बताती है क neighbor से hello सबको एक एक करके update भेजता है । ऐसा करने से
Designated Router और Backup Designated
broadcast कया जाता है और non broadcast के packet मल गया है ले कन 2 way bandwidth भी consume नह ं होती है और network
Router choose करता है । Designated और Backup
वारा हर 30 second म hello packets भेजे जाते है । communication अभी initialize नह ं हुआ म flood भी नह ं आता है ।
Designated routers को traffic multicast
है ।
Designated router को updates 224.0.0.6 address 224.0.0.6 भेजा जाता है । Designated और
OSPF म एक dead interval भी होती है जो ये बताती 2-Way इस state से पता चलता है क 2 way
multicast address पर भेजी जाती है । OSPF Backup Designated routers से traffic 224.0.0.5
है क कतनी दे र तक router को hello packets का communication establish हो चूका है।
multicast address को भेजा जाता है । इस तरह के एक area के अंदर सभी destination networks क technology reliable भी नह ं होगी। य द कभी wire म Easy & Fast to Establish
network म आपको neighbors को manually list होती है । कोई problem होती है तो एक particular office Wired connection के comparison म VPN

specify करने क आव यकता नह ं होती है । कसी भी connection बलकुल terminate हो जायेगा। फर जब technology को establish करना बहुत ह आसान और
Type 4 (ASBR Summary LSA) fast होता है । जँहा wired connection म आपको दन
router पर broadcast network type आप इस कार तक आप ये नह ं दे ख लेते क एक office से ले कर दस
ू रे
ये LSA OSPF network म सभी ABR वारा लग सकते है वह VPN technology को मनट से घंटो
configure कर सकते है। office तक wire म कँहा problem है तब तक आप
generate कया जाता है और इसम OSPF network म establish कया जा सकता है ।
कुछ नह ं कर सकते है । ऐसी situation म ये
के कसी भी ASBR (एक ASBR वह router होता है जो Can be Scaled
Router(config-if)# ip ospf network non-broadcast company या कर सकती है ?
दूसरे OSPF area से connected होता है और साथ ह VPN network को आप आसानी से ज रत के हसाब से
Point to Multi-point ये दस
ू रे routing protocols से भी connected हो ऐसी situation म ये company VPN technology बड़ा या छोटा कर सकते है ।
इस तरह के network म एक router दस
ू रे कई सकता है ।) तक जाने का route होता है । इस तरह के यज़
ू कर सकती है । VPN technology एक ऐसी Types of VPN's (Virtual Private
routers से connect हो सकता है। Source से LSA local system के अंदर भेजे जाते है ता क local technology होती है िजसमे internet के मा यम से Networks)
destination के बीच का हर connection एक point routers को पता रहे क बाहर कैसे नकलना है । अलग अलग hosts को जोड़ा जाता है। ले कन ये VPN's को business म उनके role के अनुसार 3
to point link होता है । इस तरह के network म connection उतना ह private और secure रहता है categories म divide कया गया है । इन categories
Type 5 (External LSA)
OSPF DR और BDR elect नह ं करता है । सारा िजतना क कोई hard wired network हो। साथ ह ये के बारे म नीचे दया जा रहा है ।
इस तरह के LSA OSPF के अंदर सभी ASBR के वारा
OSPF traffic multicast address 224.0.0.5 पर connection reliable भी होता है । आइये जानने का
generate कये जाते है। इन LSA म local
भेजा जाता है। Remote Access VPN
autonomous system से बाहर के destination यास करते है क VPN या या benefits provide
Remote access VPN के वारा कोई भी employee
networks के लए route होता है । करती है ।
या worker organization के network को कभी भी
Router(config-if)# ip ospf network point-to-multipoint Introduction to VPN (Virtual Private
Benefits of VPN (Virtual Private और कँह से भी access कर सकता है । ये employees
Network)
LSA (Link State Advertisements) Types Virtual private network एक ऐसी technology है
Network) workers इस network म available सभी
OSPF routers routing के लए एक दूसरे पर नभर VPN को आप कसी company के लए भी यूज़ कर resources को यूज़ कर सकते है। कसी भी
जो public network (Internet) यज़
ू करते हुए 2
नह ं रहते है जैसे क RIP और IGRP रहते है । इसके सकते है और य द आप चाहे तो इसे अपने home organization का network secured रहता है इसम
hosts के बीच म connection establish करती है
बजाए OSPF routers खद
ु के area म link के status network के लए भी यूज़ कर सकते है । जैसे भी आप कसी भी बाहर के network से कोई भी host connect
िजनम से एक server और दूसरा host होता है । ये
क जानकार रखते है और उसे एक दूसरे के साथ share VPN को यूज़ कर इसे यूज़ करने के बहुत सारे benefits नह ं हो सकता है । Remote access VPN के वारा जब
technology एक tunnel connection establish
करते है। इन link और उनके status से topology होते है आइये इनके बारे म जानने का यास करते है । कोई host connect करता है तो VPN उसे ऐसे
करती है िजसमे data encrypted रहता है। इस
database बनता है । Topology database को represent करती है जैसे क वह कोई local host
technology से network private और secure होता Secure
updated रखने के लए OSPF router एक दस
ू रे को हो।
है । आइये अब जानने का यास करते है क VPN क VPN technology आपको unauthorized access
LSA भेजते है । ये LSA कई कार के होते है । आइये Site to Site or Intranet VPN
आव यकता य पड़ी? से advanced security provide करती है । इसके लए
इनके बारे म जानने का यास करते है । Site to Site VPN के वारा कसी organization
VPN अलग अलग तरह के encryption और
मान ल िजये एक बहुत बड़ी company है िजसके एक ह के अलग अलग offices एक दस
ू रे के साथ कसी public
Type 1 (Router LSA) authentication protocols यूज़ करती है। SSL
शहर म अलग अलग जगह पर offices है। इसी शहर म network जैसे क internet के वारा connection
इस तरह के LSA म सभी local links उनके status (Secured Socket Layer) और IPsec VPN
आप इस company का main office मान ल िजये िजसे establish करते है । Site to site VPN एक office के
और cost क जानकार होती है । Type 1 के LSA सभी category म ह आते है ।
आप server कह सकते है और बा क offices को client resources को दस
ू रे office के hosts को available
local routers के वारा generate कये जाते है और
मान ल िजये। इस company के लए इसका data बहुत less expensive करवा दे ता है ।
local area के अंदर दस
ू रे सभी routers को भेजे जाते
मह वपूण है और company चाहती है क सभी offices एक office से दूसरे office को wires से जोड़ने के
है । Extra-net VPN
को एक private network म रखा जाये ता क कोई बजाय य द आप एक internet connection ले और उस
Type 2 (Network LSA) जब कोई organization कसी दूसरे organization के
unauthorized person data को access न कर सके। पर VPN connection establish करे तो ये आपको
ये LSA एक OSPF के अंदर सभी Designated साथ मलकर काम करती है तो ऐसी situation म वह
Internet एक public network है इस लए company point to point (wired) connection से 10 गुना
Routers के वारा generate कये जाते है। इन LSA extra-net VPN यज़
ू कर सकती है । इस तरह के VPN
internet को यूज़ नह ं करना चाहती है । less expensive पड़ेगा।
म िजतने भी routers Designated Router से से एक organization दूसरे organization को अपने
attached होते है उनक list होती है । Reliable resources का limited access provide कर सकती
य द company इन offices के बीच म एक private
VPN एक reliable technology है । मान ल िजये है ।
Type 3 (Network Summary LSA) और secure connection establish करना चाहती है
य द connection के बीच म कोई router down हो
ये LSA सभी Area Border Routers (वे routers जो तो इसके लए company को एक office से दस
ू रे office Working of VPN (Virtual Private
गया है तो ऐसी situation म आपका connection
OSPF network म 2 areas क border के पास होते तक wire के through connection establish करने Network)
terminate नह ं होगा। ऐसी situation म VPN के VPN technology host और server के बीच म एक
है । ) के वारा generate कये जाते है और इन LSA म ह गे। ले कन ये process बहुत यादा
वारा automatically एक नया route ढू ं ढा जाता है । tunnel create करती है । इस tunnel के through
expensive और time consuming होगा। साथ ह ये
data server से different hosts को pass कया Introduction to DHCP (Dynamic Host  DHCP use करने से आपको IP address NAT (Network Address Translation) Cisco वारा
Configuration Protocol)
जाता है। इस tunnel से जाने वाला सारा data क list को manage करने क आव यकता नह ं होती है। develop कया गया है । ये एक mechanism होता है
कसी भी network म य द कोई host कसी दस
ू रे host
encrypted form म होता है । ऐसे VPN technology साथ ह आपको ये भी manage करने क आव यकता जो आपके private network और internet के बीच
से communicate करना चाहता है तो इसके लए उसके
double layer security provide करती है । उदाहरण नह ं होती क कौनसा IP address free है और कौनसा काम करता है । NAT कसी device पर काम करता है । ये
pass एक unique IP address होना चा हए। चाहे फर
के लए नचे दए गए diagram को दे खये। assign कया जा चूका है । ये काम DHCP device कोई भी हो सकता है जैसे क firewall और
वह LAN(Local Area Network) हो या WAN(Wide
automatically कर लेता है। router आ द NAT को IETF RFC 1631 म define
Area Network) हो। ये IP addresses आप
 य द आप host को कसी दूसरे network म कया गया है ।
manually भी हर host पर configure कर सकते है।
move करते है तो DHCP नया IP address assign
ले कन य द network काफ बड़ा है तो ये approach मान ल िजये आपके organization म 25 devices है
कर दे ता है।
काम नह ं करे गी। बड़े network म आप हर host के िज ह internet से जोड़ा जाना है| Normally दे खे तो
pass manually जाकर IP addresses assign नह ं Process of IP Address Configuration with इसके लए आपको 25 IP address क आव यकता
कर सकते है। इस problem को solve करने के लए DHCP
होगी। ले कन NAT को use करते हुए आप एक ह
जैसा क आप ऊपर दए गए diagram म दे ख रहे है
DHCP का इ तेमाल कया जाता है। Host के request करने से लेकर IP address assign
VPN technology internet का एक base के प म registered IP address से सभी devices को
करने क process तक के कुछ steps होते है । इन
उपयोग करती है और एक host से दस
ू रे host के बीच म internet से जोड़ सकते है । NAT के use से आपको 25
Dynamic Host Configuration Protocol का steps को नचे समझाया गया है।
tunneling के वारा secure और reliable IP addresses क आव यकता नह ं होगी| सभी
काम hosts को IP address assign करना होता है । ये 1. सबसे पहले DHCP client
connection establish करती है । VPN क working devices को आप unregistered IP address से
IP address dynamically assign कये जाते (host) available DHCP servers के लए DHCP
को समझने के लए आपको tunneling और configure करते है | इन IP address को local IP
है । DHCP हमेशा IP addresses का pool maintain discover message broadcast करता है । ये
encryption का concept समझना होगा। इनके बारे म addresses कहा जाता है NAT कसी organization म
करके रखता है । जैसे ह कोई host network से जड़
ु ने message network म DHCP server को discover
नचे दया जा रहा है। IP addresses क ज रत को कम कर दे ता है |
का यास करता है तो वह DHCP से IP address क करने के लए यूज़ कया जाता है ।
Tunneling request करता है । Host क request पर DHCP उसे 2. इसके बाद जो DHCP server इस Types of NAT (Network Address
Tunneling एक technology है । इस technology म एक IP address assign करता है। जब host message को receive करता है वह client को Offer Translation)
network को छोड़ता है तो ये IP address वापस NAT को 3 कार से use कया जा सकता है|
कसी protocol (TCP/IP, UDP) के data-gram म message भेजता है । Offer message के वारा
1. Static NAT
tunneling protocol (PPTP, L2TP) का packet DHCP pool म आ जाता है और दूसरे hosts के लए DHCP server खुद क existence को show करता 2. Dynamic NAT
encapsulate कया जाता है । कुछ common available हो जाता है । है । 3. NAT Overload & Port Address
Translation
tunneling protocols के नाम नचे दए जा रहे है । 3. इसके बाद client server को IP address
DHCP एक client/server protocol होता है । इसका इन सभी methods को नचे समझाया जा रहा है ।
 PPTP (Point-to-Point Tunneling और regarding information के लए Request
Protocol) port number 67 होता है।
message broadcast करता है । Static NAT
 L2TP (Layer two tunneling protocol)
4. इसके बाद server client को information Static NAT म एक local IP address क एक global
 GRE (Generic Routing Encapsulation) Hosts को IP address provide करना DHCP का
एक unicast acknowledgement message के वारा IP address म mapping क जाती है | ये one to one
primary task होता है । ले कन DHCP IP address के
Encryption भेजता है । process होती है । जब आप कसी NAT enabled
अलावा बहुत सी information hosts को provide
जैसा क आप जानते है क VPN technology public Introduction to NAT (Network Address router के दूसर तरफ के एक device को internet से
करता है । ऐसी कुछ common information क list Translation)
network (Internet) को base बनाकर एक private connect करना चाहे तो इस type के NAT को use
नचे द जा रह है । कसी भी device को internet से जुड़ने के लए IP
network create करती है । ले कन public network करते है |
 IP address (Ex. 192.168.2.1) address क आव यकता होती है । य द आपके work
इतना secure नह ं होता है। VPN को secure बनाने के
 Subnet Mask (Ex 255.255.0.0) enviornment म 10 device है तो इ ह internet से Dynamic NAT
लए encryption process के वारा data को
 Domain Name (Ex. जड़
ु ने के लए 10 ह IP addresses क आव यकता Dynamic NAT म जब भी कोई local IP address का
encrypt कया जाता है । Encryption 2 कार का होता www.yourdomain.com)
होगी। जैसा क आपको पता है internet बहुत अ धक device internet से जुड़ने का यास करता है
है । इनके बारे म नचे दया जा रहा है ।  Default Gateway (Ex. 10.0.0.0.1)
ग त से बढ़ रहा है और IP address क सँ या ज रत तो registered IP addresses के pool म से एक IP
 Symmetric encryption - इस तरह के  DNS Server Address
Advantages of DHCP (Dynamic Host से कम है , इस लए इस सम या से नपटने के लए IPV6 address dynamically select कया जाता है और
encryption म data को encrypt और decrypt करने Configuration Protocol) को develop कया जा रहा है ले कन उसे उसक local IP address से mapping क जाती है|
के लए एक common shared key यूज़ क जाती है । आइये अब जानने का यास करते है क DHCP से
implement होने म अभी काफ समय लगेगा। ऐसी
 Asymmetric encryption - इस तरह के आपको या advantages मलती है । NAT Overload or Port Address Translation
situation म IP address क आव यकता को पूर करने (PAT)
encryption म data को encrypt और decrypt करने  DHCP से IP address configuration म के लए NAT (Network Address Translation) का इस तरह के NAT म local IP address के traffic को
के लए अलग अलग keys यूज़ क जाती है । errors के chances बलकुल कम हो जाते है । योग कया जा रहा है। एक single global IP address के अलग अलग ports
पर map कया जाता है| PAT का उपयोग उस
condition म कया जाता है जब local address क बताया WAN कस कार काम करता है इसे आप telephone line को use कया जाता है। एक T1 line 2. X.25 - X.25 protocol अलग अलग
सँ या global addresses क सँ या से अ धक होती control नह ं कर सकते है ये पूर तरह ISP पर नभर 1.544 Mbps क rate पर data को carry करती है। public networks म ि थत hosts को एक
है । करता है । intermediary host के वारा communicate करने
Introduction to WAN (Wide Area 2. T3 Lines - T1 lines के comparison म क facility provide करता है ।
Network) WAN के fast और reliable होने क वजह से आजकल T3 lines 44.736 Mbps क rate पर data carry
एक LAN limited area म फैला हुआ network होता है WAN का चलन बढ़ता जा रहा है। अब WAN को छोटे WAN (Wide Area Network) Terminology
करती है । T3 lines network backbone के प म
जैसे क कसी organization क building या area के लए भी use कया जा रहा है । इस लए ये WAN technology से जड
ु ी हुई ऐसी कुछ terms है
काम करती है, इस लए T1 lines के comparison
campus आ द। LAN को आप खुद manage करते है । identify करना काफ़ मुि कल होता है क कोई िजनके बारे म जानकार आप WAN को और भी अ छ
म बहुत कम use क जाती है ।
आप अलग अलग topologies को use करते हुए अपने network कस कार का है। तरह समझ पाएंगे। इनके बारे म नचे बताया जा रहा है ।
organization म LAN network बछा सकते है । LAN Circuit Switched
म एक switch होता है िजससे आप बहुत से hosts को ऐसी situation म आप कसी network को इस तरह क technology म data transfer से पहले Customer Premise Equipment
connect करते है। technology और devices के आधार पर identify कर connection setup क आव यकता पड़ती है । ये एक CPE एक equipment होता है जो क subscriber

सकते है । उदाहरण के लए य द क ह ं 2 building के session होता है जो data transfer के दौरान active (customer) क physical location पर ि थत
WAN (Wide Area Network) एक बहुत बड़े बीच connection Ethernet से establish कया गया रहता है । जैसे ह data transfer complete होता है ये रहता है । उदाहरण के लए य द आपने कोई नया
geographical area म फैला हुआ network होता है । है तो वह एक LAN network होगा। य द ये session बंद हो जाता है। इसे on demand circuit broadband connection लया है तो आपको
जैसे क जब बात क ह ं दो दे श के बीच network क connection एक dedicated T1 line से establish कहा जाता है। telephone handset provide कया जाता है ।
आती है तो ऐसी situation म ये network WAN कया गया है तो वह एक WAN network होगा। Circuit switched technologies के उदाहरण नचे Telephone handset CPE category का ह
technology पर आधा रत होता है । WAN बहुत से दए जा रहे है । equipment होता है ।
LANs (Local Area Networks) को आपस म WAN (Wide Area Network) Connection
1. Dial Up - Dial up एक connection होता
Types CSU/DSU (Channelized Service Unit/Data
connect करता है । WAN को आप control नह ं कर है जो modem के वारा establish कया जाता है । इस
एक WAN connection आप 3 कार क Service Unit)
सकते है , ये ISP (Internet Service Provider) वारा तरह के connection म client के वारा connection CSU/DSU एक hardware device होता है । यह
technologies को use करते हुए setup कर सकते है।
control कया जाता है। के लए request भेजी जाती है। device T1 या T3 technology के लए clocking और
इनके बारे म नचे दया जा रहा है।
2. ISDN - Integrated Service Digital channelization provide करता है। CSU/DSU WAN
आइये अब इसे एक उदाहरण के मा यम से समझने का Network एक communication standards का set
Point to Point से आ रहे signal को LAN के लए convert करता है
यास करते है। मान ल िजये आपक एक छोट सी इस कार क technologies को dedicated या है । ISDN के वारा आप कई कार का data जैसे क और LAN से आ रहे signal को WAN के लए convert
organization है जो एक छोट सी building म काम leased lines भी कहा जाता है। इस कार क voice, video आ द simultaneously भेज सकते है। करता है ।
करती है । अपनी organization म आप कुछ hosts को technologies WAN connection setup करने के
internet से जोड़ना चाहते है । इसके लए आप एक लए सभी दस ू र technologies से expensive होती है।
Packet Switched
एक बात यान रखने यो य है क य द T1 या T3 के
internet (broadband) connection लेते है । Packet switched technologies सभी service
Point to point technologies Service Provider अलावा कोई दूसर WAN technology use क जा रह
वारा lease पर द जाती है। ये technology दो providers के बीच एक common infrastructure
है तो इसके लए आपको दस
ू रे device क आव यकता
Internet connection आपको ISP वारा provide locations के बीच establish क जाती है इस लए इसे share करती है। इस कार क technologies म
होगी। CSU/DSU के उदाहरण ISDN और Dialup है ।
कया जाता है। ISP कोई भी हो सकता है जैसे क point to point technology कहा जाता है । bandwidth क कोई guarantee नह ं होती है। इस
BSNL, Airtel आ द। Connection लेने क कार क technologies best effort के base पर Demarc
बाद आप अपनी organization म network setup Locations के बीच क दुर और allocate क गयी काम करती है। Packet switched technologies ऐसी Demarc CPE (Customer Permise Equipment)
bandwidth के अनुसार इस technology क cost और service provider equipment के बीच
करते है और सभी hosts को connect कर दे ते है । आप application के लए होती है िज ह consistent
determine क जाती है । Point to point interface होता है । Demarc के CPE क तरफ के
कस कार setup करगे ये आप पर depend करता है । bandwidth क requirement होती है ले कन साथ ह
technologies म data transfer के लए कसी भी िजतने भी device होते है उ ह maintain करना
आपका ये setup एक LAN है जो आपने अपनी ये circuit switched और point to point
कार के connection setup क आव यकता नह ं होती customer क responsibility होती है। Demarc
organization क building म बछाया है । आप कसी technologies से बेहतर होती है।
है । इस तरह क technology म connection हमेशा physically labeled नह ं होता है। यादातर cases म
भी host को इस network से जोड़ सकते है या
on ह रहता है । Packet switched technologies के उदाहरण नचे यह एक 2 port या 4 port का physical panel होता
remove कर सकते है ये पूर तरह से आपके ऊपर नभर
दए जा रहे है । है ।
करता है ।
Point to point technologies के उदाहरण नचे दए 1. Frame Relay - Frame relay एक cost Smart Jack
जा रहे है । एक T1 line smart jack म plugged in होती है ।
दस
ू र तरफ WAN है जो आपके इस network को बाक efficient service है । इसे LAN को आपस म connect
T1 Lines - एक T1 line service Smart jack म आकर T1 line terminate हो जाती
दूसरे LANs से connect करता है ता क दूसर city या 1. करने के लए use कया जाता है। साथ ह frame
provider और client के बीच एक dedicated link है । य द कभी connectivity म कोई issue आता है तो
country से भी कोई आपसे जड़
ु सके और आप उसको relay को WAN end points पर भी use कया जाता
होती है। T1 line म यादा data carry करने के लए service provider smart jack को ping करता है ।
email आ द send कर सक। जैसा क मैने आपको पहले है ।
य द ping test successful रहता है तो ये माना जाता
है क problem customer side म है । Smart jack links पर use कये जाने वाला default Information Frames (i-frames) stations को ह respond करते है। एक secondary
एक glass के box म packed रहता है । proprietary encapsulation है । इसका मतलब ये हुआ Information frames को i-frames भी कहा जाता है । station response frame send करता है ।
क ये कसी दूसरे vendor के router पर ये frames user का data और उस data के बारे म
Local Loop control information carry करते है। Information Combined Station
implemented HDLC से interact नह ं करे गा। हर
Local loop उस line को कहते है जो customer frames म user का data information field म एक combined station primary station और
vendor का different proprietary HDLC version
premise और service provide के office के बीच carry कया जाता है । secondary station का combination होता है। एक
होता है। हर vendor का अलग HDLC version होने का
होती है। data link पर combined stations बना कसी
कारण ये है क हर vendor अलग तर के से HDLC
Supervisory Frames (s-frames) primary server क permission से एक दूसरे को
WAN (Wide Area Network) Encapsulation protocol को network layer protocols म Supervisory frames को सं ेप म s-frames भी कहा command और responses send और receive कर
WAN technology OSI model क physical और encapsulate करता है। हर vendor क proprietary जाता है। ये frames control information और error सकते है। एक combined station खुद को वयं ह
data link layer पर काम करती है । इस लए higher header HDLC encapsulation के data field म होती controls carry करते है। इन frames म control करता है ।
layer protocols पर WAN link को cross करने से है । information field नह ं होता है।
पहले data encapsulate कया जाता है । एक WAN HDLC Configuration Types
सामा यतः कसी Cisco device के serial link पर कसी भी Cisco device पर आपको HDLC configure Unnumbered Frames (u-frames) तीन कार के stations के लए HDLC आपको तीन
terminate होती है । Serial link कई कार के WAN करने क आव यकता नह ं होती है। जैसा क मैने आपको Unnumbered frames को u-frames भी कहा जाता कार का configuration provide करता है ।
encapsulation types को support करता है । इन बताया Cisco devices पर ये default encapsulation है । ये frames system management के लए Configuration types के बारे म नचे detail से दया
encapsulation types को आप manually specify है । इसे दे खने के लए आप कसी भी interface को reserved रहते है । इनके वारा carry क गयी जा रहा है ।
करते है। show interface command से दे ख सकते है। इस information routers के बीच link को manage करने
command के result म य द आप दे खगे तो आपको के लए use क जाती है । दो devices के बीच म Unbalanced Configuration
By default serial interface HDLC (High Level session management और control information HDLC unbalanced configuration म एक primary
encapsulation HDLC show होगा।
Data Link Control Protocol) को encapsulation के को exchange करने के लए u frames को use कया station होता है और बाक secondary stations होते
लए use करता है । Serial interface के वारा Features of High Level Data Link Control
जाता है। है । इसे unbalanced configuration इस लए कहा
(HDLC) Protocol
support कये जाने वाले दस
ू रे encapsulation types जाता है य क एक station बाक सभी दस
ू रे stations
क list नचे द जा रह है ।
 HDLC protocol full duplex HDLC Stations को control करता है ।
communication को support करता है । ये आपको Data link control के लए HDLC 3 कार के
1. SDLC
2. PPP एक साथ information receive और send करने क stations specify करता है । इनके बारे म नचे detail Balanced Configuration
3. LAPB capabilities provide करता है । एक HDLC link म balanced configuration दो और
से दया जा रहा है ।
4. Frame Relay
 HDLC एक bit oriented protocol है । अ धक combined stations के वारा establish होता
5. X.25
6. ATM Byte oriented protocols जैसे क TCP और IP म Primary Station है । सभी combined stations क link को maintain
जो भी encapsulation type use कया जाए वह Primary station data link पर एक controlling करने क बराबर िज मेदार होती है ।
कसी भी control information को encode करने के
point to point link के दोन तरफ same होना चा हए। station होता है । Data link पर सभी दस
ू रे secondary
लए bytes use क जाती है । HDLC byte values को
stations को control करना primary station क Symmetrical Configuration
recognize नह ं करता है । इसम कसी
responsibility होती है । ये station data flow को ये configuration आजकल use नह ं कया जाता है ।
Introduction to High Level Data Link
control information को encode करने के लए
Control (HDLC) Protocol organize करने और error recovery के लए भी इस तरह के configuration म दो point to point
HDLC एक point to point data link layer single bits use क जाती है।
responsible होता है। एक primary station unbalanced stations होते है । हर station का
protocol है। HDLC protocol को ISO  HDLC protocol आपको flow control क
primary और secondary status होता है।
command frames send करता है ।
(International Standards Organization) वारा capabilities provide करता है । इस protocol के
point to point data links पर use करने के लए वारा आप receiver क मता के अनस
ु ार window क Secondary Station HDLC Operational Modes
size adjust कर सकते है। य द कसी network म HDLC को data link HDLC आपको operation के 3 modes provide करता
बनाया गया है । HDLC full duplex communication
है िजनके बारे म नचे दया जा रहा है।
को support करता है ।  HDLC protocol frames को send और protocol के प म use कया गया है और उस
receive करने के लए physical layer clocking और data link पर primary station है तो उस link पर
Normal Response Mode (NRM)
HDLC information को एक data frame म डालता है shynchronization use करता है। एक और एक से अ धक secondary stations भी ज र इस तरह के operational mode म primary station
जो devices को data flow control और error ह गे। एक secondary station primary station के secondary station को transfer शु करता है।
corrections क capabilities provide करता है । HDLC Frame Types
control म रहता है । Secondary stations म link को Secondary station primary station के
HDLC protocol 3 कार के frames send और
HDLC को IBM वारा बनाये गए Synchronous Data control करने क कोई functionality नह ं होती है। command पर केवल response transmit कर सकता
receive करता है । इनके बारे म नचे detail से दया जा
Link Control (SDLC) protocol के आधार पर बनाया इ ह primary station क request पर activate है । ये कसी frame के acknowledgment क तरह
रहा है ।
गया है । कया जाता है । Secondary stations केवल primary work करता है , ले कन ये response
HDLC Cisco routers वारा synchronous serial
acknowledgment से कई अ धक information PPP authentication, compression, dynamic 1. EIA/TIA-232-C, V.24, v.35 and ISDN 3. Error Detection - ये option PPP link म
addressing और call back जैसे features provide 2. HDLC (High Level Data Link Control)
carry करता है । Response frames एक से अ धक भी error detect करने के लए use कया जाता है।
3. LCP (Link Control Protocol)
हो सकते है । आ खर response frame भेजने के बाद करता है । HDLC protocol के बारे म और अ धक जानने 4. Multilink - ये option सफ उ ह ं PPP
4. NCP (Network Control Protocol)
secondary station primary station के command के लए आप इससे स बि धत tutorial पढ़ सकते है। ये सभी components PPP क working म अहम ् links के लए available है िजनम Cisco routers
frame का wait करता है। role अदा करते है। इनके बारे म नचे detail से दया use कये गए है । ये option एक link से दस
ू र link तक
Point to Point Protocol यादातर use कये जाने
जा रहा है । कई separate paths को एक path के प म show
Asynchronous Response Mode (ARM) वाला data link layer protocol है । ये protocol
करता है । उदाहरण के लए दो T1 lines को network
इस तरह के operational mode म primary station आपके personal computer और ISP (Internet EIA/TIA-232-C, V.24, V.35 and ISDN
layer पर एक single path के प म show कया
secondary station को transfer शु नह ं करता है । Service Provider) को आपस म connect करता है। ये physical layer पर काम करने वाले hardware
जाएगा।
साथ ह secondary station को भी कसी भी कार का PPP data link connections को create और components होते है। ये सभी components serial
5. PPP callback - ये option dial up
frame भेजने के लए primary station से maintain करने के लए LCP (Link Control communication के लए international standards
connections के साथ use कया जाता है।
command क आव यकता नह ं होती है । Secondary Protocol) पर नभर रहता है। को follow करते है ।
Successfully authenticate होने के बाद PPP को
station वारा भेजे जाने वाले frames म station के
OSI model के स दभ म PPP protocol stack HDLC (High Level Data Link Control) दुबारा call back के लए configure कया जा सकता
status से स बं धत data भी हो सकता है और control
HDCL PPP म use कये जाने वाला एक mechanism है । जब callback feature enabled रहता है तो client
information भी हो सकती है । इस तरह के का diagram नचे दया जा रहा है ।
होता है , जो network layer से आने वाले datagrams router के वारा sever router को call करके
operational mode से primary station पर कम
को serial link म encapsulate करने का काम authenticate कया जाता है । इस option के
load पड़ता है य क primary station को
करता है । ये सभी Cisco serial links पर default काम करने के लए इसे दोन side म enable रहना
permission frames send करने क आव यकता नह ं
serial encapsulation method है । आव यक है ।
होती है।
कई बार students HDLC Protocol और PPP म NCP (Network Control Protocol)
Asynchronous Balanced Mode (ABM)
HDLC mechanism को एक ह समझ लेते है और ये protocol PPP link म encapsulate करने के
ये operational mode combined stations use
confuse हो जाते है। इस लए म आपको बताना चाहता हूँ लए different network layer protocols को
करता है । कसी भी station को frames send करने के
क ये दोन अलग अलग होते है| establish और configure करने का काम करता है।
लए कसी भी station से permission लेने क
NCP के वारा आप कई network layer protocols को
आव यकता नह ं होती है । LCP (Link Control Protocol)
एक साथ use कर सकते है। आसान श द म कहा जाए
जैसा क इस tutorial म पहले बताया गया है, PPP
HDLC Non-Operational Modes तो ये protocol network layer protocols से
data link connections के लए LCP पर नभर रहता
HDLC म तीन non operational modes भी होते है। communication allow करता है ।
है । LCP के वारा नचे दए गए tasks perform कये
इनके बारे म नचे दया जा रहा है।
1. Normal Disconnected Mode (NDM) जाते है। PPP Connection Establishment
2. Asynchronous Disconnected Mode 1. Establishing Point to Point जब एक PPP connection start होता है तो point to
(ADM) connections
point links 3 phases से होकर गुजरती है । इन
3. Initialization Mode (IM) 2. Maintaining Point to Point
Introduction to PPP (Point to Point connections phases के बारे म नचे detail से बताया जा रहा है ।
Protocol) 3. Terminating Point to Point
Point to Point protocol एक data link layer connections Link Establishment Phase
इस phase म link को test और configure करने के
protocol है। इस protocol को Dial Up या ISDN
Link control protocol आपको कई PPP
लए PPP devices के वारा आपस म LCP packets
कसी के भी साथ use कया जा सकता है । PPP point
encapsulation options provide करता है , इनके बारे
send कये जाते है। इन packets म एक
to point lines के लए data link protocol provide
म नचे दया जा रहा है।
Configuration option होता है िजससे सभी devices
करने क ि ट से IETF (Internet Engineering
ऊपर दए गए diagram म physical layer और को data क size, compression और
Task Force) वारा बनाया गया था। 1. Authentication - ये option link क
network layer के बीच data link layer पर PPP के authentication क जानकार मलती है। य द कोई
दस
ू र तरफ क side को user information send
HDLC Protocol का non proprietary version components को show कया गया है । इन configuration field नह ं है तो ऐसी situation म
करने के लए कहता है ता क user को authenticate
Point to Point Protocol है । PPP को आप components के बारे म detail से आप आगे जानगे। default configuration को use कया जाता है ।
कया जा सके।
different vendors के routers के साथ use कर
Components of PPP (Point to Point 2. Compression - ये option send करने से Peer Authentication Phase
सकते है। Point to Point Protocol का काम network
Protocol) पहले data को compress करके PPP connections का कोई भी एक या फर दोन तरफ से authentication
layer packets को data link layer पर ि थत point Point to Point Protocol के 4 main components throughput increase करने के लए use कया जाता request भेजी जा सकती है । PPP authentication के
to point link म encapsulate करना होता है । साथ ह है । है । लए PAP (Password Authentication Protocol)
या CHAP (Challenge Handshake Authentication श द म कह तो सभी routers एक single dedicated information और ARP request frame relay
Protocol) use करता है । इन दोन म से PAP कम line क bandwidth को share करते है। network म distribute क जाती है ।
secure होता है और सफ शुरआती link 3. Global Addressing - ये option DLCI को
establishment के दौरान ह link को authenticate Frame relay के वारा data को िजस frame म डाला globally identity provide करता है । इसके मा यम से
करता है । दस जाता है CIR उसी frame म एक field होता है जो ये
ू र तरफ CHAP शु म तो link को frame relay network कसी LAN क तरह काम कर
authenticate करता ह है साथ म एक नि चत समय define करता है क एक frame dedicated line क सकता है ।
अंतराल के बाद भी बार बार link को authenticate कतनी bandwidth occupy करे गा। इस field क 4. Status of Virtual Circuits - ये option
करता है । value अ धक और कम set क जा सकती है । ले कन जो सभी data link connections का status provide
ऊपर दए गए diagram म Main Office के router से
भी value set कर वह access rate से अ धक नह ं करता है ।
सभी Branch office routers को एक dedicated line
य द authentication successful रहता है तो होनी चा हए।
से connect कया हुआ है। य क ये WAN
network layer protocol phase शु हो जाती है और LMI 3 कार के standard signaling formats को
technology है इस लए इस तरह क network Access rate एक frame relay interface क
य द authentication fail होता है तो link support करता है िजनके बारे म नचे दया जा रहा है।
configuration म काफ लागत आती है। इस maximum speed होती है । दस
ू र और CIR
termination phase शु हो जाती है । 1. Cisco - Cisco devices पर ये signalling
situation म frame relay को use कया जा सकता maximum bandwidth होती है जो frame occupy format default है। ये एक Cisco proprietary
Network Layer Protocol Phase है । करे गा। य द ये दोन values same होती है तो frame signalling format है ।
इस phase म सभी network layer protocol NCP relay connection कसी dedicated line क तरह 2. ANSI - इस format म annex D को
(Network Control Protocol) के साथ service Frame relay Main Office और सभी branch offices
काम करे गा। ANSI standard T1.617 के साथ include कया गया
establish करते है । के बीच काम करे गा और सभी branch routers को एक
है ।
single physical connection के वारा Main Office DLCI (Data Link Connection Identifiers)
Link Termination Phase जैसा क DLCI के नाम से आप अंदाजा लगा सकते है 3. ITU-T (Q.993A) - ITU - T म annex A
से connect करे गा। Frame relay एक switch पर
PPP link कसी भी तरफ से कसी भी समय request यह frame relay के मा यम से जड़ को include कया गया है । इसे q933a command
काम करता है, िजससे क आप branch offices को ु े हुए different
भेजकर terminate क जा सकती है । Link data link connections को unquely identify करने वारा define कया गया है ।
कसी WAN technology के बजाय LAN technology
termination authentication fail होने के कारण भी के लए use कया जाता है । ये एक integer number
से connect कर सकते है। ऐसा करने से आपको हर Frame Relay Encapsulation Types
हो सकता है । होता है जो frame relay service provider वारा
branch office के लए अलग से dedicated WAN जब आप frame relay को Cisco router पर
technology line क आव यकता नह ं होगी और आपक assign कया जाता है । इसे frame relay interfaces configure करते है तो आप इसे serial interface पर
Introduction to Frame Relay
Frame relay एक packet switched technology लागत बहुत कम हो जायेगी। इसे नचे diagram वारा पर configure कया जाता है । encapsulation के प म define करते है। Frame
है । इसे local area networks के बीच कम लागत म समझाया गया है । relay के साथ आप HDLC या PPP को नह ं use कर
य द ऊपर उदाहरण म दए गए network के स दभ म
data transfer करने के लए design कया गया था। सकते है। Frame relay के साथ आप 2
दे ख तो frame relay switch से जाने वाले सभी
साथ ह इसे Wide Area Networks म end points के encapsulation types use कर सकते है । इनके बारे म
interfaces पर इसे configure कया जाएगा। इस कार
बीच भी use कया जाता रहा है । Frame relay एक नचे बताया जा रहा है ।
ये सभी branch offices को frame relay से main
बहुत ह popular service रह है । ले कन अब इसे 1. IETF - य द आप manually इस type को
office के बीच जाने वाल dedicated link म
यादातर internet service providers वारा बंद कर define नह ं करते है तो Cisco routers पर default
uniquely identify करे गा।
दया गया है । frame relay encapsulation type Cisco होता है ।
LMI (Local Management Interface) इस type को आप केवल तब ह define करगे जब आप
जैसा क आपको पता है packet switched ऊपर दए गए उदाहरण म Main office router के िजस LMI एक signalling standard है। इसे DTE router कसी Cisco router को कसी दस
ू रे vendor के
technologies best effort basis पर काम करती है interface से frame relay switch connected है वह और frame relay के first switch (DCE) के बीच router से frame relay के वारा जोड़ना चाहते है ।
और data के transfer होने क कोई guarantee नह ं DTE (Data Terminal Equipment) कहलाता है और use कया जाता है । ये frame relay म होने वाले 2. Cisco - Cisco devices पर ये default
दे ती है । Frame relay service भी इसी अवधारणा के frame relay switch के िजस interface से Main operations और status क जानकार DTE और encapsulation type होता है।
अनु प काम करती है। Frame relay service म data office router connected है वह DCE (Data frame relay service provider के बीच share करता 3. Introduction to Telnet
को एक frame म डाला जाता है और retransmission Communication Equipment) कहलाता है । है ।
(Teletype Network)
का काम endpoints पर छोड़ दया जाता है िजससे 4. मान ल िजये क आप कसी company म network
data transmission speed बड़ जाती है । CIR (Committed Information Rate) LMI नचे द गयी information को share करता है । administrator है । आपक company का network
एक frame relay network म अलग अलग locations बहुत बड़ा है और इसम बहुत से hosts है । इतने बड़े
1. Keepalives - ये signal बताता है क data
जैसा क मैने आपको पहले बताया frame relay से से कई routers कसी main router से connected network म य द आपको कसी host से कसी कार का
flow हो रहा है।
data transfer लागत कम हो जाती है । उदाहरण के लए रहते है । Data transfer के दौरान ये सभी routers एक data access करना हो या फर कसी host पर कोई
2. Multicasting - ये LMI म एक optional
नचे नचे दए गए diagram को दे खये। single dedicated line को share करते है। आसान program run करना हो तो आपको physically उस
extension है िजसके मा यम से routing
host तक जाना होगा। ले कन य क आपक company यह match top से down sequential order म
इस लए यह आव यक है क आप अपनी organisation Traffic Classification (Categorisation)
का network बड़ा है इस लए आप हर host के पास perform कया जाता है ।
के network को secure रखने के लए यास कर। ऐसा Access lists वारा network म आने वाले और
जाकर काम नह ं कर सकते है । हर host के पास 2. Traffic केवल तब तक ह compare कया
आप अपने network म traffic के flow को control network से बाहर जाने वाले traffic को classify कया
physically जाना बहुत time consuming हो सकता है जाता है जब तक क कोई match नह ं मल जाता है ।
करके कर सकते है । इसे traffic को filter करना भी कहा जाता है। या न क Access lists router से pass होने
और इससे दस ू रे employees को distrubance भी हो एक बार जब traffic कसी command से match
जाता है । य क आप केवल authorized traffic को वाले traffic को categories करने म स म होती है।
सकता है । इस situation म आप telnet को use कर करता है तो उस command को execute कया जाता
allow करते है और बा क traffic को block कर दे ते है । इसके कुछ उदाहरण नचे दए जा रहे है ।
सकते है। है और या तो traffic को permit या deny कया जाता
5. है । इसके बाद आगे कोई comarision नह ं कया जाता
Basic security feature के प म Cisco अपने सभी  Access lists वारा एक routing protocol
6. Telnet एक network protocol होता है । इसक मदद है ।
routers म access control lists के वारा traffic (IP, TCP, ICMP, OSPF आ द) से दस
ू रे routing
से आप कसी network (LAN, Internet) म एक 3. Access list के आ खर म हमेशा एक
control (filter) करने क ability provide करता है । protocol को भेजे जाने वाले traffic को categories
computer से दस
ू रे computer को remotely access implicit deny का command होता है िजसका मतलब
जैसा क नाम से ह पता चलता है access control कया जाता है।
कर सकते है। Telnet को 1969 म develop कया गया यह होता है क य द traffic कसी भी command से
lists आपके network के access को control करती  Access lists वारा VPN tunnel से send
था। इसे RFC 854 म define कया गया है । Telnet match नह ं होता है तो उसे discard कर दया जाता
है । इ ह simply access lists भी कहा जाता है। कये जाने वाले traffic को categories कया जाता है ।
connections को virtual terminal connections है ।
यानी क आप VPN tunnel से गुजरने वाले traffic को
कहा जाता है। Telnet के मा यम से आप बना कसी
Access lists एक commands क list होती है । कोई अलग से identify और control कर सकते है।
host के पास physically जाए भी उससे information
भी command या तो traffic allow करती है या deny  Access lists वारा NAT (Network
access कर सकते है या programs run करवा सकते
करती है । य द access list क कसी command से Address Translation) protocol वारा translate
है । इससे आपका time भी बचता है और effort भी कम
traffic match कर जाता है तो traffic को permit या कये जाने वाले traffic को categories कया जा सकता
लगता है।
deny कया जाता है और य द traffic match नह ं है ।
कसी device को telnet करते समय आप उसका login करता है तो वह discard हो जाता है ।  Access lists के वारा telnet
password use करते है। एक बार उस device म connections को भी filter कया जा सकता है।
Access lists protocol, interface और direction के
login होने के बाद आप उसे कसी local user क तरह
आधार पर traffic को filter करती है। आप हर Traffic Filtering (Control)
access कर पाते है ।
protocol, interface और direction के लए केवल Access lists का सबसे मख
ु काय traffic को filter
एक ह access list use कर सकते है। करना होता है । Access lists के वारा आप define
Telnet को public network (Internet) म use
करते है क कस कार (protocol, interface, port,
करना safe नह ं माना जाता है । इस लए public
यह यान रखना बेहद मह वपूण है क access lists network) का traffic आपके network म आ सकता है
network म कसी host को remotely access करने
केवल router से pass होने वाले traffic को ह control और कस कार का traffic network के बाहर जा
के लए SSH (Secure Shell) को use कया जाता है ।
करती है । यानी क access lists को केवल router सकता है ।
SSH भी telnet क तरह ह hosts को remotely
interfaces पर ह implement कया जा सकता है।
access करने के लए होता है ले कन ये telnet से
कई बार traffic filtering और classification को
अ धक secure होता है । Telnet को सफ private य द आप अपने network के अंदर भी traffic को confuse कर लया जाता है । ले कन आपको confuse
networks म ह use करना safe माना जाता है। control करना चाहते है तो इसके लए आपको अपने होने क आव यकता नह ं है। आसान श द म कहा जाए
Introduction to Access Control List
main router के अलावा network म और भी routers तो traffic classification का मतलब pass होने वाले
कसी भी organisation के लए अपने network को
setup करने ह गे। traffic क category या है । यानी क वह IP traffic
protect करना अ यंत मह वपूण होता है । य द ऐसा नह ं
है, TCP traffic, VPN tunnel से आने वाला traffic है
कया जाए तो unwanted traffic और unauthorized उदाहरण के लए आप चाहते क आपके network म
या फर NAT protocol से आने वाला traffic है
access आपके network क ि थ त को ख़राब कर कुछ hosts क ह ं दूसरे hosts से communicate ना
और traffic filtering का मतलब है क कौनसा traffic
सकते है। कर सके तो इसके लए आपको उ ह router से
router के through pass होगा।
seperate करना होगा और फर router interfaces पर
उदाहरण के लए कोई भी unauthorised access करके
access lists apply करनी होगी।
आपके organisation के network resources को Working of Access Control Lists
use कर सकता है और उ ह damage भी कर सकता है । Operations of Access Control Lists नचे access lists क working को steps वारा
इसके अलावा आपके network म इतना unwanted Access control lists वारा 2 मुख operations समझाया जा रहा है ।
traffic flow हो सकता है क उससे आपके network क perform कये जाते है। इनके बारे म आगे बताया जा 1. हर traffic packet हमेशा access list क
काय मता भी भा वत हो सकती है । रहा है । सभी commands के साथ compare कया जाता है।

You might also like