Options

CIDR for private (172.16.0.0)

auosauos Member Posts: 186
Hi,
The private address (172.16.0.0/12) , it is mean the mask is (255.240.0.0) with range (172.16.0.0 - 172.31.255.255).

My question is :-
The mask (255.240.0.0) .......= 11111111.11110000.00000000.00000000
The address(172.31.255.255).= 10101100.11111000.11111111.11111111

how could the mask (240 with 4 bit) cover the rang (31 with 5 bit).


BR.

Comments

  • Options
    NvermindNvermind Member Posts: 35 ■■□□□□□□□□
    network 172.16.0.0
    10101100.00010000.00000000.00000000
    Subnet 255.240.0.0
    11111111.11110000.00000000.00000000

    Host Block Size = 240 - 256 = 16

    So IP Address Range :

    172.16.0.0
    10101100.00010000.00000000.00000000
    172.31.255.255
    10101100.00011111.11111111.11111111


    Is it that you have the second octet of the 172.31.255.255 address converted to binary wrongly? 31 = 00011111 not 11111000
    Leave the monkies alone! They've got problems enough as it is!
  • Options
    auosauos Member Posts: 186
    Sorry for mistake, and thank you for explanation.
Sign In or Register to comment.