It is effectively loop-free, having a maximum hop metric of 65,535
It can load balance network traffic between multiple paths of the same metric value
It supports authentication using passwords and other methods
It converges quicker than RIP since routing updates are sent immediately instead of
periodically
It uses less bandwidth since transmission take place only when routing changes occur
It supports the logical grouping of network segments into areas (see the "Autonomous
System" section below)
It announces routes outside of an autonomous system within the autonomous system so
that it can calculate costs to reach outside networks
Since OSPF announces subnet masks, it supports CIDR , VLSM (Variable Length
Subnetting), Supernetting (used to aggregate Class C networks) and non-contiguous
network segments
OSPF Configuration: Router1
Router1(config)#
Router1(config)#router ospf 1
Router1(config-router)#router-id 1.1.1.1
Router1(config-router)#network 192.168.1.0 0.0.0.3
Router1(config-router)#network 192.168.1.8 0.0.0.3
Router1(config-router)#
Router1(config-router)#
OSPF Configuration: Router2
Router2(config)#
Router2(config)#router ospf 2
Router1(config-router)#router-id 2.2.2.2
Router2(config-router)#network 10.0.0.0 0.255.255.255
Router2(config-router)#network 192.168.1.0 0.0.0.3
Router2(config-router)#network 192.168.1.4 0.0.0.3
Router2(config-router)#