OSPF Configuration in Phase 1 DMVPN Network
This is how you configure OSPF in a Phase 1 DMVPN network (read the introductory post and Phase 1 DMVPN fundamentals first):
Remember:
- Use point-to-multipoint network type on the hub router to ensure the hub router is always the IP next hop for the DMVPN routes.
- Use point-to-multipoint network type on the spoke routers to ensure the OSPF timers match with the hub router.
- The DMVPN part of your network should be a separate OSPF area; if at all possible, make it a stub or NSSA area.
- If absolutely needed, use OSPF LSA flood filter on the hub router and a static default route on the spokes.
For more information, watch the DMVPN Technology and Configuration webinar.
Any recomendations on setting up a (dual) hub running OSPF with phase 1 spokes AND prevent all spoke routes from being seen at other spokes? Think service provider environment. Thanks, great blog!
The only trick you could use would be flood filters on the hub http://wiki.nil.com/OSPF_flooding_filters_in_hub-and-spoke_environment but then you need static default routes on the spokes. OK if you have a non-redundant setup, "slightly" harder if you need redundancy.
http://blog.ioshints.info/2010/10/dmvpn-scalability.html
All of these topics are discussed in my DMVPN webinar (hint, hint ;) ); the materials include tested router configurations for 20+ different scenarios using OSPF, EIGRP, BGP and RIP.