Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to configure this with NAT

Status
Not open for further replies.

jaccies

Technical User
Joined
Mar 29, 2005
Messages
4
Location
NL
How is the following to configure with NAT :

10.0.0.xxx ---- ETH0 Cisco2500 ETH1 --- 10.0.40.1 server


The server 10.0.40.1 should be accessable via telnet for
all users with IP 10.0.0.xxx on ETH0, so they
should access it by : telnet 10.0.40.1

But the server should also be accessable
if I telnet to 170.10.10.1 , so I need to use NAT

How to configure this , below does not work
I can telnet to 170.10.10.1 but not to 10.0.40.1 ?

int ETH0
ip nat outside
int ETH1
ip nat inside

ip nat inside source static 10.0.40.1 170.10.10.1

thanks for help
 
so from 10.0.0.x you want to telnet to 170.10.10.1 and have it translate to 10.0.40.1? If thats the case, i think your nat outside/inside is backwards. I guess explain where you need to telnet to 170.10.10.1 from.

Does the 10.0.0.x net have a route to 170.10.10.1 to the eth0 port? What are the masks on the 10nets?

stoney.
 
No I want ONLY telnet from 10.0.0.x to 10.0.40.1
10.0.0.x mask is 255.255.248.0
But from the outside world 170.10.10.x must
be able to telnet to 10.0.40.1 so we want
to NAT 170.10.10.1 to 10.0.40.1 so that
the outside world telnet from 170.10.10.x to 179.10.10.1
thanks



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top