SlideShare a Scribd company logo
1 of 35
1
2
• IP Addressing is Logical Addressing
• It works on Network Layer (Layer 3)
• Two Versions of Addressing Scheme
• IP version 4 – 32 bit addressing
• IP version 6 – 128 bit addressing
IP Addressing
3
Bit is a value that will represent 0’s or 1’s (i.e. Binary)
01010101000001011011111100000001
• 32 bits are divided into 4 Octets known as Dotted
Decimal Notation
01010101. 00000101. 10111111. 00000001
IP version 4
First Octet Second Octet Third Octet Forth Octet
4
• 128-bit address is divided along 16-bit boundaries,
and each 16-bit block is converted to a 4-digit
hexadecimal number and separated by colons
(Colon-Hex Notation)
FEDC:BA98:7654:3210:FEDC:BA98:7654:3210
IP version 6
5
Taking Example for First Octet :
Total 8 bits, Value will be 0’s and 1’s
i.e. 28 = 256 combination
27 26 25 24 23 22 21 20
0 0 0 0 0 0 0 0 = 0
0 0 0 0 0 0 0 1 = 1
0 0 0 0 0 0 1 0 = 2
0 0 0 0 0 0 1 1 = 3
0 0 0 0 0 1 0 0 = 4
Binary to Decimal Conversion
1 1 1 1 1 1 1 1 = 255
Total IP Address Range
0 . 0 . 0 . 0
to
255.255.255.255
6
• Total IP Addressing Scheme is divided
into 5 Classes
• CLASS A
• CLASS B
• CLASS C
• CLASS D
• CLASS E
IP Address Classes
LAN & WAN
Multicasting
Research & Development
7
Priority Bit Concept
• To identify the range of each class
a bit called priority bit is used.
• Priority Bit is the left most bits in the First Octet
• CLASS A priority bit is 0
• CLASS B priority bit is 10
• CLASS C priority bit is 110
• CLASS D priority bit is 1110
• CLASS E priority bit is 1111
8
For Class A range : First bit of the first octet
should be reserved for the priority bit.
0xxxxxxx. xxxxxxxx. xxxxxxxx. xxxxxxxx
27 26 25 24 23 22 21 20
0 0 0 0 0 0 0 0 = 0
0 0 0 0 0 0 0 1 = 1
0 0 0 0 0 0 1 0 = 2
0 0 0 0 0 0 1 1 = 3
0 0 0 0 0 1 0 0 = 4
CLASS A Range
0 1 1 1 1 1 1 1 = 127
Class A Range
0 . 0 . 0 . 0 to
127.255.255.255
Exception
0.X.X.X and 127.X.X.X
network are reserved
9
For Class B range : First two bits of the first
octet should be reserved for the priority bit.
10xxxxxx. xxxxxxxx. xxxxxxxx. xxxxxxxx
27 26 25 24 23 22 21 20
1 0 0 0 0 0 0 0 = 128
1 0 0 0 0 0 0 1 = 129
1 0 0 0 0 0 1 0 = 130
1 0 0 0 0 0 1 1 = 131
1 0 0 0 0 1 0 0 = 132
CLASS B Range
1 0 1 1 1 1 1 1 = 191
Class B Range
128. 0 . 0 . 0
to
191.255.255.255
10
For Class C range : First Three bits of the first
octet should be reserved for the priority bit.
110xxxxx. xxxxxxxx. xxxxxxxx. xxxxxxxx
27 26 25 24 23 22 21 20
1 1 0 0 0 0 0 0 = 192
1 1 0 0 0 0 0 1 = 193
1 1 0 0 0 0 1 0 = 194
1 1 0 0 0 0 1 1 = 195
1 1 0 0 0 1 0 0 = 196
CLASS C Range
1 1 0 1 1 1 1 1 = 223
Class C Range
192. 0 . 0 . 0
to
223.255.255.255
11
For Class D range : First four bits of the first
octet should be reserved for the priority bit.
1110xxxx. xxxxxxxx. xxxxxxxx. xxxxxxxx
27 26 25 24 23 22 21 20
1 1 1 0 0 0 0 0 = 224
1 1 1 0 0 0 0 1 = 225
1 1 1 0 0 0 1 0 = 226
1 1 1 0 0 0 1 1 = 227
1 1 1 0 0 1 0 0 = 228
CLASS D Range
1 1 1 0 1 1 1 1 = 239
Class D Range
224. 0 . 0 . 0
to
239.255.255.255
12
For Class E range : First four bits of the first
octet should be reserved for the priority bit.
1111xxxx. xxxxxxxx. xxxxxxxx. xxxxxxxx
27 26 25 24 23 22 21 20
1 1 1 1 0 0 0 0 = 240
1 1 1 1 0 0 0 1 = 241
1 1 1 1 0 0 1 0 = 242
1 1 1 1 0 0 1 1 = 243
1 1 1 1 0 1 0 0 = 244
CLASS E Range
1 1 1 1 1 1 1 1 = 255
Class E Range
240. 0 . 0 . 0
to
255.255.255.255
13
• IP address is divided into Network & Host Portion
• CLASS A is written as N.H.H.H
• CLASS B is written as N.N.H.H
• CLASS C is written as N.N.N.H
Octet Format
14
CLASS A – No. Networks & Host
• Class A Octet Format is N.H.H.H
• Network bits : 8 Host bits : 24
• No. of Networks
= 28-1 (-1 is Priority Bit for Class A)
= 27
= 128 – 2 (-2 is for 0 & 127 Network)
= 126 Networks
• No. of Host
= 224 – 2 (-2 is for Network ID & Broadcast ID)
= 16777216 - 2
= 16777214 Hosts/Network
CLASS A
126 Networks
&
16777214
Hosts/Nw
15
CLASS B – No. Networks & Host
• Class B Octet Format is N.N.H.H
• Network bits : 16 Host bits : 16
• No. of Networks
= 216-2 (-2 is Priority Bit for Class B)
= 214
= 16384 Networks
• No. of Host
= 216 – 2 (-2 is for Network ID & Broadcast ID)
= 65536 - 2
= 65534 Hosts/Network
CLASS B
16384 Networks
&
65534 Hosts/Nw
16
CLASS C – No. Networks & Host
• Class C Octet Format is N.N.N.H
• Network bits : 24 Host bits : 8
• No. of Networks
= 224-3 (-3 is Priority Bit for Class C)
= 221
= 2097152 Networks
• No. of Host
= 28 – 2 (-2 is for Network ID & Broadcast ID)
= 256 - 2
= 254 Hosts/Network
CLASS C
2097152 Networks
&
254 Hosts/Nw
17
• The network address is represented with all bits as
ZERO in the host portion of the address
• The broadcast address is represented with all bits as
ONES in the host portion of the address
• Valid IP Addresses lie between the Network Address
and the Broadcast Address.
• Only Valid IP Addresses are assigned to hosts/clients
Network & Broadcast Address
18
Class A : N.H.H.H
Network Address :
0xxxxxxx.00000000.00000000.00000000
Broadcast Address :
0xxxxxxx.11111111.11111111.11111111
Example - Class A
Class A
10.0.0.0
10.0.0.1
10.0.0.2
10.0.0.3
10.255.255.254
10.255.255.255 Broadcast Address
Network Address
Valid IP Addresses
19
Class B : N.N.H.H
Network Address :
10xxxxxx.xxxxxxxx.00000000.00000000
Broadcast Address :
10xxxxxx.xxxxxxxx.11111111.11111111
Example - Class B
Class B
172.16.0.0
172.16.0.1
172.16.0.2
172.16.0.3
172.16.255.254
172.16.255.255 Broadcast Address
Network Address
Valid IP Addresses
20
Class C : N.N.N.H
Network Address :
110xxxxx.xxxxxxxx.xxxxxxxx.00000000
Broadcast Address :
110xxxxx.xxxxxxxx.xxxxxxxx.11111111
Example - Class C
Class C
192.168.1.0
192.168.1.1
192.168.1.2
192.168.1.3
192.168.1.254
192.168.1.255 Broadcast Address
Network Address
Valid IP Addresses
21
• There are certain addresses in each class of IP
address that are reserved for LAN. These addresses
are called private addresses.
• They can be used for: home & office networks,
networks not connected to Internet.
Private IP Address
Class A
10.0.0.0 to 10.255.255.255
Class B
172.16.0.0 to 172.31.255.255
Class C
192.168.0.0 to 192.168.255.255
22
Subnet Mask
• Subnet Mask differentiates Network portion and Host
Portion
• Subnet Mask is been given for host Identification of
Network ID
• Represented with all 1’s in the network portion
and with all 0’s in the host portion.
23
Class A : N.H.H.H
11111111.00000000.00000000.00000000
Default Subnet Mask for Class A is 255.0.0.0
Class B : N.N.H.H
11111111.11111111.00000000.00000000
Default Subnet Mask for Class B is 255.255.0.0
Class C : N.N.N.H
11111111.11111111.11111111.00000000
Default Subnet Mask for Class C is 255.255.255.0
Subnet Mask - Examples
24
How Subnet Mask Works ?
IP Address : 192.168.1.1
Subnet Mask : 255.255.255.0
ANDING PROCESS :
192.168.1.1 = 11000000.10101000.00000001.00000001
255.255.255.0 = 11111111.11111111.11111111.00000000
=======================================
192.168.1.0 = 11000000.10101000.00000001.00000000
=======================================
The output of an AND table is 1 if both its inputs are 1.
For all other possible inputs the output is 0.
AND TABLE
A B C
0 0 0
0 1 0
1 0 0
1 1 1
25
• Dividing a Single Network into Multiple Networks.
• Converting Host bits to Network Bits
i.e. Converting 0’s into 1’s
• Subnetting is also called as FLSM (Fixed Length
Subnet Mask)
• Subnetting can be done in three ways.
– Requirement of Networks
– Requirement of Hosts
– Cisco / Notation
Subnetting
26
ZOOM Technologies is having 100 PC
• Which Class is preffered for the network ?
Answer : Class C.
• In ZOOM Technologies we have Five Departments
with 20 Pcs each
ZOOM Technologies – 192.168.1.0/24
Scenario
– MCSE 192.168.1.1 to 192.168.1.20
192.168.1.21 to 192.168.1.40
– CISCO
– FIREWALL 192.168.1.41 to 192.168.1.60
– SOLARIS 192.168.1.61 to 192.168.1.80
– TRAINING 192.168.1.81 to 192.168.1.100
27
• Administrator’s Requirement :
Inter-department communication should not be
possible ?
Solution.
Allocate a different Network to each Department
i.e.
Scenario (…continued)
– MCSE 192.168.1.1 to 192.168.1.20
192.168.2.1 to 192.168.2.20
– CISCO
– FIREWALL 192.168.3.1 to 192.168.3.20
– SOLARIS 192.168.4.1 to 192.168.4.20
– TRAINING 192.168.5.1 to 192.168.5.20
• In the above Scenario inter-department
communication is not possible.
28
Problem with the previous Scenario is :-
• Loss of bandwidth as the broadcasting is done for
254 machines rather than for 20 machines.
• Wastage of IP addresses (Approximately 1000)
• No Security
Main Aim of Subnetting
29
POWER TABLE
21 = 2
22 = 4
23 = 8
24 = 16
25 = 32
26 = 64
27 = 128
28 = 256
29 = 512
210 = 1024
211 = 2048
212 = 4096
213 = 8192
214 = 16384
215 = 32768
216 = 65536
217 = 131072
218 = 262144
219 = 524288
220 = 1048576
221 = 2097152
222 = 4194304
223 = 8388608
224 = 16777216
225 = 33554432
226 = 67108864
227 = 134217728
228 = 268435456
229 = 536870912
230 = 1073741824
231 = 2147483648
232 = 4294967296
Power table
30
Some Important Values
VALUES IN SUBNET MASK
Bit Value Mask
1 128 10000000
2 192 11000000
3 224 11100000
4 240 11110000
5 248 11111000
6 252 11111100
7 254 11111110
8 255 11111111
31
Requirement of Networks is 5 ?
Example – 1
• No. of Host
= 2h – 2 (-2 is for Network ID & Broadcast ID)
= 25 – 2
= 32 – 2
= 30 Hosts/Subnet
Class C : N.N.N.H
110xxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
Class C : 192.168.1.0
• No. of Subnet
= 2n – 2  Req. of Subnet
= 23 – 2  5 (-2 is for First & Last Subnet Range)
= 8 – 2
= 6 Subnet
110xxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
HELP
32
x
Example – 1 (Continued…)
• Range of Networks
Network ID Broadcast ID
192.168.1.0
• Customize Subnet Mask =
255.
11111111.
255.
11111111.
255.
11111111. 11100000
192.168.1.32
192.168.1.64
192.168.1.96
192.168.1.128
192.168.1.160
192.168.1.192
192.168.1.224
192.168.1.31
192.168.1.63
192.168.1.95
192.168.1.127
192.168.1.159
192.168.1.191
192.168.1.223
192.168.1.255
x
Valid Subnets
224
If you convert 3 Host Bits to Network Bits
6 Subnet & 30 Hosts/Subnet
Customize Subnet Mask
255.255.255.224
Subnet Range
192.168.1.32 to 192.168.1.63  MCSE .
192.168.1.64 to 192.168.1.95  CISCO .
192.168.1.96 to 192.168.1.127  FIREWALL
192.168.1.128 to 192.168.1.159  SOLARIS
192.168.1.160 to 192.168.1.191  TRAINING
192.168.1.192 to 192.168.1.223  Future Use
33
Requirement of Networks is 14 ?
Example – 2
• No. of Host
= 2h – 2 (-2 is for Network ID & Broadcast ID)
= 24 – 2
= 16 - 2
= 14 Hosts/Subnet
Class C : N.N.N.H
110xxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
Class C : 192.168.1.0
• No. of Subnet
= 2n – 2  Req. of Subnet
= 24 – 2  14 (-2 is for First & Last Subnet Range)
= 16 – 2
= 14 Subnet
110xxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
HELP
34
x
Example – 2 (Continued…)
• Range of Networks
Network ID Broadcast ID
192.168.1.0
• Customize Subnet Mask =
255.
11111111.
255.
11111111.
255.
11111111. 11110000
x
Valid Subnets
192.168.1.224 – 192.168.1.239
192.168.1.240 – 192.168.1.255
– 192.168.1.15
192.168.1.16 – 192.168.1.31
192.168.1.32 – 192.168.1.47
192.168.1.48 – 192.168.1.63
240
If you convert 4 Host Bits to Network Bits
14 Subnet & 14 Hosts/Subnet
Customize Subnet Mask
255.255.255.240
Subnet Range
192.168.1.16 to 192.168.1.31
192.168.1.32 to 192.168.1.47
192.168.1.48 to 192.168.1.63
192.168.1.64 to 192.168.1.80
192.168.1.224 to 192.168.1.239
35

