Switch to full style
Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems
Post a reply

SMTP Server using wrong IP for outgoing connection

Apr 30 05 11:24 am

Since I upgraded to v6.04 (Build 1025) the SMTP service has been ignoring the assigned IP for outbound connections. Intstead, it is using the first IP on the NIC which is not the IP for my MX record.
This is Win2k server SP4 with a 3COM 3C905C-TX NIC.

Apr 30 05 11:26 am

Are you using the "Gateways" feature to control which IP should be used? (Think this will turn out to be one for Genie, as this is most likely driver related, but should try and get as many details as possible)

Apr 30 05 11:34 am

Pascal wrote:Are you using the "Gateways" feature to control which IP should be used? (Think this will turn out to be one for Genie, as this is most likely driver related, but should try and get as many details as possible)


Thanks for the quick reply Pascal. Yes, I am using the Gateways feature to control. If there is any other details you need, do not hesitate asking. I didn't know what else beyond the OS, SP Level, and NIC model. Oh maybe one more thing the NIC driver version, 5.0.2195.6601

Apr 30 05 4:31 pm

If gateway feature is used, then the driver will assign first NIC IP as a source address - I'll check the driver if there is simple way around this problem.

Apr 30 05 4:54 pm

genie wrote:If gateway feature is used, then the driver will assign first NIC IP as a source address - I'll check the driver if there is simple way around this problem.


I have any gateway, and have specified the IP address. It has always worked, but I noticed this past week after I upgraded that it was sending on the first IP instead of the specified IP.

Apr 30 05 6:30 pm

How many IP addresses do you have for your gateway? Also, can you email your routing table to me, please?

May 01 05 3:23 am

genie wrote:How many IP addresses do you have for your gateway? Also, can you email your routing table to me, please?


Email sent.

May 20 05 6:32 pm

can you tell me how do you assign the outbound smtp to an assigned ip?

May 20 05 6:33 pm

It is done using gateway selection feature in the service properties.

May 20 05 6:50 pm

I got a problem here actually. i have 2 isp connection and both isp cannot pop/smtp the isp mail server from the other side. So i would like to assign each of the isp to use their own mail server.

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
Post a reply