In: Computer Science
4) An organization where you are assigned as a network admin is granted a block of addresses with the beginning address 14.24.74.0/24. The organization needs to have 3 subblocks of addresses to use in its three subnets as shown below. Create address subblocks for these 3 subnets based on the given address block. ❑ subnet 1: One subblock of 120 addresses. ❑ subnet 2: One subblock of 60 addresses. ❑ subnet 3: One subblock of 10 addresses
Consider, company A needs-->120 addresses.
Company B needs 60 addresses.
Company C needs 10 addresses.
Given network address is 14.24.74.0/24. Which means above network has 24 bits as network bits and 8 bits as host bits. So 14.24.74.0 is a network ID which have hosts that is 256 hosts.
We are asked to use classless inter-domain routing for subnetting(CIDR). CIDR has property that it can divide a network into unequal parts or subnetworks.
Important thumbrule of subnetting is that number of hosts of a subnetwork must be in powers of 2.
Now company A needs 120 hosts. So nearby power of 2 which satisfy above requirement is 128 hosts i.e. hosts. Host bits =7, Network bits =32-7=25.
Required subnetwork ID for company A is 14.24.74.0/25
Which contain 126 hosts one net ID and one Direct Broadcast Address(DBA). Range of addresses lies between 14.24.74.0/25 to 14.24.74.127/25.
Company B needs 60 addresses. Nearest power of 2 which satisfy this need is i.e. 64 hosts.
6 host bits and 32-6=26 network bits.
So range of subnetwork of company B lies from 14.24.74.128/26 to 14.24.74.191/26. With subnetwork ID as 14.24.74.128/26 and direct broadcast address (DBA) is 14.24.74.191/26.
Similarly, company C needs 10 hosts nearest power of 2 which satisfy above requirement is that is 16 hosts. So host bits=4, network bits=32-4=28.
Range of subnetwork for company C is 14.24.74.192/28 to 14.24.74.207/28 with subnetwork ID as 14.24.74.192/28 and DBA as 14.24.74.207/28.
So overall company A has subnet ID 14.24.74.0/25
Company B has subnet ID 14.24.74.128/26.
Company C has subnet ID 14.24.74.192/28.