This is an interesting one - I have a machine with multiple IP addresses on it's one network card
i.e the machine has one physical NIC, however has multiple IP's running on that nic (for example 192.168.1.15, 10.0.0.15, 192.168.55.15)
Now many programs allow you to "bind" to a certain IP for incomming traffic(for example you can tell IIS to listen on 10.0.0.15 only and not on 192.168.55.15 or 192.168.1.15).
However, I would like to know how to bind to an IP for OUTGOING traffic. This is because all traffic is going out via 192.168.1.15 and I want one specific program to go out via 10.0.0.15.
Any ideas? I would probably be doing this with the SMTP module in IIS.
i.e the machine has one physical NIC, however has multiple IP's running on that nic (for example 192.168.1.15, 10.0.0.15, 192.168.55.15)
Now many programs allow you to "bind" to a certain IP for incomming traffic(for example you can tell IIS to listen on 10.0.0.15 only and not on 192.168.55.15 or 192.168.1.15).
However, I would like to know how to bind to an IP for OUTGOING traffic. This is because all traffic is going out via 192.168.1.15 and I want one specific program to go out via 10.0.0.15.
Any ideas? I would probably be doing this with the SMTP module in IIS.