Professional Documents
Culture Documents
1 IP ADD - PPSX
1 IP ADD - PPSX
01010101000001011011111100000001
(Colon-Hex Notation)
FEDC:BA98:7654:3210:FEDC:BA98:7654:3210
Binary to Decimal Conversion
1 1 1 1 1 1 1 1 = 255
IP Address Classes
• CLASS A
• CLASS C
• CLASS D Multicasting
• CLASS E
Research & Development
IP Address Classes
(127 reserved)
CLASS A Range
0 1 1 1 1 1 1 1 = 127
CLASS B Range
1 0 1 1 1 1 1 1 = 191
CLASS C Range
1 1 0 1 1 1 1 1 = 223
CLASS D Range
1 1 1 0 1 1 1 1 = 239
CLASS E Range
1 1 1 1 1 1 1 1 = 255
Octet Format
• No. of Networks
= 28-1 (-1 is Priority Bit for Class A)
= 27
CLASS AA
= 128 – 2 (-2 is for 0 & 127 Network) CLASS
= 126 Networks 126 Networks
126 Networks
&&
• No. of Host 16777214 Hosts/Nw
Hosts/Nw
16777214
= 224 – 2 (-2 is for Network ID & Broadcast ID)
= 16777216 - 2
= 16777214 Hosts/Network
CLASS B – No. Networks & Host
• No. of Networks
= 216-2 (-2 is Priority Bit for Class B)
= 214
= 16384 Networks CLASS BB
CLASS
16384 Networks
16384 Networks
• No. of Host &&
= 216 – 2 (-2 is for Network ID & Broadcast ID)
65534 Hosts/Nw
Hosts/Nw
65534
= 65536 - 2
= 65534 Hosts/Network
CLASS C – No. Networks & Host
• No. of Networks
= 224-3 (-3 is Priority Bit for Class C)
= 221
= 2097152 Networks CLASS CC
CLASS
2097152 Networks
2097152 Networks
• No. of Host &
&
= 28 – 2 (-2 is for Network ID & Broadcast ID)
254 Hosts/Nw
Hosts/Nw
254
= 256 - 2
= 254 Hosts/Network
IP address types
Network address
Host address
Broadcast address
Network & Broadcast Address
Class A : N.H.H.H
Network Address :
0xxxxxxx.00000000.00000000.00000000
Broadcast Address :
0xxxxxxx.11111111.11111111.11111111
Class A
Class A
10.0.0.0
10.0.0.0 Network Address
10.0.0.1
10.0.0.1
10.0.0.2
10.0.0.2
10.0.0.3
10.0.0.3
Valid IP Addresses
10.255.255.254
10.255.255.254
10.255.255.255
10.255.255.255 Broadcast Address
Example - Class B
Class B : N.N.H.H
Network Address :
10xxxxxx.xxxxxxxx.00000000.00000000
Broadcast Address :
10xxxxxx.xxxxxxxx.11111111.11111111
Class B
Class B
172.16.0.0
172.16.0.0 Network Address
172.16.0.1
172.16.0.1
172.16.0.2
172.16.0.2
172.16.0.3
172.16.0.3
Valid IP Addresses
172.16.255.254
172.16.255.254
172.16.255.255
172.16.255.255 Broadcast Address
Example - Class C
Class C : N.N.N.H
Network Address :
110xxxxx.xxxxxxxx.xxxxxxxx.00000000
Broadcast Address :
110xxxxx.xxxxxxxx.xxxxxxxx.11111111
Class CC
Class
192.168.1.0
192.168.1.0 Network Address
192.168.1.1
192.168.1.1
192.168.1.2
192.168.1.2
192.168.1.3
192.168.1.3
Valid IP Addresses
192.168.1.254
192.168.1.254
192.168.1.255
192.168.1.255 Broadcast Address
Private IP Address
Class AA
Class
10.0.0.0 to
10.0.0.0 to 10.255.255.255
10.255.255.255
Class BB
Class
172.16.0.0 to
172.16.0.0 to 172.31.255.255
172.31.255.255
Class CC
Class
192.168.0.0 to
192.168.0.0 to 192.168.255.255
192.168.255.255
Subnet Mask
Subnet Mask
30
Subnet Mask
- example :
31
Subnet Mask
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
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.00000001AND TABLE
AND TABLE
255.255.255.0 = 11111111.11111111.11111111.00000000
A B CC
A B
=======================================
00 00 00
192.168.1.0 =
11000000.10101000.00000001.0000000000 11 00
11
======================================= 00 00
11 11 11
The output of an AND table is 1 if both its inputs are 1.
For all other possible inputs the output is 0.
Subnetting
TVTC – 192.168.1.0/24
• Administrator’s Requirement :
Inter-department communication should not be
possible ?
Solution.
Allocate a different Network to each Department
i.e.
– MCSE 192.168.1.1 to 192.168.1.20
– CISCO 192.168.2.1 to 192.168.2.20
– JUNIPER 192.168.3.1 to 192.168.3.20
– AVAYA 192.168.4.1 to 192.168.4.20
– TRAINING 192.168.5.1 to 192.168.5.20
• No Security
Power table
POWER TABLE
POWER TABLE
VALUES IN
VALUES IN SUBNET
SUBNET MASK
MASK
Bit
Bit Value
Value Mask
Mask
11 128
128 10000000
10000000
22 192
192 11000000
11000000
33 224
224 11100000
11100000
44 240
240 11110000
11110000
55 248
248 11111000
11111000
66 252
252 11111100
11111100
77 254
254 11111110
11111110
88 255
255 11111111
11111111
Example
41
Example – 1
Class C : N.N.N.H
110xxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
110xxxxx.xxxxxxxx.xxxxxxxx.xxxxxx
Class C : 192.168.1.0
• No. of Subnet
= 2n – 2
= 21 – 2
= 2–2
= 0 Subnet
HELP
Example – 2
Class C : N.N.N.H
110xxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
Class C : 192.168.1.0
• No. of Subnet
= 2n – 2
= 27 – 2
= 128 – 2
= 126 Subnet
• No. of Host
= 2h – 2 (-2 is for Network ID & Broadcast ID)
= 21 – 2
= 2 – 2 = 0 Hosts/Subnet
• In this case, You are not getting any host when you
convert 7 host bit to network bit.
HELP
Example – 3
Class C : N.N.N.H
110xxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
Class C : 192.168.1.0
• No. of Subnet
= 2n – 2
= 28 – 2
= 256 – 2
= 254 Subnet
• No. of Host
= 2h – 2 (-2 is for Network ID & Broadcast ID)
= 20 – 2
= 0 – 2 = -2 Hosts/Subnet
• In this case, You are not getting any host when you
convert 8 host bit to network bit.
HELP
Requirement of Hosts is 40 ?
Example – 1
Class C : N.N.N.H
110xxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
Class C : 192.168.1.0
• No. of Host
= 2h – 2 Req. of Host
= 26 – 2 40 (-2 is for Network ID & Broadcast ID)
= 64 – 2
= 62 Hosts/Subnet
• No. of Subnet
= 2n – 2 (-2 is for First & Last Subnet Range)
= 22 – 2
= 4–2
= 2 Subnet
HELP
Example – 1 (Continued…)
• Customize
If youSubnet Mask
convert 2 = Bits to Network Bits
Host
If you convert 2 Host Bits to Network Bits
255. 2255.
Subnet & 255.
62 192
Hosts/Subnet
2 Subnet & 62 Hosts/Subnet
11111111 11111111 11111111 11000000
. Customize
Customize
. Subnet
Subnet
. Mask
Mask
8
4
2
6
1
255.255.255.192
255.255.255.192
• Range of Networks
Network ID Broadcast
SubnetID
Range
Subnet Range
– 192.168.1.64
192.168.1.0 192.168.1.63 x
to 192.168.1.127
192.168.1.127
192.168.1.64 to
192.168.1.64 – 192.168.1.127
192.168.1.128 to 192.168.1.191
192.168.1.191
192.168.1.128 to Valid Subnets
192.168.1.128 – 192.168.1.191
192.168.1.192 – 192.168.1.255 x
Requirement of Hosts is 2 ?
Example – 2
Class C : N.N.N.H
110xxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
Class C : 192.168.1.0
• No. of Host
= 2h – 2 Req. of Host
= 22 – 2 2 (-2 is for Network ID & Broadcast ID)
= 4–2
= 2 Hosts/Subnet
• No. of Subnet
= 2n – 2 (-2 is for First & Last Subnet Range)
= 26 – 2
= 64 – 2
= 62 Subnet
HELP
Example – 2 (Continued…)
4
2
6
8
4
8
6
3
1
2
1
• Range of Networks
Network ID Broadcast ID
192.168.1.0
– 192.168.1.3 x
192.168.1.4 – 192.168.1.7
192.168.1.8 – 192.168.1.11
192.168.1.12 – 192.168.1.15
Valid Subnets
192.168.1.248 – 192.168.1.251
192.168.1.252 – 192.168.1.255 x
Cisco / Notation
Example – 1
Class C : N.N.N.H
110xxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
Class C : 192.168.1.0/29
Extra Network Bits = 29 – 24 = 5
Put n value = 5
• No. of Subnet
= 2n – 2
= 25 – 2 (-2 is for First & Last Subnet Range)
= 32 – 2
= 30 Subnet
• No. of Host
= 2h – 2 (-2 is for Network ID & Broadcast ID)
= 23 – 2
= 8–2
= 6 Hosts/Subnet
HELP
Example – 1 (Continued…)
• Customize
If Subnet
you Mask
convert 5 = Bits to Network Bits
Host
If you convert 5 Host Bits to Network Bits
255. 255.
30 Subnet 255.
& 6 248
Hosts/Subnet
30 Subnet & 6 Hosts/Subnet
11111111 11111111 11111111 11111000
. Customize
Customize
. Subnet
Subnet
. Mask
Mask
4
2
6
8
8
6
3
1
2
1
255.255.255.248
255.255.255.248
• Range of Networks
Network ID Broadcast
Subnet ID
Range
Subnet Range
192.168.1.0
– 192.168.1.8
192.168.1.7 to 192.168.1.15x
192.168.1.8 to 192.168.1.15
192.168.1.8192.168.1.16
– 192.168.1.15
to 192.168.1.23
192.168.1.23
192.168.1.16 to
192.168.1.16 – 192.168.1.23
192.168.1.24 to 192.168.1.31
192.168.1.31
192.168.1.24 to
192.168.1.24 – 192.168.1.31
192.168.1.32 to 192.168.1.39
192.168.1.39
192.168.1.32 to Valid Subnets
192.168.1.240 – 192.168.1.247
192.168.1.240
192.168.1.240 to 192.168.1.247
to 192.168.1.247
192.168.1.248 – 192.168.1.255 x
Cisco / Notation
Example – 2
Class C : N.N.N.H
110xxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
Class C : 192.168.1.0/28
Extra Network Bits = 28 – 24 = 4
Put n value = 4
• No. of Subnet
= 2n – 2
= 24 – 2 (-2 is for First & Last Subnet Range)
= 16 – 2
= 14 Subnet
• No. of Host
= 2h – 2 (-2 is for Network ID & Broadcast ID)
= 24 – 2
= 16 – 2
= 14 Hosts/Subnet
HELP
Example – 2 (Continued…)
• Customize
If Subnet
you Mask
convert 4 = Bits to Network Bits
Host
If you convert 4 Host Bits to Network Bits
255. 14255.
Subnet &255.
14 240
Hosts/Subnet
14 Subnet & 14 Hosts/Subnet
11111111 11111111 11111111 11110000
. Customize
Customize
. Subnet
Subnet
. Mask
Mask
8
4
2
6
2
6
3
1
1
255.255.255.240
255.255.255.240
• Range of Networks
Network ID Broadcast
Subnet ID
Range
Subnet Range
192.168.1.0
– 192.168.1.16
192.168.1.15to 192.168.1.31x
192.168.1.16 to 192.168.1.31
192.168.1.16 – 192.168.1.31
192.168.1.32 to 192.168.1.47
192.168.1.47
192.168.1.32 to
192.168.1.32 – 192.168.1.47
192.168.1.48 to 192.168.1.63
192.168.1.63
192.168.1.48 to
192.168.1.48 – 192.168.1.63
192.168.1.64 to 192.168.1.80
192.168.1.80
192.168.1.64 to Valid Subnets
192.168.1.224 – 192.168.1.239
192.168.1.224
192.168.1.224 to 192.168.1.239
to 192.168.1.239
192.168.1.240 – 192.168.1.255 x
Requirement of Hosts is 126 ?
Example – 2
Class B : N.N.H.H
10xxxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
Class B : 172.16.0.0
• No. of Host
= 2h – 2 Req. of Host
= 27 – 2 126 (-2 is for Network ID & BroadcastID)
= 128 – 2
= 126 Hosts/Subnet
• No. of Subnet
= 2n – 2 (-2 is for First & Last Subnet Range)
= 29 – 2
= 512 – 2
= 510 Subnet
HELP
Example – 2 (Continued…)
• Customize
If youSubnet Mask
convert 9 = Bits to Network Bits
Host
If you convert 9 Host Bits to Network Bits
255. 510255.
Subnet &255.
126 128
Hosts/Subnet
510 Subnet & 126 Hosts/Subnet
11111111 11111111 11111111 10000000
. Customize
Customize
. Subnet
Subnet
. Mask
Mask
8
2
1
255.255.255.128
255.255.255.128
• Range of Networks
Network ID Broadcast
Subnet ID
Range
Subnet Range
172.16.0.0
– 172.16.0.128
172.16.0.127to 172.16.0.255 x
172.16.0.128 to 172.16.0.255
172.16.0.128 172.16.1.0
– 172.16.0.255
to 172.16.1.127
172.16.1.127
172.16.1.0 to
172.16.1.0 172.16.1.128
– 172.16.1.127
to 172.16.1.255
172.16.1.255
172.16.1.128 to
172.16.1.128 172.16.2.0
– 172.16.1.255
to 172.16.2.127
172.16.2.127
172.16.2.0 to Valid Subnets
172.16.255.0 – 172.16.255.127
172.16.255.0
172.16.255.0 to 172.16.255.127
to 172.16.255.127
172.16.255.128– 172.16.255.255 x
Cisco / Notation
Example – 3
Class B : N.N.H.H
10xxxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
Class B : 172.16.0.0/22
Extra Network Bits = 22 – 16 = 6
Put n value = 6
• No. of Subnet
= 2n – 2
= 26 – 2 (-2 is for First & Last Subnet Range)
= 64 – 2
= 62 Subnet
• No. of Host
= 2h – 2 (-2 is for Network ID & Broadcast ID)
= 210 – 2
= 1024 – 2
= 1022 Hosts/Subnet
Example – 3 (Continued…)
• Customize
If youSubnet Mask
convert 6 = Bits to Network Bits
Host
If you convert 6 Host Bits to Network Bits
255. 62 255.
Subnet & 252. Hosts/Subnet
1022 0
62 Subnet & 1022 Hosts/Subnet
11111111 11111111 11111100 00000000
. Customize
Customize
. Subnet
Subnet
. Mask
Mask
4
2
6
8
4
8
6
3
1
2
1
255.255.252.0
255.255.252.0
• Range of Networks
Network ID Broadcast
Subnet ID
Range
Subnet Range
172.16.0.0
– 172.16.3.255
172.16.4.0 to
to 172.16.7.255x
172.16.7.255
172.16.4.0
172.16.4.0 – 172.16.7.255
172.16.8.0 to 172.16.11.255
172.16.11.255
172.16.8.0 to
172.16.8.0 172.16.12.0
– 172.16.11.255
to 172.16.15.255
172.16.15.255
172.16.12.0 to
172.16.12.0172.16.16.0
– 172.16.15.255
to 172.16.19.255
172.16.19.255
172.16.16.0 to Valid Subnets
172.16.248.0 – 172.16.251.255
172.16.248.0
172.16.248.0 to 172.16.251.255
to 172.16.251.255
172.16.252.0 – 172.16.255.255 x
Requirement of Hosts is 1000 ?
Example – 1
Class C : N.N.N.H
110xxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
Class C : 192.168.0.0
• No. of Host
= 2h – 2 Req. of Host
= 210 – 2 1000 (-2 is for Network ID & Broadcast ID)
= 1024 – 2
= 1022 Hosts/Subnet
• No. of Subnet
= 2n – 2
= 26 – 2 (-2 is for First & Last Subnet Range)
= 64 – 2
= 62 Subnet
HELP
Example – 1 (Continued…)
4
2
6
8
4
8
6
3
1
2
1
• Range of Networks
Network ID Broadcast ID
192.168.0.0
– 192.168.3.255
192.168.4.0 – 192.168.7.255
192.168.8.0 – 192.168.11.255
192.168.12.0 – 192.168.15.255
Valid Subnets
192.168.248.0 – 192.168.251.255
192.168.252.0 – 192.168.255.255
Requirement of Hosts is 12000 ?
Example – 2
Class C : N.N.N.H
110xxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
Class C : 192.168.0.0
• No. of Host
= 2h – 2 Req. of Host
= 214 – 2 12000 (-2 is for Network ID &BroadcastID)
= 16384 – 2
= 16382 Hosts/Subnet
Example – 2 (Continued…)
8
4
2
6
1
• Range of Networks
Network ID Broadcast ID
– 192.168.63.255
192.168.0.0
192.168.64.0 – 192.168.127.255
192.168.128.0 – 192.168.191.255
192.168.192.0 – 192.168.255.255
HELP
Requirement of Hosts is 260000 ?
Example – 2
Class A : N.H.H.H
0xxxxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
Class A : 10.0.0.0
• No. of Host
= 2h – 2 Req. of Host
= 218 – 2 260000 (-2 is for Network ID & BroadcastID)
= 262144 – 2
= 262142 Hosts/Subnet
• No. of Subnet
= 2n – 2 (-2 is for First & Last Subnet Range)
= 26 – 2
= 64 – 2
= 62 Subnet
HELP
Example – 2 (Continued…)
• Customize
If Subnet
you Mask
convert 6 = Bits to Network Bits
Host
If you convert 6 Host Bits to Network Bits
255. 62 Subnet
252. & 262142
0. 0
Hosts/Subnet
62 Subnet & 262142 Hosts/Subnet
11111111 11111100 00000000 00000000
.
4
2
Customize
Customize
. Subnet
Subnet
. Mask
Mask
6
8
4
8
6
3
1
2
1
255.252.0.0
255.252.0.0
• Range of Networks
Network ID Broadcast
Subnet ID
Range
Subnet Range
10.0.0.0 – 10.3.255.255
10.4.0.0 to
10.4.0.0 10.3.255.255 x
to 10.3.255.255
10.4.0.0 – 10.8.0.0
10.7.255.255
to 10.7.255.255
10.7.255.255
10.8.0.0 to
10.8.0.0 – 10.11.255.255
10.12.0.0 to 10.15.255.255
10.15.255.255
10.12.0.0 to
10.12.0.0 – 10.15.255.255
10.16.0.0 to 10.19.255.255
10.19.255.255
10.16.0.0 to Valid Subnets
10.248.0.0 10.248.0.0
– 10.251.255.255
10.248.0.0 to 10.251.255.255
to 10.251.255.255
10.252.0.0 – 10.255.255.255 x
Cisco / Notation
Example – 3
Class A : N.H.H.H
0xxxxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
Class A : 10.0.0.0/20
Extra Network Bits = 20 – 8 = 12
Put n value = 12
• No. of Subnet
= 2n – 2
= 212 – 2 (-2 is for First & Last Subnet Range)
= 4096 – 2
= 4094 Subnet
• No. of Host
= 2h – 2 (-2 is for Network ID & Broadcast ID)
= 212 – 2
= 4096 – 2
= 4094 Hosts/Subnet
HELP
Example – 3 (Continued…)
• Customize
If youSubnet Mask
convert 12 = Bits to Network Bits
Host
If you convert 12 Host Bits to Network Bits
255. 4094 255.
Subnet &240.
4094 0
Hosts/Subnet
4094 Subnet & 4094 Hosts/Subnet
11111111 11111111 11110000 00000000
. Customize
Customize
. Subnet
Subnet
. Mask
Mask
4
2
6
8
6
3
1
2
1
255.255.240.0
255.255.240.0
• Range of Networks
Network ID Broadcast
Subnet ID
Range
Subnet Range
10.0.0.0 – 10.0.15.255
10.0.16.0 to x
to 10.31.255.255
10.31.255.255
10.0.16.0
10.0.16.0 – 10.0.31.255
10.0.32.0 to 10.47.255.255
10.47.255.255
10.0.32.0 to
10.0.32.0 – 10.0.47.255
10.0.48.0 to 10.63.255.255
10.63.255.255
10.0.48.0 to
10.0.48.0 – 10.0.63.255
10.0.64.0 to 10.79.255.255
10.79.255.255
10.0.64.0 to Valid Subnets
10.255.224.0 – 10.255.239.255
10.255.224.0
10.255.224.0 to 10.255.239.255
to 10.255.239.255
10.255.240.0 – 10.255.255.255 x
Example
Networks
65
Requirement of Networks is 2 ?
Example – 1
Class B : N.N.H.H
10xxxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
Class B : 172.16.0.0
• No. of Subnet
= 2n – 2 Req. of Subnet
= 22 – 2 2 (-2 is for First & Last Subnet Range)
= 4–2
= 2 Subnet
• No. of Host
= 2h – 2 (-2 is for Network ID & Broadcast ID)
= 214 – 2
= 16384 – 2
= 16382 Hosts/Subnet
HELP
Example – 1 (Continued…)
• Customize
If you Subnet
convertMask
you convert = Bits
If 22 Host
Host Bits to
to Network
Network Bits
Bits
255. 255. & 16382
192. Hosts/Subnet
0
22 Subnet
Subnet & 16382 Hosts/Subnet
11111111 11111111 11000000 00000000
Customize Subnet
Customize Subnet Mask
Mask
. . .
8
4
2
6
255.255.192.0
1
255.255.192.0
• Range of Networks
Network ID Broadcast ID
Subnet Range
Subnet Range
–172.16.64.0
172.16.0.0 172.16.63.255
172.16.64.0 x
to 172.16.127.255
to 172.16.127.255
172.16.64.0 – 172.16.127.255
172.16.128.0
172.16.128.0 to 172.16.191.255
to 172.16.191.255
Valid Subnets
172.16.128.0 – 172.16.191.255
172.16.192.0 – 172.16.255.255 x
Requirement of Networks is 5 ?
Example – 1
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
• No. of Host
= 2h – 2 (-2 is for Network ID & Broadcast ID)
= 25 – 2
= 32 – 2
= 30 Hosts/Subnet
HELP
Example – 1 (Continued…)
• Customize
If Subnet
you Mask
convert 3 = Bits to Network Bits
Host
If you convert 3 Host Bits to Network Bits
255. 6255.
Subnet & 255.
30 224
Hosts/Subnet
6 Subnet & 30 Hosts/Subnet
11111111 11111111 11111111 11100000
. Customize
Customize
. Subnet
Subnet
. Mask
Mask
8
4
2
2
6
3
1
255.255.255.224
255.255.255.224
• Range of Networks
Network ID Broadcast
Subnet ID
Range
Subnet Range
192.168.1.0
192.168.1.32 to 192.168.1.31 x
to 192.168.1.63
192.168.1.63 MCSE
192.168.1.32 MCSE ..
192.168.1.32
192.168.1.64 to 192.168.1.63 CISCO
to 192.168.1.95
192.168.1.95
192.168.1.64 CISCO ..
192.168.1.64
192.168.1.96 to 192.168.1.95 FIREWALL
to 192.168.1.127
192.168.1.127
192.168.1.96 FIREWALL
192.168.1.96
192.168.1.128 to 192.168.1.127 SOLARIS
to 192.168.1.159
192.168.1.159
192.168.1.128 SOLARIS
Valid Subnets
192.168.1.128
192.168.1.160 to 192.168.1.159
to 192.168.1.191
192.168.1.191 TRAINING
TRAINING
192.168.1.160
192.168.1.160
192.168.1.192 to 192.168.1.191
to 192.168.1.223
192.168.1.223 Future Use
Future Use
192.168.1.192
192.168.1.192 192.168.1.223
192.168.1.224 192.168.1.255 x
Requirement of Networks is 14 ?
Example – 2
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
• No. of Host
= 2h – 2 (-2 is for Network ID & Broadcast ID)
= 24 – 2
= 16 - 2
= 14 Hosts/Subnet
HELP
Example – 2 (Continued…)
• Customize
If Subnet
you Mask
convert 4 = Bits to Network Bits
Host
If you convert 4 Host Bits to Network Bits
255. 14255.
Subnet &255.
14 240
Hosts/Subnet
14 Subnet & 14 Hosts/Subnet
11111111 11111111 11111111 11110000
. Customize
Customize
. Subnet
Subnet
. Mask
Mask
8
4
2
6
2
6
3
1
1
255.255.255.240
255.255.255.240
• Range of Networks
Network ID Broadcast
Subnet ID
Range
Subnet Range
192.168.1.0
– 192.168.1.16
192.168.1.15to 192.168.1.31x
192.168.1.16 to 192.168.1.31
192.168.1.16 – 192.168.1.31
192.168.1.32 to 192.168.1.47
192.168.1.47
192.168.1.32 to
192.168.1.32 – 192.168.1.47
192.168.1.48 to 192.168.1.63
192.168.1.63
192.168.1.48 to
192.168.1.48 – 192.168.1.63
192.168.1.64 to 192.168.1.80
192.168.1.80
192.168.1.64 to Valid Subnets
192.168.1.224 – 192.168.1.239
192.168.1.224
192.168.1.224 to 192.168.1.239
to 192.168.1.239
192.168.1.240 – 192.168.1.255 x
Requirement of Networks is 500 ?
Example – 1
Class A : N.H.H.H
0xxxxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
Class A : 10.0.0.0
• No. of Subnet
= 2n – 2 Req. of Subnet
= 29 – 2 500 (-2 is for First & Last Subnet Range)
= 512 – 2
= 510 Subnet
• No. of Host
= 2h – 2 (-2 is for Network ID & Broadcast ID)
= 215 – 2
= 32768 – 2
= 32766 Hosts/Subnet
HELP
Example – 1 (Continued…)
• Customize
If Subnet
you Mask
convert 9 = Bits to Network Bits
Host
If you convert 9 Host Bits to Network Bits
255. 510255.Subnet & 128. Hosts/Subnet
32766 0
510 Subnet & 32766 Hosts/Subnet
11111111 11111111 10000000 00000000
. Customize
Customize
. Subnet
Subnet
. Mask
Mask
8
2
1
255.255.128.0
255.255.128.0
• Range of Networks
Network ID Broadcast
Subnet ID
Range
Subnet Range
10.0.0.0 – 10.0.127.255
10.0.128.0 to
10.0.128.0 10.0.255.255x
to 10.0.255.255
10.0.128.0 – 10.1.0.0
10.0.255.255
to 10.1.127.255
10.1.127.255
10.1.0.0 to
10.1.0.0 – 10.1.127.255
10.1.128.0 to 10.1.255.255
10.1.255.255
10.1.128.0 to
10.1.128.0 – 10.2.0.0
10.1.255.255
to 10.2.127.255
10.2.127.255
10.2.0.0 to Valid Subnets
10.255.0.0 10.255.0.0
– 10.255.127.255
10.255.0.0 to 10.255.127.255
to 10.255.127.255
10.255.128.0 – 10.255.255.255 x