Network Subnetting Help

isurutmv

Well-known member
  • May 1, 2013
    1,936
    823
    113
    29
    Gampaha
    mcn mage assignment ekakata network ekak design karanna thiyenawa meke branches 3 k thiyenawa eka branch ekaka 500 pc thiyenawa anith deke 40 pc gaane thiyenawa mama meke Ip gatte 192.168.0.0/23

    mata thiyena awula me branches 3 ta wenama subnet hadanne kohomada kiyala danna kenek upadesak kotagena yamalla:rolleyes::rolleyes::rolleyes::rolleyes:
     

    ipyaka

    Junior member
  • Apr 22, 2017
    62
    76
    18
    Branch with 500 Hosts
    NW = 192.168.0.0/23
    Mask = 255.255.254.0
    Hosts = 510
    NW Address = 192.168.0.0
    Broadcast Address = 192.168.1.255
    HOST IP Range = 192.168.0.1 to 192.168.1.254

    Branch with 40 Hosts
    NW = 192.168.2.0/26
    Mask = 255.255.255.192
    Hosts = 62
    NW Address = 192.168.2.0
    Broadcast Address = 192.168.2.63
    HOST IP Range = 192.168.2.1 to 192.168.2.62

    Branch with 40 Hosts
    NW = 192.168.2.64/26
    Mask = 255.255.255.192
    Hosts = 62
    NW Address = 192.168.2.64
    Broadcast Address = 192.168.2.127
    HOST IP Range = 192.168.2.65 to 192.168.2.126
     

    isurutmv

    Well-known member
  • May 1, 2013
    1,936
    823
    113
    29
    Gampaha
    Branch with 500 Hosts
    NW = 192.168.0.0/23
    Mask = 255.255.254.0
    Hosts = 510
    NW Address = 192.168.0.0
    Broadcast Address = 192.168.1.255
    HOST IP Range = 192.168.0.1 to 192.168.1.254

    Branch with 40 Hosts
    NW = 192.168.2.0/26
    Mask = 255.255.255.192
    Hosts = 62
    NW Address = 192.168.2.0
    Broadcast Address = 192.168.2.63
    HOST IP Range = 192.168.2.1 to 192.168.2.62

    Branch with 40 Hosts
    NW = 192.168.2.64/26
    Mask = 255.255.255.192
    Hosts = 62
    NW Address = 192.168.2.64
    Broadcast Address = 192.168.2.127
    HOST IP Range = 192.168.2.65 to 192.168.2.126

    thank you mcn:D:D:D meka gattu widihath explain karanna puluwannam loku udawuwak:rolleyes:
     

    ipyaka

    Junior member
  • Apr 22, 2017
    62
    76
    18
    thank you mcn:D:D:D meka gattu widihath explain karanna puluwannam loku udawuwak:rolleyes:


    Its VLSM ( Veriable Lenght Subnet Masking )

    IP Blocks are comimng in Factors of 2

    2 = 2^1 = /31 (32-1) = 255.255.255.254
    4 = 2^2 = /32 (32-2) = 255.255.255.252
    8 = 2^3 = /29 (32-3) = 255.255.255.248
    16 = 2^4 = /28 (32-4) = 255.255.255.240
    32 = 2^5 = /27 (32-5) = 255.255.255.224
    64 = 2^6 = /26 (32-6) = 255.255.255.192
    128 = 2^7 = /25 (32-7) = 255.255.255.128
    256 = 2^8 = /24 (32-8) = 255.255.255.0
    512 = 2^9 = /23 (32-9) = 255.255.254.0
    1024 = 2^10 = /22 (32-10) = 255.255.252.0


    So if you need 500 host in one branch , you have to take 512 host range .
    192.168.0.0/23

    if you need 40 hosts ...You need to get a 64 block , But you can not get it from 192.168.0.0/23 since its utilized for branch 1 therefore you have to get the next block 192.168.2.0 , it can be divided into 4 nos of 64 blocks from that IP range 192.168.2.0/26 , 192.168.2.64/26 ,192.168.2.128/26 ,192.168.2.192/26

    hope you get an idea about it :D
     

    genius_EK

    Well-known member
  • Jan 8, 2011
    3,794
    457
    83
    ۩ Apocrypha ۩
    Its VLSM ( Veriable Lenght Subnet Masking )

    IP Blocks are comimng in Factors of 2

    2 = 2^1 = /31 (32-1) = 255.255.255.254
    4 = 2^2 = /32 (32-2) = 255.255.255.252
    8 = 2^3 = /29 (32-3) = 255.255.255.248
    16 = 2^4 = /28 (32-4) = 255.255.255.240
    32 = 2^5 = /27 (32-5) = 255.255.255.224
    64 = 2^6 = /26 (32-6) = 255.255.255.192
    128 = 2^7 = /25 (32-7) = 255.255.255.128
    256 = 2^8 = /24 (32-8) = 255.255.255.0
    512 = 2^9 = /23 (32-9) = 255.255.254.0
    1024 = 2^10 = /22 (32-10) = 255.255.252.0


    So if you need 500 host in one branch , you have to take 512 host range .
    192.168.0.0/23

    if you need 40 hosts ...You need to get a 64 block , But you can not get it from 192.168.0.0/23 since its utilized for branch 1 therefore you have to get the next block 192.168.2.0 , it can be divided into 4 nos of 64 blocks from that IP range 192.168.2.0/26 , 192.168.2.64/26 ,192.168.2.128/26 ,192.168.2.192/26

    hope you get an idea about it :D
    lol kalekin subletting walata basse :P

    192.168.0.0 /23
    mehema subnet ganna puluwanda ban oka class c nee /24 after 24 bit nee subnet bits assign karanna puluwan ehema ekakata /23 kiyala ganna puluwanda ban
     

    genius_EK

    Well-known member
  • Jan 8, 2011
    3,794
    457
    83
    ۩ Apocrypha ۩
    Yes you can
    :confused::confused:

    meka balahan

    original network eka

    192.168.0.0 /23
    192.168.00000000.00000000
    255.255.11111110.00000000 (Mask)

    dan ban oya network eka kochcra subnet karath right (->) oya digit 9 nee gama gahanna thiyenne,


    increment :2

    so 1st subnet ,

    192.168.0.0 - 192.168.1.255

    meka awlak naa but

    2nd subnet,

    192.168.2.0 - 192.168.3.255

    host,

    192.168.2.1 ---- 192.168.00000010.00000001
    mask------------255.255.
    00000000.00000000

    dan oka balanna 2nd octet eka 2 wenakota <- original network eke mask eken ekak panala ee kianne apita play karanna puluwan 9 digit but meka 10 digit wela.


    oka nikan ganana wage hadagena hadagena yanna puluwan eth mee case eka enawa nee
     

    ipyaka

    Junior member
  • Apr 22, 2017
    62
    76
    18
    :confused::confused:

    meka balahan

    original network eka

    192.168.0.0 /23
    192.168.00000000.00000000
    255.255.11111110.00000000 (Mask)

    dan ban oya network eka kochcra subnet karath right (->) oya digit 9 nee gama gahanna thiyenne,


    increment :2

    so 1st subnet ,

    192.168.0.0 - 192.168.1.255

    meka awlak naa but

    2nd subnet,

    192.168.2.0 - 192.168.3.255

    host,

    192.168.2.1 ---- 192.168.00000010.00000001
    mask------------255.255.
    00000000.00000000

    dan oka balanna 2nd octet eka 2 wenakota <- original network eke mask eken ekak panala ee kianne apita play karanna puluwan 9 digit but meka 10 digit wela.


    oka nikan ganana wage hadagena hadagena yanna puluwan eth mee case eka enawa nee





    192.168.0.0 /23
    192.168.00000000.00000000
    255.255.11111110.00000000 (Mask)


    192.168.2.0 /23
    192.168.00000010.00000000
    255.255.11111110.00000000 (Mask)

    You got it confused machan , Let me explain the second senario
    /23 = 255.255.254.0 = 11111111.11111111.11111110.00000000
    192.168.2.0 in to binary = 11000000.10101000.00000010 .00000000

    So
    Network = 11000000.10101000.00000010.00000000
    Mask = 11111111.11111111.11111110.00000000

    In Mask '1' means you can not change the bit in Network address , '0 'means that bit can change

    That means you can not change this part 11000000.10101000.0000001

    Then the first address will be 11000000.10101000.00000010.00000001 = 192.168.2.1 and the last address will be 11000000.10101000.00000011.11111111 = 192.168.3.255