More Related Content

What's hot

FDM,OFDM,OFDMA,MIMO
FDM,OFDM,OFDMA,MIMOFDM,OFDM,OFDMA,MIMO
FDM,OFDM,OFDMA,MIMONadeem Rana
 
What is l co s based wavelength selective switch
What is l co s based wavelength selective switchWhat is l co s based wavelength selective switch
What is l co s based wavelength selective switchFOSCO Fiber Optics
 
CCNA BASIC SWITCHING AND SWITCH CONFIGURATION
CCNA BASIC SWITCHING AND SWITCH CONFIGURATIONCCNA BASIC SWITCHING AND SWITCH CONFIGURATION
CCNA BASIC SWITCHING AND SWITCH CONFIGURATIONAswini Badatya
 
Mpls basics introduction
Mpls basics introductionMpls basics introduction
Mpls basics introductionPhilip Agu Bah
 
MPLS Concepts and Fundamentals
MPLS Concepts and FundamentalsMPLS Concepts and Fundamentals
MPLS Concepts and FundamentalsShawn Zandi
 
MPLS L3 VPN Deployment
MPLS L3 VPN DeploymentMPLS L3 VPN Deployment
MPLS L3 VPN DeploymentAPNIC
 
Segment routing tutorial
Segment routing tutorialSegment routing tutorial
Segment routing tutorialYi-Sung Chiu
 
