Ipv4 Addressing
Ipv4 Addressing
Ipv4 Addressing
128 64 32 16 8 4 2 1
0_ 1 _ _ _ _ _ _ _
0 to 127
_____________._______________.______________._____________
192.168.1.0
192.168.1.00000000 TO
192.168.1.11111111
192.168.1.0 TO
192.168.1.255
TOTAL 256-2= 254
192.168.1.1 to
RANGE 192.168.1.1 TO
192.168.1.254
AND GATE 0 A = 0 1 A = A
192.168.1.25
255.255.255.0
192.168.1.0
gateway:192.168.1.1
10.10.10.10
255.0.0.0
10.0.0.0 10.0.0.0 to 10.255.255.255
10.0.0.1 to 10.255.255.254
100.100.100.100
100.0.0.0 to 100.255.255.255
FIXED LENGTH SUBNET MASK
192.168.1.0/24
128 64 32 16 8 4 2 1
192.168.1. ___ ___ ___ ___ ___ ___ ___ ___
192.168.1.0 to .63
192.168.1.64 .127
192.168.1.128 .191
192.168.1.192 .255
subnet 255.255.255.192
255.255.255.128
192.168.1.50 192.168.1.150
255.255.255.128 255.255.255.128
192.168.1.0 192.168.1.128
1BIT 2 TO THE POWER 1 = 2 networks
192.168.1.55 192.168.1.140
255.255.255.192 255.255.255.192
192.168.1.50 192.168.1.150
255.255.255.128 255.255.255.128
192.168.1.0 192.168.1.128
VLSM Example
•One Organization is allotted with an IP address 201.45.222.0 / 24.
•They wanted to have subnets as follows:
–First subnet having Maximum 100 hosts.
–Second subnet having 60 hosts.
–Third subnet is having 28 hosts.
–Fourth and fifth sub net having 10 hosts
100 60 28 10 2
Solution:
128 64 32 16 8 4 2 1
201.45.222. ___ ___ ___ ___ ___ ___ ___ ___
201.45.222.244 to 201.45.222.255