translate inside address

From: Michael Law (htluo@xxxxxxxxx)
Date: Wed Apr 05 2000 - 23:34:35 GMT-3


   
   Scenario:
   I have a inside host with private address (such as 10.1.1.1). I don't
   want this address go out to the outside world. But I want this host
   can be accessed from ourside.
   
   Solution 1: Inside source traslation
   ip nat inside source static 10.1.1.1 150.1.1.1
   ! so the outside world can access the host with address 150.1.1.1
   
   Solution 2: Inside destination translation
   access-list 1 permit 150.1.1.1
   ip nat pool mypool 10.1.1.1 10.1.1.1 prefix 24
   ip nat inside destination list 1 pool mypool
   
   Are both solutions OK?
   
   Michael



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:23:13 GMT-3