NAT on Cisco router

I want to have a one to one NAT on a cisco router.
e.g 172.16.1.0/24 Inside subnet NAT to 172.16.254.0/24 outside subnet.
Each inside address will be NAT to one outside address.
172.16.1.1 NAT to 172.16.254.x
172.16.1.2 NAT to 172.16.254.y
and so on.

The reverse traffic from outside to inside should also follow the same pattern.
I do not want to put many one to one NAT statement.

Can anyone advise on this.
pbshahAsked:
Who is Participating?
 
szfecoCommented:
Hello,

use this command:

ip nat inside source static network 172.16.1.0 172.16.254.0 /24


HTH,
szfeco
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.