Friday, June 21, 2024

IP Addressing

IP addressing for the cyber cafe network (using subnetting): 

  • Detailed calculation of the IP subnetting 

Our cyber cafe will have at most 20 devices. The smallest power of 2 greater than 20 is 32, which means we need a subnet that provides 32 IP addresses. 

A /27 subnet mask (255.255.255.244) provides 32 IP addresses (2^5 = 32), which includes 30 usable host addresses (32 total – 1 network address – broadcast address = 30) 

Number of Subnets : With a /27 subnet mask, a /24 network can be divided into 8 subnets. (256 IPs / 32 IPs per subnet = 8 subnets). 

Subnet 

Network address 

Broadcast address 

Host range 

1st subnet 

192.168.1.0 

192.168.1.31 

192.168.1.1 - 192.168.1.30 

2nd subnet 

192.168.1.32 

192.168.1.63 

192.168.1.33 - 192.168.1.62 

3rd subnet  

192.168.1.64 

192.168.1.95 

192.168.1.65 - 192.168.1.94 

4th subnet 

192.168.1.96 

192.168.1.127 

192.168.1.97 - 192.168.1.126 

5th subnet 

192.168.1.128 

192.168.1.159 

192.168.1.129 - 192.168.1.158 

6th subnet 

192.168.1.160 

192.168.1.191 

192.168.1.161 - 192.168.1.190 

7th subnet 

192.168.1.192 

192.168.1.223 

192.168.1.193 - 192.168.1.222 

8th subnet 

192.168.1.224 

192.168.1.255 

192.168.1.225 - 192.168.254 

Hence, our cyber cafe using the first subnet since only 20 devices using the network  

  • Network address, broadcast address & host address range for whole network. 

Breakdown of Subnet 192.168.1.0/27 

 

Network address: 192.168.1.0 

Subnet mask: 255.255.255.224 

Broadcast address: 192.168.1.31 

Host range: 192.168.1.1 - 192.168.1.30 

No comments:

Post a Comment