0

I am trying to setup internal load balancing on Google Cloud for windows backend servers but, when I add internal LB to instance group, all windows servers in that instance group get one additional IP (IP of internal LB). When then server tries to access to public sites, access fails if the server uses the IP from LB to access.

Only workaround I currently see is to create public load balancer and limit access to it but there has to be a better way.

Any hints?

matjazs
  • 51
  • 5
  • Can you try to specify the IP address for the internal load balancer forwarding rule manually e.g 10.240.0.200 and see if that resolves your issue? – Faizan Mar 29 '17 at 20:24
  • Were you able to solve the issue with internal load balancer? Did Faizan suggestion helped you? If the issue got solved, consider posting self answer which will help other users looking at this thread. – Marilu Apr 28 '17 at 18:52

1 Answers1

1

I solved issue by setting SkipAsSource on all load balancers IP address by running PS script on Win startup...

$IPList = (Get-NetIPAddress | Where-Object {$_.PrefixOrigin -match "Manual"}).IPAddress

foreach ($IP in $IPList) {
    Set-NetIPAddress -IPAddress $IP -SkipAsSource $true
}
matjazs
  • 51
  • 5