Routing based on source address in Windows Server 2008 R2

Posted by rocku on Server Fault See other posts from Server Fault or by rocku
Published on 2010-01-21T10:14:02Z Indexed on 2010/04/09 4:03 UTC
Read the original article Hit count: 532

Filed under:
|
|
|
|

Hi,

I'm implementing a direct routing load balanced solution using Windows Server 2008 R2 as back-end server. I've configured a loopback interface with the external IP address. This works, I am receiving packets with the external IP address and respond to them appropriately. However our infrastructure requires that traffic which is being load-balanced should go through a different gateway then any other traffic originating from the server, ie. updates etc. So basicly I need to route packets based on source address (external IP) to another gateway. The built-in Windows 'route' command allows routing based on destination address only. I've tried setting a default gateway on the loopback interface and mangled with weak/strong host send/receive parameters on the interfaces, however this didn't work.

Is there any way around this, possibly using third party tools?

© Server Fault or respective owner

Related posts about Windows

Related posts about server