Subnetting Calculation
SUBNETTING CALCULATION
In this section, you are expected to show the calculation on how to identify the IP address that was assigned for the Ulearn System Server based on the information given in the project scenario. Explain the concept and show the calculation to identify the IP address.
192.168.1.0/24: Ranges between 192.168.1.0 and 192.168.1.255 with 254 possible hosts
The number following the IP address is the abbreviation for the subnet mask, and the number of ones in the subnet mask when expressed in the binary notation is equal to the number of the abbreviation.
For example, the /16 subnet would have 16 ones in a row, and the rest of the numbers being zeros: 11111111.11111111.11111111.00000000, which equals to 255.255.255.0 when converted from binary into decimal.
Subnet is a division of large IP Networks into multiple Small Logical Networks. Subnet mask is a 32-bit number used to identify the Network portion and the Host portion in the IP Address. There are 2 types of Subnetting, FLSM (Fixed Length Subnet Mask) and VLSM (Variable Length Subnet Mask). In our project we are using FLSM to calculate the subnetting based on the number of the faculties.
FLSM
- Dividing an IP Network with the same or equal size.
- The Subnet remains within its class Boundary
- Formula 2^n >= N (Requirements)
- Binary to Decimals
**Each CIDR increment doubles the number of networks
Private addressing scheme used in UTeM network :
192.168.1.0/24
The number of faculties:
8 faculties = 8 subnets
—------------------------------------------------------------------------------------------------------------------------
STEP 1
How many sub-networks could I need to create for 8 IP addresses starting with a /24?
Taking into consideration that there are 8 /27 networks inside a /24.
2^n = IP addresses
From the table above, /27 - /24 = 3
To calculate the number of possible subnets, use the formula 2^n, where n equals the number of host bits borrowed. If three host bits are borrowed, then n=3. 2^3=8, so eight subnets are possible if three host bits are borrowed.
STEP 2
Possible Number of Hosts per Subnets
To calculate the number of possible hosts per subnet, use the formula 2^n - 2, where h equals the number of host bits. The reason two addresses must be subtracted is because of the network address and the broadcast address.
Determine the number of remaining host bits based on the class of address and the number of host bits borrowed.
How 224 is discovered:
255.255.255.224
From the tables above, Total = 128 + 64 + 32 = 224
STEP 3
Before proceeding to the fourth step of the subnetting process, we must calculate the decimal and prefix values of the new subnet mask.
Number of Possible Hosts : 2^5 = 32
32 - 2 = 30
The 5th available address as the address of the ULearn System Server is 192.168.1.165, which is also the IP address of the server. We do not start from 192.168.1.161 since it will be assigned to the router IP address as we need to identify the 5th accessible address. So, it will begin at 192.168.1.162 and so on.
Comments
Post a Comment