IP, Subnet mask, Network address and broadcast address

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.

An Internet Protocol address (IP address) is a numerical label assigned to each device (e.g., computer, printer) participating in a computer network that uses the Internet Protocol for communication

IANA has divided IP into class:

Class A has 8 bits for network and 24 bits for host


Class B has 16 bits for network and 16 bits for host


Class C has 26 bits for network and 8 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 25.26.27.28/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 25.24.0.0

3) Broadcast address

in determine Broadcast address you must set bit host into 1

so you have broadcast address 25.31.255.255

(if i had mistaken please tell me)

Dhieka Avrilia lantana

Salam

 

Your email address will not be published. Required fields are marked *

*