From: Brian Dennis (bdennis@internetworkexpert.com)
Date: Sun Dec 19 2004 - 00:53:46 GMT-3
Mani,
The easiest way to get this to work on all platforms and IOS
versions is to just add "ip nat outside" to the other interfaces (E0/0,
S0/0, etc).
Brian Dennis, CCIE #2210 (R&S/ISP-Dial/Security)
bdennis@internetworkexpert.com
Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987
Direct: 775-745-6404 (Outside the US and Canada)
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
mani poopal
Sent: Saturday, December 18, 2004 8:05 AM
To: ccielab@groupstudy.com
Subject: IEWB-LAB80 IP SERVICES 12.1/nat
Hi Group,
Task ask us to configure a routers so that all traceroute traffic to
that router, answers must be from loopback 0. I tried the answer but is
not working, I am not seeing the hits in the route-map for nat
translation, not sure where I am doing mistake. If anybody completed
this task any help is appreciated.
========================
commands:
=========================
interface Loopback0
ip address 150.1.3.3 255.255.255.0
no ip directed-broadcast
ip nat outside
ip ospf network point-to-point
!
interface Loopback1
description ARBITORY
ip address 1.1.1.1 255.0.0.0
no ip directed-broadcast
ip nat inside
ip policy route-map POLICY1
ip local policy route-map POLICY
ip nat inside source list 100 interface Loopback0 overload
access-list 100 permit icmp any any port-unreachable
access-list 100 permit icmp any any time-exceeded
route-map POLICY permit 10
set interface Loopback1
!
route-map POLICY1 permit 10
set interface Loopback0
================================
r2#traceroute 133.1.13.3
Type escape sequence to abort.
Tracing the route to 133.1.13.3
1 133.1.12.1 32 msec 32 msec 32 msec
2 133.1.13.3 64 msec * 60 msec
r2#traceroute 133.1.13.3
Type escape sequence to abort.
Tracing the route to 133.1.13.3
1 133.1.12.1 28 msec 28 msec 32 msec
2 133.1.13.3 64 msec * 60 msec
r2#
r2#traceroute 150.1.3.3
Type escape sequence to abort.
Tracing the route to 150.1.3.3
1 133.1.12.1 32 msec 32 msec 32 msec
2 133.1.13.3 60 msec * 92 msec
r2#
===================================
r3#show route-map
route-map POLICY, permit, sequence 10
Match clauses:
Set clauses:
interface Loopback1
Policy routing matches: 27 packets, 192 bytes
route-map POLICY1, permit, sequence 10
Match clauses:
Set clauses:
interface Loopback0
Policy routing matches: 4 packets, 2416 bytes
r3#show route-map
route-map POLICY, permit, sequence 10
Match clauses:
Set clauses:
interface Loopback1
Policy routing matches: 28 packets, 224 bytes
route-map POLICY1, permit, sequence 10<----------THIS COUNTER NOT
INCREASING
Match clauses:
Set clauses:
interface Loopback0
Policy routing matches: 4 packets, 2416 bytes
===============================================
THANKS
mani
B.ENG,A+,CCNA,CCNP,CCNP-VOICE, CSS1,CNA,MCSE
(416)431 9929
MANI_CCIE@YAHOO.COM
---------------------------------
Do you Yahoo!?
Meet the all-new My Yahoo! Try it today!
This archive was generated by hypermail 2.1.4 : Mon Jan 03 2005 - 10:31:28 GMT-3