2G / 3G / 4G / IMS / 5G Overview with Focus on Core Network
2G / 3G / 4G / IMS / 5G Overview with Focus on Core Network2G / 3G / 4G / IMS / 5G Overview with Focus on Core Network
2G / 3G / 4G / IMS / 5G Overview with Focus on Core NetworkHamidreza Bolhasani
 
Software Defined Network (SDN) using ASR9000 :: BRKSPG-2722 | San Diego 2015
Software Defined Network (SDN) using ASR9000 :: BRKSPG-2722 | San Diego 2015Software Defined Network (SDN) using ASR9000 :: BRKSPG-2722 | San Diego 2015
Software Defined Network (SDN) using ASR9000 :: BRKSPG-2722 | San Diego 2015Bruno Teixeira
 
Chapter 17 : static routing
Chapter 17 : static routingChapter 17 : static routing
Chapter 17 : static routingteknetir
 
Cisco Networking (Routing and Switching)
Cisco Networking (Routing and Switching)Cisco Networking (Routing and Switching)
Cisco Networking (Routing and Switching)Alan Mark
 
CISCO Virtual Private LAN Service (VPLS) Technical Deployment Overview
CISCO Virtual Private LAN Service (VPLS) Technical Deployment OverviewCISCO Virtual Private LAN Service (VPLS) Technical Deployment Overview
CISCO Virtual Private LAN Service (VPLS) Technical Deployment OverviewAmeen Wayok
 
