Professional Documents
Culture Documents
OSPF - Open Shortest Path First
OSPF - Open Shortest Path First
OSPF - Open Shortest Path First
IP Routing
IP Routing is the process of delivering IP Packets from one device to another, across an IP network, using routers.
There are two techniques of performing IP routing. 1) Static Routing. 2) Dynamic Routing.
Routing Techniques
STATIC ROUTING Route table built by network manager. Easy to troubleshoot. No capability of re-route. DYNAMIC ROUTING Route table built dynamically by router. Requires in-depth knowledge of the protocol to troubleshoot. Automatic re-route.
Administrative effort required No administrative effort to maintain routing intelligence required to maintain routing intelligence. Supported by almost all TCP/IP Not all TCP/IP hosts support hosts. dynamic routing.
OSPF - Introduction
Interior routing protocol(IGP). Works on layer 3 of OSI model. Link state routing protocol. Use IP as routed protocol, IP protocol no. 89 Open standard hence can be used in multi vendor environment. Converges large networks. Intra-domain i.e. works within single autonomous system (AS).
Characteristics
Uses cost as metric. Sends triggered & incremental updates. Uses multicasts instead of broadcasts. Converges very quickly. Classless and allows summarization. Conserves network bandwidth. Supports VLSM. AD value = 110. Two-level hierarchy.
Operations of OSPF
OSPF can work in different scenarios :Single area. Multiple areas. Different network topologies of OSPF are :Broadcast multi-access Point-to-point Point-to-multipoint No broadcast multi-access (NBMA)
OSPF build & maintain following tables :Neighbor table Topology database Routing table
Operations Cont.
Once the OSPF process is started on router , it starts searching neighbors. Once the router has discovered all its neighbors it will form neighbor table & start exchanging DBDs & LSA. Once its has collected all networks & routes , it will be in FULL state and will form adjacency with its neighbors. Now it will form topology database & will run SPF algorithm to find shortest possible route or path to reach each network. Once it has best routes to reach each network , it will
Init :- This state indicates that the router has received a hello packet from its neighbor, but the receiving routers ID was not included in the hello packet.
2-Way :- This state indicates that bi-directional communication has been established between two routers.
Exstart :- the router and its neighbor establish a master/slave relationship and determine the initial DD sequence number in preparation for the exchange of Database Description packets..
Router types
Internal router :- Routers whose interfaces belong to the same area. These routers have a single link-state database. Backbone router :- Routers with at least one interface attached to the Backbone Area. In some cases an Internal router whose all interfaces belong to the Backbone Area is also a Backbone Router. Area border router (ABR) :- Routers who connects one or more areas to the Backbone Area. For each of connected areas an ABR must maintain a separate Link-State Database. Only summarized topology information is propagated by an ABR to the Backbone Area. Autonomous system boundary router (ASBR) :- An ASBR connects to other routing domains. ASBRs are typically located in the backbone area.
Router types
LSA 3
They are send only to a single area to advertise information to Internal Routers about destinations outside that area. This information can be also summarized before sending to prevent sharing information about area topology to other areas and save routers resources. Using LSA 3 an ABR also advertise the destinations within its attached areas into the Backbone Area.
LSA 5 Also called External LSA. LSA 5 are originated by ASBRs. They
advertise ether a destination external to the OSPF. LSA 5 can also advertise Default Route for the OSPF domain. These LSAs are flooded to all areas (except stub areas) and are received by all Internal Routers.
LSA 4
LSA 5
Summarization
Multiple areas are a great way to limit computation and propagation of routing updates; the hierarchical approach imposed by using multiple areas allows for intelligent summarization on ABRs and ASBRs.
Types of summarization in OSPF : Interred summarization :- Performed at the ABR, creates Type 3 LSAs. Type 4 LSAs advertise the router IDs of ASBRs. External summarization :- Performed at the ASBR, creates Type 5 LSAs.
THANK YOU
Questions...?