I have an application that needs to send UDP multicast data "from" either one or two physical NICs on a single Windows Server 2008 machine. In the two NIC configuration, every datagram needs to be sent through both physical NICs. Each NIC is on a different subnet, and so the source address of the redundant datagrams needs to correspond to the actual physical NIC.
While I could obviously just send the data once or twice within the application, I would prefer the application to be agnostic of the network configuration.
Is there anything out there that could address this? It doesn't particularly matter if the answer is hardware, drivers, or OS configuration.