Demystifying EVPN in the data center: Part 1 in 2 episode series
Demystifying EVPN in the data center: Part 1 in 2 episode seriesDemystifying EVPN in the data center: Part 1 in 2 episode series
Demystifying EVPN in the data center: Part 1 in 2 episode seriesCumulus Networks
 
VXLAN BGP EVPN: Technology Building Blocks
VXLAN BGP EVPN: Technology Building BlocksVXLAN BGP EVPN: Technology Building Blocks
VXLAN BGP EVPN: Technology Building BlocksAPNIC
 
Overview 5G Architecture Options from Deutsche Telekom
Overview 5G Architecture Options from Deutsche TelekomOverview 5G Architecture Options from Deutsche Telekom
Overview 5G Architecture Options from Deutsche TelekomEiko Seidel
 

What's hot (20)

interference.ppt
interference.pptinterference.ppt
interference.ppt
 
VXLAN
VXLANVXLAN
VXLAN
 
FDM,OFDM,OFDMA,MIMO
FDM,OFDM,OFDMA,MIMOFDM,OFDM,OFDMA,MIMO
FDM,OFDM,OFDMA,MIMO
 
EVPN Introduction
EVPN IntroductionEVPN Introduction
EVPN Introduction
 
What is l co s based wavelength selective switch
What is l co s based wavelength selective switchWhat is l co s based wavelength selective switch
What is l co s based wavelength selective switch
 
CCNA BASIC SWITCHING AND SWITCH CONFIGURATION
CCNA BASIC SWITCHING AND SWITCH CONFIGURATIONCCNA BASIC SWITCHING AND SWITCH CONFIGURATION
CCNA BASIC SWITCHING AND SWITCH CONFIGURATION
 
Mpls basics introduction
Mpls basics introductionMpls basics introduction
Mpls basics introduction
 
MPLS Concepts and Fundamentals
MPLS Concepts and FundamentalsMPLS Concepts and Fundamentals
MPLS Concepts and Fundamentals
 
MPLS L3 VPN Deployment
MPLS L3 VPN DeploymentMPLS L3 VPN Deployment
MPLS L3 VPN Deployment
 
Segment routing tutorial
Segment routing tutorialSegment routing tutorial
Segment routing tutorial
 
2G / 3G / 4G / IMS / 5G Overview with Focus on Core Network
2G / 3G / 4G / IMS / 5G Overview with Focus on Core Network2G / 3G / 4G / IMS / 5G Overview with Focus on Core Network
2G / 3G / 4G / IMS / 5G Overview with Focus on Core Network
 
Very High Density (vhd) 802.11ac Wireless Network Design and Deployment Basics
Very High Density (vhd) 802.11ac Wireless Network Design and Deployment BasicsVery High Density (vhd) 802.11ac Wireless Network Design and Deployment Basics
Very High Density (vhd) 802.11ac Wireless Network Design and Deployment Basics
 
Zigbee 802-15-4
Zigbee 802-15-4Zigbee 802-15-4
Zigbee 802-15-4
 
Software Defined Network (SDN) using ASR9000 :: BRKSPG-2722 | San Diego 2015
Software Defined Network (SDN) using ASR9000 :: BRKSPG-2722 | San Diego 2015Software Defined Network (SDN) using ASR9000 :: BRKSPG-2722 | San Diego 2015
Software Defined Network (SDN) using ASR9000 :: BRKSPG-2722 | San Diego 2015
 
