cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1105
Views
0
Helpful
6
Replies

redistribute connected and network statements???

nitass
Level 1
Level 1

Hi

Could anyone please explain me about “redistribute connected” statement in the router protocol configuration?

I understand that the redistribute connected and network statements will make the same result. But when I tried to configure router rip with only redistribute connected statement at the internal rip router, other rip routes were disappeared from routing table. What did I wrong? Am I misconception?

Please suggest me.

Thanks a lot,

Nitass

1 Accepted Solution

Accepted Solutions

These two configs will almost have the same effect. The second one is still able to receive routing updates on e1 and e2 while the first one won't.

Let me know if I answered your question,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

View solution in original post

6 Replies 6

Harold Ritter
Spotlight
Spotlight

These two commands are different. The network statement causes the matching interface(s) to be send and receive routing updates. The interface ip address will also be advertised by the routing protocol.

The "redistribute connected" command causes all of the connected routes to be redistributed in the routing protocol. If you just use this command, the protocol is not active on any interface.

Let me know if I answered your question,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

Hi hritter,

Thanks for your reply again.:)

Suppose that router has 3 interfaces and network statement match only 1 of them. Which are routes that advertise in routing protocol? I understand all connected routes will advertise, not only connected route that match the network statement.

So what is benefit of the redistribute connected statement?

Please suggest me.

Thanks a lot,

Nitass

Then only one interface will be exchanging routing updates with other routers.

The benefit of the "resdistributed connected" command is to advertise ip address of interfaces that are not covered by network statements.

Let me know if I answered your question,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

Hi hritter,

Thanks for quickly reply.

Suppose I have 3 interfaces as following;

eo 10.0.0.1/8

e1 172.16.0.1/16

e2 192.168.0.1/24

If I want to advertise all routing (10/8, 172.16/16 and 192.168.0/24) with other routers on interface e0 only, as my understand, I think it has 2 methods to configure as following;

Method1;

network 10.0.0.0

redistribute connected

Method2;

network 10.0.0.0

network 172.16.0.0

network 192.168.0.0

passive-interface e1

passive-interface e2

Is it correct? Please suggest me too.

Thanks a lot,

Nitass

These two configs will almost have the same effect. The second one is still able to receive routing updates on e1 and e2 while the first one won't.

Let me know if I answered your question,

Regards,
Harold Ritter, CCIE #4168 (EI, SP)

Hi hritter,

Ok, I got it.

Thanks a lot

Nitass