Say I have the following Network:
The first host of that network would be
10.10.0.1 and the last host of the network would be
The Network ID would be
10.1.0.0 and the Broadcast would be
Now imagine I would subnet this network further into two
The first network would reach from
10.1.0.255 and the second network would reach from
10.1.1.255. So far so good. Yet, both of these /24 networks would still be part of that one larger
Now, both of these networks are subnets from the larger,
/23 network. However, there inside this network is now a host ID and a broadcast, and I learned that these cannot be assigned to hosts, even though they would obviously be valid host addresses for the /23 network:
(Network ID) =
How are such matters resolved? Does that mean that once a network is subnetted, it's not advisable to assign hosts to the original network at all? Or am I having some kind of brainfart?
Take for example the following configuration of hosts on a local link:
From my understanding, host 1 would still be able to reach host 2 (f.e. via ping), because host 2 is still in the same subnet as host 1. However, host 2 wouldn't be able to ping host 1 because the logical AND operation on the SNM would tell him to send these packets to the default gateway. As there is no default gateway configured. the ping fails.
But if the configuration is like this:
Host 1 would have a valid IP config for his own
/23 net, but since he got assigned the network-ID of the smaller
/24 net, would he still be able to ping host 2?