GroupStudy.com GroupStudy.com - A virtual community of network engineers
 Home  BookStore  StudyNotes  Links  Archives  StudyRooms  HelpWanted  Discounts  Login
RE: Injecting default route only with loss of IP route WAS: Re: IE Lab 6 conditional default route advertisement posted 12/07/2005
[Chronological Index] [Thread Index] [Top] [Date Prev][Date Next] [Thread Prev][Thread Next]


	You could do this with BGP conditional advertisement.


HTH,

Brian McGahan, CCIE #8593
bmcgahan@xxxxxxxxxxxxxxxxxxxxxx 

Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987 x 705
Outside US: 775-826-4344 x 705
24/7 Support: http://forum.internetworkexpert.com
Live Chat: http://www.internetworkexpert.com/chat/


-----Original Message-----
From: nobody@xxxxxxxxxxxxxx [mailto:nobody@xxxxxxxxxxxxxx] On Behalf Of
Mike Flanagan
Sent: Wednesday, December 07, 2005 3:29 PM
To: Mike Flanagan
Cc: Cisco certification
Subject: Injecting default route only with loss of IP route WAS: Re: IE
Lab 6 conditional default route advertisement

   Is there a way to only send a default route if you loose a route  
in the IP routing table ?



On Dec 7, 2005, at 12:06 PM, Mike Flanagan wrote:

>  In this section for injecting a default route you only do it if  
> your route-map matches the networks in question. Like for instance  
> as long as I have a route to 192.10.1.0/24 advertise the default  
> route. Well what if I wanted to advertise the default route if I  
> lost a route in my route table ? Like for instance lets say if I  
> lost my connection to BB2 would I use
>
> router ospf 1
>  default-information originate always route-map CONDITION
>
> ip prefix-list BB2 seq 5 permit 192.10.1.0/24
>
> ip prefix-list BB3 seq 5 permit 204.12.1.0/24
>
> route-map CONDITION deny 10
>  match ip address prefix-list BB2
>
> rute-map CONDITION deny 20
>  match ip address prefix-list BB3
>
>  I think with this I would only advertise the default route if I  
> lose either route in my route table is this correct ?
>
>  Also with this solution would I only advertise the default route  
> if I lose both connections at the same time ?
>
> router ospf 1
>  default-information originate always route-map CONDITION
>
> ip prefix-list BB2 seq 5 permit 192.10.1.0/24
> ip prefix-list BB2 seq 5 permit 204.12.1.0/24
>
> route-map CONDITION deny 10
>  match ip address prefix-list BB2
>
> ______________________________________________________________________

> _
> Subscription information may be found at:http://www.groupstudy.com/ 
> list/CCIELab.html

_______________________________________________________________________
Subscription information may be found at: 
http://www.groupstudy.com/list/CCIELab.html