Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

EIGRP Redistribute Different Next-hop

Status
Not open for further replies.

pmoorey

Technical User
Mar 19, 2007
144
GB
All, is it possible to advertise a network with a different next-hop address from the router originating it...

Router1
!
ip access-list standard advertise
permit 192.168.50.0 0.0.0.255
!
route-map advertise permit 10
match ip address advertise
set ip next-hop 192.168.204.4
!
ip route 192.168.50.0 255.255.255.0 192.168.204.4
!
router eigrp 100
redistribute static route-map advertise
network 192.168.204.0
no auto-summary
!
On the originating router:
R1#sh ip eigrp top
IP-EIGRP Topology Table for AS(100)/ID(192.168.204.1)

Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - reply Status, s - sia Status

P 172.20.144.0/24, 1 successors, FD is 158720
via 192.168.204.2 (158720/156160), FastEthernet0/0
P 192.168.50.0/24, 1 successors, FD is 28160
via Rstatic (28160/0)
P 192.168.1.0/24, 1 successors, FD is 30720
via 192.168.204.2 (30720/28160), FastEthernet0/0
P 192.168.204.0/24, 1 successors, FD is 28160
via Connected, FastEthernet0/0
R1#

On a neighbouring router R2:
C 192.168.204.0/24 is directly connected, FastEthernet0/0
D EX 192.168.50.0/24 [170/30720] via 192.168.204.1, 00:00:20, FastEthernet0/0



Peter
CCNA, Cisco Qualified Specialist
 
As you can can see the static is redistributed but the next hop address remains the orginating router...

I suspect that it may not be possible to achieve what I'm trying to do...

R1#sh ip eigrp topol 192.168.50.0
IP-EIGRP (AS 100): Topology entry for 192.168.50.0/24
State is Passive, Query origin flag is 1, 1 Successor(s), FD is 28160
Routing Descriptor Blocks:
192.168.204.4, from Rstatic, Send flag is 0x0
Composite metric is (28160/0), Route is External
Vector metric:
Minimum bandwidth is 100000 Kbit
Total delay is 100 microseconds
Reliability is 255/255
Load is 1/255
Minimum MTU is 1500
Hop count is 0
External data:
Originating router is 192.168.204.1 (this system)
AS number of route is 0
External protocol is Static, external metric is 0
Administrator tag is 0 (0x00000000)

R2#sh ip eig top 192.168.50.0
IP-EIGRP (AS 100): Topology entry for 192.168.50.0/24
State is Passive, Query origin flag is 1, 1 Successor(s), FD is 30720
Routing Descriptor Blocks:
192.168.204.1 (FastEthernet0/0), from 192.168.204.1, Send flag is 0x0
Composite metric is (30720/28160), Route is External
Vector metric:
Minimum bandwidth is 100000 Kbit
Total delay is 200 microseconds
Reliability is 255/255
Load is 1/255
Minimum MTU is 1500
Hop count is 1
External data:
Originating router is 192.168.204.1
AS number of route is 0
External protocol is Static, external metric is 0
Administrator tag is 0 (0x00000000)

Reason for doing this is that I don't manage the router that connects to 192.168.50, I need to advertise this network into EIGRP.

Thanks in advance,


Peter
CCNA, Cisco Qualified Specialist
 
I guess I don't understand you topology to follow what you are trying to accomplish. Couldn't you merely use a static route and redistribute that?
 
All routers connect to backbone 192.168.204.0/24

3rd_party (192.168.204.4) has the only link to 192.168.50.0/24

RT1 (192.168.204.1) has a route-map changing the next-hop and redistributing 192.168.50.0/24 via 3rd_party (192.168.204.4)

I am not able to advertise 192.168.50.0/24 directly from the 3rd_party router as I don't manage it, and I do not wish them to participate in my AS. The 3rd party is using static routes towards my network.

Peter
CCNA, Cisco Qualified Specialist
 
Note that I have a lot of routers on the 192.168.204.0/24 network and don't want to configure static routes on all of them.



Peter
CCNA, Cisco Qualified Specialist
 
I see now, the route works as it but you want it to go directly to the other router. I don't see a way around it given your current topology.
 

Thats correct, basically I need to advertise 192.168.50.0/24 via .4, but I can't originate the advertisement from .4 directly....

I actually have a few networks connected to .4, but I don't want to configure statics on all routers

Hope this helps you to understand...

my route-map isn't changing the next-hop though, it remains the router that originates the advertisement

Peter
CCNA, Cisco Qualified Specialist
 
Hello
You should do a static route to the outside network,and then distribute static in EIGRP.
Regards
 
Minue,

Thanks for your reply, I have configured a static route and redistributed it into eigrp, but the next-hop is not correct...

The routers in the EIGRP AS are all connected to the same subnet...(flat network) so i'd need add statics to all routers in order to get it working....



All, is it possible to advertise a network with a different next-hop address from the router originating it...

Router1
!
ip access-list standard advertise
permit 192.168.50.0 0.0.0.255
!
route-map advertise permit 10
match ip address advertise
set ip next-hop 192.168.204.4
!
ip route 192.168.50.0 255.255.255.0 192.168.204.4
!
router eigrp 100
redistribute static route-map advertise
network 192.168.204.0
no auto-summary

Peter
CCNA, Cisco Qualified Specialist
 
Hello
I am sure there's a way to get this working.Your design isn't very clear.Can you post a diagram or the conf,of all routers involved.
In any case EIGRP will share routing info,with routers on the same subnet.
Regards
 
Very quick topology... RT1-3 are in an EIGRP AS, RT1 needs to advertise 192.168.50.0 into EIGRP so RT2/3 have the route.

RT2/3 recieve the route, but it's via Rt1 (because it's redistributing the static.




Peter
CCNA, Cisco Qualified Specialist
 
Hello
This is a good post.Will take a deeper look into this.I am wondering if ICMP redirects could help here.

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top