NAT - Should this config work?

From: Scott Smith (hioctane@gmail.com)
Date: Wed Aug 16 2006 - 17:03:15 ART


interface Loopback0
 ip address 150.1.5.5 255.255.255.0
 ip nat outside
!
interface Ethernet0/0
 ip address 204.12.1.5 255.255.255.0
 ip nat inside
!
ip local policy route-map POLICY
ip nat inside source list 1 interface Loopback0 overload
!
access-list 1 permit 204.12.1.0 0.0.0.255
!
route-map POLICY permit 10
 match ip address 1
 set interface Loopback0

============================================================

Rack1R5#ping 137.1.54.4 source e0/0 repeat 1

Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 137.1.54.4, timeout is 2 seconds:
Packet sent with a source address of 204.12.1.5

01:26:17: IP: s=204.12.1.5 (local), d=137.1.54.4, len 100, policy match
01:26:17: ICMP type=8, code=0
01:26:17: IP: route map POLICY, item 10, permit
01:26:17: IP: s=204.12.1.5 (local), d=137.1.54.4 (Loopback0), len 100,
policy routed
01:26:17: ICMP type=8, code=0
01:26:17: IP: local to Loopback0 137.1.54.4
01:26:17: IP: tableid=0, s=204.12.1.5 (Loopback0), d=137.1.54.4
(BVI1), routed via FIB
01:26:17: IP: s=204.12.1.5 (Loopback0), d=137.1.54.4 (BVI1),
g=137.1.54.4, len 100, forward
01:26:17: ICMP type=8, code=0.

Success rate is 0 percent (0/1)

Rack1R5#sh deb
Generic IP:
  IP packet debugging is on (detailed)
  IP NAT debugging is on
  IP NAT detailed debugging is on
Policy Routing:
  Policy routing debugging is on

TIA!

-Scott



This archive was generated by hypermail 2.1.4 : Fri Sep 01 2006 - 15:41:57 ART