GroupStudy.com GroupStudy.com - A virtual community of network engineers
 Home  BookStore  StudyNotes  Links  Archives  StudyRooms  HelpWanted  Discounts  Login
RE: "set ip next-hop" - Route Maps [7:80964] posted 12/16/2003
[Chronological Index] [Thread Index] [Top] [Date Prev][Date Next] [Thread Prev][Thread Next]


Have you read this doc:
http://www.cisco.com/en/US/products/sw/iosswrel/ps5187/products_command_refe
rence_chapter09186a008017d028.html#56490

EIGRP will, by default, set the IP next-hop value to be itself for routes
that it is advertising, even when advertising those routes back out the same
interface where it learned them. To change this default, you must use the no
ip next-hop-self eigrp interface configuration command to instruct EIGRP to
use the received next hop value when advertising these routes. Some
exceptions to this guideline follow:

If spoke-to-spoke dynamic tunnels are not wanted, then the no ip
next-hop-self eigrp command is not needed. 
If spoke-to-spoke dynamic tunnels are wanted, then you must use process
switching on the tunnel interface on the spoke routers. Otherwise, you will
need to use a different routing protocol over Dynamic Multipoint VPN
(DMVPN). 
Examples

The following example changes the default IP next hop value and instructs
EIGRP to use the received next hop value:

interface serial 0
 no ip next-hop-self eigrp 101 

-----Original Message-----
From: nobody@xxxxxxxxxxxxxx [mailto:nobody@xxxxxxxxxxxxxx] On Behalf Of Tim
Champion
Sent: Monday, December 15, 2003 4:44 PM
To: cisco@xxxxxxxxxxxxxx
Subject: "set ip next-hop" - Route Maps [7:80964]

I'm trying to use a route-map to alter the way in which EIGRP advertises
routes. I need to alter the next-hop field so that the router that receives
the routes doesn't use the advertising address as the next hop:

route-map test_1
 match ip address 1
 set ip next-hop 10.51.12.5

access-list 1 permit any

router eigrp 100
 redistribute connected route-map test_1

But it doesn't work! The route is advertised but not altered in anyway. Has
anyone used the "set ip next-hop" successfully with redistribution?

Many thanks

Tim
**Please support GroupStudy by purchasing from the GroupStudy Store:
http://shop.groupstudy.com
FAQ, list archives, and subscription info:
http://www.groupstudy.com/list/cisco.html




Message Posted at:
http://www.groupstudy.com/form/read.php?f=7&i=80976&t=80964
--------------------------------------------------
**Please support GroupStudy by purchasing from the GroupStudy Store:
http://shop.groupstudy.com
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html