Orbit-Computer Solutions.Com

Computer Training & CCNA Networking Solutions
Chika Nwokeoma, EzineArticles.com Basic Author
 
 
 
 
Add to Favorite

OSPF Configuration

How to Configure OSPF on a Network

On this page we'll be looking at:
 
*   Configuring OSPF on a Network.
*   Creating a default Route in OSPF.
 
Configuring OSPF on a Network using the topology below. Note all router interface IP addresses had been configured appropriately.
 
 
orbit-computer-solutions.com/OSPF Configuration
 
 
HQ#config t
HQ(config-router)# router OSPF 1
HQ(config-router)#network 10.10.10.0 0.0.0.255 area 0
HQ(config-router)#network 172.16.10.0 0.0.0.3 area 0
HQ(config-router)#network 172.16.10.8 0.0.0.3 area 0
HQ(config-router)#end
 
All routers in the same network domain must be configured in the same manner.
You might notice the difference in the above configuration to that or RIP and EIGRP.
The OSPF process number is 1, The process number could be a any value between 1 to 65,535.
OSPF process number does not propagate outside of the area. Any value could be used. Also, you can use a different value for every router in an AS. Note that this is different from EIGRP, where every router in the AS must have the same process number.
Also, we used a wildcard mask or inverted subnet mask to define what range of network or hosts are permitted or deny access.

Join Forum Discussion

 
 

How to create a default Route in OSPF enabled Network

You want to propagate a default route within an OSPF network.

Propagating a default route within OSPF, use the default-information originate configuration command:

HQ#configure terminal
HQ(config)#ip route 0.0.0.0 0.0.0.0 172.16.10.2 
HQ(config)#router ospf 1
HQ(config-router)#default-information originate metric 30 metric-type 1
HQ(config-router)#end
HQ#
 
The above configuration enables OSPF to advertise a default route (0.0.0.0) into a normal area or destination network (172.16.10.2).
Join Forum Discussion

 
 

 How to Configure EIGRP on a Network

 
 
Custom Search
 
 
 
 
 
 Resources
 

        

  
 
(c) Copywrite 2012. Orbit-Computer-Solutions.Com. All rights reserved.   Web Links  Privacy Policy   
 
The information provided on this website is for informational purposes only. Orbit-computer-solutions.com makes no warranties, either expressed or implied,
 with respect to any information contained on this website.
Orbit -computer-solutions.com reserves the right to change this policy at any time without prior notice.
Cisco and All related product mentioned in any portion of this website are the registered trademarks of Cisco.com their respective owners.
Microsoft Windows and All related products mentioned in any portion of this website are registered trademark of Microsoft Corporation.