Re: NAT?

From: Ram Shummoogum (rshummoo@ca.ibm.com)
Date: Fri Mar 21 2003 - 11:59:03 GMT-3


Here is the config and the output. I tested it on my network using my
address scheme.

R8(.69)-------------------(.68)(S0)R7(E0)(7.7)
----------------------------(7.5)R5

interface Ethernet0
 ip address 150.50.7.7 255.255.255.128
 ip nat outside
!
interface Serial0
 ip address 150.50.5.68 255.255.255.128
 ip nat inside
!
ip nat pool rambo 150.50.5.69 150.50.5.69 netmask 255.255.255.224
ip nat inside source list 1 pool rambo overload
access-list 1 permit 150.50.5.64 0.0.0.31 log

R5#ping 150.50.5.68

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 150.50.5.68, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/7/13 ms
R5#
000075: 3d12h: ICMP: echo reply rcvd, src 150.50.5.69, dst 150.50.7.5
000076: 3d12h: ICMP: echo reply rcvd, src 150.50.5.69, dst 150.50.7.5
000077: 3d12h: ICMP: echo reply rcvd, src 150.50.5.69, dst 150.50.7.5
000078: 3d12h: ICMP: echo reply rcvd, src 150.50.5.69, dst 150.50.7.5
000079: 3d12h: ICMP: echo reply rcvd, src 150.50.5.69, dst 150.50.7.5

HTH

RAM

"Erling Bjontegard" <erli-b@online.no>@groupstudy.com on 03/20/2003
01:52:59 PM

Please respond to "Erling Bjontegard" <erli-b@online.no>

Sent by: nobody@groupstudy.com

To: <ccielab@groupstudy.com>
cc:
Subject: NAT?

Hi all,
Can someone help me with the following case?

r1 e0 .1--------.2 r2 .2---------.3 r3

Between r1 and r2 : 172.16.1.0/24
Between r2 and r3 : 192.168.1.0/24
The r3 has a route for 172.16.1.0/24 and r1 has a route for 192.168.1.0/24.
When making a ping from r3 to 172.16.1.3-254 the e0 interface at r1 with
ip-address 172.16.1.1 shall answer that ping.
In case this is solved by a NAT at r2 can someone help me with the config.
In case this is solved by another function please let me know.

Best Regards
Erling Bjontegard



This archive was generated by hypermail 2.1.4 : Sat Apr 05 2003 - 08:51:43 GMT-3