I was wondering which impact the ARP protocoll might have on a UDP communication. I am learning for an exam and trying things out with mininet (linux )/ wireshark to understand the dependencys between protocols etc and was wondering how these two might impact.
I was wondering which impact the ARP protocoll might have on a UDP communication.
Any IPv4 communication in a MAC-based network (like the ubiquitous Ethernet) requires knowledge of the destination's MAC address, usually learned via ARP. Beyond that, there is no direct connection between UDP and ARP.
The application uses UDP to send data. UDP encapsulates the data in a datagram and submits it to IP. IP encapsulates the UDP datagram in a packet and submits it to the data link layer. The data link layer requires the MAC address, so IP uses ARP to learn it.