NAT on the stick!

From: Nathasha Aleyevka (naleyevka@yahoo.com)
Date: Fri Dec 26 2003 - 19:23:36 GMT-3


Hi everybody,

Unsuccessfully, I have been trying to configure NAT on
a stick on a 2610 router, I have replicated the
scenario
posted at CISCO.com
      _ | Loopback 0
      | |
      |--------E0/0--RouterNAT
PC----|
      |---------E0--CableModem(CM)
      |
      -
With the debug enabled I am not seeing no translation.
IN this scenario the routing decision should take
place after the NAT. From my PC I am able to ping the
primary/secondary on the router, but cannot ping the
CM's E0.Obviously CM doesnt know how to get back to my
PC. I configured a 2621 with 2 LANs, it works fine.
The stick doesnt work for me.

sh ip nat sta
Total active translations: 0 (0 static, 0 dynamic; 0
extended)
Outside interfaces:
  Loopback0
Inside interfaces:
  Ethernet0/0
Hits: 29 Misses: 8
Expired translations: 8
Dynamic mappings:
-- Inside Source
access-list 10 interface Ethernet0/0 refcount 0
r5#
r5#sh ip nat tra
r5#sh ip nat translations
                                 
PC has an IP address 10.0.0.10/24
L0- 10.0.1.1/30
E0/0- 10.0.0.2/24 secondary
      190.40.10.1/30
CM-E0- 190.40.10.2/30

Here is the config:

interface Loopback0
 ip address 10.0.1.1 255.255.255.252
 ip nat outside
!
interface Ethernet0/0
 ip address 10.0.0.2 255.255.255.0 secondary
 ip address 190.40.10.1 255.255.255.252
 ip nat inside
 ip policy route-map nat
!

ip nat inside source list 10 interface Ethernet0/0
overload
ip classless
ip route 0.0.0.0 0.0.0.0 190.40.10.2
!
access-list 10 permit 10.0.0.0 0.0.0.255
!
route-map nat permit 10
 match ip address 102
 set ip next-hop 10.0.1.1 10.0.1.2
!
access-list 102 permit ip 10.0.0.0 0.0.0.255 any
access-list 102 permit ip any 10.0.0.0 0.0.0.255
Any suggestions!!

Thank you
Nathasha

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/



This archive was generated by hypermail 2.1.4 : Sat Jan 03 2004 - 08:25:45 GMT-3