I was reading How do you calculate the prefix, network, subnet, and host numbers?, and I noticed that he divided the network space into 4 subnetworks of 256 addresses, but he needed only 100 per subnet. If you have for example three contiguous static IP addresses, that means that you cannot separate them into different subnetworks considering also the broadcast and subnetwork IP addressess, right?
128.42.5.4/30
128.42.5.5/30
128.42.5.6/30
/30
. So, If I wanted to divide the/30
subnet into two subnets , I lose the subnet and broadcast (2) addresses from the four. If I wanted to have three subnets, then I lose 4 addresses from the 6, right? But this is not possible for a network like a wifi home network? I mean, you cannot have a network without subnet and broadcast IP. – sotirios Dec 24 '15 at 21:51/31
or/32
, but they are useful in limited circumstances. Any other subnet size, you do lose two addresses. This only applies to IPv4; with IPv6, all 18+ quintillion addresses in a subnet are usable. Questions about home networking are off-topic, and many vendors of home networking equipment do things in non-standard ways. – Ron Maupin Dec 24 '15 at 21:58128.42.5.4/30
and not128.42.5.0/30
? – sotirios Dec 24 '15 at 23:21128.42.5.0/30
includes.0
.1
,.2
, and.3
. The subnet128.42.5.4/30
includes.4
.5
,.6
, and.7
. The subnet128.42.5.8/30
includes.8
.9
,.10
, and.11
. And so on. – Ron Maupin Dec 24 '15 at 23:24