Nat Problem over FRelay ?

From: kasturi cisco (kasturi_cisco@hotmail.com)
Date: Fri Jun 06 2003 - 23:08:25 GMT-3


Group,

I found out the problem regds NAT as some of you have mentioned. The
global address was not in the same subnet due to the mask /28. I changed
the address and now NAT works BUT i have another problem which i run into
in the process.

I am trying simple NAT over Frelay which is between R5 and R9. I am
trying to ping far end loopback and somehow it fails. I am unable to
understand how to solve this problem. R5 and R9 are connected using NBMA
network. It gives me encapsulation failure on R9 which is understandable.
So do we have to have mapping for each device ?

 Here is config and toplogy, the routing table shows the entry in routing
table.

| --------- R5--------- NBMA-----------R9 -----loo0 153.1.12.9
 | e0 s0 s0
          |----------|
                 10.1.1.2/10.1.1.4

 ==========================
 R5 Config:
 interface Ethernet0
ip address 10.1.1.1 255.255.255.0
ip nat inside
no keepalive
 !
 interface Serial0
ip address 153.1.200.5 255.255.255.240
encapsulation frame-relay
no fair-queue
clockrate 64000
no arp frame-relay
no frame-relay inverse-arp
 frame-relay map ip 153.1.200.9 102 broadcast
 !
 router ospf 100
log-adjacency-changes
network 153.1.0.0 0.0.255.255 area 0
neighbour 153.1.200.9
 !
 ip nat pool local 153.1.200.10 153.1.200.14 prefix-length 28
 ip nat inside source list 10 pool local
 ip classless
 ip http server
 !
 access-list 10 permit 10.1.1.0 0.0.0.255
 !

On R9 i have
 interface Serial0
ip address 153.1.200.9 255.255.255.240
encapsulation frame-relay
no fair-queue
clockrate 64000
no arp frame-relay
no frame-relay inverse-arp
 frame-relay map ip 153.1.200.5 201 broadcast
 !
 router ospf 100
log-adjace ncy-changes
network 153.1.0.0 0.0.255.255 area 0
neighbour 153.1.200.5

00:27:41: IP: s=153.1.200.12 (Serial0), d=153.1.200.9 (Serial0), len 100,
rcvd 3
00:27:41: ICMP type=8, code=0
00:27:41: IP: s=153.1.200.9 (local), d=153.1.200.12 (Serial0), len 100,
sending
00:27:41: ICMP type=0, code=0
00:27:41: IP: s=153.1.200.9 (local), d=153.1.200.12 (Serial0), len 100,
encapsulation failed
00:27:41: ICMP type=0, code=0

Let me know what to do ? I am just thinking how would the other end be
able to know all the IP addresses on inside for which transaltion has
taken place.

Good Luck,
Kasturi.

------------------------------------------------------------------------

Design your own holidays. Make memories that last a lifetime. Enjoy!



This archive was generated by hypermail 2.1.4 : Fri Jul 04 2003 - 11:10:54 GMT-3