Forum Replies

  1. Hi Sims,

    Let’s say you have a small network with a couple of routers. One router is connected to an ISP router for Internet access. On this router, you could advertise a default route in your OSPF network.

    When there is no matching route in the routing table, the default route will be used and your traffic will be forwarded towards the ISP.


  2. andrew says:

    Yes, you can do this, sort of :slight_smile:

    Remember that a requirement for OSPF is that all members in the same area must have identical databases (and I presume that your DMVPN hub and spokes are in the same area). So the best you are going to be able to do is keep that default route from getting installed in the routing table, even though it will still be present in the OSPF database. I recommend using a prefix-list to do it. Here’s a sample:

    (config)#ip prefix-list PL_NODEFAULT deny
    (config)#ip prefix-list PL_NODEFAULT permit le 32
    (config)#router ospf 1
    (config-router)#distribute-list prefix PL_NODEFAULT in
  3. Andrew, that worked perfectly. Thank you so much!


  4. sims says:

    What if we have different area and core distribution access layer .
    Where we have to put the default originate command

  5. Hello Sims

    The default information originate command must always be placed on a router that has a route that goes outside of the OSPF domain regardless of the area or of the core, distribution and access layers of the network. The criteria for this command is that the router must have a “way out” of the whole OSPF region.

    I hope this has been helpful!


11 more replies! Ask a question or join the discussion by visiting our Community Forum