Static NAT - absentee-neptune/NET-330 GitHub Wiki
💡 This information is from a network with two routers within Cisco CLI
- Have to first configure the interfaces on the routers within the network with the appropriate information
- Configure Routing on each router within the network with static routes
- On one router, the routing is to the next router (ex. Router 1)
ip route R0-inside-IP Netmask R0-outside-IP
- On that router, it is to the other router with the IP address the Static NAT will be (ex. Router 0)
ip route R1-inside-IP-Translated Netmask R1-outside-IP
- On one router, the routing is to the next router (ex. Router 1)
- Configure Static NAT on Router 1
- Define the 'inside' NAT interface, the interface with the private IP Address
interface ...
ip nat inside
exit
- Define the 'outside' NAT interface, the interface with the public IP Address
interface ...
ip nat outside
exit
- Define the 'inside' NAT interface, the interface with the private IP Address
- Create the Static Rule on Router 1 to translate Private IP to Public IP, vice-versa
ip nat inside source static Private-IP Translated-IP