Re: ip policy routing

From: Ivan (ivan@iip.net)
Date: Mon Oct 23 2006 - 14:43:53 ART


You can simple tune down EIGRP-metric for link r3-r6. (increase delay, not
BW). BTW under normal condition all packet will flow r1-r2-r5... If r2-r5
down EIGRP automaticaly recalculate path to r1-r3-r6.....

Once you want to use route-map you need to monitor reachabitie r6 and r5.
Try to use something like this
! define and start the rtrs
rtr 1
 type echo protocol ipicmpecho 10.1.1.1
rtr schedule 1 start-time now life forever
!
rtr 2
 type echo protocol ipicmpecho 10.2.2.2
rtr schedule 2 start-time now life forever
!
!track the rtrs
track 123 rtr 1 reachability
track 124 rtr 2 reachability
!
! enable policy routing on the incoming interface
interface ethernet 0
 ip address 10.4.4.4 255.255.255.0
 ip policy route-map alpha
!
! 10.1.1.1 is via this interface
interface ethernet 1
 ip address 10.1.1.254 255.255.255.0
!
! 10.2.2.2 is via this interface
interface ethernet 2
 ip address 10.2.2.254 255.255.255.0
!
! define a route-map to set the next-hop depending on the state of the tracked
rtrs
route-map alpha
 set ip next-hop verify-availability 10.1.1.1 10 track 123
 set ip next-hop verify-availability 10.2.2.2 20 track 124

On Monday 23 October 2006 20:11, welcommen@hotmail.com wrote:
> in my lab, r1 connects to r2 e0/0 and r3 e0/0, r2 e0/1connects to r5 e0/0
> r3 e0/1 connects to r6 e0/0, r5 and r6 e0/1 connect to r4 e0/0
> all of the routers use eigrp. r1 will get 2 path to reach r4. i want the
> telnet traffic form r1 uses r2 as primary link. if r2's e0/1 (that
> connect to r5) is down, the telnet traffic will go through r3. How can i
> configure it?
> i want to use ip local policy and route-map to do it. but the problem is
> how does the r1 know the r2's e0/1 interface is down?
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

-- 
Ivan


This archive was generated by hypermail 2.1.4 : Wed Nov 01 2006 - 07:29:06 ART