06-28-2023 03:06 AM
Hello,
I have two routers directly connected. I want to use eigrp to redistribute the static routes present on R2 to R1.
On R2 (192.168.1.2/30) I have a default route that points to R1 (192.168.1.1/30) :
ip route 0.0.0.0 0.0.0.0 192168.1.1
On R1 I also receive 0.0.0.0, this can be a problem...
P 0.0.0.0/0, 0 successors, FD is Infinity
via 192.168.1.1 (3072/2816), GigabitEthernet0/1/4
How to remove 0.0.0.0 and let the rest of the static routes pass ?
Thnaks !
06-28-2023 03:14 AM - edited 07-05-2023 06:16 AM
....
06-28-2023 03:18 AM
Hi
What is connected to GigabitEthernet0/1/4? It is another router?
06-28-2023 05:04 AM
@MHM Cisco World: So simple... I was going to make route-maps !
@Flavio Miranda: Yes, R2 is connected on gi0/1/4
Another question : Is it ok to use eigrp stub redistributed on R2 ?
R2 is only connected to R1 which provided it with the default route.
06-28-2023 05:11 AM - edited 07-05-2023 06:16 AM
....
06-28-2023 06:01 AM
I didn't really understand the meaning of your answer. Am I wrong in wanting to do so ?
06-28-2023 06:16 AM - edited 06-28-2023 09:23 AM
If you use stub redistrubte you will NOT prevent all prefix redistrubte into eigrp to advertise.
But in your original post you mention you need only defualt route to exclude from advertise' that confuse me.
Am I right ?
06-28-2023 09:39 AM - edited 07-05-2023 06:17 AM
....
06-28-2023 11:03 AM - edited 07-05-2023 06:17 AM
...
07-01-2023 12:57 AM
Hi @MHM Cisco World ! My best friends
Here I am trying to test EIGRP Named Mode in an existing configuration.
While browsing some CISCO documentations I discovered the EIGRP stub mode. From what I understand a stub router (R2) is a gateway that is only connected to a single neighbor (R1). The stub router (R2) does not need to know all of the IP networks in the routing domain. Apart from directly connected networks, the routing table of an EIGRP stub is reduced to a default route pointing to the single EIGRP neighbor (R1).
I understood well ?
07-01-2023 01:15 AM - edited 07-05-2023 06:17 AM
....
06-28-2023 05:13 AM
That´s right. Go for it.
06-28-2023 06:44 AM
Another possibility is to remove " ip route 0.0.0.0 0.0.0.0 192168.1.1" on R2 and use default information originate in R1
07-01-2023 01:02 AM
It could be an idea, thanks!
I'll make an answer with a complete diagram of the network architecture to see if default orignate will be compatible ?
06-28-2023 08:29 AM
Hello,
You could use 2 options. If this is a lab environment both will work if you just want to practice and see how things work. In a real environment I would go with option 2.
Option 1:
If you redistribute static into EIGRP on R2 it will advertise its static routes (to include the default) but with an AD of 170. So even if R2 also sends the default route to R1 it wont sue it because I assume your default route on R1 is less than an AD of 170. So it'll use that one. Of course if that fails then it'll revert to the default route advertised by R2 which points to R1 potentially causing a loop. Again not good for real world.
Option 2:
Create an EIGRP stub with the redistribute and connected keywords with a route-map filtering out the default route from R2 going to R1 under the redistribute command
router eigrp 1
eigrp stub connected redistributed
Configure redistribute command to use a route map to filter default route - or use distribute list to filter out default route from R2.
-David
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