Selasa, 05 Juni 2012

Subnetting Berdasarkan Nilai CIDR


  1. Subnetting Kelas A



Subnet Mask
Biner
Nilai CIDR
255.0.0.0
11111111.00000000.00000000.00000000
/8
255.128.0.0
11111111.10000000.00000000.00000000
/9
255.192.0.0
11111111.11000000.00000000.00000000
/10
255.224.0.0
11111111.11100000.00000000.00000000
/11
255.240.0.0
11111111.11110000.00000000.00000000
/12
255.248.0.0
11111111.11111000.00000000.00000000
/13
255.252.0.0
11111111.11111100.00000000.00000000
/14
255.254.0.0
11111111.11111110.00000000.00000000
/15

Perhitungan:
  1. Nilai CIDR: /8
    1. Jumlah Network/Broadcast = 2x = 20 = 1 network/broadcast
    2. Jumlah Host = 2y - 2 = 224 – 2 = 16.777.214 host
  1. Nilai CIDR: /9
    1. Jumlah Network/Broadcast = 2x = 21 = 2 network/broadcast
    2. Jumlah Host = 2y - 2 = 223 – 2 = 8.388.606 host
  1. Nilai CIDR: /10
    1. Jumlah Network/Broadcast = 2x = 22 = 4 network/broadcast
    2. Jumlah Host = 2y - 2 = 222 – 2 = 4.194.302 host
  1. Nilai CIDR: /11
    1. Jumlah Network/Broadcast = 2x = 23 = 8 network/broadcast
    2. Jumlah Host = 2y - 2 = 221 – 2 = 2.097.150 host
  1. Nilai CIDR: /12
    1. Jumlah Network/Broadcast = 2x = 24 = 16 network/broadcast
    2. Jumlah Host = 2y - 2 = 220 – 2 = 1.048.574 host
  1. Nilai CIDR: /13
    1. Jumlah Network/Broadcast = 2x = 25 = 32 network/broadcast
    2. Jumlah Host = 2y - 2 = 219 – 2 = 524.286 host
  1. Nilai CIDR: /14
    1. Jumlah Network/Broadcast = 2x = 26 = 64 network/broadcast
    2. Jumlah Host = 2y - 2 = 218 – 2 = 262.142 host
  1. Nilai CIDR: /15
    1. Jumlah Network/Broadcast = 2x = 27 = 128 network/broadcast
    2. Jumlah Host = 2y - 2 = 217 – 2 = 131.070 host
  1. Subnetting Kelas B
    Subnet Mask
    Biner
    Nilai CIDR
    255.255.0.0
    11111111.1111111.00000000.00000000
    /16
    255.255.128.0
    11111111.1111111.10000000.00000000
    /17
    255.255.192.0
    11111111.1111111.11000000.00000000
    /18
    255.255.224.0
    11111111.1111111.11100000.00000000
    /19
    255.255.240.0
    11111111.1111111.11110000.00000000
    /20
    255.255.248.0
    11111111.1111111.11111000.00000000
    /21
    255.255.252.0
    11111111.1111111.11111100.00000000
    /22
    255.255.254.0
    11111111.1111111.11111110.00000000
    /23
    1. Nilai CIDR: /16
      1. Jumlah Network/Broadcast = 2x = 20 = 1 network/broadcast
      2. Jumlah Host = 2y - 2 = 216 – 2 = 65534 host
    2. Nilai CIDR: /17
      1. Jumlah Network/Broadcast = 2x = 21 = 2 network/broadcast
      2. Jumlah Host = 2y - 2 = 215 – 2 = 32766 host
    3. Nilai CIDR: /18
      1. Jumlah Network/Broadcast = 2x = 22 = 4 network/broadcast
      2. Jumlah Host = 2y - 2 = 214 – 2 = 16382 host
    4. Nilai CIDR: /19
      1. Jumlah Network/Broadcast = 2x = 23 = 8 network/broadcast
      2. Jumlah Host = 2y - 2 = 213 – 2 = 8190 host
    5. Nilai CIDR: /20
      1. Jumlah Network/Broadcast = 2x = 24 = 16 network/broadcast
      2. Jumlah Host = 2y - 2 = 212 – 2 = 4094 host
    6. Nilai CIDR: /21
      1. Jumlah Network/Broadcast = 2x = 25 = 32 network/broadcast
      2. Jumlah Host = 2y - 2 = 211 – 2 = 2046 host
    7. Nilai CIDR: /22
      1. Jumlah Network/Broadcast = 2x = 26 = 64 network/broadcast
      2. Jumlah Host = 2y - 2 = 210 – 2 = 1022 host
    8. Nilai CIDR: /23
      1. Jumlah Network/Broadcast = 2x = 27 = 128 network/broadcast
      2. Jumlah Host = 2y - 2 = 29 – 2 = 510 host
  2. Subnetting Kelas C
    Subnet Mask
    Biner
    Nilai CIDR
    255.255.255.0
    11111111.1111111.00000000.00000000
    /24
    255.255.255.128
    11111111.1111111.1111111.10000000
    /25
    255.255.255.192
    11111111.1111111.1111111.11000000
    /26
    255.255.255.224
    11111111.1111111.1111111.11100000
    /27
    255.255.255.240
    11111111.1111111.1111111.11110000
    /28
    255.255.255.248
    11111111.1111111.1111111.11111000
    /29
    255.255.255.252
    11111111.1111111.1111111.11111100
    /30
    1. Nilai CIDR: /24
      1. Jumlah Network/Broadcast = 2x = 20 = 1 network/broadcast
      2. Jumlah Host = 2y - 2 = 28 – 2 = 254 host
    2. Nilai CIDR: /25
      1. Jumlah Network/Broadcast = 2x = 21 = 2 network/broadcast
      2. Jumlah Host = 2y - 2 = 27 – 2 = 126 host
    3. Nilai CIDR: /26
      1. Jumlah Network/Broadcast = 2x = 22 = 4 network/broadcast
      2. Jumlah Host = 2y - 2 = 26 – 2 = 62 host
    4. Nilai CIDR: /27
      1. Jumlah Network/Broadcast = 2x = 23 = 8 network/broadcast
      2. Jumlah Host = 2y - 2 = 25 – 2 = 30 host
    5. Nilai CIDR: /28
      1. Jumlah Network/Broadcast = 2x = 24 = 16 network/broadcast
      2. Jumlah Host = 2y - 2 = 24 – 2 = 14 host
    6. Nilai CIDR: /29
      1. Jumlah Network/Broadcast = 2x = 25 = 32 network/broadcast
      2. Jumlah Host = 2y - 2 = 23 – 2 = 6 host
    7. Nilai CIDR: /30
      1. Jumlah Network/Broadcast = 2x = 26 = 64 network/broadcast
      2. Jumlah Host = 2y - 2 = 22 – 2 = 2 host

Jumlah network dengan jumlah broadcast harus sama, sehingga hasilnya sebagai berikut:
Nilai CIDR
Nilai Subnet Mask
Jumlah Network
Jumlah Host yang Valid
Jumlah Broadcast
/8
255.0.0.0
1
16777214
1
/9
255.128.0.0
2
8388606
2
/10
255.192.0.0
4
4194302
4
/11
255.224.0.0
8
2097150
8
/12
255.240.0.0
16
1048574
16
/13
255.248.0.0
32
524286
32
/14
255.252.0.0
64
262142
64
/15
255.254.0.0
128
131070
128
/16
255.255.0.0
1
65534
1
/17
255.255.128.0
2
32766
2
/18
255.255.192.0
4
16382
4
/19
255.255.224.0
8
8190
8
/20
255.255.240.0
16
4094
16
/21
255.255.248.0
32
2046
32
/22
255.255.252.0
64
1022
64
/23
255.255.254.0
128
510
128
/24
255.255.255.0
1
254
1
/25
255.255.255.128
2
126
2
/26
255.255.255.192
4
62
4
/27
255.255.255.224
8
30
8
/28
255.255.255.240
16
14
16
/29
255.255.255.248
32
6
32
/30
255.255.255.252
64
2
64

0 komentar: