SlideShare a Scribd company logo
1 of 12
ARP Basic ARP tutorial with pictures -1 www.visualland.net ,[object Object],[object Object],[object Object],[object Object],05/16/11 www.visualland.net
ARP  animations ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],05/16/11 www.visualland.net
Overview : ARP Basics  Animation Link 05/16/11 www.visualland.net  Goal: Visualize ARP activities of  MAC lookup and interactions of ARP request, ARP reply,  ARP cache 、 Ping command line. Topology: Two hosts H1, H2 are directly connected. There IP-MAC addresses are (IP.H1, MAC.H1), (IP.H2, MAC.H2) respectively. Steps: 1) H1 ping H2 fails due to ARP miss. H1 sends ARP Request to find out H2's MAC. 2) H2 responds ARP Reply with its MAC to H1.  3) H1 ping H2 again and succeeds.
H1 ping H2: ARP miss ,[object Object],[object Object],[object Object],05/16/11 www.visualland.net
H1 sends ARP request 05/16/11 www.visualland.net  To find H2's MAC, H1 sends ARP Request and adds an entry (IP.H2, Incomplete) in ARP cache. It says: I'm looking for H2's MAC. ARP Request header includes a few parameters: sender IP is H1's IP, sender mac is H1's MAC, target IP is H2's IP, target mac is 0. (You may click ARP Request to see its headers).
H2  responds  ARP reply 05/16/11 www.visualland.net  After receiving ARP request, H2 adds H1's address to its ARP cache as (IP.H1, MAC.H2). Then H2 checks ARP Request's protocol header and learns that this query is for itself. H2 responds and sends ARP Reply to H1. (Click ARP Reply to see its protocol header)
H1 recevies ARP reply 05/16/11 www.visualland.net  When receiving ARP Reply, H1 updates its ARP cache and changes the entry (IP.H2, Incomplete) to (IP.H2,  Mac.H2).
H1 ping H2 again 05/16/11 www.visualland.net  Now the first ping timeout. Ping prints a "." in the H1 command window to indicate a timeout. Then H1 sends next ping. No ARP miss this time. Ping does find H2's MAC in ARP cache.
H2 echo H1 05/16/11 www.visualland.net  When receiving ping, H2 sends an Echo to respond. H2 is able to find H1's MAC in ARP cache. No ARP miss for sending Echo.
H1 receives echo 05/16/11 www.visualland.net  After receiving Echo, H1 prints a "!" to indicate ping success.
FAQ ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],05/16/11 www.visualland.net
What is Vlab visualland.net ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],05/16/11 www.visualland.net

More Related Content

Viewers also liked

Onderzoeksrapport acrs v3.0_definitief
Onderzoeksrapport acrs v3.0_definitiefOnderzoeksrapport acrs v3.0_definitief
Onderzoeksrapport acrs v3.0_definitiefrloggen
 
Como hacer un plan de negocios
Como hacer un plan de negociosComo hacer un plan de negocios
Como hacer un plan de negociosXPINNERPablo
 
Schrijven voor het web
Schrijven voor het webSchrijven voor het web
Schrijven voor het webSimone Levie
 
Evidence: Describing my kitchen. ENGLISH DOT WORKS 2. SENA.
Evidence: Describing my kitchen. ENGLISH DOT WORKS 2. SENA.Evidence: Describing my kitchen. ENGLISH DOT WORKS 2. SENA.
Evidence: Describing my kitchen. ENGLISH DOT WORKS 2. SENA... ..
 
Estrategias competitivas básicas
Estrategias competitivas básicasEstrategias competitivas básicas
Estrategias competitivas básicasLarryJimenez
 
2. describing cities and places. ENGLISH DOT WORKS 2. SENA. semana 4 acitivda...
2. describing cities and places. ENGLISH DOT WORKS 2. SENA. semana 4 acitivda...2. describing cities and places. ENGLISH DOT WORKS 2. SENA. semana 4 acitivda...
2. describing cities and places. ENGLISH DOT WORKS 2. SENA. semana 4 acitivda..... ..
 
3.Evidence: Getting to Bogota.ENGLISH DOT WORKS 2. SENA.semana 4 actividad 3.
3.Evidence: Getting to Bogota.ENGLISH DOT WORKS 2. SENA.semana 4 actividad 3.3.Evidence: Getting to Bogota.ENGLISH DOT WORKS 2. SENA.semana 4 actividad 3.
3.Evidence: Getting to Bogota.ENGLISH DOT WORKS 2. SENA.semana 4 actividad 3... ..
 
