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

2 NAT Pools, 1 egress Interface

Hi All,

I have a NAT Router before a BGP Internet Router set up as follows:

LANs 1 and 2 ==> NATRouter ----> BGPRouter ==> ISP 1 and ISP 2

On the NAT Router, 2 distinct LANs (10.2.8.0 /24 and 172.16.0.0 /16) come in from 2 different Interfaces but go out towards the BGP Router through the same Interface. I have defined the 2 ingress interfaces as nat inside and the single egress as nat outside.

Using the same access-list and NAT pool everything works fine.

However I intend to use a different ISP on the BGP Router for the 2 LANs so i wish to define 2 NAT Pools such that LAN 1 uses one pool and LAN 2 uses another pool. But both traffic still go out on the same egress towards the Internet. I've read about using separate egress interfaces and a route-map in a multi-homed design but i only have one interface to use. Is it possible to have the 2 pools use the same interface somehow?

Thanks a million in advance for your help..

2 REPLIES

Re: 2 NAT Pools, 1 egress Interface

It is better to perform the NAT on the edge router where the ISP links connected !

Any way to assigne a nat pool based on source ip you can use the below example

Keys say you already defined a nat pool named pool1

Source LAN 192.168.1.0/24

Access-list 100 permit ip 192.168.1.0 0.0.0.255 any

Ip nat inside source list 100 pool pool1

For other LAN define new ACL and nat pool and use the same concept using the other acl and pool name

Hope this help

If helpful rate

Sent from Cisco Technical Support iPhone App

Community Member

Re: 2 NAT Pools, 1 egress Interface

Thanks Marwanshawi,

Our challenge is actually using 2 nat pools on the same interface with the nat outside command. Is it possible to have 2 nat pools work on the same exit interface. if not then we'll just find a way to move the nat to the ISP Router.

Thanks,

398
Views
0
Helpful
2
Replies
CreatePlease to create content