From: Sila Moni (silamoni@yahoo.com)
Date: Sat Jul 09 2005 - 09:28:13 GMT-3
I think you should apply policy routing on the
incoming interface, not in the global config. Note
that packets generated locally by the router are not
policy routed. One way is to send it to the loopback
interface.
--- Varthis Vassilantonakis <vvas@altec.gr> wrote:
> Hello group,
>
> One quite tricky question.
>
> In the IEWB Lab 18 Q12.1 there is an example on how
> we should configure a router to response with its
> Loopback address when any other router issue a
> traceroute to it.
>
> What if we want to do something slightly different.
> What I want is to traceroute from R1 to R5.
> R2 has 2 possible ways to reach R5. These are R3 and
> R4. See the diagram below:
>
> R1 ------- R2 ------------------R3-----------------
> |
> |
> |
> |
> |
> |
>
> R4--------------------------------------R5
>
> I want this traceroute to go through R4 and not
> through R3.
>
> My configuration is the following:
>
> R2:
>
> ip local policy route-map test
> !
> route-map test permit 10
> match ip address 100
> set ip next-hop <R4-address connected to R2>
> !
> access-list 100 permit icmp any any time-exceeded
> access-list 100 permit icmp any any port-unreachable
>
> Local policy routing is configured because
> traceroute is locally generated by the router each
> time.
>
> However, I can not get this to work.
>
> Any ideas ?
>
> TIA
>
> Varthis
>
>
This archive was generated by hypermail 2.1.4 : Sun Sep 04 2005 - 17:00:29 GMT-3