Re: NATing source and destination address???

From: Jai Prakash (jpjsr06@gmail.com)
Date: Tue May 02 2006 - 12:53:33 ART


Hi Gavin,

   I think there is something wrong with access-list.

   Instead of " access-list 101 permit ip any any "

    try with " access-list 101 permit ip (inside lan network) (subnet nask)
any "

    your case ,

    access-list 101 permit ip host 192.168.0.3 any

Best Regards,
Jai

On 5/2/06, Gavin Lawson <gavinl@titan.net.au> wrote:
>
> Hi guys
>
> For some reason NATing is giving me some grief.
>
> Internet initiated web session need to have the source and destination
> address NATed.
>
> The source address needs to be NATed to an address in the pool of
> 192.168.2.0/24 and the destination address needs to be NATed to
> 192.168.0.3
> Return traffic needs to be obviously NATed in reverse.
>
> I tried using the commands
>
> ip nat pool POOL 192.168.2.1 192.168.2.254 netmask 255.255.255.0
> ip nat outside source list 101 pool POOL
> access-list 101 permit ip any any
>
> Router#sh ip nat trans
> Pro Inside global Inside local Outside local Outside
> global
> --- --- --- 192.168.2.1 192.168.0.4
> --- --- --- 192.168.2.2
> 202.154.65.186
> --- --- --- 192.168.2.3
> 203.161.95.158
>
> What I need it
> Pro Inside global Inside local Outside local Outside
> global
> --- 192.168.2.1 192.168.0.3 203.161.95.158
> *NetHostAdd*
>
> Any advice?
>
> GL
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Thu Jun 01 2006 - 06:33:20 ART