IPv4 address Types

the purpose of an IP address is to handle communication between devices that send and receive information across a network.
The IP address uniquely identifies every device on the network
EX Ping 192.168.1.5 IF This Host is available that means communication can be done

Private Addresses  

                CLASS-A   10.0.0.0 – 10.255.255.255  

                CLASS-B   172.16.0.0 – 172.31.255.255 

                CLASS-C   192.168.0.0 – 192.168.255.255

you can know at which class the address belong to from the first octet 

  • Class A  1 – 126
  • Class B  128-191
  • Class C  192-223
  • Class D  224-239

Public Addresses     range of IPs ISP can assign to  Customer  for global communication (internet)

Reserved Addresses       
0.0.0.0/0  ( unspecified)                   127.0.0.0 ( Loopback Address)                 169.254.0.0 ( Automatic Private IP Address ) 

Multicast Addresses    223.0.0.0 – 239.255.255.255 

Experimental 240-255 

 Network ID / Broadcast ID

 

Converting Between Binary to decimal

128    64     32     16     8     4      2      1
1          0       1        0      1      0     0      0

Convert 168 to binary 
Solution :
Is 168 ≥ 128? Yes, enter 1 in 128 position and subtract 128 (168-128=40)
Is 40 ≥ 64?
No, enter 0 in 64 position and move on
Is 40 ≥ 32?Yes, enter 1 in 32 position and subtract 32 (40-32=8)
Is 8 ≥ 16?No, enter 0 in 16 position and move on
Is 8 ≥ 8?Equal. Enter 1 in 8 position and subtract 8 (8-8=0)
No values left. Enter 0 in remaining binary positions

 

Default Subnet Mask

Class C 255.255.255.0   Or CIDR /24
Class B 255.255.0.0  Or CIDR /16
Class A 255.0.0.0 Or CIDR /8

student, laptop, cup-5587893.jpg

Q: Convert Subnet mask To / Notation

255.255.255.128         /?
255.255.255.224         /?
255.255.255.248       /?

Q: Convert From Decimal To Binary

50   what is the binary Number 
80 what is the binary Number
180  what is the binary Number

Subnetting Requirement

Host Requirement 
 2^h ≥ required Hosts    “h” Number of Required Zero To get required Hosts 

Network Requirement
2^n ≥ Required Network      “n” Number of Required One To get required Subnets  

192.168.10.0/24 Host requirement is—->30 hosts

2 ^h ≥30
2^5≥30    32 ≥ 30   
I need 5 bits zero in the new subnet mask

Default mask is 255.255.255.0 

New mask is 255.255.255.11100000 /27    Or      255.255.255.224

Block size ————–> last bit one value 2^5 32

1.192.168.10.0 /27   
2.192.168.10.32 /27
3.192.168.10.64 /27
4.192.168.10.96 /27
5.192.168.10.128 /27
6.192.168.10.160/27
7.192.168.10.192/27
8.192.168.10.224/27   

192.168.10.0/24 Host requirement is---->60hosts

2 ^h ≥60
2^6≥60    64 ≥ 60  
I need 6 bits zero in the new subnet mask

Default mask is 255.255.255.0 

New mask is 255.255.255.11000000 /26    Or      255.255.255.192

Block size ————–> last bit one value 2^6 64 

1.192.168.10.0 /26 
2.192.168.10.64 /26
3.192.168.10.128 /26
4.192.168.10.192 /26

192.168.10.0/24 Host requirement is---->6 hosts

2 ^h ≥ 6
2^3≥ 6    8 ≥ 6   
I need 3 bits zero in the new subnet mask

Default mask is 255.255.255.0 

New mask is 255.255.255.11111000 /29    Or   255.255.255.248

Block size ————–> last bit one value 2^3 = 8

1.192.168.10.0 /29  
2.192.168.10.8 /29
3.192.168.10.16 /29
4.192.168.10.24 /29
5.192.168.10.32 /29
6.192.168.10.40/29
7.192.168.10.48/29
8.192.168.10.56/29   
………………………….

192.168.10.0/24 Host requirement is---->60hosts

2 ^h ≥60
2^6≥30    64 ≥ 60  
I need 6 bits zero in the new subnet mask

Default mask is 255.255.255.0 

New mask is 255.255.255.11000000 /26   Or   255.255.255.192

Block size ————–> last bit one value 2^6 64

1.192.168.10.0 /26 
2.192.168.10.64 /26
3.192.168.10.128 /26
4.192.168.10.192 /26

192.168.10.0/24 requirement is---->16 subnets

2 ^n ≥16
2^4≥16    16≥ 16   
I need 4 bits ones in the new subnet mask

Default mask is 255.255.255.0 

New mask is 255.255.255.11110000 /28    Or    255.255.255.240

Block size ————–> last bit one value 2^4 16

1.192.168.10.0 /28  
2.192.168.10.16 /28
3.192.168.10.32 /28
4.192.168.10.48 /28
5.192.168.10.64 /28
6.192.168.10.80/28
7.192.168.10.96/28
8.192.168.10.128/28   
……………………………..

192.168.10.0/24 requirement is---->2 subnets

2 ^n ≥2
2^1≥2    2 ≥ 2  
I need 1 bit one in the new subnet mask

Default mask is 255.255.255.0 

New mask is 255.255.255.10000000 /26    Or   255.255.255.128

Block size ————–>last bit one value 2^7 128

1.192.168.10.0 /25 

2.192.168.10.128 /25

 

48

Subnetting Calss C Quiz

This quiz to test Your understanding of subnetting Class C Object , network ID And Broadcast ID if you didn’t get the pass score I highly recommend to read the article or leave your comment on the post or ask me on live chat ! Do Your best To Be IT Professional

Kindly Fill Your Information Before Taking The quiz

1 / 5

What is the maximum number of IP addresses that can be assigned to hosts on a local subnet that uses the 255.255.255.192 subnet mask?

2 / 5

You need to subnet a network that has 5 subnets, each with at least 16 hosts. Which classful subnet mask would you use?

3 / 5

What is the maximum number of IP addresses that can be assigned to hosts on a local subnet that uses the 255.255.255.224 subnet mask?

4 / 5

what is the broadcast address for 192.168.10.1/26

5 / 5

what type of address 192.168.10.48/28

Your score is

0%