The interface g0/1 of 172.16.1.0/24 of Router is connected to switch with two subnets 172.16.1.0/24 & 172.16.2.0/24. We are running eigrp between them. Currently I'd like to have "ip nat outside" to apply on the outside g0/0 interface in the router and I just want to nat inside 172.16.2.0/24, but I don't want to nat inside 172.16.1.0/24. Where should I apply "ip nat inside" ? in the g0/1 interface?
Here is the following I want to apply in the router:
ip nat outside
ip nat inside
ip nat inside source list 7 interface GigabitEthernet0/0 overload
access-list 7 remark Access to Internet
access-list 7 permit 172.16.2.0 0.0.0.255