Destination NAT

From: Raymond Amalraj (raymond.amalraj@gmail.com)
Date: Fri Sep 07 2007 - 20:26:15 ART


Hi,

I'm trying to configure my router to do nat based on destination.
The destination is one host 1.1.1.1 (real Ip address of the host)

2.2.2.2 (destination ip adress of my clients )

My clients connect trough interface vlan 3
The destination is vlan 21

my config is as is:

ip nat pool NAT 1.1.1.1 1.1.1.1 netmask 255.255.255.252 type rotary
ip nat inside destination list 99 pool NAT

acl 99
permit 2.2.2.2

vlan 3
ip nat in

vlan 21
ip nat out

this should be read as:
"when nat interface inside see frames where the destinantion matches ACL 99
and the traffic is going out the ip nat out interface then translate to
COROUTE pool"

Am I missing someting or is something wrong in my NAT configuration ?



This archive was generated by hypermail 2.1.4 : Sat Oct 06 2007 - 12:01:10 ART