Professional Documents
Culture Documents
Electronic Engineering Polytechnic Institut of Surabaya - ITS Kampus ITS Sukolilo Surabaya 60111
Electronic Engineering Polytechnic Institut of Surabaya - ITS Kampus ITS Sukolilo Surabaya 60111
isbat@eepis-its.edu
Electronic Engineering Polytechnic Institut of Surabaya – ITS
Kampus ITS Sukolilo Surabaya 60111
ARP
ARP kepanjangan dari Address Resolution Protocol,
suatu protokol yang bertugas mengolah pengalamatan
logik dan fisik jaringan
ARP mengolah sebuah tabel yang berisi Mapping
antara IP-address dan Ethernet Card.
Tabel arp didapatkan dari request (broadcast) ke
jaringan.
Berada pada layer 3 Jaringan
ARP Table
IP Address MAC Address
172.16.10.3 00-0C-04-32-14-A1
172.16.10.19 00-0C-14-02-00-19
172.16.10.33 00-0C-A6-19-46-C1
isbat@eepis-its.edu Electronic Engineering Polytechnic Institut of Surabaya – ITS Kampus ITS Sukolilo 60111
Mengapa Butuh Mapping
MAC Address dengan IP Address
Jika host ingin
berkomunikasi IP host Host Stevens
172.16.10.10
Host Cerf
172.16.10.25
tertentu, Komputer 255.255.255.0
MAC 00-0C-04-17-91-CC
255.255.255.0
MAC 00-0C-04-38-44-AA
sumber akan
melakukan Source
Destination
pengecekan nomor
MAC dari komputer
tujuan di Tabel ARP 172.16.10.0/24
isbat@eepis-its.edu Electronic Engineering Polytechnic Institut of Surabaya – ITS Kampus ITS Sukolilo 60111
ARP Request
Ethernet Header Ethernet Data – 28 byte ARP request/reply
Ethernet Ethernet Frame ARP Sender’s Sender’s Target’s Target’s
Destination Source Type headers Ethernet Address IP Address Ethernet Address IP Address
Address Address , i.e. op (MAC) (MAC)
(MAC) (MAC) field
isbat@eepis-its.edu Electronic Engineering Polytechnic Institut of Surabaya – ITS Kampus ITS Sukolilo 60111
D e s tin a tio n M A C A d d re s s ? ? ?
A R P T a b le
IP A d d r e s s M A C A d d re s s
ARP Request
1 7 2 .1 6 .1 0 .3 0 0 -0 C -0 4 -3 2 -1 4 -A 1
1 7 2 .1 6 .1 0 .1 9 0 0 -0 C -1 4 -0 2 -0 0 -1 9
1 7 2 .1 6 .1 0 .3 3 0 0 -0 C -A 6 -1 9 -4 6 -C 1
H o s t S te v e n s H o s t C e rf
1 7 2 .1 6 .1 0 .1 0 1 7 2 .1 6 .1 0 .2 5
2 5 5 .2 5 5 .2 5 5 .0 2 5 5 .2 5 5 .2 5 5 .0
M A C 0 0 -0 C -0 4 -1 7 -9 1 -C C M A C 0 0 -0 C -0 4 -3 8 -4 4 -A A
S o u rc e
D e s tin a tio n
1 7 2 .1 6 .1 0 .0 /2 4
R o u te r A
E th e rn e t 0
1 7 2 .1 6 .1 0 .1
2 5 5 .2 5 5 .2 5 5 .0
M A C 0 3 -0 D -1 7 -8 A -F 1 -3 2
isbat@eepis-its.edu Electronic Engineering Polytechnic Institut of Surabaya – ITS Kampus ITS Sukolilo 60111
D e s tin a tio n M A C A d d re s s ? ? ?
A R P T a b le
IP A d d re s s M A C A d d re s s
17 2 .1 6 .1 0 .3 0 0 -0 C -0 4 -3 2 -1 4 -A 1
ARP Reply
17 2 .1 6 .1 0 .1 9 0 0 -0 C -1 4 -0 2 -0 0 -1 9
17 2 .1 6 .1 0 .3 3 0 0 -0 C -A 6 -1 9 -4 6 -C 1
H o s t S te v e n s H ost C e rf
1 7 2 .1 6 .1 0 .1 0 1 7 2 .1 6 .1 0 .2 5
2 5 5 .2 5 5 .2 5 5 .0 2 5 5 .2 5 5 .2 5 5 .0
M A C 0 0 -0 C -0 4 -1 7 -9 1 -C C M AC 0 0 -0 C -0 4 -3 8 -4 4 -A A
S o u rc e
ARP Reply dari Host Cerf
D e s tin a tio n
“Hey pengirim ARP Request!
Ini alamat MAC yang kamu
1 7 2 .1 6 .1 0 .0 /2 4
R o u te r A
butuhkan.”
E th e rn e t 0
1 7 2 .1 6 .1 0 .1
2 5 5 .2 5 5 .2 5 5 .0
M A C 0 3 -0 D -1 7 -8 A -F 1 -3 2
Data link destination address Data link source address Other data link fields IP Destination Address IP Source Address Other IP fields and data
Ini dia
isbat@eepis-its.edu Electronic Engineering Polytechnic Institut of Surabaya – ITS Kampus ITS Sukolilo 60111
D e s tin a tio n M A C A d d re s s ? ? ?
ARP Reply
17 2 .1 6 .1 0 .1 9 0 0 -0 C -1 4 -0 2 -0 0 -1 9
17 2 .1 6 .1 0 .3 3 0 0 -0 C -A 6 -1 9 -4 6 -C 1
H o s t S te v e n s H ost C e rf
1 7 2 .1 6 .1 0 .1 0 1 7 2 .1 6 .1 0 .2 5
2 5 5 .2 5 5 .2 5 5 .0 2 5 5 .2 5 5 .2 5 5 .0
M A C 0 0 -0 C -0 4 -1 7 -9 1 -C C M AC 0 0 -0 C -0 4 -3 8 -4 4 -A A
Host Stevens menerima
S o u rc e
D e s tin a tio n ARP Reply dan memasukkan
IP address dan MAC address
ke tabel ARP-nya.
1 7 2 .1 6 .1 0 .0 /2 4
R o u te r A Selanjutnya Host Stevens
E th e rn e t 0 bisa mengirimkan paket
1 7 2 .1 6 .1 0 .1 secara langsung ke Host
Cerf.
2 5 5 .2 5 5 .2 5 5 .0
M A C 0 3 -0 D -1 7 -8 A -F 1 -3 2
Data link destination address Data link source address Other data link fields IP Destination Address IP Source Address Other IP fields and data
Ethernet Frame
Ethernet Header IP Datagram from above Ethernet
Trailer
MAC MAC Other IP IP Original IP Final Data FCS
Destination Source Address Header Header Source Destination
Address Info Info Address Address
00-0C- 00-0C-
04-38- 04-17-
172.17.10.10 172.16.10.25
44-AA 91-CC
isbat@eepis-its.edu Electronic Engineering Polytechnic Institut of Surabaya – ITS Kampus ITS Sukolilo 60111