计算机网络:ARP - 指向ICMP回送数据包 [英] computer networking: ARP - point of the ICMP echo packets

查看:393
本文介绍了计算机网络:ARP - 指向ICMP回送数据包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究地址解析协议,在我的所有书籍和幻灯片中显示ARP发生的图表(即Host1发送ARP请求,路由器检查它,重定向它,最终到达Host2然后Host2发回ARP响应)。

I'm studying Address Resolution Protocol and in all my books and slides the diagrams showing an ARP take place (i.e. Host1 sends ARP request, Router checks it, redirects it, eventually gets to Host2 and then Host2 sends back an ARP Reply).

我想知道为什么示例包含ICMP回应回复和请求,它们是否在ARP中用于任何目的?

What I'm wondering is why the examples include ICMP echo replies and requests, do they serve any purpose within ARP?

谢谢

推荐答案

我猜它是启动ARP。机器不会无缘无故地发送ARP。如果需要向IP地址发送内容(并且还不知道目标MAC地址),它将仅发送ARP。也许ICMP回应请求是作者在他们的示例中使用的'某些东西'导致源计算机发送ARP。

I would guess that it is to initiate the ARPs. A machine is not going to send an ARP for no reason. It will only send an ARP if it needs to send something to the IP address (and doesn't know the destination MAC address yet). Maybe the ICMP echo request is that 'something' the authors use in their examples to cause the source machine to send an ARP.

简短回答:ICMP与ARP之间没有特殊关系;这就是你的书的作者决定用作一个例子。

Short answer: There is no special relationship between ICMP and ARP; that's just what the authors of your book decided to use as an example.

这篇关于计算机网络:ARP - 指向ICMP回送数据包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