Chapter 17 : static routing
Chapter 17 : static routingChapter 17 : static routing
Chapter 17 : static routing
 
Cisco Networking (Routing and Switching)
Cisco Networking (Routing and Switching)Cisco Networking (Routing and Switching)
Cisco Networking (Routing and Switching)
 
CISCO Virtual Private LAN Service (VPLS) Technical Deployment Overview
CISCO Virtual Private LAN Service (VPLS) Technical Deployment OverviewCISCO Virtual Private LAN Service (VPLS) Technical Deployment Overview
CISCO Virtual Private LAN Service (VPLS) Technical Deployment Overview
 
Demystifying EVPN in the data center: Part 1 in 2 episode series
Demystifying EVPN in the data center: Part 1 in 2 episode seriesDemystifying EVPN in the data center: Part 1 in 2 episode series
Demystifying EVPN in the data center: Part 1 in 2 episode series
 
VXLAN BGP EVPN: Technology Building Blocks
VXLAN BGP EVPN: Technology Building BlocksVXLAN BGP EVPN: Technology Building Blocks
VXLAN BGP EVPN: Technology Building Blocks
 
Overview 5G Architecture Options from Deutsche Telekom
Overview 5G Architecture Options from Deutsche TelekomOverview 5G Architecture Options from Deutsche Telekom
Overview 5G Architecture Options from Deutsche Telekom
 

Similar to Ipaddressing

Similar to Ipaddressing (20)

ACIT Mumbai - CCNA Training Coourse- IP ADDRESS ASSIGNMENT
ACIT Mumbai - CCNA Training Coourse- IP ADDRESS ASSIGNMENTACIT Mumbai - CCNA Training Coourse- IP ADDRESS ASSIGNMENT
ACIT Mumbai - CCNA Training Coourse- IP ADDRESS ASSIGNMENT
 
IP Addressing
IP AddressingIP Addressing
IP Addressing
 
Ip addressing
Ip addressingIp addressing
Ip addressing
 
ip addressing
ip addressingip addressing
ip addressing
 
Chap3. i pv4
Chap3. i pv4Chap3. i pv4
Chap3. i pv4
 
Computer networking
Computer networkingComputer networking
Computer networking
 
CCNA part 2 ip addressing
CCNA part 2 ip addressingCCNA part 2 ip addressing
CCNA part 2 ip addressing
 
Wipro telecom training i pv4 concepts
Wipro telecom training   i pv4 conceptsWipro telecom training   i pv4 concepts
Wipro telecom training i pv4 concepts
 
1703_anusua_basuclassful addressing_IP_Addressing
1703_anusua_basuclassful addressing_IP_Addressing1703_anusua_basuclassful addressing_IP_Addressing
1703_anusua_basuclassful addressing_IP_Addressing
 
Lecture 03 networking
Lecture 03 networkingLecture 03 networking
Lecture 03 networking
 
IP NETWORKING AND IP SUBNET MASKING
IP NETWORKING AND IP SUBNET MASKING IP NETWORKING AND IP SUBNET MASKING
IP NETWORKING AND IP SUBNET MASKING
 
IP Addressing.ppt
IP Addressing.pptIP Addressing.ppt
IP Addressing.ppt
 
Expl net fund_chapter_06_i_pv4_part_2
Expl net fund_chapter_06_i_pv4_part_2Expl net fund_chapter_06_i_pv4_part_2
Expl net fund_chapter_06_i_pv4_part_2
 
Ccent notes part 3
Ccent notes part 3Ccent notes part 3
Ccent notes part 3
 
Ip addresses
Ip addressesIp addresses
Ip addresses
 
chapter 4.pptx
chapter 4.pptxchapter 4.pptx
chapter 4.pptx
 
Lesson 2: Subnetting basics
Lesson 2: Subnetting basicsLesson 2: Subnetting basics
Lesson 2: Subnetting basics
 
IP classes and subnetting.
IP classes and subnetting.IP classes and subnetting.
IP classes and subnetting.
 
How IP address works
How IP address worksHow IP address works
How IP address works
 
Network Layer
Network LayerNetwork Layer
Network Layer
 

Recently uploaded

VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With RoomVIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Roomdivyansh0kumar0
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITMgdsc13
 
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一3sw2qly1
 
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on DeliveryCall Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Deliverybabeytanya
 
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With RoomVIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Roomgirls4nights
 
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts servicesonalikaur4
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kestopur 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Roomdivyansh0kumar0
 
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts servicevipmodelshub1
 
Russian Call Girls Thane Swara 8617697112 Independent Escort Service Thane
Russian Call Girls Thane Swara 8617697112 Independent Escort Service ThaneRussian Call Girls Thane Swara 8617697112 Independent Escort Service Thane
Russian Call Girls Thane Swara 8617697112 Independent Escort Service ThaneCall girls in Ahmedabad High profile
 
Denver Web Design brochure for public viewing
Denver Web Design brochure for public viewingDenver Web Design brochure for public viewing
Denver Web Design brochure for public viewingbigorange77
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirtrahman018755
 
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls KolkataLow Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012rehmti665
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGAPNIC
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girlsstephieert
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 

Recently uploaded (20)

Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
 
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With RoomVIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITM
 
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
 
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on DeliveryCall Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
 
