weid scenario of same udp source ports on hosts

Answered Question
Jan 30th, 2009

Hi every body!

I have this fictious scenario.

There are two hosts h1 and h2 and a server on a same subnet

application 1 = udp port 45

application 2= udp port 46

server running these two applications

h1 using udp port 50 for appli 1.

h2bbusing udp port 50 for appli 2.

both h1 and h2 don't have ip address, so h1 send the broadcast with for appli 1, h2 sends the boadcast for appli 2.

Server receives the broadcast from h1 for appli 1 and then from h2 for appli 2..It sends the response back at broadcast address from appli 1. i.e dest udp 50 src udp 45. Since it was broadcast both h1 and h2 receives it. h1 will processes it. H2 was waiting for the response from appli 2. So when h2 receives braodcast from appli , how would h2 determine that broadcast is not meant for him , as dest udp port is same i.e 50 but the src udp port is 45 not 46.Will h2 determine that broadcast is not meant for him by looking at src udp port 45.?

thanks a lot!

I have this problem too.
0 votes
Correct Answer by Yudong Wu about 7 years 12 months ago

You need check with vendor of that application.

From network side, H2 will process the packet and send it to the application who are listening to UDP port 50. Then the decision (drop it or not) will be made in your application.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Yudong Wu Fri, 01/30/2009 - 14:21

You need check with vendor of that application.

From network side, H2 will process the packet and send it to the application who are listening to UDP port 50. Then the decision (drop it or not) will be made in your application.

Actions

This Discussion