Professional Documents
Culture Documents
CLASSROOM IN A BOOK
Topic:
Presented by:
WWW.EasyPeezZi.com
Whats EasyPeezi?
By:
EasyPeezZi.com ---------------This Book is written by Fayyaz Ahmed---------------
2| Free Learning (Fayyaz Ahmed) CSCO12971267
Whats EasyPeezi?
The idea behind EasyPeezi is that which makes Learning its very Easy for Everyone.
In EasyPeezi we have 2 cartoon character the boy is Easy & the Girl is Peezzi you can see the pic
below which help you to Read books, blogs very easily.
In Easypeezzi site I upload my Education my notes my concept which I have in my field and try to share
with you all guys in Roman so you can also Learn this Concept Quickly & Easily as you know English
or Not..
I invest my lots of Time & Efforts to build site learn this things making all notes and books in Roman
type thousands of words by my self & Share my knowledge with all of you. so take It serious learn things
quickly go ahead and enjoy the show.
For further details visit Site www.Easypeezzi.com hope this site is helpful you and others and its
informative to learn these things Quickly & Easily. So0o its all about EasyPeezzi.
Feedback
Easypeezzi@gmail.com
All contents copyright All rights reserved. No part of this document or the related files may be reproduced
or transmitted in any form, by any means (electronic, photocopying, recording, or otherwise) without the
prior written permission of the publisher.
U Contant U Page No
UIP Address:
IPv4 Addressing? 04
Define Both IPs?
Range of IP address? 05
Discussion about IPv4?
Subnet Mask?
Wildcard Mask? 06
How to calculate Wildcard mask?
Subnet CIDR?
How to define a Class by IANA?
Why Made Classes IANA? 07
Public& Private Address?
Private Address Range of Free ips? 08
Loopback Number (127)?
Subnetting:
Define Subnetting? 09
Define Values?
Uses of Subnetting? 10
Subnetting of Class C: 11
VLSM:
Define VLSM? 15
First Branch 100 Host required
Second Branch 60 Host required 16
Third Branch 30 Host required
Forth Branch 10 Host required
Subnet Mask:
Subnet Mask represent hota hy hamary networks k ley k hum kon sy Network ki IP ko Use kar rahy hy
agar Class A ki IP hy us my sirf 1 Network Portion hy to uska Subnet Mask hota hy 255.0.0.0 or Class
B my 2 Network Portion hoty hy to us ka Subnet Mask hota hy 255.255.0.0 or Class C my 3 Network
portion hoty hy to Class C ka Subnet Mask hota hy 255.255.255.0 to subnet hammary Network ko
represent karta hy k hum kon sy network ko use kar rahy hy.
Or essi tarha ye Router ko bhi help karta hy Broadcasting rokny k ley jessy hi kessi 1 network ki
Broadcast Router k pass jati hy to Router sub sy phly us IP ka Subnet Mask check karta hy agar wo
Subnet Mask us k dosray interface sy connect Network sy match hota hy to Router ussy agye Forward
kar dyta hy Or agar Subnet Mask same nahi hota to wo Broadcasting ko wahi rok dyta hy.
Essi ley Class A ki jo IPs hoti hy us my Network portion 1 hota hy or baki k portion Host portions hoty
hy jo k computers k ley use hoty hy to network portion 1 matlab 8 bit full hy essi ley hum Class A ki Ip
ko /8 ka Subnet Mask bhi khty hy or Class B ki IP my 2 Portion full to hum ussy /16 ka Subnet Mask
khty hy or or Class C k Subnet Mask ko hum /24 ka network khty hy qk us my 3 Network portion use
hoty hy so 8 multiply by 3 its equals to 24.
Wildcard Mask:
Wildcard mask opposite hota hy subnet mask ky jaisy k hum subnet mask my 1 bit ko count karty hy or
0 bit ko ignore karty hy essi tarha hum Wildcard mask my 0 bit ko count karty hy or 1 bit ko ignore karty
hy. Wildcard mask my 0 bits check hoty hy or 1 bit ignores hoty hy.
Class A ka Subnet Mask 255.0.0.0 hota hy so is Wildcard Mask mai 255 1 portion hy matlab ye 1 hy jo
subnet mask my count hota hy to Wildcard k ley hum 255 ki jaga 1 sy ussy 0 kar dy ga or bakki ki 0 bits
ko 1 kar dy gy qk Wildcard mask opposite hota hy subnet mask k. So Class A ka Wildcard Mask banny
ga 0.255.255.255 opposite of subnet.
Class B Subnet Mask 255.255.0.0 Wildcard Mask 0.0.255.255
But kabhi kabhi hummay is tarha ka bhi subnet dekhny ko milta hy like 255.192.0.0 to is condition my
hum is mask ka wiladcast mask nikalny k ley is mask ko minus karaty hy Globally subnet mask sy jo hy
255.255.255.255 so 255.192.0.0 minus/- 255.255.255.255 so Wildcard mask aye ga 0.0.63.255 essi tarha
1 or example like mask hy 255.255.128.0 so again minus this mask into globally mask like
255.255.255.255 minus 255.255.128.0 so Wildcard mask is 0.0.127.255 as simple.
Subnet CIDR:
Hum jo subnet mask is tarha leakhty hy like /10 ya /15 to is tarha k mask ko CIDR
matlab (Classless Inter Domain Routing) khty hy.
ley Class C ki IP Start hoi 192 sy then pher essi tarha Class D Start hoi 224 sy qk is my 3 bits ko use kia
tha or Class E Start hoi 240 sy qk is my 4 bits ko use kia gaya.
So is tarha IANA ny Classes ko Divide kia or new network milta raha to jaha sy wo new network start
ho raha tha us k last digit hamari phly class ka ending digit ban gaya like Class A is 0 to 126 or 127
loopback number hota hy jabhi hum essy IP my use nahi karty or 128 jo k Class B ki IP my ja k lag gaya
Simple.
So IANA na unhi IPs my sy kuch IPs ko Private k ley reserve kar diya taky hum essy locally bhi free
mai use kar saky PCs ki communication k ley or kuch IPs ko Public k ley reserve kar diya. To Jab tak
ap apny local network k indar hi communication kar rahy to tab to hum private Ip ko hi use kar sakty hy
qk wo internally communication k ley use ho rahi hy per jab hum internally communication sy nikal kar
Externally communication matlab out of the office kessi or branch sy ya kessi or Network ya internet ko
access karna chahy gy to waha hammy public IP ki required hogi jo hammy online connectivity provide
kary gi on internet sy connect karygi.
Hum Loop Back IP khud sy bhi configure kar sakty hy CISCO k Router per is sy faida ye hoga k Client
side k computers per hum Gateway IP Loop back IP configure kar dy to agar Router ka 1interface
Down bhi hojata hy to hammy sary PCs py un ka Gateway Change nahi karna parta dosra interface UP
hony k bad wohi Virtual IP yani Loop Back IP as a Gateway ACT Karna Start kardyti hy. Essa normally
jab hota hai jab hum multiple routers mai FHRP Technic ko use karty hai
So thats all about IPv4 Addressing & the next section we will Subnetting which is the part of CCNA
Define Subnetting:
FLSM (Fixed Length Subnet Mask) Subnetting eak essa way hai jis mai hum eak large network ko
smaller different networks mai apni requirement k according divide karty hai like eak hi Class ki IPs ko
use karty howy ussy multiple network my divide karny ko subnetting khty hy. suppose 4 offices hy or
charu my hi Class C k network ki IP ko use karna hy but network different ho ye requirement hai to is
case mai hum subnetting ko use karty howy Class C ki IP ko 4 different networks my divide karty hai.
Essi tarha agar /10 ka mask hy to 8 bit 1 portion sy complete hogaye or 2 bit us k baraber wally host
portion sy liyee like 255.11000000. 00000000.00000000 ab in bits ki powers ko plus kia like 128 + 64
= 192 to /10 ka subnet mask aye ga 255.192.0.0 after subnetting.
Or is ko yad karny ka asan tarika hy k hum bits ki power phly calculate kar k yad kar ly k agar itny bit
lyny hy to kia value aaye gi to is sy asani hojati hy subnetting karny my.
First Remind Powers of 2: Now Borrow Bits and calculate value:
Subnetting my required ye hy k jitney bhi bits kaam pary apny / mask ko complete karny k ley so
baraber waly host portion sy utny bit ly ky un ki value ko pick kar ly jaisy agar 5 value pick ki hy tu
mask aye ga 255.248.0.0 is tarha sy bs host portion k bits ko 0 sy 1 count karna hota hy or apni
requirement k according host portion sy bits ko borrows karna hota hai.
In Short:
Subnetting eak way hota hy jis sy hum bary network ki IP Range ko choty networks my break karty hy
apni network requirenment k according
Uses of Subnetting:
1) Easy to troubleshoot.
2) 1 hi class ki IP ko use karty howy ussy smaller different network mai divide karna.
3) 1 bary network ko small networks my divide karna.
4) Decrease size of broadcast domain.
U
Subnetting of Class C:
Requeird Host 40 each Network:
Subnetting Class : 192.168.10.0/24 to subnetting karny k ley hamy ye dekhna parta hy k kis 2 ki power
my mujhy 40 host asani sy mil sakty hy, to phly hammy Required host nikalny hy jo k subnetting my H
sy represent hoty hy.
1) Required Host:
So phly hamy H ki Value nikalni parti hy yani Host bit k kis power ko ly k hum apni requirement pori
kar sakty hy. to agar my yaha 2 ki power 6 lyta ho to 26 so its equals to 64 so yaha meri requirement pori
horahi hy to yaha my H ki value 6 rakh sakta hu.
2) Now Converted Network bits: Formula (Total Host bits Required Host H Value)
Class C my mujhy Host bits mil rahy thy 8 to mai un bits ko minus kardu ga apni H ki value sy jo meri
required host hy so 8 - 6 its equals to 2 to mera N yani Network bits 2 nikla ye 2 bits hum network portion
my add karata hy.
3) Full Formula of subnetting:
So Total network bits + converted Network bits jo H k value ko Minus karny k bad aye hy.
So Class C k Network my phly total network kitny thy 24 Right to converted N/W bit kitny aye hy mery
pass 2 bits jo H k value k Minus karny k bad aye hy so fomula apply karny k bad yani 24 + 2 = 26 to
after subnetting Class C ka network ab present hoga /26 sy to agar ab network /26 hogaya hy to is ka
subnet mask hoga 255.255.255.192 to /26 k network ka subnet mask ya hoga after subnetting.
Subnetworks:
yani subnetting k bad ab mujhy Class C ki 1 single IP kitny networks dy rahi hy. To us ka formula hota
hy (2 ki power N) so N kia tha hamary pass 2 to yahi aajye ga hamary pass k 2 ki power 2 like 22 = 4 to
after this subnetting mujhy Class C ki single Network I.D 4 subnetwork Network provide kary gi jis mai
eak hi Class ki IP ko use karty howy 4 diffrenet offices mai different network ki IPs
ko assign kar saku ga.
RECALL:
So jessy k hum ny subnetting ki thi 64 host k ley jis mai hammy 22 rakh k 4 networks mily thy so is
tarha subnetting mai wo 4 networks complete howy & Each network assign 64 IPs & each network is
diffrenet but same Class that is Class C so that is all about subnetting.
SO That is all about CIDR Mask essy yaad karny sy hammy bhut faida hota hai qk agar kahi hammy
subnet mask ye show hota hai like this 255.255.255.248 so hummy idea ho jata hai k yaha /29 ka subnet
use ho raha hai.
NOTE:
Wait take a Moment, Get Comfortable and in a Good State of mind & Relax your Mind
Read it Carefully. Subnetting VLSM:
Define VLSM:
VLSM (Variable Length Subnet Mask) subnetting ki second type hy jis my hum apni requirement k
according subnetwork k size ko divide kar sakty hy suppose hamary offices ki 4 branches hy or hammy
un branches my different network ki IPs assign karni hy or jitney host us branch my hy us sy bs kuch IP
zada rakhni hy taky agar bad my kuch user add ho tu un ko bhi fulfill kar saky or zada IPs waste na ho
saky.
jessy k subnetting my equal subnetwork hoty hy her subnetwork my equal size like 128 host ya 64 host
to agar hamary kessi office my subnetting hoi v hy /26 k according jo k per branch my 64 host dy rahi
hy tu subnetting fixed hy agar kessi brach my sirf 10 computer hi hy to waha bakki ki IPs waste ho rahi
hogi. Essi ley VLSM my hum brachnes k according un ki IPs ki scheme ko design karty hy taky IPs
waste na hu. Iska formula bhi simple hy bus hammy jitney host chayee hoty hum hum host portion k
utny bits ko 0 sy 1 kar k un ki powers ko count kar lyty hy.
And subnetmask /25 : 255.255.255.128 Thats it thats the VLSM of 100 host.
Feedback
Easypeezzi@gmail.com
Visit Site www.EasypeezZi.com & Download Other Topics & Modules & Learn with FUN
EasyPeezZi.com ---------------This Book is written by Fayyaz Ahmed---------------