Host A: 128.238.66.100/16
Host B: 128.238.67.100/24
The hosts are connected to the same hub and nothing else is connected to that hub. The routing and ARP tables of both hosts are empty.
Host A attempts to ping Host B. Since Host A believes that Host B is in the same subnet, whether that should be relevant or not, I see an ARP Request going out. On the other hand, Host B never replies back with an ARP Reply.
Before proceeding, please check this figure.
Question 1: Would Host A produce an ARP Request if its IP address was 128.238.66.100/24? According to my knowledge the answer is no, since ICMP is above IP therefore the comparison of whether Host B belongs on the same subnet or not would happen before Host A determines whether he needs to produce an ARP Request or not, and since the routing table is empty the packet would be dropped.
Question 2: Should Host B send back an ARP Reply? Since ARP is below IP, no subnet comparison should take place and the host should immediately reply back, right?