Need HELP: NAT in both directions

From: Oliver Ziltener (ziltener@netcloud.ch)
Date: Wed Nov 12 2003 - 18:43:44 GMT-3


Hello

perhaps has anybody a solution for me...I was trying to finfd one for a few
hours!

Topology:

HostA
----IPcloud--network_y--(e0)NATrouter(e1)--network_x--ADSLmodem----internet

network_y 192.168.2.0/24
network_x 192.168.1.0/24
adslmodem: 192.168.1.1
NATrouter_e1: 192.168.1.2
NATrouter_e0: 192.168.2.100

The adslmodem has a built in webserver for configuration.
The network_x is NOT known by HostA
When you want reach the adsl modem from hostA (to configure) then it is an
easy NAT task:

NATrouter
e0
ip nat outside
!
e1
ip nat inside
!
ip nat inside source static 192.168.1.1 192.168.2.111

BUT know, think about that the adslmodem has now NO more a default-gateway
back to 192.168.1.2!
(the reason behind this is, that the adslmodem comes with a default-factory
configuration that contain only
the ip address 192.168.1.1 and no static routes and in the location where the
adslmodem is, there is no man who can configure it, because this is a small
branch office around the world).

I was thinking it should work with two static commands
ip nat inside source static
ip nat outside source statice

but I never found a running configuration!
Has anybody an idea how to solve the problem?

best regards an thanks
Oliver



This archive was generated by hypermail 2.1.4 : Fri Dec 12 2003 - 12:29:11 GMT-3