Sunteți pe pagina 1din 6

How Redistribute Connected Subnets...

c82_patel 21 posts since


Mar 11, 2004
redistribute connected subnets

guruprasadr 949 posts since


Jan 30, 2006 1. Re: How Redistribute Connected Subnets command works? Feb 27, 2008 10:45 PM

HI Patel, [Pls Rate if HELPS]

Please find the attachment (.pdf) having the detailed explanation with Eg's for redistribution
of connection subnets and others.

Hope I am informative.

Pls Rate if HELPS

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...

Edison Ortiz 7,611 posts since


Jul 12, 2007 2. Re: How Redistribute Connected Subnets command works? Feb 28, 2008 4:55 AM

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.

For instance, if you have

interface s0/0

ip address 10.1.1.1 255.255.255.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.

lamav 2,338 posts since


Jan 15, 2005 3. Re: How Redistribute Connected Subnets command works? Feb 28, 2008 7:28 AM

Senor Ortiz:

beautiful post, chico.

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?

I appreciate your time in answering this.

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

Edison Ortiz 7,611 posts since


Jul 12, 2007 4. Re: How Redistribute Connected Subnets command works? Feb 28, 2008 9:56 AM

lamav 2,338 posts since


Jan 15, 2005 5. Re: How Redistribute Connected Subnets command works? Feb 28, 2008 10:20 AM

So, is this what you're saying?

You have a router with the following config:

interface s0/0

ip addres 10.10.10.1 255.255.255.252

interface s0/1

ip address 172.16.19.1 0.0.0.255

router eigrp 100

network 10.10.10.0 0.0.0.255

router ospf 2004

network 172.16.19.0 0.0.0.255

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....

router ospf 2004

network 172.16.19.0 0.0.0.255

redistribute connected subnets

Instead of doing this:

router ospf 2004

network 172.16.19.0 0.0.0.255

network 10.10.10.0 0.0.0.255

Do I have it right?

VL

Edison Ortiz 7,611 posts since


Jul 12, 2007 6. Re: How Redistribute Connected Subnets command works? Feb 28, 2008 10:23 AM

> Do I have it right?

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.

lamav 2,338 posts since

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

Grassy ***...that's Spanish for Thank you. :-)

VL

josephdoherty 4,358 posts since


Aug 23, 2007 8. Re: How Redistribute Connected Subnets command works? Feb 28, 2008 12:56 PM

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

S-ar putea să vă placă și