A default route can be advertised by OSPF by using the command:
default-information originate [always]
use the always keyword to make a router originate a default route even if the router does not have a default route in its routing table.
Example configuration:
router(config)#ip route 0.0.0.0 0.0.0.0 192.168.0.1
router(config)#router ospf 1
router(config-router)# default-information
router(config-router)#end
|