Cisco Systems route Maps with OSPF for set ip next-hop

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
route Maps with OSPF for set ip next-hop philbo30 07-16-07
Posted by philbo30 on July 16, 2007, 9:30 am
Please log in for more thread options
Situation:

3845 router with multiple Virtual Tunnel Interfaces facing the
Internet and two Interfaces facing a PIX firewall.

Need:
Routes to certain tunnels must be available from the PIX via a
specific interface (one of the two).

Question:
Can a route map be used with the outbound LSAs to specify the next hop
that the PIX knows about ? In other words, I want to run a route map
on the 3845 that sets the "ip next-hop" that is advertised into OSPF.

For example, the PIX would then know that network 10.0.0.0 /24 is
available via interface G0 on the 3845 router and network 11.0.0.0/24
is available via interface G1 on the 3845 router.

Note that I can make this happen by running 2 OSPF processes on the
PIX and the router, but I would prefer to do it with route maps. Both
interfaces on the 3845 router can be in the same area or different
areas, whichever is necessary to make this thing work.

Bottom line, can route maps with the set ip next-hop command be used
to control the information that an OSPF participant receives?


Posted by Merv on July 16, 2007, 1:51 pm
Please log in for more thread options

> Bottom line, can route maps with the set ip next-hop command be used
> to control the information that an OSPF participant receives?


If the question is can outbound LSA's be modified using route maps,
AFAIK this is not possible.

There is now the ability to perform OSPF ABR Type 3 LSA Filtering -
see
http://www.cisco.com/en/US/products/sw/iosswrel/ps1839/products_feature_guide09186a0080087be9.html

If you ran BGP between the 3845 and the PIX, then doing what you want
to do is easily accomplished by setting next hop via a BGP outbound
route map.





Posted by on July 16, 2007, 5:26 pm
Please log in for more thread options
> > Bottom line, can route maps with the set ip next-hop command be used
> > to control the information that an OSPF participant receives?
>
> If the question is can outbound LSA's be modified using route maps,
> AFAIK this is not possible.
>
> There is now the ability to perform OSPF ABR Type 3 LSA Filtering -
> seehttp://www.cisco.com/en/US/products/sw/iosswrel/ps1839/products_featu...
>
> If you ran BGP between the 3845 and the PIX, then doing what you want
> to do is easily accomplished by setting next hop via a BGP outbound
> route map.

I would think that such LSA filtering as requested
by the OP would violate the OSPF architecture.

OSPF does not advertise routes or next hops
between routers, it instead sends information
about the network topology. Every router in an area
has the same information about the topology from
which the next hops are (routing table entries)
are determined. It is an absolute
requirement (in order to avoid loops and provide
reachability) that every router in an area
has the same topology database and so
filtering would not be possible.

Between areas and between routing processes
then things are different.


Similar ThreadsPosted
route Maps with OSPF for set ip next-hop July 16, 2007, 9:30 am
Route-Maps and PIX November 12, 2006, 2:47 am
Route Maps October 9, 2007, 2:00 pm
route-maps (again) May 8, 2008, 11:01 am
Route Maps with HSRP October 19, 2005, 4:45 pm
Question on using route maps. March 3, 2006, 1:10 pm
What is the default precedence: local-route, static-route, OSPF-route? August 4, 2008, 3:00 am
Redirecting packets with route-maps through the same interface. April 6, 2006, 4:15 am
Route-maps and prefixes vanishing from peer January 4, 2007, 5:37 pm
route maps on NME-16ES-1G etherswitch module July 24, 2007, 1:35 pm
OSPF E1/E2 route calculation August 18, 2006, 4:31 pm
OSPF before Connected route June 3, 2008, 4:16 pm
modifying route metric with ospf September 28, 2005, 1:22 pm
Static Route Redistribution over OSPF. March 14, 2006, 3:52 pm
route preference - ospf or static. October 12, 2006, 4:07 pm