How to subnet the following IP:
10.96.42.37 /28
1) Determine your subnet mask based on the “slash” or “CIDR” notation (the /28). It is about which bit is on and off in each octet, which I can explain more if anyone wants. A quick reference to all relevant IPv4 subnet masks:
/1 - 128.0.0.0
/2 - 192.0.0.0
/3 - 224.0.0.0
/4 - 240.0.0.0
/5 - 248.0.0.0
/6 - 252.0.0.0
/7 - 254.0.0.0
/8 - 255.0.0.0
/9 - 255.128.0.0
/10 - 255.192.0.0
/11 - 255.224.0.0
/12 - 255.240.0.0
/13 - 255.248.0.0
/14 - 255.252.0.0
/15 - 255.254.0.0
/16 - 255.255.0.0
/17 - 255.255.128.0
/18 - 255.255.192.0
/19 - 255.255.224.0
/20 - 255.255.240.0
/21 - 255.255.248.0
/22 - 255.255.252.0
/23 - 255.255.254.0
/24 - 255.255.255.0
/25 - 255.255.255.128
/26 - 255.255.255.192
/27 - 255.255.255.224
/28 - 255.255.255.240
/29 - 255.255.255.248
/30 - 255.255.255.252
So the subnet mask of /28 is 255.255.255.240
2) Determine block size. Simple, 256 - (the value of the octet you are subnetting in)
In this case, “256 - 240” which is 16
3) Determine the network address of the subnet. This is the first IP in the subnet, but it is not useable. Start at 0, then count by the block size until you reach the range of the octet you are subnetting in. In this case /28 is in the last octet, so based on IP 10.96.42.37 you are trying to find the range where .37 falls. 0, 16, 32, 48… .37 falls in between 32 and 48, so 32 is the network address, more specifically 10.96.42.32 is the network address.
4) Determine the broadcast address of the subnet. This is always the IP before the next network address. Since, in step 3 we determined 10.96.42.32 is a network address, and 10.96.42.48 is the next network, 10.96.42.47 is the broadcast address. The broadcast address is also not a useable IP.
5) Determine the number of useable host IPs. Easy step… (2^n)-2 where n = 32 - (the CIDR number). In this case, 2^(32-28)-2=14. It makes sense, the block size is 16, so there are 16 IPs in the subnet, you can’t use the network address or the broadcast address, so subtract 2.
6) Determine the useable host range. Steps 3 and 4 are great, but you can’t use the IP addresses. So, find out what you can use. This is easy, the range starts at the IP after the network address, and ends at the IP before the broadcast address. So, in this instance, the useable range is 10.96.42.33-10.96.42.47.
I have no idea why I posted this, but if you have any questions, or want to know more about networking in general please ask.
DISCLAIMER: I AM NOT QUALIFIED