08-05-2005 07:45 PM - edited 03-03-2019 10:13 AM
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
Solved! Go to Solution.
08-05-2005 10:02 PM
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,
08-05-2005 08:20 PM
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,
08-05-2005 08:41 PM
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
08-05-2005 09:30 PM
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,
08-05-2005 09:56 PM
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
08-05-2005 10:02 PM
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,
08-05-2005 10:06 PM
Hi hritter,
Ok, I got it.
Thanks a lot
Nitass
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide