IP Addressing and Subnetting
IP Addressing and Subnetting
By:
Samir Mustajab
Vision
To become a role model of trust,
set highest standards of quality
and add value to the society.
Objective
After training you will be able to;
• Differentiate between Classful and Classless IP
Addresses.
• Differentiate between Public and Private IP Addresses.
• Do subnetting.
• Calculate useable/total number of hosts in a subnet.
• Do binary to decimal and decimal to binary
conversion.
• Get subnet mask of a subnet.
dsl.net.pk
IP Addressing
• Classful IP Addresses
• Classless IP Addresses
dsl.net.pk
IP Classes
Default Subnet
Class Leading bits Start End
Mask
dsl.net.pk
dsl.net.pk
Private IP Addresses Range
• 10.0.0.0 to 10.255.255.255
• 172.16.0.0 to 172.31.255.255
• 192.168.0.0 to 192.168.255.255
dsl.net.pk
Binary to Decimal Conversion
• The value in each octet ranges from 0 to 255
decimal, or 00000000 − 11111111 binary.
• How binary octets convert to decimal?
dsl.net.pk
How to calculate number of hosts
• Total number of hosts in a subnet.
dsl.net.pk
How to get subnet mask of a subnet
• 203.82.63.24/29
11111111.11111111.11111111.11111000
---------------------------------------|sub |----
•
dsl.net.pk
CIDR Available Available Hosts per Total Usable
Network Mask
Notation Networks Network Hosts
dsl.net.pk
Example
• 192.168.1.64/28
Number of IPs in a subnet __________
Subnet ID ______________
Broadcast IP _______________
Subnet Mask _______________
dsl.net.pk