Cisco – using NAT with a difference IP/range from the outside interface + proxy ARP

cisconat;

I need to NAT the source address of the traffic from my local LAN going out of the ASA firewall.

enter image description here

From the diagram above, my outside interface IP on the ASA firewall is set at 192.168.12.2

q1) Am i able to set NAT on this outside interface to use another range of IP (e.g. 10.10.10.1) as its source when routing traffic from the local LAN to Router 0 (10.10.10.2) ?

q2) if the above is achievable, how does Router 0 know how to send to the ASA firewall ?
Does it means that the ASA firewall will reply to ARP request for 10.10.10.1 even though its physical interface is set to 192.168.12.2 ?
Does it also means that I have to turn on PROXY-ARP on the ASA firewall outside interface in order for the setup to work ?

Regards,
Noob

Best Answer

You are changing the source address on the IP packets. Router0 will not ARP for an address in the range you are translating to because it knows it has no direct connection to that network. ARP only works for directly connected networks.

What you need to do is to let Router0 and Router1 know to go to 192.168.12.2 for any destination addresses in your translation range.

This is routing 101. A router gets routes into its routing table from three different ways: directly connected networks, statically configured routes, and/or a routing protocol.

Since your proposed network is not directly connected to either Router0 or Router1, you will need to either statically configure a route for it in those routers, or you will need to run a routing protocols with those routers and the ASA, and have the ASA tell those routers that it has your translation network via 192.168.12.2.

You also need to somehow let the ASA know what networks are behind each of the other routers.


Edit:

Based on the comments below, others think you are going to have the Router0 address in a different network than the Router1 and ASA addresses to which it connects. You can't do that unless the switch is a layer-3 switch and it routes between the interface to which Router0 connects and a VLAN to which Router1 and the ASA connect.