From: Mike Flanagan (mikenoc@mindspring.com)
Date: Wed Dec 07 2005 - 18:43:05 GMT-3
Thats right but what if we only wanted to send the default route
if we lost a route. So in the other routers route table they will not
have the default route learned from you.
On Dec 7, 2005, at 4:40 PM, John Matus wrote:
> well, by default, a router is going to route to the most specifitc
> route -
> it will router to 1.1.1.0/24 before it routers to 1.1.0.0/16. the
> default
> router will be listed as a gateway of last-resort (i think....),
> and will
> only be used if it can't find a more specific match in the routing
> table (i
> think)... :)
>
>
> Regards,
>
> John D. Matus
> Technical Support / PAS
> Fujitsu Consulting
> 626-568-7716
> John.Matus@tokiom.com
>
>
>
> Mike Flanagan
> <mikenoc@mindspri
>
> ng.com> To
> Sent by: Mike Flanagan
> nobody@groupstudy <mikenoc@mindspring.com>
> .com
> cc
> Cisco certification
> <ccielab@groupstudy.com>
> 12/07/2005 01:28
> Subject
> PM Injecting default route only
> with
> loss of IP route WAS: Re:
> IE Lab 6
> conditional default route
> Please respond to advertisement
> Mike Flanagan
> <mikenoc@mindspri
> ng.com>
>
>
>
>
>
>
>
> 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
This archive was generated by hypermail 2.1.4 : Mon Jan 09 2006 - 07:07:50 GMT-3