1. Addressing the Network
IPv4
Group 4 :
Yuli Artika (3311201021)
Adithya Widi Maulana (3311201022)
Indita Brayudi (3311201023)
Ipan Handoko (3311201024)
Christ Yana (3311201025)
Robby Gusnaldy (3311201026)
2. Definition
IP v4
Alamat perangkat
untuk komunikasi antar network
4 byte atau 32 bit atau 4 octet
ex : 10101100000100000000010000010100
Dotted Decimal
ex : 172.16.4.20
Terdiri dari Network Portion(high-order bits) dan Host
Portion(low-order bits)
172.16.4.20
Network
Portion
Host
Portion
10. Definition
Kelas IP Range Porsi Default Subnet
A 1-127 N-H-H-H 255.0.0.0
B 128-191 N-N-H-H 255.255.0.0
C 192-223 N-N-N-H 255.255.255.0
D 224-239 NA(multicast)
E 240-255 NA(experimental)
N : Network
H : Host
17. Subnet Mask
Contoh : /24 = 24 bits pertama adalah network address, 8
bits adalah host
11111111.11111111.11111111.00000000
255.255.255.0
Contoh : /27 = 27 bits pertama adalah network address, 5
bits adalah host
11111111.11111111.11111111.11100000
255.255.255.(128+64+32+0+0+0+0+0) = 255.255.255.224
18. How to get the Network Address
Calculating Network, Host, Broadcast
172.16.20.0 /25
IP
Subnet Mask
Network Address
Broadcast
Host Min
Host Max
Range
19. How to get the Network Address
Langkah - Langkah :
1 . Ubah IP desimal menjadi IP biner
Desimal 172 16 20 0
Biner 10101100 00010000 00010100 00000000
Langkah - Langkah :
2. Terjemahkan subnet kedalam biner
/25
Biner 11111111 11111111 11111111 10000000
20. How to get the Network Address
Dengan melakukan operasi AND
172.16.20.0 /25
IP 10101100 00010000 00010100 00000000
Subnet Mask 11111111 11111111 11111111 10000000
Network
Address
Broadcast
Host Min
Host Max
Range
21. How to get the Network Address
Langkah - Langkah :
3. Lakukan Operasi AND
Operasi AND digunakan untuk mendapatkan Network Address
IP 10101100 00010000 00010100 00000000
Subnet 11111111 11111111 11111111 10000000
AND
Network
Address
10101100 00010000 00010100 00000000
172 16 20 0
22. How to get the Network Address
Calculating Network, Host, Broadcast
172.16.20.0 /25
IP 10101100 00010000 00010100 00000000
Subnet Mask 11111111 11111111 11111111 10000000
Network
Address
172 16 20 0
Broadcast
Host Min
Host Max
Range
23. How to get the Network Address
Langkah - Langkah :
4. Menghitung Broadcast
Network ID 10101100 00010000 00010100 00000000
Subnet 11111111 11111111 11111111 10000000
Broadcast
10101100 00010000 00010100 01111111
172 16 20 127
24. How to get the Network Address
Calculating Network, Host, Broadcast
172.16.20.0 /25
IP 10101100 00010000 00010100 00000000
Subnet Mask 11111111 11111111 11111111 10000000
Network
Address
172 16 20 0
Broadcast 172 16 20 127
Host Min
Host Max
Range
25. How to get the Network Address
Langkah - Langkah :
5. Menetukan Host Min
Rumus : Network ID + 1
Network ID 172 16 20 0
1
Host Min 172 16 20 1
26. How to get the Network Address
Calculating Network, Host, Broadcast
172.16.20.0 /25
IP 10101100 00010000 00010100 00000000
Subnet Mask 11111111 11111111 11111111 10000000
Network
Address
172 16 20 0
Broadcast 172 16 20 127
Host Min 172 16 20 1
Host Max
Range
27. How to get the Network Address
Langkah - Langkah :
6. Menetukan Host Max
Rumus : Broadcast - 1
Broadcast 172 16 20 127
1
Host Max 172 16 20 126
28. How to get the Network Address
Calculating Network, Host, Broadcast
172.16.20.0 /25
IP 10101100 00010000 00010100 00000000
Subnet Mask 11111111 11111111 11111111 10000000
Network
Address
172 16 20 0
Broadcast 172 16 20 127
Host Min 172 16 20 1
Host Max 172 16 20 126
Range
29. How to get the Network Address
Langkah - Langkah :
7. Menetukan Range
Rumus : Host Min – Host Max
Host Min 172 16 20 1
until
Host Max 172 16 20 126
Range 172.16.20.1 – 172.16.20.126
30. How to get the Network Address
Calculating Network, Host, Broadcast
172.16.20.0 /25
IP 10101100 00010000 00010100 00000000
Subnet Mask 11111111 11111111 11111111 10000000
Network
Address
172 16 20 0
Broadcast 172 16 20 127
Host Min 172 16 20 1
Host Max 172 16 20 126
Range 172.16.20.1 – 172.16.20.126
32. Subnetting
Soal 192.168.1.0 /24
-Membuat 3 buah subnet dari IP tersebut
Langkah – Langkah :
1. Gunakan rumus 2n
22 = 4 karena mendekati angka 3
/24 + 2 = /26
subnet yang akan dibuat nanti menjadi /26
subnet : 11111111 11111111 11111111 11000000
/26 = 64 host
33. Subnetting
Soal 192.168.1.0 /24
-Membuat 3 buah subnet dari IP tersebut
Network ID Range Broadcast
192.168.1.0 1-62 63
192.168.1.64 65-126 127
192.168.1.128 129-190 191
192.168.1.192 193-254 255