Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Nat to Multi IP's

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
New Member

Re: Nat to Multi IP's

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

Mick.

New Member

Re: Nat to Multi IP's

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

New Member

Re: Nat to Multi IP's

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.

New Member

Re: Nat to Multi IP's

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

wayne

Cisco Employee

Re: Nat to Multi IP's

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.

155
Views
0
Helpful
5
Replies
CreatePlease to create content