Runescape Glowing Crystal

Monday, January 9, 2017

Hitung Cepat Subnetting

Rumus Subnetting IPv4 Kelas C


Dalam subnetting IPv4 kelas C, maka kita akan bermain di disegmen ke empat yaitu pada segmen yang bercetak tebal berikut 192.168.1.100.

Rumus Subnetting

n=32 - (perfik)
Max IP = 2^n
Subnet Mask = 256 - max ip
Jumlah Host = (Max Ip) - (network + broadcast) = (Max IP) - 2
Network = (segmen ke 4) / (MAx IP) = x,... * (Max IP)  => jika hasil pembagian berupa desimal, maka angka dibelakang koma (,) dhilangkan.
Range IP
  Start IP = Network + 1
  End IP = Network + jumlah host
Broadcast = end IP + 1


ket.
Semua yang berubah adalah pada segmen ke-4.



Subnet Mask :                  Max IP :
24 = 0                               = 256
25 = 128                           = 128
26 = 192                           = 64
27 = 224                           = 32
28 = 240                          = 16
29 = 248                          = 8
30 = 252                          = 4
31 = 254                           = 2
32 = 255                           = 1


contoh1
192.168.1.1/25
n=32-25=7
Max IP = 2^n = 2^7=128
Subnet mask :256 - 128 = 128   =>  255.255.255.128
Jumlah Host = 128-2=126
Network = 1/128 = 0,..*128=0 =>192.168.1.0
Rang IP
   Start IP = 192.168.1.0 + 1 = 1 => 192.168.1.1
   End IP = 192.168.1.0 + 126 = 126 => 192.168.1.126
Broadcast = 192.168.1.126 + 1= 127 => 192.168.1.127



Contoh2
192.168.1.100/26
n=32-26=6
Max IP = 2^n=2^6=64
Subnet Mask = 256-64=192   => 255.255.255.192
Jumlah Host = 64-2=62
Network = 100/64 = 1,..*64= 64 => 192.168.1.64
Range IP
   Start IP = 192.168.1.64 + 1 = 65 => 192.168.1.65
   End IP = 192.168.1.64 + 62 = 126  => 192.168.1.126
Broadcast = 192.168.1.126 + 1 = 127 => 192.168.1.127

No comments:

Post a Comment