You have several application servers and you want to use NAT so that users can connect to them by a single IP address, distributing the load across all of the servers.
The rotary keyword allows you to do simple NAT-based load balancing of servers:
configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router(config)#
ip nat insideRouter(config-if)#
ip nat outsideRouter(config-if)#
ip nat pool
WEBSERVERS 192.168.1.101 192.168.1.105
ip nat inside destination list
This example is more applicable to an Intranet than to the public Internet. It shows a simple way of doing load balancing among a group of application servers that all perform the same function. We would like to stress that this load balancing is extremely limited, and if you want a fully featured load-balancing device, you would be much better off with one of Cisco’s Content Services Switches, such as the CSS 11500 series. However, we understand that these devices are expensive, so if your requirements are fairly basic, this recipe provides a simpler ...