SlideShare a Scribd company logo
4

Tutun Juhana
Telecommunication Engineering

Network Layer (Part 5)

School of Electrical Engineering & Informatics
Institut Teknologi Bandung

Computer Networks
ADDRESS RESOLUTION
PROTOCOL (ARP)
Address Mapping
• Static Mapping
– Static mapping means creating a table that associates a logical
address with a physical address This table is stored in each
machine on the network
– This has some limitations because physical addresses may
change  static mapping table must be updated periodically
This overhead could affect network performance.

• Dynamic Mapping
– In dynamic mapping, each time a machine knows the logical
address of another machine, it can use a protocol to find the
physical address
• Address Resolution Protocol (ARP) : logical address
physical
address
• Reverse Address Resolution Protocol (RARP): physical address
logical address  It is replaced by BOOTP dan DHCP
3
THE ARP PROTOCOL

4
5
6
Packet Format

7
Encapsulation

Indicating the data carried is an ARP packet

8
Operation
•

Steps Involved
1.
2.

3.

4.

5.
6.
7.

The sender knows the IP address of the target
IP asks ARP to create an ARP request message, filling in the sender physical
address, the sender IP address, and the target IP address. The target physical
address field is filled with 0s.
The message is passed to the data link layer where it is encapsulated in a
frame using the physical address of the sender as the source address and the
physical broadcast address as the destination address.
Every host or router receives the frame. Because the frame contains a
broadcast destination address, all stations remove the message and pass it to
ARP. All machines except the one targeted drop the packet. The target
machine recognizes the IP address.
The target machine replies with an ARP reply message that contains its
physical address. The message is unicast.
The sender receives the reply message. It now knows the physical address of
the target machine.
The IP datagram, which carries data for the target machine, is now
encapsulated in a frame and is unicast to the destination.
9
10
11
12
Proxy ARP
• A technique to create a subnetting effect.
• A proxy ARP is an ARP that acts on behalf of a
set of hosts
• Whenever a router running a proxy ARP
receives an ARP request looking for the IP
address of one of these hosts, the router sends
an ARP reply announcing its own hardware
(physical) address
• After the router receives the actual IP packet, it
sends the packet to the appropriate host or
router
13
14

More Related Content

PPTX
PPT
Address resolution protocol and internet control message protocol
PPTX
Arp (address resolution protocol)
PPTX
PPTX
Et3003 sem2-1314-6 network layers iii (arp)
PPTX
Address resolution protocol (ARP)
PPT
PPT
Address Resolution Protocol
Address resolution protocol and internet control message protocol
Arp (address resolution protocol)
Et3003 sem2-1314-6 network layers iii (arp)
Address resolution protocol (ARP)
Address Resolution Protocol

What's hot (20)

PPT
Ch21 network layer final
PDF
Network layer ip address assignment and routing
PPTX
Academic Experiment 2 - IP forwarding
PPTX
PPTX
Et3003 sem2-1314-3 ethernets
PPTX
Transport layer
PPT
Arp and rarp
PPTX
PPTX
Et3003 sem2-1314-5 network layers ii (intro to routing)
PPTX
Link state routing protocol
PPT
Hardware Approaches for Fast Lookup & Classification
PPT
Routing table and routing algorithms
PPTX
Presentation on network_protocols
PPTX
Network Layer
DOCX
Lab 4 final report
PPT
Arp and rarp
PPTX
Et3003 sem2-1314-8 network layers v (icmpv4)
PDF
Link state protocols.ppt
PPTX
TCP/IP Protocol Architeture
Ch21 network layer final
Network layer ip address assignment and routing
Academic Experiment 2 - IP forwarding
Et3003 sem2-1314-3 ethernets
Transport layer
Arp and rarp
Et3003 sem2-1314-5 network layers ii (intro to routing)
Link state routing protocol
Hardware Approaches for Fast Lookup & Classification
Routing table and routing algorithms
Presentation on network_protocols
Network Layer
Lab 4 final report
Arp and rarp
Et3003 sem2-1314-8 network layers v (icmpv4)
Link state protocols.ppt
TCP/IP Protocol Architeture
Ad

Similar to Network layer Part 5 (20)

PDF
Networking.pdf
PPT
Address resolution protocol
PDF
Lecture 5.address mapping on data communication pdf
PPT
Nnnnnn
PPT
Addressing mapping protocol_ARPandRARP.ppt
PPTX
ARP,RARP,DHCP,ICMP NETWORKING PROTOCOLS INTERNET
PDF
Arp config-arp
PDF
Lecture-3 - Introduction to IP Routing.pdf
PPTX
Presentation on arp protocol
PPTX
Advanced_Networking_Principles_and_Protocols_Lecture_3_part2.pptx
PPTX
Address Mapping includes ARP, RARP, ICMP
PPTX
Transport Layer, Network layer.pptx
PPTX
Cours de réseau internet sur les protocoles et technologies réseaux arp
PPTX
Support-Protocols ARP, RARP tcp tcmp .pptx
PPTX
MAC in the Address Resolution Protocol.pptx
PPTX
Main Protocols on the network layer of OSI model
PPTX
DHCP basics
PPT
ARP.ppt
PDF
Web technology and commerce unit 1
Networking.pdf
Address resolution protocol
Lecture 5.address mapping on data communication pdf
Nnnnnn
Addressing mapping protocol_ARPandRARP.ppt
ARP,RARP,DHCP,ICMP NETWORKING PROTOCOLS INTERNET
Arp config-arp
Lecture-3 - Introduction to IP Routing.pdf
Presentation on arp protocol
Advanced_Networking_Principles_and_Protocols_Lecture_3_part2.pptx
Address Mapping includes ARP, RARP, ICMP
Transport Layer, Network layer.pptx
Cours de réseau internet sur les protocoles et technologies réseaux arp
Support-Protocols ARP, RARP tcp tcmp .pptx
MAC in the Address Resolution Protocol.pptx
Main Protocols on the network layer of OSI model
DHCP basics
ARP.ppt
Web technology and commerce unit 1
Ad

