NAT question

From: ian (iyux2000@gmail.com)
Date: Sun Apr 29 2007 - 00:21:09 ART


Hi group,

    I have a NAT question regarding to the following simple topology:

R1(s0/0:192.168.1.1)-(s0/0:192.168.1.2)R2(s0/1:10.0.0.2)-(s0/1:10.0.0.3)R3
    R1's lo0:1.1.1.1/24 R2's lo0:1.1.2.1/24

All the interfaces are join OSPF area 0.

I created a static nat and enable ip accouting on R2:

R2#interface s0/0
R2(config-if)#ip nat inside
R2#interface s0/1
R2(config-if)#ip nat outside
R2(config-if)#ip accouting
R2(config-if)#exit
R2(config)#ip accounting-list 1.1.2.100 0.0.0.0
R2(config)#ip nat inside source static tcp 1.1.1.1 23 1.1.2.100 23 extendable

On R3:
R2#telnet 1.1.2.100
Trying 1.1.2.100 ... Open
User Access Verification
Password:
R1>

My questions are:
1. How to make R2 to telnet to R1's 1.1.1.1 when R2 telnetting to 1.1.2.100? I know it is possible.
2. I read serveral discussions on groupstudy about ip accouting relating to NAT, if R2 can telnet, how to make it count all the NAT traffic about R3 and R2 as well.

Thank you for your reply.



This archive was generated by hypermail 2.1.4 : Tue May 01 2007 - 08:28:38 ART