cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3038
Views
5
Helpful
42
Replies

EIGRP redistribute static

sebastien3
Level 4
Level 4

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 !

42 Replies 42

....

Hi

 What is connected to GigabitEthernet0/1/4? It is another router?

sebastien3
Level 4
Level 4

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

....

I didn't really understand the meaning of your answer. Am I wrong in wanting to do so ?

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 ?

....

...

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 ?

....

That´s right. Go for it.

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

Hi @Flavio Miranda 

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 ?

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