bagi sebagian orang mempelajari jaringan adalah hal yang sulit. termasuk saya yang sangat tidak menyukai belajar jaringan. Sampai-sampai saya kecewa ketika pada saat mengambil S2 IPB, lagi-lagi ketemu jaringan.. hiks hiks.. tapi dosen saya menyajikan mata kuliah ini dengan sangat menyenangkan dan jelas. akhirnya mulai mengerti sedikit demi sedikit. nah sekarang saya mau share hasil kuliah saya tentang TCP/IP.
before we continue about subnet mask, we must know about IP. in this section we talk about IPv4. IPv4 has 32 bit. IP divided in two categories, first is network and second is host. you can see clearly in picture 1.
this is definition IP from wikipedia.
IANA has divided IP into class:
Class A has 8 bits for network and 24 bits for host
now if we want to set up manually in your laptop you can set subnet mask, network address and broadcast address. but in this section i’m not going to set subnet mask according to class, but with classless. why i’m going to set with classless because we can get more ip address than according to class.
if we have IP address 126.96.36.199/13, we can determine Subnet mask, Network address and broadcast address.
/13 –> 8 bit+5bit
1) Subnet mask
in determine subnet mask you must set network into 1 and host into 0. because IP address have /13 so in the second you just have 5 bit
so you have subnet mask 255.248.0.0
2) Network address
in determine network address you must set bit host into 0
so you have network address 188.8.131.52
3) Broadcast address
in determine Broadcast address you must set bit host into 1
so you have broadcast address 184.108.40.206
(if i had mistaken please tell me)
Dhieka Avrilia lantana