locked
UDP Subnet Broadcast - possible to route? RRS feed

  • Question

  • We've got a new system being developed that can only send status messages to a single UDP address, however the system that is receivnig these is a dual server system.

    The question is, would a broadcast message get through to both servers?

    For example, the sending system is 10.10.10.1 on subnet 255.255.255.0, and there is a number of routers before the final router and our two servers sitting on the network 192.168.0.0 with subnet 255.255.255.0 (IP address 192.168.0.1, and 192.168.0.2)

    If the sending system sent a message to 192.168.0.255, would both servers receive it?

    The alternative is for the online server and offline server to manage their IP addresses so that the UDP sending system only sent to 192.168.0.1, and the servers changed IP addresses when online.

    Thanks

    Friday, July 16, 2010 12:54 PM

All replies

  • No routers break up clients into their own broadcast domain (by default routers don't forward broadcast packets).  You have several options, unicast to each server (not very efficient) multicast to multicast group the servers are a member of, or create a relay agent on the router.

     

    Hope this helps

     


    Dusty Harper [MSFT]
    Microsoft Corporation
    ------------------------------------------------------------
    This posting is provided "AS IS", with NO warranties and confers NO rights
    ------------------------------------------------------------
    • Proposed as answer by matrixx016 Sunday, September 19, 2010 11:11 AM
    Thursday, August 12, 2010 9:37 PM