by adrien » May 27 05 10:38 am
Actually part of assigning the gateway is to assign the interface to also bind to. So if you have say multiple external IPs on the same NIC, then you should be able to select which one WinGate binds to.
then the engine calls the "bind" socket API to associate the source IP with the one you have chosen. That's the way it should work anyway. I don't think we changed anything there, I'll have a look.
The Gateway selection part of it uses the driver, but that is independent of the IP address that is bound to, it only sets the next-hop MAC address so that the packets will go out the gateway you specify.
To set the source IP, you can select from the list, or even manually specify any arbitrary address you like.... if the address doesn't exist, then the call to bind will fail, but you aren't prevented from entering it.
Adrien