cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
567
Views
0
Helpful
8
Replies

nat pool question

david.sua
Level 1
Level 1

Hi all!

This are my nat staments,

ip nat inside source list 111 ROUTEMAP_NAT pool publicips

ip nat pool publicips 1.1.0.1 1.1.0.254 prefix-length 24

acess-list

This is a pool of 254 IPs but i have 500 host, if the 500 host try to access internet at same time, the router could translate the 500 streams or when reach last IP from pool drop connections until one timeout?

And, if the maximun is 254 translations, how can i overload all my streams?

Thank you in advance.

8 Replies 8

John Blakley
VIP Alumni
VIP Alumni

You should be able to put the overload keyword at the end of your source line. It will enable PAT.

ip nat inside source list 111 ROUTEMAP_NAT pool publicips overload

Oh, and are you using an acl or a Routemap?

HTH,

John

*Please rate if it helps*

HTH, John *** Please rate all useful posts ***

I tryed that but then allways the source ip is the first of my pool and i dont want this.

What are you trying to accomplish?

HTH, John *** Please rate all useful posts ***

I am doing load-balancing per-destination and if the source ip is allways the same then the traffic flow allways by the same path

Hmmm...

You could try:

ip nat pool publicips 1.1.0.1 1.1.0.254 prefix-length 24 type rotary

This would rotate through your ip addresses. You could also try (although this should be tested):

ip nat inside destination list 10 pool publicips

The problem with the above is that I'm not sure if it overloads. And if this is for internet traffic, your access list may need to look like:

access-list 10 permit any

I'm going to lab this and let you know. I'd be interested in seeing if it works as well.

HTH,

John

HTH, John *** Please rate all useful posts ***

What I posted won't work correctly, so please disregard.

HTH, John *** Please rate all useful posts ***

**removed by david.knet**

If I remember correctly, each unique internal IP will use a unique public IP until the last public IP ia available and the rest of the clients will be PAT'd out of it. I'll see if I can find some docs on it. You original post config looked OK for this.

Review Cisco Networking for a $25 gift card