I am studying for my CCNA and my current topic is subnetting.
I understand how subnetting works and how to subnet (calculate the network IP, the amount of hosts, broadcast, etc). However, I can't seem to figure out when or why would we use all that.
Let's say that we have a network of 192.168.1.0/24. There are 200 hosts and we would like to split them into 4 separate subnets, where each subnet would have 50 hosts.
If we want subnets that would serve 50 hosts, we would use the /26 prefix. /26 prefix would create 4 subnets that would serve 62 hosts, but it's the closest to 50. The network addresses would be 192.168.1.0/26, 192.168.1.64/26, 192.168.1.128/26 and 192.168.1.192/26
I can understand the purpose of subnetting, if it's related to public IPs, because if we make subnets for a specific amount of hosts, we would prevent IP addresses from being wasted.
But why would we want to subnet private IPs like this? We can't really run out of/waste private IP addresses, can we? Couldn't we just use 192.168.1.0/24 for the first subnet, 192.168.2.0/24 for the second subnet, 192.168.3.0/24 for the third subnet and 192.168.4.0/24 for the last subnet, instead of picking a specific prefix and calculating the network addresses?
I hope I didn't make anything confusing. Please ask if something is unclear.