Subnetting Calculation

Subnetting Calculation

In this section, we are expecting to show the calculation on how to identify the IP address that was assigned for the OnlineLearning System Server based on the information given in the project scenario.

 

Subnets are an association that is allowed an enormous square of addresses might need to make bunches of organizations and split the addresses between the diverse subnets. The remainder of the world considers the association to be one element. Nonetheless, inside there are a few subnets. All messages are shipped off the router address that associates the association to the remainder of the Internet; the router courses the message to the suitable subnets.



Let’s use IP address 192.168.45.55 with subnet mask 255.255.255.192

        8 bits                8 bits              8 bits               8 bits

Network

Network

Network

Host

 

        8 bits               8 bits                  8 bits          2 bits    6 bits

Network

Network

Network

Subnet

Host

 

The IP address for OnlineLearning System Server is 192.168.45.55. The first octet, 192 can determine the class for this IP address which is Class C which takes 2 bits from the host field for subnetting and leaves 6 bits for defining hosts.

 

Based on the diagram above, we can know that the CIDR for the subnet mask is 26.


                                       CIDR = 8 + 8 + 8 + 2 = 26.

 

After that, we need to calculate the number of bits borrowed. It can easily be looking at the diagram above, which is 2 bits. Or another way to find the number of bits borrowed is:

 

                             11111111.11111111.11111111.11000000 / 26

             

                         Number of bits borrowed: (8+8+8) + X = 26

                                                                           24 + X = 26

                                                                          26 – 24 = 2

 

Then, we need to calculate the quantity of subnet by using the number of bits borrowed.

 

                      Quantity of subnet = 2^Number of bits borrowed – 2

                                                     = 2^2 -2

                                                     = 2

 

Next, find the number of hosts per subnet. 6 bits are left to identify the host.

 

             Number of hosts per subnet = 2^Number of bits left – 2

                                                          = 2^6 – 2

                                                          = 62 host per subnet.

 

In this formula, why need to minus 2? Because 1 address for subnet address and another one for the broadcast address.

 

Below is the IP table for Online Learning System Server (All 4 of the Possible /26 Networks for 192.168.45.*)


Subnet

Network Address

Host Range

Broadcast Address

0

192.168.45.0

192.168.45.1 - 192.168.45.62

192.168.45.63

1

192.168.45.64

192.168.45.65 – 192.168.45.126

192.168.45.127

2

192.168.45.128

192.168.45.129 - 192.168.45.190 

192.168.45.191

Broadcast

192.168.45.192

192.168.45.193 - 192.168.45.254

192.168.45.255

 

 




Comments