When does Algorithm 1 create a new entry in an ARP cache? Algorithm 1 The steps
ID: 3914851 • Letter: W
Question
When does Algorithm 1 create a new entry in an ARP cache? Algorithm 1 The steps ARP takes when processing an incoming message Given An incoming ARP message (either a request or a response) Perform: Process the message and update the ARP cache Method: Extract the sender's IP address, I, and MAC address, M If (address is already in the ARP cache ) { Replace the MAC address in the cache with M if (message is a request and target is "me") Add an entry to the ARP cache for the sender provided no entry exists Generate and send a response;Explanation / Answer
When it receives an ARP request, the target of the request creates a new cache entry (i.e., IP address/MAC address binding) for the sender of the request if no entry exists. When the sender of a request gets an ARP response from the target, it creates a new cache entry with binding for the target. When an ARP request is broadcast, a computer that is not the target but has the sender's binding already in their cache will replace it with the binding in the request.