cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
380
Views
0
Helpful
3
Replies

NAT translation to rescue router with bad routes.

P_Tone ATG
Level 1
Level 1

I have a router, R254 with bad routes so my only option is to manage it from a subnet that it's on. I have another router in front of it R1 and I would like to setup NAT on that router to nat specific traffic to R254 so that it can respond.

R1

Fa0/0
ip address 192.168.254.37 255.255.255.0
ip nat inside

Fa0/1
ip address 192.168.20.1 255.255.255.0
ip nat inside

Fa0/1/0
ip address 1.1.1.1 255.255.255.0
ip nat outside 

ip route 0.0.0.0 0.0.0.0 1.1.1.2

ip nat inside source route-map mainOverloadNAT interface FastEthernet0/1/0 overload
ip nat inside source static tcp 192.168.254.254 80 1.1.1.1 80 extendable
ip nat outside source static 2.2.2.2 192.168.254.100 extendable

R254 is connected to R1 on fa0/0 and has an ip of 192.168.254.254

2.2.2.2 is my ip that I'm trying to connect to R254 from

This is that NAT I've tried setting up so far but it isn't working.

Ideally I'd like to be able to hit the router's public address on a specific port and have it translated to R254

3 Replies 3

Pawan Raut
Level 4
Level 4

Do you have route for 2.2.2.2 on R1?

2.2.2.2 is a public address covered by the default route. What I meant to say is that's my IP that I am doing all this work from. The problem is R254 doesn't have a valid route for 2.2.2.2 and doesn't support telnet or ssh.

P_Tone ATG
Level 1
Level 1

These NAT settings should work but don't, even in clean lab. The router drops return packets from R254. This appears to be a bug. @Cisco

I resolved my issue with an l2tp setup.

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:

Review Cisco Networking products for a $25 gift card