Monitoring UDP data on wireshark shows ARP packet
asked Nov 27 '17
updated Nov 27 '17
Hello Everyone ,
I am trying to send UDP packet to my server 192.168.1.5 with port number 50001. I have implemented UDP client on PC and when i send data using sendto API , at the same time i monitor data on wireshark wireshark shows it as an ARP packet.
18967 5440.858646 PcsCompu_ef:b4:89 Broadcast ARP 42 Who has 192.168.1.5? Tell 192.168.1.70
192.168.1.70 is my machine ip where UDP client is running.
I am not sure how UDP packet is getting converted into ARP packet ?
Any inputs are highly appreciated. Thanks in advance.

Thanks for your response.
Yes, That´s correct.
In my case MAC of Target is already known , How can i provide this MAC so it directly starts UDP communicaton.
Target is camera device which will not be responding for such ARP request. So is there any way i directly provide MAC for target in my UDP client application ?
I appreciate your help.
Most UN*X systems, and Windows, have an
arpcommand, which you might be able to use to add the MAC address for the camera device to the local ARP table.However, if the camera device doesn't respond to an ARP request, and it supports IPv4, it should probably be fixed to respond to an ARP request, so that it can be used from other machines whose users don't know about the
arpcommand or don't know the MAC address of the camera.