Documente Academic
Documente Profesional
Documente Cultură
Please find the attachment (.pdf) having the detailed explanation with Eg's for redistribution
of connection subnets and others.
Hope I am informative.
Best Regards,
Guru Prasad R
Attachments:
• Redistributing Routing Protocols (IGRP-EIGRP-OSPF-RIP-IS-IS-Connected Routes) with Examples.pdf
(47.1 K)
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
1
How Redistribute Connected Subnets...
Based on the command you just posted, it seems you want to bring connected routes into
OSPF.
The command will query the router database for routes are directly connected on this router
and announce those routes to OSPF neighbors as External routes (E1 or E2, with E2 being
the default). You can find out which routes are connected routes by typing show ip route
and see the "C" symbol next to the route.
If you have network statements under OSPF, these interfaces will be announced as
regular OSPF routes (O routes) while interfaces missing from the network statement will be
announced via the redistribution.
As for the subnets option, if you don't use it, it won't bring connected networks into OSPF
that aren't classful.
interface s0/0
The ip address above is a Class A address but the subnet mask has 24 bits. This interface
won't be redistributed into OSPF without the subnets option. Without the subnets option, the
subnet mask should be 255.0.0.0 for it to work.
HTH,
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
2
How Redistribute Connected Subnets...
__
Edison.
Senor Ortiz:
One question:
The command will query the router database for routes are directly connected on this
router and announce those routes to OSPF neighbors as External routes (E1 or E2,
with E2 being the default).
I knew that already, but can you give me a scenario in which you would not advertise a
directly connected network the normal way, which is with a network statement under the
OSPF process? Why rely on redistributing them, and as an external route, no less?
Thank you
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
3
How Redistribute Connected Subnets...
Victor
interface s0/0
interface s0/1
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
4
How Redistribute Connected Subnets...
And you would do this to advertise the EIGRP subnet into OSPF....
Do I have it right?
VL
Yes. On the first option, you are advertising the network into OSPF without enabling OSPF
on the interface. On the 2nd option, you are enabling OSPF on that interface.
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
5
How Redistribute Connected Subnets...
Jan 15, 2005 7. Re: How Redistribute Connected Subnets command works? Feb 28, 2008 10:41 AM
VL
Perhaps one other reason, you're really paranoid about revealing anything on the connected
subnets concerning your routing. With redistribution of connecteds, you don't have to worry
about any type of dynamic routing protocol leakage.
Postings may contain unverified user-created content and change frequently. The content is provided as-is and
is not warrantied by Cisco.
6