cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1266
Views
0
Helpful
3
Replies

OSPF_ Discard routes

feroz syed
Level 3
Level 3

i have directly connected three routers scenario, (R3---R2---R1),router 3 advertise it's loopback and direclty connected int via ospf and same thing on r1 and r2.

R2 is ABR here, R3 advertise 3.3.3.3/32 loopback and 192.168.23.0 network to R2, R2  want to send summariz 3.3.3.3/32 network as 3.0.0.0/8 to R3. aslo r2 don't doesn't add a null0 interface. we can configure No Discard Routes on R2 to avoid installing null interface But why & what is the reason for avoid installing null interface.

Any help with this would be greatly appreciated


1 Accepted Solution

Accepted Solutions

It could create routing loops. Cisco does not prevent oneself from shooting themself in the foot. As with any commands you need to know what it does and what are the consequences of enabling it.

The discard route is not any concern unless you have networks part of the summary that are reachable via a lesser prefix such as default route.

To prevent from this situation you should not summarize a larger prefix than the networks that are behind the summary. That would prevent the discard route from causing any issues.

Daniel Dib
CCIE #37149

Please rate helpful posts.

Daniel Dib
CCIE #37149
CCDE #20160011

Please rate helpful posts.

View solution in original post

3 Replies 3

daniel.dib
Level 7
Level 7

Hi,

Installing a discard route can keep the router from using shorter prefixes such as the default route to reach prefixes.

See this thread which explains the behavior:

https://supportforums.cisco.com/thread/2253071

Daniel Dib

CCIE #37149

Please rate helpful posts.

Daniel Dib
CCIE #37149
CCDE #20160011

Please rate helpful posts.

i already came from that link, But Removing Null0 will create routing loops in network.

It could create routing loops. Cisco does not prevent oneself from shooting themself in the foot. As with any commands you need to know what it does and what are the consequences of enabling it.

The discard route is not any concern unless you have networks part of the summary that are reachable via a lesser prefix such as default route.

To prevent from this situation you should not summarize a larger prefix than the networks that are behind the summary. That would prevent the discard route from causing any issues.

Daniel Dib
CCIE #37149

Please rate helpful posts.

Daniel Dib
CCIE #37149
CCDE #20160011

Please rate helpful posts.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card