Assignment
Assignment
For subnets:
2^n >= 6
The smallest n that satisfies this is 3. So, we need 3 bits for subnets.
For hosts:
2^n >= 30
The smallest n that satisfies this is 5. So, we need 5 bits for hosts.
Therefore, we need to borrow 3 bits from the host portion of the default subnet mask. This gives
us a custom subnet mask of:
255.255.255.224
4. Total number of subnets:
● With 3 bits borrowed, we can have 2^3 = 8 total subnets.
5. Number of usable subnets:
● We can use 6 of the 8 subnets, so the number of usable subnets is 6.
6. Total number of host addresses:
● With 5 bits for hosts, each subnet can have 2^5 = 32 total host addresses.
7. Number of usable addresses:
● In each subnet, 2 addresses are reserved for the network address and the broadcast
address.
● So, each subnet has 32 - 2 = 30 usable addresses.
8. Number of bits borrowed:
● As calculated earlier, we borrowed 3 bits from the host portion.
Summary:
Parameter Value
Address Class Class C
Default Subnet Mask 255.255.255.0
Custom Subnet Mask 255.255.255.224
Total number of subnets 8
Number of usable subnets 6
Total number of host addresses 32
Number of usable addresses 30
Number of bits borrowed 3