0% found this document useful (0 votes)
169 views11 pages

IP Addressing and Subnetting

The document discusses IP addressing including classful and classless IP addresses, public and private IP addresses, subnetting, calculating usable and total hosts in a subnet, binary to decimal and decimal to binary conversion, and getting the subnet mask of a subnet.

Uploaded by

intikhab.dubai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
169 views11 pages

IP Addressing and Subnetting

The document discusses IP addressing including classful and classless IP addresses, public and private IP addresses, subnetting, calculating usable and total hosts in a subnet, binary to decimal and decimal to binary conversion, and getting the subnet mask of a subnet.

Uploaded by

intikhab.dubai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

IP Addressing

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

A (CIDR /8) 0 0.0.0.0 127.255.255.255 255.0.0.0

B (CIDR /16) 10 128.0.0.0 191.255.255.255 255.255.0.0

C (CIDR /24) 110 192.0.0.0 223.255.255.255 255.255.255.0

D 1110 224.0.0.0 239.255.255.255

E 1111 240.0.0.0 255.255.255.254

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.

• Number of useable hosts in a subnet.

where ‘n’ is number bits in host part of IP


address

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

/24 255.255.255.0 1 254 254

/25 255.255.255.128 2 126 252

/26 255.255.255.192 4 62 248

/27 255.255.255.224 8 30 240

/28 255.255.255.240 16 14 224

/29 255.255.255.248 32 6 192

/30 255.255.255.252 64 2 128

/31 255.255.255.254 128 0 0

dsl.net.pk
Example
• 192.168.1.64/28
Number of IPs in a subnet __________
Subnet ID ______________
Broadcast IP _______________
Subnet Mask _______________

dsl.net.pk

You might also like