cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
354
Views
0
Helpful
5
Replies

Nat to Multi IP's

w.maw
Level 1
Level 1

Hi,

If I NAT to multiple outside IP addresses, are the NAT sessions somewhat balanced between the two address?

Thanks in advance,

Wayne

5 Replies 5

MickPhelps
Level 1
Level 1

Can you be more specific? Give an example of what you're doing?

Mick.

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

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.

Thanks for the quick response, that is exactly what I needed to know.

wayne

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.