I am configuring a Cisco Router and would like to do NAT so there is a one to one translation from the inside private network to outside public network.
For this example lets assume that 10.10.10.0/24 is a block of public IP's and 192.168.1.0/24 is my private. I'd like the addresses to translate as:
192.168.1.1 -> 10.10.10.1
192.168.1.2 -> 10.10.10.2
192.168.1.25 -> 10.10.10.25
192.168.1.99 -> 10.10.10.99
Is there a way to do this on 3825 router? It's easy to do on ASA or PIX but reading through the Cisco documents it looks like the routers randomly assign an IP from a pool. I need the last octet of the IP to match on the translation so I can track down which user got which public IP.
Solved! Go to Solution.
Thanks, thats one way to do it but I don't want to have to enter that statement 255 times. I'm hoping theres a way to NAT the entire network in 1 statement.
On ASA I'd do:
static (inside,outside) 10.10.10.0 192.168.1.0 netmask 255.255.255.0
but its a whole different animal.
I think a.alekseev's suggestion is going to work. I'll test it out and report back.
Do you have a configuration example? It does not map the fourth octet for the one-one NAT translation, but I may not have it configured correctly.