Evidence: Going to the restaurant . ENGLISH DOT WORKS 2. SENA.
Evidence: Going to the restaurant . ENGLISH DOT WORKS 2. SENA.Evidence: Going to the restaurant . ENGLISH DOT WORKS 2. SENA.
Evidence: Going to the restaurant . ENGLISH DOT WORKS 2. SENA... ..
 
Evidence: I can’t believe it.ENGLISH DOT WORKS 2. semana 3 actividad 1.SENA.
Evidence: I can’t believe it.ENGLISH DOT WORKS 2. semana 3 actividad 1.SENA.Evidence: I can’t believe it.ENGLISH DOT WORKS 2. semana 3 actividad 1.SENA.
Evidence: I can’t believe it.ENGLISH DOT WORKS 2. semana 3 actividad 1.SENA... ..
 
Evidence: Memorable moments.ENGLISH DOT WORKS 2. SENA. semana 2 actividad 2.
Evidence: Memorable moments.ENGLISH DOT WORKS 2. SENA. semana 2 actividad 2.Evidence: Memorable moments.ENGLISH DOT WORKS 2. SENA. semana 2 actividad 2.
Evidence: Memorable moments.ENGLISH DOT WORKS 2. SENA. semana 2 actividad 2... ..
 
Evidence: Planning my trip. ENGLISH DOT WORKS 2. SENA. semana 4 actividad 1.
Evidence: Planning my trip. ENGLISH DOT WORKS 2. SENA. semana 4 actividad 1.Evidence: Planning my trip. ENGLISH DOT WORKS 2. SENA. semana 4 actividad 1.
Evidence: Planning my trip. ENGLISH DOT WORKS 2. SENA. semana 4 actividad 1... ..
 
3. Your next holiday destination ACTIVIDAD 3 SEMANA 3 ENGLISH DOT WORKS 2.
3. Your next holiday destination ACTIVIDAD 3 SEMANA 3 ENGLISH DOT WORKS 2.3. Your next holiday destination ACTIVIDAD 3 SEMANA 3 ENGLISH DOT WORKS 2.
3. Your next holiday destination ACTIVIDAD 3 SEMANA 3 ENGLISH DOT WORKS 2... ..
 
Evidence: What did I do yesterday?.ENGLISH DOT WORKS 2. SENA. SEMANA 2 ACTIVI...
Evidence: What did I do yesterday?.ENGLISH DOT WORKS 2. SENA. SEMANA 2 ACTIVI...Evidence: What did I do yesterday?.ENGLISH DOT WORKS 2. SENA. SEMANA 2 ACTIVI...
Evidence: What did I do yesterday?.ENGLISH DOT WORKS 2. SENA. SEMANA 2 ACTIVI..... ..
 
Mello anthony despierta charlas sobre la espiritualidad [doc]
Mello anthony   despierta charlas sobre la espiritualidad [doc]Mello anthony   despierta charlas sobre la espiritualidad [doc]
Mello anthony despierta charlas sobre la espiritualidad [doc]Mario Paternina
 
Dinámica de la Población (PSU 2014)
Dinámica de la Población (PSU 2014)Dinámica de la Población (PSU 2014)
Dinámica de la Población (PSU 2014)saladehistoria.net
 

Viewers also liked (19)

Onderzoeksrapport acrs v3.0_definitief
Onderzoeksrapport acrs v3.0_definitiefOnderzoeksrapport acrs v3.0_definitief
Onderzoeksrapport acrs v3.0_definitief
 
Como hacer un plan de negocios
Como hacer un plan de negociosComo hacer un plan de negocios
Como hacer un plan de negocios
 
Schrijven voor het web
Schrijven voor het webSchrijven voor het web
Schrijven voor het web
 
Evidence: Describing my kitchen. ENGLISH DOT WORKS 2. SENA.
Evidence: Describing my kitchen. ENGLISH DOT WORKS 2. SENA.Evidence: Describing my kitchen. ENGLISH DOT WORKS 2. SENA.
Evidence: Describing my kitchen. ENGLISH DOT WORKS 2. SENA.
 
Estrategias competitivas básicas
Estrategias competitivas básicasEstrategias competitivas básicas
Estrategias competitivas básicas
 
Cápsula 1. estudios de mercado
Cápsula 1. estudios de mercadoCápsula 1. estudios de mercado
Cápsula 1. estudios de mercado
 
Rodriguez alvarez
Rodriguez alvarezRodriguez alvarez
Rodriguez alvarez
 
