0% found this document useful (0 votes)
130 views7 pages

Electronic Engineering Polytechnic Institut of Surabaya - ITS Kampus ITS Sukolilo Surabaya 60111

- Address Resolution Protocol (ARP) is used to map IP addresses to MAC addresses on a network. It maintains an ARP table that correlates IP addresses and MAC addresses. - When a host wants to communicate with another host, it checks the target's MAC address in its local ARP table. If it's not found, the host broadcasts an ARP request to the network to obtain the MAC address. - The destination host replies with an ARP reply containing its MAC address to establish the address mapping in the ARP tables of other hosts on the network.

Uploaded by

luthfini
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
130 views7 pages

Electronic Engineering Polytechnic Institut of Surabaya - ITS Kampus ITS Sukolilo Surabaya 60111

- Address Resolution Protocol (ARP) is used to map IP addresses to MAC addresses on a network. It maintains an ARP table that correlates IP addresses and MAC addresses. - When a host wants to communicate with another host, it checks the target's MAC address in its local ARP table. If it's not found, the host broadcasts an ARP request to the network to obtain the MAC address. - The destination host replies with an ARP reply containing its MAC address to establish the address mapping in the ARP tables of other hosts on the network.

Uploaded by

luthfini
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 7

ARP

[email protected]
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

[email protected] 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

 Jika di tabel ARP tidak


ditemukan, maka
melakukan arp request
IP Destination Address IP Source Address Other IP fields and
Data link destination address Data link source address Other data link fields
data

??? 00-0C-04-17-91-CC 172.16.10.25 172.16.10.10

[email protected] 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

[email protected] 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

ARP Request from 172.16.10.10


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 IP Address Ethernet IP Address
Address Address , i.e. op Address Address
(MAC) (MAC) field (MAC) (MAC)
FF-FF- 00-0C- 0x806 op = 1 00-0C- 172.16.10.10 172.16.10.25
FF-FF- 04-17- 04-17-
FF-FF 91-CC 91-CC

[email protected] 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

00-0C-04-38-44-AA 00-0C-04-17-91-CC 172.16.10.25 172.16.10.10

ARP Reply from 172.16.10.25


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 IP Address Ethernet IP Address
Address Address , i.e. op Address Address
(MAC) (MAC) field (MAC) (MAC)
00-0C- 00-0C- 0x806 op = 2 00-0C- 172.16.10.25 00-0C- 172.16.10.10
04-17- 04-38- 04-38- 04-17-
91-CC 44-AA 44-AA 91-CC

Ini dia
[email protected] 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 Added to ARP Table


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
172.16.10.25 00-0C-04-38-44-AA

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

00-0C-04-38-44-AA 00-0C-04-17-91-CC 172.16.10.25 172.16.10.10

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

[email protected] Electronic Engineering Polytechnic Institut of Surabaya – ITS Kampus ITS Sukolilo 60111

You might also like