cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1530
Views
0
Helpful
5
Replies

NAT not working on Cisco Router

imuonagor
Level 1
Level 1

I configured NAT on a cisco 2811 router running but it's not working. Following are the commands:

interface FastEthernet0/0

ip address 192.168.1.7 255.255.255.0

ip nat inside

ip virtual-reassembly

duplex auto

speed auto

!

interface FastEthernet0/1

ip address 172.16.20.106 255.255.255.252

ip nat outside

ip virtual-reassembly

duplex auto

speed auto

!

ip classless

ip route 0.0.0.0 0.0.0.0 172.16.20.105

ip route 10.2.8.0 255.255.248.0 172.16.20.105

!

ip http server

no ip http secure-server

ip nat source static 192.168.1.112 10.234.8.2

!

I try to ping 10.2.8.15 from a Laptop (192.168.1.112) connected to the NAT inside interface but ping is unsuccesful and when i do a show ip nat translation i see nothing. I've erased the nvram and reconfigured same nat commands without success. I've also tried dynamic nat using "ip nat source list pool" command without success. I'm surprised. The ios image is (C2800NM-ADVSECURITYK9-M), Version 12.4(3i). Please assist. Thanks.

1 Accepted Solution

Accepted Solutions

paolo bevilacqua
Hall of Fame
Hall of Fame

Configure:

no ip nat source static 192.168.1.112 10.234.8.2

ip nat inside source static 192.168.1.112 10.234.8.2

or pool dynamic, or interface.

View solution in original post

5 Replies 5

paolo bevilacqua
Hall of Fame
Hall of Fame

Configure:

no ip nat source static 192.168.1.112 10.234.8.2

ip nat inside source static 192.168.1.112 10.234.8.2

or pool dynamic, or interface.

Thanks so much. Spent hours wondering why where it's just due to my skipping the inside keyword. But then, I wonder, how come the router took the command?

Thanks anyway.

Thanks so much. Spent hours wondering why whereas it's just due to my skipping the inside keyword. But then, I wonder, how come the router took the command?

Thanks anyway.

Because it does something else, that is not of much use anyway.

Thanks for the nice rating and good luck!

If you don't mind explaining, I'd like to know the something else that it does. I ran debugs then but didn't see anything.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco