ios router multiple subnets assigned to one nat pool
I have a 2821 Router with two gigabitethernet interfaces. I am currently using PAT for inside to outside translations. The link is to an application vendor and we have been experience some diffuculities. They want me to stop using PAT and switch to dynamic nat. I have two class c subnets that we need to assign to a pool so that each internal client will dynamically map to one of the class c public ip's.
How can i have multiple subnets in one pool statement or is this even possible? I know with nat on the PIX it is, but with nat on a router I am unsure.
Re: ios router multiple subnets assigned to one nat pool
indeed you cannot use multiple subnets in a single pool. You could try the following approach: define two pools and configure route maps. Let´s say your two internal subnets are 192.168.1.0/24 and 192.168.2.0/24, and you want to translate those to 188.8.131.52/24 and 184.108.40.206/24, respectively; the configuration would look like this:
ip nat pool POOL1 220.127.116.11 18.104.22.168 prefix-length 24
ip nat pool POOL2 22.214.171.124 126.96.36.199 prefix-length 24
ip nat inside source route-map MAP1 pool POOL1
ip nat inside source route-map MAP2 pool POOL2
access-list 101 permit ip 192.168.1.0 0.0.0.255 any
access-list 102 permit ip 192.168.2.0 0.0.0.255 any
route-map MAP1 permit 10
match ip address 101
route-map MAP2 permit 10
match ip address 102
Obviously the IP addresses used in this example are probably not yours, so change them accordingly...
Hi everyone, I would like to thank you in advance for any help you can provide a newcomer like myself!
Im studying the 100-105 book by Odom and am currently on the topic of Port security. I purchased a used 2960 and I'm trying to follow a...
While deploying a number of 18xx/2802/3802 model access points (APs), which run AP-COS as their operating platform. It can be observed on some occasions that while many of their access points were able to join the fabric WLC withou...
I am going to design and build an LAN network under a tunnel underground with long distance between the switches.
I will have 2 Catalyst switches and 8 Industrial IE3000, and they will be connected with fiber.
For now I am planning on use Layer-2 s...