1 Badiyanto, S.Kom., M.Kom STMIK AKAKOM Yogyakarta Dasar Perhitungan Basis Bilangan (Biner) Basis bilangan hanya ada dua nilai 0 dan 1 DESIMAL BINER D...
Versi IPv 4 32 bit, dibagi 4 oktet Ditulis dengan angka desimal dengan notasi titik
Dasar-dasar Alamat pada TCP/IP 172.16.0.1
172.18.0.1 172.18.0.2
10.13.0.0 10.13.0.1
HDR
SA DA
172.17.0.1
DATA
172.17.0.2
172.16.0.2 192.168.1.0 192.168.1.1
– Penggunaan alamat harus unik dalam satu jaringan karena sebagai identifikasi antara host ke host – cation is represented by an address
4
2017-05-17
Pengalamatan IP 32 Bits Desimal dengan titik
Network
255
Maksimal
Contoh Decimal Contoh Biner
16
17
24 25
32
11111111
11111111
11111111
11111111 128 64 32 16 8 4 2 1
9
128 64 32 16 8 4 2 1
8
255
128 64 32 16 8 4 2 1
Biner
255
255
128 64 32 16 8 4 2 1
1
Host
122
16
172 10101100
00010000
01111010
204 11001100
Kelas IP 8 Bits
8 Bits
8 Bits
8 Bits
•Class A:
Network
Host
Host
Host
•Class B:
Network
Network
Host
Host
•Class C:
Network
Network
Network
Host
•Class D: Multicast •Class E:
Research
5
2017-05-17
Kelas Alamat IP 1
Bits:
8
9
16 17
0NNNNNNN
kelas A:
24 25
Host
Host
32 Host
Range (1-126) 1
Bits:
8
9
16 17
10NNNNNN
Kelas B:
Network
Range (128-191) 1 8
Bits:
9
110NNNNN
Kelas C:
1110MMMM
kelas D:
Host
9
24 25 Network
32 Host
16 17
Multicast Group
32 Host
16 17 Network
Range (192-223) 1 8
Bits:
24 25
24 25
Multicast Group
32
Multicast Group
Range (224-239)
Alamat Host 172.16.2.2
10.1.1.1
10.6.24.2 E1 E0 172.16.2.1
172.16.3.10
10.250.8.11
172.16.12.12
172.16 Network
.
12
10.180.30.118
. 12
Host
Routing Table Network Interface 172.16.0.0
E0
10.0.0.0
E1
6
2017-05-17
Classless Inter-Domain Routing (CIDR) • Suatu dasar cara yang dipakai ISPs (Internet Service Providers)
untuk mengalokasikan alamat pada perusahaan, pelanggan pribadi, contoh : 192.168.10.32/28 • Notasi slash (/) dalam pemisah untuk menuliskan panjang bit alamat jaringan
CIDR Values
7
2017-05-17
Kententuan yan digunakan untuk alamat Host Network
Subnetting Subnetting adalah logika pembagian ke jaringan dalam sub jaringan Keuntungan Dapat membagi sub jaringan ke jaringan yang lebih kecil Mengurangi Broadcast traffic Keanaman Memudahkan mengelola
9
2017-05-17
Rumusan Jumlah Jaringan – 2x-2
dimana X = nilai bit Jumlah Host – 2y-2
dimana y = jumlah bit untuk host Block Size = Total number of Address
Block Size = 256-Mask
Subnetting Disebut Classful jika alamat Sub Net Mask 255 dan 0. Dalam Binary hanya bersebelahan 1 dan 0 Mengihitungnya mudah hanya ada 1 dan 0 Kemungkinan nilai subnet mask – – – – – – –
– –
0 128 192 224 240 248 252 254 255
10
2017-05-17
Pengalamatan diluar Subnet
172.16.0.1
172.16.0.2
172.16.255.253
172.16.0.3
172.16.255.254
…...
172.16.0.0
• Network 172.16.0.0
Pengalamatan dalam Subnet
172.16.3.0
172.16.4.0
172.16.1.0
172.16.2.0
• Network 172.16.0.0
11
2017-05-17
Belum di bagi ke Subnet Addressing 172.16.2.200
172.16.3.5
172.16.3.1 E1 E0 172.16.2.1
172.16.2.2
172.16.3.100
172.16.2.160
172.16
.
2
Network
172.16.3.150
New Routing Table Network Interface
. 160
Host
172.16.0.0
E0
172.16.0.0
E1
Ke Subnet Addressing 172.16.2.200
172.16.3.5
172.16.3.1 E1 E0 172.16.2.1
172.16.2.2
172.16.3.100
172.16.2.160
172.16 Network
.
2 Subnet
172.16.3.150
.
160 Host
New Routing Table Network Interface 172.16.2.0
E0
172.16.3.0
E1
12
2017-05-17
Subnet Mask Network
Host
172
IP Address
16
0
Network Default Subnet Mask
0 Host
255
255
11111111
0
00000000
11111111
0
00000000
• Juga bisa dutulis “/16,” 16 =adalah panjang bit 1 dalam mask Network 8-Bit Subnet Mask
255
255
Subnet
Host
255
0
• Juga bisa ditulis “/24,” 24= adalah panjang bit 1 dalam mask
In the example above, a /26 was used to provide the 60 addresses for Bangalore and the other LANs. There are no addresses left for WAN links
Networking Scheme Mumbai 192.168.10.64/27
28
WAN 192.168.10.129 and 130
192.168.10.128/30
WAN 192.198.10.133 and 134
2
2
2
192.168.10.132/30 WAN 192.198.10.137 and 138
192.168.10.136/30
60
12
12
Sydney 192.168.10.96/28 Bangalore 192.168.10.0/26 Singapore 192.168.10.112/28
37
2017-05-17
VLSM Exercise 2 40
12
2
2
25
192.168.1.0
VLSM Exercise 192.168.1.8/30
192.168.1.64/26
2
40
192.168.1.16/28 12
2
2
192.168.1.12/30
192.168.1.4/30
25 192.168.1.32/27 192.168.1.0
38
2017-05-17
VLSM Exercise 2
5
8 2
35
2
2 15
192.168.1.0
Summarization • Summarization, also called route aggregation, allows routing protocols to • • • •
advertise many networks as one address. The purpose of this is to reduce the size of routing tables on routers to save memory Route summarization (also called route aggregation or supernetting) can reduce the number of routes that a router must maintain Route summarization is possible only when a proper addressing plan is in place Route summarization is most effective within a subnetted environment when the network addresses are in contiguous blocks
What is the most efficient summarization that TK1 can use to advertise its networks to TK2?
A. 172.1.4.0/24172.1.5.0/24172.1.6.0/24172.1.7.0/24 B. 172.1.0.0/22 C. 172.1.4.0/25172.1.4.128/25172.1.5.0/24172.1.6.0/24172.1.7.0/24 D. 172.1.0.0/21 E. 172.1.4.0/22