‫OK.
‫I know there are a lot of terms and conditions, so let's just break it down with a Real-World scenario.
‫Although the standard for a and B-Class network specify eight and 16 bit masks, respectively, it's
‫common to assign non-standard masks for subnet, resulting in much more limited address bases, right?
‫For example, using 10 Dot Exact Why-Why zero size 24 results in 256 host company subnets, right?
‫So this is done for scalability and, of course, security.
‫OK, so we're the system administrators in Company X and ready to build.
‫We have decided to use one nine two two one six eight x not X as a private IP address base for our company.
‫If we use the natural mask 255.255.255.0 2.0, that means we use the first 16 bits for Network I.D..
‫And we'll have a single network.
‫So in this case, we can address 65000 536 devices in this network.
‫Of course, the first IP in the last IP we're not allowed to use, so the number of IP addresses is
‫actually sixty five thousand five hundred thirty six minus two.
‫You do the math, but in practice for ease of use, it's pretty much used as the power of two.
‫So you can use an IP address in this network from 192.168.0.1, who one nine two two one six eight two
‫five five two five four.
‫But we need to have different networks, one for the managers, one for the developers, one for the
‫servers, etc. So for the sake of our use and our sanity, let's use the next eight bits for subnets.
‫In this case, we have a subnet mask of 255.255.255.0.
‫Eight bits for Senate and 24 bits for the network, I.D. and total, eight bits left for addressing
‫the devices under the subnet.
‫So as a result.
‫We can create 256 subnet.
‫And address 256 devices for each one.
‫Now we have 256 address ranges for 256 sub networks.
‫So the table here shows a few examples of our potential sub networks.
‫The red colored blocks are added to the network ID as subnet identifiers.
‫The rest of the eight bits are used as the host IDs.
‫In the four block decimal notation, the third block identifies a sub network and the last block identifies
‫the host, so breaking it down, it's much simpler now, isn't it?
‫Excellent.
‫Let's move on.