04-15-2002 06:54 AM - edited 03-01-2019 09:18 PM
Hi,
If I NAT to multiple outside IP addresses, are the NAT sessions somewhat balanced between the two address?
Thanks in advance,
Wayne
04-15-2002 07:15 AM
Can you be more specific? Give an example of what you're doing?
Mick.
04-15-2002 09:14 AM
Yea Sure,
When you create a nat pool as below, you enter the natting IP numbers, 192.168.1.20 and 21.
Example: ip nat pool hq-ussa-01 192.168.1.20 192.168.1.21 netmask 255.255.255.19
So are the session balanced between 192.168.1.20 and 192.168.1.21??
Wayne
04-15-2002 09:54 AM
NAT won't load balance these addresses. Its first come, first serve. The first user who requests the address uses it. Until the pool is exhausted, NAT assigns them to each user who requests one. Once the pool is exhausted, no new users will get addresses until an address becomes available (expires).
If you're using OVERLOAD, you shouldn't use more than one address in your pool anyways since it will use the first 64000+ port number for the first IP address before it uses the next IP address.
Did that answer your question?
Mick.
04-15-2002 10:19 AM
Thanks for the quick response, that is exactly what I needed to know.
wayne
04-15-2002 02:14 PM
to be precised, when translating source addresses, there is no loadbalancing.
However, if you use a rotary pool and 'ip nat inside destination...' the router will loadbalance when translating the destination address.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide