Artificial intelligent assistant

Will arp table on the host (linux) will refresh after no of failure? Let say I have a remote hostA and remote hostB. Initially hostA has an IP address of ADDR1 and hostB has an IP address of ADDR2. Now clientA made a successful connection with hostA using ADDR1. clientA stored hostA MAC address in the arp table. Next, I have exchanged the IP address of hostA and hostB. What will happen if I made a second call from clientA to ADDR1 before ARP table entry timeout? Will this call fails or ARP table will refresh after no of failure or anything else? I am using IPv4 stack.

The connection will fail. The packet will be switched to Host A and host A will receive it, because the destination MAC is correct. But the IP stack will drop the packet since the IP address doesn’t match the address of host A.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 5392046c3e3c8242011613dbfa24d248