I have two sites A & B connected as below:
A(4507 switch) <-------------> B (2970 switch) <-----> B (2811 router)
Gig port of 4507 switch of Site A is connected to 2970 switch of site B. 2970 switch of site B is connected to 2811 router at same site.
I have created a sub-interface on router. I have assigned /30 IP address on 4507 and on router su-interface. The connectivity is running fine. I am able to ping router from switch and vice versa.
Now, I want to do NAT between sites. The IP pool at site A: 10.10.10.0/24, Pool at B: 192.168.1.0/24, Pool for NAT: 10.10.20.0/24
At site A: I have defined a route for 10.10.20.0/24 towards site B router.
At site B: I have defined a route for 10.10.10.0/24 towards site A switch. Also I have done a static nat of 192.168.1.1 to 10.10.20.1. But I am not able to ping 10.10.20.1 from site A.
My question is, as the sub-interface of the router have incoming and outgoing traffic; what shall I define on it "ip nat inside" or "ip nat outside" or if I am doing something wrong ?