2. describing cities and places. ENGLISH DOT WORKS 2. SENA. semana 4 acitivda...
2. describing cities and places. ENGLISH DOT WORKS 2. SENA. semana 4 acitivda...2. describing cities and places. ENGLISH DOT WORKS 2. SENA. semana 4 acitivda...
2. describing cities and places. ENGLISH DOT WORKS 2. SENA. semana 4 acitivda...
 
3.Evidence: Getting to Bogota.ENGLISH DOT WORKS 2. SENA.semana 4 actividad 3.
3.Evidence: Getting to Bogota.ENGLISH DOT WORKS 2. SENA.semana 4 actividad 3.3.Evidence: Getting to Bogota.ENGLISH DOT WORKS 2. SENA.semana 4 actividad 3.
3.Evidence: Getting to Bogota.ENGLISH DOT WORKS 2. SENA.semana 4 actividad 3.
 
Evidence: Going to the restaurant . ENGLISH DOT WORKS 2. SENA.
Evidence: Going to the restaurant . ENGLISH DOT WORKS 2. SENA.Evidence: Going to the restaurant . ENGLISH DOT WORKS 2. SENA.
Evidence: Going to the restaurant . ENGLISH DOT WORKS 2. SENA.
 
Evidence: I can’t believe it.ENGLISH DOT WORKS 2. semana 3 actividad 1.SENA.
Evidence: I can’t believe it.ENGLISH DOT WORKS 2. semana 3 actividad 1.SENA.Evidence: I can’t believe it.ENGLISH DOT WORKS 2. semana 3 actividad 1.SENA.
Evidence: I can’t believe it.ENGLISH DOT WORKS 2. semana 3 actividad 1.SENA.
 
Evidence: Memorable moments.ENGLISH DOT WORKS 2. SENA. semana 2 actividad 2.
Evidence: Memorable moments.ENGLISH DOT WORKS 2. SENA. semana 2 actividad 2.Evidence: Memorable moments.ENGLISH DOT WORKS 2. SENA. semana 2 actividad 2.
Evidence: Memorable moments.ENGLISH DOT WORKS 2. SENA. semana 2 actividad 2.
 
Evidence: Planning my trip. ENGLISH DOT WORKS 2. SENA. semana 4 actividad 1.
Evidence: Planning my trip. ENGLISH DOT WORKS 2. SENA. semana 4 actividad 1.Evidence: Planning my trip. ENGLISH DOT WORKS 2. SENA. semana 4 actividad 1.
Evidence: Planning my trip. ENGLISH DOT WORKS 2. SENA. semana 4 actividad 1.
 
3. Your next holiday destination ACTIVIDAD 3 SEMANA 3 ENGLISH DOT WORKS 2.
3. Your next holiday destination ACTIVIDAD 3 SEMANA 3 ENGLISH DOT WORKS 2.3. Your next holiday destination ACTIVIDAD 3 SEMANA 3 ENGLISH DOT WORKS 2.
3. Your next holiday destination ACTIVIDAD 3 SEMANA 3 ENGLISH DOT WORKS 2.
 
C:\Fakepath\Christie
C:\Fakepath\ChristieC:\Fakepath\Christie
C:\Fakepath\Christie
 
Evidence: What did I do yesterday?.ENGLISH DOT WORKS 2. SENA. SEMANA 2 ACTIVI...
Evidence: What did I do yesterday?.ENGLISH DOT WORKS 2. SENA. SEMANA 2 ACTIVI...Evidence: What did I do yesterday?.ENGLISH DOT WORKS 2. SENA. SEMANA 2 ACTIVI...
Evidence: What did I do yesterday?.ENGLISH DOT WORKS 2. SENA. SEMANA 2 ACTIVI...
 
Punto 7. ISO 9000
Punto 7. ISO 9000Punto 7. ISO 9000
Punto 7. ISO 9000
 
Mello anthony despierta charlas sobre la espiritualidad [doc]
Mello anthony   despierta charlas sobre la espiritualidad [doc]Mello anthony   despierta charlas sobre la espiritualidad [doc]
Mello anthony despierta charlas sobre la espiritualidad [doc]
 
Dinámica de la Población (PSU 2014)
Dinámica de la Población (PSU 2014)Dinámica de la Población (PSU 2014)
Dinámica de la Población (PSU 2014)
 

Recently uploaded

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 

Recently uploaded (20)

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 