More from Tutun Juhana (20)

PPTX
What should you prepare for industry 4.0 era
PPTX
Internet of Things Security
PPTX
Et4045-3-attacks-2
PPTX
ET4045-3-attacks-1
PPTX
ET4045-2-cryptography-3
PPTX
ET4045-2-cryptography-2
PPTX
ET4045-2-cryptography-1-2014
PPTX
ET4045-1-Introduction-2014
PPTX
Underlying Technologies Part I (Lecture #4 ET3003 Sem1 2014/2015)
PPTX
OSI Reference Model and TCP/IP (Lecture #3 ET3003 Sem1 2014/2015)
PPTX
Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)
PPTX
Introduction to Computer Networks (Lecture #1 ET3003 Sem1 2014/2015)
PPTX
Et3003 sem2-1314-10 vlans
PPTX
Et3003 sem2-1314-9 network layers vi (routing protocols)
PPTX
Et3003 sem2-1314-7 network layers iv (ipv4)
PPTX
Et3003 sem2-1314-4 network layers i (ipv4 addressing)
PPTX
ET3003-1 introduction (Semester II 2013-2014)
PPTX
ET3003-2 OSI-TCPIP (Semester II 2013-2014)
PPTX
IPv6 Introduction
PPTX
6 2 transport layer (tcp)
What should you prepare for industry 4.0 era
Internet of Things Security
Et4045-3-attacks-2
ET4045-3-attacks-1
ET4045-2-cryptography-3
ET4045-2-cryptography-2
ET4045-2-cryptography-1-2014
ET4045-1-Introduction-2014
Underlying Technologies Part I (Lecture #4 ET3003 Sem1 2014/2015)
OSI Reference Model and TCP/IP (Lecture #3 ET3003 Sem1 2014/2015)
Switching Techniques (Lecture #2 ET3003 Sem1 2014/2015)
Introduction to Computer Networks (Lecture #1 ET3003 Sem1 2014/2015)
Et3003 sem2-1314-10 vlans
Et3003 sem2-1314-9 network layers vi (routing protocols)
Et3003 sem2-1314-7 network layers iv (ipv4)
Et3003 sem2-1314-4 network layers i (ipv4 addressing)
ET3003-1 introduction (Semester II 2013-2014)
ET3003-2 OSI-TCPIP (Semester II 2013-2014)
IPv6 Introduction
6 2 transport layer (tcp)

Recently uploaded (20)

PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Cloud computing and distributed systems.
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
Spectroscopy.pptx food analysis technology
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Machine learning based COVID-19 study performance prediction
PDF
Approach and Philosophy of On baking technology
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Electronic commerce courselecture one. Pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPT
Teaching material agriculture food technology
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Network Security Unit 5.pdf for BCA BBA.
Cloud computing and distributed systems.
Encapsulation_ Review paper, used for researhc scholars
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Assigned Numbers - 2025 - Bluetooth® Document
Spectroscopy.pptx food analysis technology
“AI and Expert System Decision Support & Business Intelligence Systems”
Machine learning based COVID-19 study performance prediction
Approach and Philosophy of On baking technology
Dropbox Q2 2025 Financial Results & Investor Presentation
Electronic commerce courselecture one. Pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Teaching material agriculture food technology
Chapter 3 Spatial Domain Image Processing.pdf
Review of recent advances in non-invasive hemoglobin estimation

Network layer Part 5

  • 1. 4 Tutun Juhana Telecommunication Engineering Network Layer (Part 5) School of Electrical Engineering & Informatics Institut Teknologi Bandung Computer Networks
  • 3. Address Mapping • Static Mapping – Static mapping means creating a table that associates a logical address with a physical address This table is stored in each machine on the network – This has some limitations because physical addresses may change  static mapping table must be updated periodically This overhead could affect network performance. • Dynamic Mapping – In dynamic mapping, each time a machine knows the logical address of another machine, it can use a protocol to find the physical address • Address Resolution Protocol (ARP) : logical address physical address • Reverse Address Resolution Protocol (RARP): physical address logical address  It is replaced by BOOTP dan DHCP 3
  • 5. 5
  • 6. 6
  • 8. Encapsulation Indicating the data carried is an ARP packet 8
  • 9. Operation • Steps Involved 1. 2. 3. 4. 5. 6. 7. The sender knows the IP address of the target IP asks ARP to create an ARP request message, filling in the sender physical address, the sender IP address, and the target IP address. The target physical address field is filled with 0s. The message is passed to the data link layer where it is encapsulated in a frame using the physical address of the sender as the source address and the physical broadcast address as the destination address. Every host or router receives the frame. Because the frame contains a broadcast destination address, all stations remove the message and pass it to ARP. All machines except the one targeted drop the packet. The target machine recognizes the IP address. The target machine replies with an ARP reply message that contains its physical address. The message is unicast. The sender receives the reply message. It now knows the physical address of the target machine. The IP datagram, which carries data for the target machine, is now encapsulated in a frame and is unicast to the destination. 9
  • 10. 10
  • 11. 11
  • 12. 12
  • 13. Proxy ARP • A technique to create a subnetting effect. • A proxy ARP is an ARP that acts on behalf of a set of hosts • Whenever a router running a proxy ARP receives an ARP request looking for the IP address of one of these hosts, the router sends an ARP reply announcing its own hardware (physical) address • After the router receives the actual IP packet, it sends the packet to the appropriate host or router 13
  • 14. 14