cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
431
Views
0
Helpful
1
Replies

dual static nat translations

pvanliere
Level 1
Level 1

I am looking for a solution to use static nat translation on both sides of a router (not an ASA/PIX).

Situation:

server-1 (212.123.200.1) on fa0/1

server-2 (192.168.10.101) on fa0/0

fa0/0 = ip nat inside

fa0/1 = ip nat outside

To translate server-2 on outside I use:

ip nat inside source static 192.168.10.101 212.123.200.101

That works for the outside.

server-1 can access server-2 by connecting to ip address 212.123.200.101.

But I want to do this exactly the same for the inside.

So i would like to be able to connect from server-2 to server-1, not by accessing the ip address 212.123.200.1, but ip address 192.168.10.111.

So 212.123.200.1 should be translated to 192.168.10.111.

In an ASA it is very simple by just using:

nat (inside,outside) 212.123.200.101 192.168.10.101

and

nat (outside,inside) 192.168.10.111 212.123.200.1

But how is this being done in a router?

1 Reply 1

RAJINDER UPPAL
Level 1
Level 1

You need to do a source and destination NAT translation on the same device. You need to create a /32 route pointing to the FA0/0 interface. This is going to be VERY cludgy design and is not recommended.

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: