Re: NAT?

From: Privat\ ("Erling)
Date: Sat Mar 22 2003 - 09:31:58 GMT-3


Hi Ram,
thank you for your answer.

I don't think the solution will solved the problem. In your proposal it looks like the 150.50.5.69 is answering. I think 150.50.5.68 is answering but NAT-function will change the source address from 150.50.5.68 to 150.50.5.69 on the way back to R5. Another check can be done by doing a ping 150.50.5.70 By doing this the the solution seems not to work. What I'm looking for is to change the destination address when the packet is travelling from R5 to R8. By doing a 'ip nat inside destination ...' at R7 I thought I could change the destination address. I do not managed to do solve the problem by doing this.

Thank You
Erling Bjontegard

----- Original Message -----
From: "Ram Shummoogum" <rshummoo@ca.ibm.com>
To: <erli-b@online.no>
Cc: <ccielab@groupstudy.com>
Sent: Friday, March 21, 2003 3:59 PM
Subject: Re: NAT?

> 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