Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

different NAT pools for different outside interfaces

I have a router with three interfaces. One is "ip nat inside" and I have two (2) interfaces with "ip nat outside". Is there a way that I can use two different PAT addresses one for each outside interface. How can I do this?

Thanks,

Diego

1 REPLY
New Member

Re: different NAT pools for different outside interfaces

You may want to try associating a route-map to the nat pool. Then match the IP addresses that you want to route outside one of the "ip nat outside" interfaces, and 'set ip default next-hop ' Do the same thing for the second nat pool you create, except route out the other interface. You can match the traffic by creating an ACL. It may look something like this:

access-list 5 permit 192.168.1.1

access-list 10 permit 192.168.2.2

ip nat pool TestPAT1 172.33.1.1 172.33.1.1 prefix-lenth 26

ip nat inside source route-map nat pool TestPAT1overload

route-map nat deny 5

match ip add 10

route-map nat permit 10

match ip add 5

set ip default next-hop

ip nat pool TestPAT2 172.33.2.2 172.33.2.2 prefix-lenth 26

ip nat inside source route-map nat2 pool TestPAT2overload

route-map nat2 deny 5

match ip add 5

route-map nat2 permit 10

match ip add 10

set ip default next-hop

This might work...Good Luck!

186
Views
0
Helpful
1
Replies
CreatePlease to create content