06-18-2009 07:59 AM - edited 03-04-2019 05:10 AM
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.
06-18-2009 08:15 AM
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*
06-18-2009 08:17 AM
I tryed that but then allways the source ip is the first of my pool and i dont want this.
06-18-2009 08:19 AM
What are you trying to accomplish?
06-18-2009 08:23 AM
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
06-18-2009 08:36 AM
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
06-18-2009 08:44 AM
What I posted won't work correctly, so please disregard.
06-18-2009 08:25 AM
**removed by david.knet**
06-18-2009 08:40 AM
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.
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