How To Configure Static Nat On Cisco Router?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. Configure the inside interface of the router:
interface fastethernet 0/0
ip address 192.168.1.1 255.255.255.0
2. Configure the outside interface of the router:
interface fastethernet 0/1
ip address 192.168.2.1 255.255.255.0
3. Configure the static NAT:
ip nat inside source static 192.168.1.2 192.168.2.2
4. Enable NAT on the router:
ip nat inside source list 1 interface FastEthernet 0/1 overload
5. Configure access-list to define the traffic to be translated:
access-list 1 permit 192.168.1.0 0.0.0.255
The following set of commands will configure a static NAT entry on a Cisco router.
1. Log in to your router’s command line interface (CLI).
2. Enter the global configuration mode by typing the command “configure terminal” without the quotes.
3. Create an access list which specifies the traffic that needs to be routed:
access-list <ACL_name> permit <source_IP> <destination_IP>.
4. Configure the outside interface:
interface <outside_interface>
ip nat outside
5. Configure the inside interface:
interface <inside_interface>
ip nat inside
6. Configure the NAT entry:
ip nat inside source static <inside_IP> <outside_IP>
7. Apply the access list to the NAT statement:
ip nat inside source list <ACL_name> interface <outside_interface>
8. To verify the configuration, type the command “show ip nat translations” without the quotes.
9. To save the configuration, type the command “copy running-config startup-config” without the quotes.