From: gladston@br.ibm.com
Date: Mon Jun 06 2005 - 15:15:13 GMT-3
Add-route keyword on ip nat outside list is not working.
Can you see any problem on the config?
I am using the example located at http://www.cisco.com/warp/public/556/1.html
but the router simply does not add the route.
Rack2R5#sh ip nat tra
Pro Inside global Inside local Outside local Outside global
--- --- --- 200.200.5.1 142.20.66.1
--- 142.20.1.1 142.20.1.1 200.200.5.1 142.20.66.1
Rack2R5#
Rack2R5#sh run int e 0/0
Building configuration...
Rack2R5#sh run int e 1/0
interface Ethernet1/0
ip address 142.20.65.5 255.255.255.0
ip nat outside
service-policy output Premium-gold-normal
ip policy route-map Avoid-BRI
half-duplex
end
Rack2R5#sh run int s 0/0
Building configuration...
interface Serial0/0
bandwidth 64
ip address 142.20.125.5 255.255.255.224
ip nat inside
ip pim nbma-mode
ip pim sparse-dense-mode
ip multicast boundary 50
ip multicast helper-map 229.1.1.1 142.20.56.255 111
encapsulation frame-relay
ip ospf authentication-key cisco
ip igmp join-group 229.1.1.1
no fair-queue
cdp enable
end
Rack2R5#sh run | i nat
ip nat pool Nat-pool 200.200.5.1 200.200.5.10 prefix-length 24
ip nat outside source list 2 pool Nat-pool add-route
Rack2R5#sh access-list 2
Standard IP access list 2
10 permit 142.20.66.1 (3 matches)
Rack2R5#
Nat is being done:
*Mar 1 00:20:34: NAT*: s=142.20.66.1->200.200.5.1, d=142.20.1.1 [478]
Rack2R5#
*Mar 1 00:20:36: NAT*: s=142.20.66.1->200.200.5.1, d=142.20.1.1 [479]
Rack2R5#
*Mar 1 00:20:38: NAT*: s=142.20.66.1->200.200.5.1, d=142.20.1.1 [480]
Rack2R5#
*Mar 1 00:20:40: NAT*: s=142.20.66.1->200.200.5.1, d=142.20.1.1 [481]
Rack2R5#
Traffic is reaching the far end node:
*Mar 1 06:30:04: IP: s=142.20.14.4 (Serial0/0.14), d=224.0.0.5, len 120, rcvd 0
Rack2R1#no
*Mar 1 06:30:06: IP: s=142.20.125.1 (local), d=224.0.0.13 (Serial0/0.125), len 54, sending broad/multicast
*Mar 1 06:30:06: IP: s=200.200.5.1 (Serial0/0.125), d=142.20.1.1, len 100, rcvd 4
*Mar 1 06:30:06: IP: s=142.20.1.1 (local), d=200.200.5.1 (Serial0/0.125), len 100, sending
But the route used by nat is not added to RIB. I reset the router:
Rack2R1#sir 200.200.5.1
% Network not in table
This archive was generated by hypermail 2.1.4 : Wed Jul 06 2005 - 14:43:41 GMT-3