Arp basics (arp picture book 1 from visual land animations)

  • 1.
  • 2.
  • 3. Overview : ARP Basics Animation Link 05/16/11 www.visualland.net Goal: Visualize ARP activities of MAC lookup and interactions of ARP request, ARP reply, ARP cache 、 Ping command line. Topology: Two hosts H1, H2 are directly connected. There IP-MAC addresses are (IP.H1, MAC.H1), (IP.H2, MAC.H2) respectively. Steps: 1) H1 ping H2 fails due to ARP miss. H1 sends ARP Request to find out H2's MAC. 2) H2 responds ARP Reply with its MAC to H1. 3) H1 ping H2 again and succeeds.
  • 4.
  • 5. H1 sends ARP request 05/16/11 www.visualland.net To find H2's MAC, H1 sends ARP Request and adds an entry (IP.H2, Incomplete) in ARP cache. It says: I'm looking for H2's MAC. ARP Request header includes a few parameters: sender IP is H1's IP, sender mac is H1's MAC, target IP is H2's IP, target mac is 0. (You may click ARP Request to see its headers).
  • 6. H2 responds ARP reply 05/16/11 www.visualland.net After receiving ARP request, H2 adds H1's address to its ARP cache as (IP.H1, MAC.H2). Then H2 checks ARP Request's protocol header and learns that this query is for itself. H2 responds and sends ARP Reply to H1. (Click ARP Reply to see its protocol header)
  • 7. H1 recevies ARP reply 05/16/11 www.visualland.net When receiving ARP Reply, H1 updates its ARP cache and changes the entry (IP.H2, Incomplete) to (IP.H2, Mac.H2).
  • 8. H1 ping H2 again 05/16/11 www.visualland.net Now the first ping timeout. Ping prints a "." in the H1 command window to indicate a timeout. Then H1 sends next ping. No ARP miss this time. Ping does find H2's MAC in ARP cache.
  • 9. H2 echo H1 05/16/11 www.visualland.net When receiving ping, H2 sends an Echo to respond. H2 is able to find H1's MAC in ARP cache. No ARP miss for sending Echo.
  • 10. H1 receives echo 05/16/11 www.visualland.net After receiving Echo, H1 prints a "!" to indicate ping success.
  • 11.
  • 12.

Editor's Notes

  1. 1. What is ARP? ARP stands for Address Resolution Protocol. In Ethernet environment, when an application/protocol wants to send a packet, it needs to use the target node's MAC address to encapsulate its link header. But the application only knows the target's IP address, not its MAC address. So it uses ARP's service to get the target MAC address. 2. Why ARP? OSI model modularize network tasks into 7 layers and defines inter-layer interfaces. This way, a layer can implement several technologies. In IP network, IP address is in layer 3 (network layer), Ethernet MAC address is in layer 2 (link layer). However, when transmitting a packet, the application/protocol needs to encapsulate network header and link header first. Applications usually know about target node's IP address, not its MAC address. Therefore, we need a way to find layer 2 address without violating OSI layered structure? ARP is the answer: It maps a network address to link address. In the case of IP-Ethernet network, ARP maps an IP address to a MAC address... 3. What is ARP cache? ARP protocol stores discovered (IP, MAC) dresses in a local cache. When an application asks ARP protocol for the MAC address of an IP address, ARP lookup its ARP cache first. If found, return the MAC. Otherwise, send an ARP Request to broadcast an inquiry in the LAN. When ARP reply is received, ARP stores the newly discovered MAC in its ARP cache. Next time, if another application is asking for the MAC of this IP again, ASRP can return the MAC immediately. 4. What are ARP commands? It varies across operating systems or router vendors. But they do similar tasks. For example: - Display ARP cache content: show arp; arp -a - Clear ARP cache: arp -d 5. How is ARP related to encapsulation? When creating a packet, the application/protocol needs to encapsulate the packet's link header. The application needs to set destination MAC to the target node's MAC. Since the application does not know the MAC, It asks for ARP. To know more about encapsulation, see Encapsulation > 0. Encapsulation Overview.
  2. ARP 动画特色 可视化。观察 ARP 包在不同的拓扑上如何被洪泛、转发, ARP 表怎么被更新,数据包怎么用 ARP 表封装报头。 说白。把协议的要点、关键细节相结合,用白话说明 . 用漫画气泡表达节点间的互动性、协议的因果关系。 辅助教材。一般的网络书籍用 3-5 页严谨精确说明 ARP 知识点,这套动画用实例要点说明 ARP 及其它设备、协议、应用的关系。可以作为辅助教材,配合教科书。 Visualland.ney ( 北冰洋软件 ) 有两种动画、 理论动画的数据是作者编辑的,动画的数据、状态以示意为主,适合初学者。 实验动画的数据是从路由器采集,可以用 pcap 检查原始数据包。