07-07-2015 09:29 AM - edited 03-08-2019 12:51 AM
Hi Everyone,
On EIGRP router configured as stub i need to advertise single static route to eigrp nei.
R1 has this config
router eigrp 650
eigrp stub connected summary
network 192.168.0.0
This Router is nei to R2.
Currently R1 has multiple static routes but i want to advertise single route only
is this possible?
Regards
Mahesh
Solved! Go to Solution.
07-07-2015 09:49 AM
Hi Mahesh,
According to this document, it does not appear to be a way to advertise only a single static route
• Receive-only: router only accepts, but does not explicitly advertise, any routes. This option may not be used in combination with any other options.
• Connected: router advertises directly-connected networks
• Static: router advertises any configured static routes
• Summary: router advertises any configured summarized routes
• Redistributed: router advertises any routes learned from another protocol, such as OSPF
07-07-2015 09:49 AM
Hi Mahesh,
According to this document, it does not appear to be a way to advertise only a single static route
• Receive-only: router only accepts, but does not explicitly advertise, any routes. This option may not be used in combination with any other options.
• Connected: router advertises directly-connected networks
• Static: router advertises any configured static routes
• Summary: router advertises any configured summarized routes
• Redistributed: router advertises any routes learned from another protocol, such as OSPF
07-07-2015 10:11 AM
Hi Reza,
is this is noit possible can i do this
R1 has no interface with ip 172.31.x.x.
i need to advertise this subnet back to R2
if i make loopback unt on R1 with 172.31.x.x and advertise it with network command will it work?
Regards
Mahesh
07-07-2015 10:28 AM
Hi Mahesh,
That should work since by default EIGRP stub advertises connected and summary routes to its neighbors. So you should not need the network statement.
Have a look at this doc as well:
A router that is configured as a stub with the eigrp stub command shares connected and summary routing information with all neighbor routers by default.
http://www.cisco.com/c/en/us/td/docs/ios/12_0s/feature/guide/eigrpstb.html
Thanks,
Reza
07-07-2015 10:37 AM
i tried loopback command but nei router does not learn that route.
i put this ip int lookback 2
ip address 172.31.10.5 255.255.255.0
Regards
Mahesh
07-07-2015 10:42 AM
Can you try advertising it with /32 mask?
ip address 172.31.10.5 255.255.255.255
07-07-2015 11:00 AM
tried no luck
07-07-2015 11:07 AM
Mahesh,
Did you also try it with network statement?
Also, if that does not help, how about using "eigrp stub connected" with no summary?
07-07-2015 12:32 PM
i did not try with network statement.
07-07-2015 09:55 PM
Hi Reza,
Issue was fixed.
Here is info on setup
source --R1----R2---R3---R4---destination
Routing was there for specfic route from R1 to R4.
For return path from destination to source via R4 to R1 --R4 was pointing to R3 .
But R3 does not learn route as R4 was stub and it has no static command configured.
But R2 was learning route to source via R1.
So i add static command on R3 to learn route via R2.
Doing this fixed my issue.
Sorry for not giving you full info.
Regards
Mahesh
07-08-2015 05:32 AM
Mahesh,
Glad to know you figured it out and it is all working.
Thanks for the feedback!
Reza
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