i have read some documents about cisco Load balance features (SLB) and it looks good, but unfortunately i can't use it on my 2811 router. So i have to do something to balance my outside to inside traffic. Here is what i mean. Let's say that we have two servers. Server A and server B. They both are connected to router 1. The goal to achieve is following: When someone tries to connect ip X (which is address located behind router 1, or on router 1), then the router should translate the connection to router X, and send it to ServerA or ServerB in round robin basis. I Read it in Cisco.com webside, but it doesn't work.
Here is my configuration:
ip nat pool DESTINATION x.x.x.9 x.x.x.10 netmask 255.255.255.252 type rotary
ip nat outside source list TEST pool DESTINATION
ip access-list standard TEST
ar1.sof3#show ip nat statistics
Total active translations: 10 (0 static, 10 dynamic; 9 extended)
Hits: 1465 Misses: 8
CEF Translated packets: 37, CEF Punted packets: 719
Expired translations: 424
-- Outside Source
[Id: 1] access-list TEST pool DESTINATION refcount 10
pool DESTINATION: netmask 255.255.255.252
start x.x.x.9 end x.x.x.10
type rotary, total addresses 131, allocated 0 (0%), misses 0
Queued Packets: 0
I have a "ip nat inside" on outside interface, and "ip nat outside" over the inside interface (path to the servers).
The end result is that all TCP requests which are send to address X are getting translated ONLY to ip x.x.x.9. The ip x.x.x.10 never gets one.
Any suggestions? Is there something wrong with my configuration?
Thank you in advance!