What if two computers send a UDP packet to one computer on the same port? How does the computer distinguish between...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
the two packets? Example:
( 188.8.131.52, 1184 )->( 184.108.40.206, 53 ) and ( 220.127.116.11, 1184 )- > ( 18.104.22.168, 53)
In UDP level the datagrams will have the same identifier because the identifier in UDP is the ports numbers. (1184,53)?
It depends on what you mean by "distinguish."
In general, are they handled the same way at Layer 4? Certainly. Any host sending to the same target host at the same port should get the same response at that level. However, assuming that UDP is built on top of IP (Layer 3), the source address for the UDP packets from two different hosts will be present and different. Thus the packets are distinguishable.
In addition, there are probably other headers and protocols present that would further distinguish the packets.
Dig Deeper on Network Performance Management
Related Q&A from Loki Jorgenson
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.