From: Amr (amr.ccie@gmail.com)
Date: Wed Sep 24 2008 - 06:30:34 ART
Dear All,
I am confused between the following lines
ip nat inside destination list 1 pool POOL
access-list 1 permit 10.10.10.1
ip nat pool POOL 20.20.20.1 20.20.20.1 prefix-length 24
&
ip nat outside source list 2 pool POOL
access-list 2 permit 20.20.20.1
ip nat pool POOL 10.10.10.1 10.10.10.1 prefix-length 24
i understand from the nat inside destination the following :
if a packet comes from the inside that has a destination 10.10.10.1 the
destination will be nated to 20.20.20.1 & also if a packet comes from the
outside that has a source 20.20.20.1 the source will be nated to 10.10.10.1
and i understand from the nat outside the following :
if a packet comes from the outside interface with a source 20.20.20.1 the
source will be nated to 10.10.10.1 & if a packet with a destination
10.10.10.1 that comes from the inside interface , the source will be nated
to 20.20.20.1
So what is the difference between the above two configurations
Thanks In Advance
Regards,
Blogs and organic groups at http://www.ccie.net
This archive was generated by hypermail 2.1.4 : Sat Oct 04 2008 - 09:26:19 ART