Vip Call Girls Aerocity ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Aerocity ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Aerocity ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Aerocity ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With RoomVIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
 
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kestopur 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
 
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
 
Russian Call Girls Thane Swara 8617697112 Independent Escort Service Thane
Russian Call Girls Thane Swara 8617697112 Independent Escort Service ThaneRussian Call Girls Thane Swara 8617697112 Independent Escort Service Thane
Russian Call Girls Thane Swara 8617697112 Independent Escort Service Thane
 
Denver Web Design brochure for public viewing
Denver Web Design brochure for public viewingDenver Web Design brochure for public viewing
Denver Web Design brochure for public viewing
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
 
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls KolkataLow Rate Call Girls Kolkata Avani 🤌  8250192130 🚀 Vip Call Girls Kolkata
Low Rate Call Girls Kolkata Avani 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOG
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girls
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
 
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
 

Ipaddressing

  • 1. 1
  • 2. 2 • IP Addressing is Logical Addressing • It works on Network Layer (Layer 3) • Two Versions of Addressing Scheme • IP version 4 – 32 bit addressing • IP version 6 – 128 bit addressing IP Addressing
  • 3. 3 Bit is a value that will represent 0’s or 1’s (i.e. Binary) 01010101000001011011111100000001 • 32 bits are divided into 4 Octets known as Dotted Decimal Notation 01010101. 00000101. 10111111. 00000001 IP version 4 First Octet Second Octet Third Octet Forth Octet
  • 4. 4 • 128-bit address is divided along 16-bit boundaries, and each 16-bit block is converted to a 4-digit hexadecimal number and separated by colons (Colon-Hex Notation) FEDC:BA98:7654:3210:FEDC:BA98:7654:3210 IP version 6
  • 5. 5 Taking Example for First Octet : Total 8 bits, Value will be 0’s and 1’s i.e. 28 = 256 combination 27 26 25 24 23 22 21 20 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 1 = 1 0 0 0 0 0 0 1 0 = 2 0 0 0 0 0 0 1 1 = 3 0 0 0 0 0 1 0 0 = 4 Binary to Decimal Conversion 1 1 1 1 1 1 1 1 = 255 Total IP Address Range 0 . 0 . 0 . 0 to 255.255.255.255
  • 6. 6 • Total IP Addressing Scheme is divided into 5 Classes • CLASS A • CLASS B • CLASS C • CLASS D • CLASS E IP Address Classes LAN & WAN Multicasting Research & Development
  • 7. 7 Priority Bit Concept • To identify the range of each class a bit called priority bit is used. • Priority Bit is the left most bits in the First Octet • CLASS A priority bit is 0 • CLASS B priority bit is 10 • CLASS C priority bit is 110 • CLASS D priority bit is 1110 • CLASS E priority bit is 1111
  • 8. 8 For Class A range : First bit of the first octet should be reserved for the priority bit. 0xxxxxxx. xxxxxxxx. xxxxxxxx. xxxxxxxx 27 26 25 24 23 22 21 20 0 0 0 0 0 0 0 0 = 0 0 0 0 0 0 0 0 1 = 1 0 0 0 0 0 0 1 0 = 2 0 0 0 0 0 0 1 1 = 3 0 0 0 0 0 1 0 0 = 4 CLASS A Range 0 1 1 1 1 1 1 1 = 127 Class A Range 0 . 0 . 0 . 0 to 127.255.255.255 Exception 0.X.X.X and 127.X.X.X network are reserved
  • 9. 9 For Class B range : First two bits of the first octet should be reserved for the priority bit. 10xxxxxx. xxxxxxxx. xxxxxxxx. xxxxxxxx 27 26 25 24 23 22 21 20 1 0 0 0 0 0 0 0 = 128 1 0 0 0 0 0 0 1 = 129 1 0 0 0 0 0 1 0 = 130 1 0 0 0 0 0 1 1 = 131 1 0 0 0 0 1 0 0 = 132 CLASS B Range 1 0 1 1 1 1 1 1 = 191 Class B Range 128. 0 . 0 . 0 to 191.255.255.255
  • 10. 10 For Class C range : First Three bits of the first octet should be reserved for the priority bit. 110xxxxx. xxxxxxxx. xxxxxxxx. xxxxxxxx 27 26 25 24 23 22 21 20 1 1 0 0 0 0 0 0 = 192 1 1 0 0 0 0 0 1 = 193 1 1 0 0 0 0 1 0 = 194 1 1 0 0 0 0 1 1 = 195 1 1 0 0 0 1 0 0 = 196 CLASS C Range 1 1 0 1 1 1 1 1 = 223 Class C Range 192. 0 . 0 . 0 to 223.255.255.255
  • 11. 11 For Class D range : First four bits of the first octet should be reserved for the priority bit. 1110xxxx. xxxxxxxx. xxxxxxxx. xxxxxxxx 27 26 25 24 23 22 21 20 1 1 1 0 0 0 0 0 = 224 1 1 1 0 0 0 0 1 = 225 1 1 1 0 0 0 1 0 = 226 1 1 1 0 0 0 1 1 = 227 1 1 1 0 0 1 0 0 = 228 CLASS D Range 1 1 1 0 1 1 1 1 = 239 Class D Range 224. 0 . 0 . 0 to 239.255.255.255
  • 12. 12 For Class E range : First four bits of the first octet should be reserved for the priority bit. 1111xxxx. xxxxxxxx. xxxxxxxx. xxxxxxxx 27 26 25 24 23 22 21 20 1 1 1 1 0 0 0 0 = 240 1 1 1 1 0 0 0 1 = 241 1 1 1 1 0 0 1 0 = 242 1 1 1 1 0 0 1 1 = 243 1 1 1 1 0 1 0 0 = 244 CLASS E Range 1 1 1 1 1 1 1 1 = 255 Class E Range 240. 0 . 0 . 0 to 255.255.255.255
  • 13. 13 • IP address is divided into Network & Host Portion • CLASS A is written as N.H.H.H • CLASS B is written as N.N.H.H • CLASS C is written as N.N.N.H Octet Format
  • 14. 14 CLASS A – No. Networks & Host • Class A Octet Format is N.H.H.H • Network bits : 8 Host bits : 24 • No. of Networks = 28-1 (-1 is Priority Bit for Class A) = 27 = 128 – 2 (-2 is for 0 & 127 Network) = 126 Networks • No. of Host = 224 – 2 (-2 is for Network ID & Broadcast ID) = 16777216 - 2 = 16777214 Hosts/Network CLASS A 126 Networks & 16777214 Hosts/Nw
  • 15. 15 CLASS B – No. Networks & Host • Class B Octet Format is N.N.H.H • Network bits : 16 Host bits : 16 • No. of Networks = 216-2 (-2 is Priority Bit for Class B) = 214 = 16384 Networks • No. of Host = 216 – 2 (-2 is for Network ID & Broadcast ID) = 65536 - 2 = 65534 Hosts/Network CLASS B 16384 Networks & 65534 Hosts/Nw
  • 16. 16 CLASS C – No. Networks & Host • Class C Octet Format is N.N.N.H • Network bits : 24 Host bits : 8 • No. of Networks = 224-3 (-3 is Priority Bit for Class C) = 221 = 2097152 Networks • No. of Host = 28 – 2 (-2 is for Network ID & Broadcast ID) = 256 - 2 = 254 Hosts/Network CLASS C 2097152 Networks & 254 Hosts/Nw
  • 17. 17 • The network address is represented with all bits as ZERO in the host portion of the address • The broadcast address is represented with all bits as ONES in the host portion of the address • Valid IP Addresses lie between the Network Address and the Broadcast Address. • Only Valid IP Addresses are assigned to hosts/clients Network & Broadcast Address
  • 18. 18 Class A : N.H.H.H Network Address : 0xxxxxxx.00000000.00000000.00000000 Broadcast Address : 0xxxxxxx.11111111.11111111.11111111 Example - Class A Class A 10.0.0.0 10.0.0.1 10.0.0.2 10.0.0.3 10.255.255.254 10.255.255.255 Broadcast Address Network Address Valid IP Addresses
  • 19. 19 Class B : N.N.H.H Network Address : 10xxxxxx.xxxxxxxx.00000000.00000000 Broadcast Address : 10xxxxxx.xxxxxxxx.11111111.11111111 Example - Class B Class B 172.16.0.0 172.16.0.1 172.16.0.2 172.16.0.3 172.16.255.254 172.16.255.255 Broadcast Address Network Address Valid IP Addresses
  • 20. 20 Class C : N.N.N.H Network Address : 110xxxxx.xxxxxxxx.xxxxxxxx.00000000 Broadcast Address : 110xxxxx.xxxxxxxx.xxxxxxxx.11111111 Example - Class C Class C 192.168.1.0 192.168.1.1 192.168.1.2 192.168.1.3 192.168.1.254 192.168.1.255 Broadcast Address Network Address Valid IP Addresses
  • 21. 21 • There are certain addresses in each class of IP address that are reserved for LAN. These addresses are called private addresses. • They can be used for: home & office networks, networks not connected to Internet. Private IP Address Class A 10.0.0.0 to 10.255.255.255 Class B 172.16.0.0 to 172.31.255.255 Class C 192.168.0.0 to 192.168.255.255
  • 22. 22 Subnet Mask • Subnet Mask differentiates Network portion and Host Portion • Subnet Mask is been given for host Identification of Network ID • Represented with all 1’s in the network portion and with all 0’s in the host portion.
  • 23. 23 Class A : N.H.H.H 11111111.00000000.00000000.00000000 Default Subnet Mask for Class A is 255.0.0.0 Class B : N.N.H.H 11111111.11111111.00000000.00000000 Default Subnet Mask for Class B is 255.255.0.0 Class C : N.N.N.H 11111111.11111111.11111111.00000000 Default Subnet Mask for Class C is 255.255.255.0 Subnet Mask - Examples
  • 24. 24 How Subnet Mask Works ? IP Address : 192.168.1.1 Subnet Mask : 255.255.255.0 ANDING PROCESS : 192.168.1.1 = 11000000.10101000.00000001.00000001 255.255.255.0 = 11111111.11111111.11111111.00000000 ======================================= 192.168.1.0 = 11000000.10101000.00000001.00000000 ======================================= The output of an AND table is 1 if both its inputs are 1. For all other possible inputs the output is 0. AND TABLE A B C 0 0 0 0 1 0 1 0 0 1 1 1
  • 25. 25 • Dividing a Single Network into Multiple Networks. • Converting Host bits to Network Bits i.e. Converting 0’s into 1’s • Subnetting is also called as FLSM (Fixed Length Subnet Mask) • Subnetting can be done in three ways. – Requirement of Networks – Requirement of Hosts – Cisco / Notation Subnetting
  • 26. 26 ZOOM Technologies is having 100 PC • Which Class is preffered for the network ? Answer : Class C. • In ZOOM Technologies we have Five Departments with 20 Pcs each ZOOM Technologies – 192.168.1.0/24 Scenario – MCSE 192.168.1.1 to 192.168.1.20 192.168.1.21 to 192.168.1.40 – CISCO – FIREWALL 192.168.1.41 to 192.168.1.60 – SOLARIS 192.168.1.61 to 192.168.1.80 – TRAINING 192.168.1.81 to 192.168.1.100
  • 27. 27 • Administrator’s Requirement : Inter-department communication should not be possible ? Solution. Allocate a different Network to each Department i.e. Scenario (…continued) – MCSE 192.168.1.1 to 192.168.1.20 192.168.2.1 to 192.168.2.20 – CISCO – FIREWALL 192.168.3.1 to 192.168.3.20 – SOLARIS 192.168.4.1 to 192.168.4.20 – TRAINING 192.168.5.1 to 192.168.5.20 • In the above Scenario inter-department communication is not possible.
  • 28. 28 Problem with the previous Scenario is :- • Loss of bandwidth as the broadcasting is done for 254 machines rather than for 20 machines. • Wastage of IP addresses (Approximately 1000) • No Security Main Aim of Subnetting
  • 29. 29 POWER TABLE 21 = 2 22 = 4 23 = 8 24 = 16 25 = 32 26 = 64 27 = 128 28 = 256 29 = 512 210 = 1024 211 = 2048 212 = 4096 213 = 8192 214 = 16384 215 = 32768 216 = 65536 217 = 131072 218 = 262144 219 = 524288 220 = 1048576 221 = 2097152 222 = 4194304 223 = 8388608 224 = 16777216 225 = 33554432 226 = 67108864 227 = 134217728 228 = 268435456 229 = 536870912 230 = 1073741824 231 = 2147483648 232 = 4294967296 Power table
  • 30. 30 Some Important Values VALUES IN SUBNET MASK Bit Value Mask 1 128 10000000 2 192 11000000 3 224 11100000 4 240 11110000 5 248 11111000 6 252 11111100 7 254 11111110 8 255 11111111
  • 31. 31 Requirement of Networks is 5 ? Example – 1 • No. of Host = 2h – 2 (-2 is for Network ID & Broadcast ID) = 25 – 2 = 32 – 2 = 30 Hosts/Subnet Class C : N.N.N.H 110xxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx Class C : 192.168.1.0 • No. of Subnet = 2n – 2  Req. of Subnet = 23 – 2  5 (-2 is for First & Last Subnet Range) = 8 – 2 = 6 Subnet 110xxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx HELP
  • 32. 32 x Example – 1 (Continued…) • Range of Networks Network ID Broadcast ID 192.168.1.0 • Customize Subnet Mask = 255. 11111111. 255. 11111111. 255. 11111111. 11100000 192.168.1.32 192.168.1.64 192.168.1.96 192.168.1.128 192.168.1.160 192.168.1.192 192.168.1.224 192.168.1.31 192.168.1.63 192.168.1.95 192.168.1.127 192.168.1.159 192.168.1.191 192.168.1.223 192.168.1.255 x Valid Subnets 224 If you convert 3 Host Bits to Network Bits 6 Subnet & 30 Hosts/Subnet Customize Subnet Mask 255.255.255.224 Subnet Range 192.168.1.32 to 192.168.1.63  MCSE . 192.168.1.64 to 192.168.1.95  CISCO . 192.168.1.96 to 192.168.1.127  FIREWALL 192.168.1.128 to 192.168.1.159  SOLARIS 192.168.1.160 to 192.168.1.191  TRAINING 192.168.1.192 to 192.168.1.223  Future Use
  • 33. 33 Requirement of Networks is 14 ? Example – 2 • No. of Host = 2h – 2 (-2 is for Network ID & Broadcast ID) = 24 – 2 = 16 - 2 = 14 Hosts/Subnet Class C : N.N.N.H 110xxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx Class C : 192.168.1.0 • No. of Subnet = 2n – 2  Req. of Subnet = 24 – 2  14 (-2 is for First & Last Subnet Range) = 16 – 2 = 14 Subnet 110xxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx HELP
  • 34. 34 x Example – 2 (Continued…) • Range of Networks Network ID Broadcast ID 192.168.1.0 • Customize Subnet Mask = 255. 11111111. 255. 11111111. 255. 11111111. 11110000 x Valid Subnets 192.168.1.224 – 192.168.1.239 192.168.1.240 – 192.168.1.255 – 192.168.1.15 192.168.1.16 – 192.168.1.31 192.168.1.32 – 192.168.1.47 192.168.1.48 – 192.168.1.63 240 If you convert 4 Host Bits to Network Bits 14 Subnet & 14 Hosts/Subnet Customize Subnet Mask 255.255.255.240 Subnet Range 192.168.1.16 to 192.168.1.31 192.168.1.32 to 192.168.1.47 192.168.1.48 to 192.168.1.63 192.168.1.64 to 192.168.1.80 192.168.1.224 to 192.168.1.239
  • 35. 35