Discussion Locked

Load balancing

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi, Here is the senario. if have two machines running the same websites called x.com with two different ip address on it. I have a Cisco router and have some public address and i am making my web site available to the world using the NAT. Now since i have another machine also running the same web site i want to have load balancing, so if first hit should go to the first, second hit to the second server third to the first server again and like that. Is that possible for me to NAT a single ip address to two private ip address of the web servers. I mean i can give two NAT commands with the same public address but two different private address. Though i can implement using the DNS Round Robin Fashin. I want to know will NAT can be used asi mentioned earlier. Your help will be greatly appreciated.

Thanks in Advance

1 reply

by rkelly

Your NAT will do what you want - however it will be done by using an internal DNS Round Robin.

You will configure your NAT to send

http://www.corp.com port 80

to

http://server3/corpweb port 8080

Providing the internal name resolutionis configured to give load balancing (as in DNS Round Robin) then your NAT will load balance incoming web requests accordingly.

If all your systems are NT and your NAT uses WINS for internal name resolution then you will not be able to guarantee exactly what you want. Wins would randomly choose one of your two servers (each of which would have a 50% chance of being chosen) but you could not guarantee which server would be hit by which request.

This discussion is closed to new replies.