Calculate the subnet mask?

praneeth.pj

Well-known member
  • Mar 2, 2013
    1,266
    432
    113
    මචන් කව්රුහරි දන්නවද subnet mask 1ක් calculate කරන හැටි ip address එකකින්?:eek:

    උදාහරණයක් 10.32.5.0

    දන්නවනං හෙල්ප් එකක් දීපන්
     

    Radical78

    Well-known member
  • Mar 12, 2010
    16,024
    2,606
    113
    Searching..........
    11111111.11111111.11111111.11100000 = 255.255.255.224

    The five 0's at the end can support up to 32 unique addresses which is enough for your maximum of 25 computers.

    Remember that you're working with binary, so...

    11111111 = 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255
    11100000 = 128 + 64 + 32 = 224

    ---------------------------------------...

    Here is another example to hopefully make some of this more clear:

    11111111.11111111.11111111.11111100 = 255.255.255.252

    This subnet mask would only allow four computers on the network to obtain an address. That's because the address space is defined by the trailing 0's. Since there are only two zeros the only possible unique addresses would be

    00
    01
    10
    11

    The leading thirty 1's define the network itself and cannot be used to identify individual computers.
     
    • Like
    Reactions: praneeth.pj

    praneeth.pj

    Well-known member
  • Mar 2, 2013
    1,266
    432
    113
    11111111.11111111.11111111.11100000 = 255.255.255.224

    The five 0's at the end can support up to 32 unique addresses which is enough for your maximum of 25 computers.

    Remember that you're working with binary, so...

    11111111 = 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255
    11100000 = 128 + 64 + 32 = 224

    ---------------------------------------...

    Here is another example to hopefully make some of this more clear:

    11111111.11111111.11111111.11111100 = 255.255.255.252

    This subnet mask would only allow four computers on the network to obtain an address. That's because the address space is defined by the trailing 0's. Since there are only two zeros the only possible unique addresses would be

    00
    01
    10
    11

    The leading thirty 1's define the network itself and cannot be used to identify individual computers.

    thanks machan rep+