Hi! I am learning about subnet mask. How should I get 12th subnet from this 190.0.0.0/20 IP address? To do it I guess first of all I have to know block address of 20. Ok block address of 20 is 16. So 256 - 16 = 240. So subnet mask address will be 255.255.240.0. So what will be IP range like

190.0.?.0
      ? 1
      ? 2
      ? 3
      ? 4
      . .
      . .
      . .
   ?/? X 255/256

I have seen an example which is

172.16.0.0/19

Block size of 19 is 32.

Subnet mask : 256-32 = 224 so subnet mask is 255.255.224.0

**32x6 = 192**

IP range : 172.16.**192**.0
                  .   1
                  .   2
                  .   3
                  .   4
                  .   .
                  .   .
                  .   .
             223/32 X 255/256

I did not understand it & how did we get 192? 32 was block size but what is 6? Because 32 X 6 = 192. Please help me to understand it clearly & easily.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.