Hey there. I am trying to troubleshoot a NAT config in my lab and it is driving me a little crazy. I have 3 Gi interfaces on this 2900 series router. Gi0/0 is configured as the WAN with an IP of 192.168.98.45.. Then I have two internal subnets connected to different interfaces I am trying to get to NAT out using that IP. I've tried just about every combination of the configuration I can think of, but I can only ever successfully get one or the other internal subnet to NAT.. Not both at the same time. Here is the latest attempt:
ip nat outside on Gi0/0
ip nat inside on both Gi0/1 and Gi0/2
IP on Gi0/1
192.168.7.1 255.255.255.0
IP on Gi0/2
192.168.8.1 255.255.252.0
~~ snip of config
ip nat pool PrimaryPool 192.168.98.45 192.168.98.45 netmask 255.255.255.0
ip nat inside source list 1 pool PrimaryPool overload
access-list 1 permit 192.168.8.0 0.0.3.255 log
access-list 1 permit 192.168.7.0 0.0.0.255 log
I also tried doing away with the pool and just using "inteface Gi0/0 overload" in the ip nat inside source statement. no dice.. What am I missing?
-Adam