The document discusses link-state routing protocols and OSPF. It provides details on:
- The link-state routing process which involves routers learning their own links, meeting neighbors, building link-state packets, flooding LSPs to neighbors, and computing the best path.
- Components of OSPF including link states, areas, route types, router classifications, and packet types.
- The OSPF operation process of establishing neighbor adjacencies through hello packets, exchanging LSAs, building the topology table, running the SPF algorithm, and updating routing tables.
- OSPF router states including down, init, 2-way, exchange, loading, and full when establishing
OSPF Open Shortest Path First protocol full detailsVignesh kumar
油
Open Shortest Path First (OSPF) is a link-state routing protocol that was developed for IP networks and is based on the Shortest Path First (SPF) algorithm. OSPF is an Interior Gateway Protocol (IGP).
OSPF is a link-state routing protocol that uses LSAs to exchange routing and topology information between routers. Routers must establish neighbor relationships by exchanging Hello packets before sharing LSAs. Routers run the SPF algorithm to calculate the best paths based on the collected link-state database and populate their routing tables. OSPF supports features like equal cost load balancing, VLSM, and manual summarization. It divides large networks into areas to reduce routing overhead.
OSPF is a link-state routing protocol used for dynamic routing between routers in an IP network. It works by having each router build a map of the entire network topology and calculate the shortest path to each destination. Changes in link states are flooded throughout the network and all routers recalculate routes. OSPF uses designated routers on broadcast networks to reduce routing traffic and scale better in large networks. It supports features like areas, route authentication, and equal cost multipath.
Menggali Lebih Dalam tentang OSPF: Protokol Routing Dinamis yang Efisien.pptRochmadGSaputra
油
OSPF is a link-state routing protocol used for dynamic routing between routers in an IP network. It works by having each router build a map of the entire network topology and calculate the shortest path to each destination. Changes in link states are flooded throughout the network and all routers recalculate routes. OSPF uses designated routers on broadcast networks to reduce routing traffic and scale better in large networks. It supports features like areas, route authentication, and equal cost multipath.
The document discusses OSPF link-state routing protocol. It describes OSPF's use of link-state databases containing topology information and Dijkstra's algorithm to calculate the shortest path to all destinations. It also explains OSPF's hierarchical area-based network structure and use of link-state advertisements to exchange routing information between neighbors.
Layer 3 Protocols
This document provides an overview of various layer 3 protocols and techniques, including routing protocols (BGP, IS-IS, OSPF, RIP), multicasting protocols (IGMP), and loop avoidance techniques. It describes the purpose and key features of each protocol. BGP exchanges routing information between autonomous systems. IS-IS and OSPF are intra-AS routing protocols that use link-state algorithms. RIP is a distance vector protocol best suited to small networks. IGMP manages multicast group membership. NDP provides address resolution and neighbor discovery for IPv6. HIP separates host identity from IP addresses to enable mobility.
- OSPF is a link-state routing protocol that is more scalable than RIP. It builds a complete "map" of the network to avoid routing loops.
- OSPF uses link-state advertisements and flooding to exchange routing information between routers. It elects a designated router and backup designated router to optimize this exchange.
- Routers using OSPF establish neighbor relationships, synchronize their link-state databases, and calculate the shortest path to all known destinations using an algorithm on the link-state database.
The document provides information on configuring the OSPF routing protocol. It discusses OSPF link-state routing concepts, areas, adjacencies, and the SPF algorithm. It also covers configuring OSPF on routers, including enabling OSPF routing, defining network statements, and setting the OSPF router ID using a loopback interface or router-id command. Debugging OSPF packets is demonstrated using the debug ip ospf packet command.
This document provides an in-depth analysis of the Open Shortest Path First (OSPF) routing protocol. It is divided into three parts, with part one covering OSPF theory and definitions related topics like area types, router roles, metrics, neighbors, packet types, states, and designated routers. Part two contains multiple practice labs for experimenting with OSPF configurations. Part three lists reference materials and notes.
This document provides an overview of the Open Shortest Path First (OSPF) routing protocol. It explains that OSPF is a link-state interior gateway protocol that uses shortest path first (SPF) algorithm to calculate routes. It describes OSPF's key features such as using link state advertisements, flooding, authentication, routing hierarchy with areas and backbone, and different message formats. The document also explains OSPF's routing algorithm which involves exchanging link state packets, building a link state database, and using Dijkstra's algorithm to calculate the shortest path tree and routing tables.
This document provides an overview of single-area OSPFv2 concepts, including:
- OSPF is a link-state routing protocol that uses areas to divide a network and control routing updates. It establishes neighbor adjacencies to exchange routing information.
- OSPF uses five packet types and three database tables to discover neighbors, build topology of the network, and determine the best routes. It uses the Dijkstra algorithm to calculate the shortest paths.
- The document focuses on basic configuration and operation of single-area OSPFv2, where all routers are in one area for simpler implementation.
Open Shortest Path First (OSPF) || 2020 || Ser-2Nutan Singh
油
Open Shortest Path First (OSPF) is a routing protocol for Internet Protocol (IP) networks. It uses a link state routing (LSR) algorithm and falls into the group of interior gateway protocols (IGPs), operating within a single autonomous system (AS). It is defined as OSPF Version 2 in RFC 2328 (1998) for IPv4.
The document provides information about Open Shortest Path First (OSPF) routing protocol. It describes key OSPF concepts like link state advertisements, neighbor, topology and routing tables, designated routers, areas, and basic OSPF configuration. It also lists show commands to verify OSPF operation and view routing tables, neighbors, interfaces, and other OSPF information.
This document provides an overview of OSPFv3, the Open Shortest Path First routing protocol for IPv6 networks. It describes the key differences between OSPFv3 and OSPFv2, including that OSPFv3 runs per link instead of per subnet, uses new LSA types to advertise addresses and link-local addresses, and has additional option bits. The document also covers common aspects like the use of multicast, DR election, the database exchange process, and the different OSPF packet types.
The document discusses a lecture on link-state routing protocols, specifically OSPF. It introduces OSPF, describing its advantages over distance vector routing protocols like RIP. The lecture covers OSPF concepts like neighbor establishment, the SPF algorithm, and building the OSPF routing table.
he Associate level of Cisco Certifications can begin directly with CCNA for network installation, operations and troubleshooting or CCDA for network design. Think of the Associate Level as the foundation level of networking certification.
The document discusses dynamic routing and OSPF. It explains that dynamic routing allows routers to automatically share information with each other to determine optimal paths, in contrast to static routing where paths must be manually configured. OSPF is introduced as a common dynamic interior gateway protocol that uses a link-state algorithm to build a map of the entire network topology and calculate the shortest paths.
OSPF is an IGP standardized by the IETF and commonly used in large Enterprise networks. OSPF is a link-state routing protocol providing fast convergence and excellent scalability. Basically this presentation contains information about the OSPF routing protocol. As much as possible the information was tried to be summarized and a slideshow of visual weight was made.
A PROJECT REPORT
On
CISCO CERTIFIED NETWORK ASSOCIATE
A computer network, or simply a network, is a collection of computer and other hardware components interconnected by communication channels that allow sharing of resources and information. Where at least one process in one device is able to send/receive data to/from at least one process residing in a remote device, then the two devices are said to be in a network. Simply, more than one computer interconnected through a communication medium for information interchange is called a computer network.
Routing protocols exchange information to determine the best paths between sources and destinations in a network. The document discusses several routing protocols:
Distance vector protocols like RIP propagate routing tables between routers periodically. They are simple to configure but slow to converge. Link state protocols like OSPF use link state advertisements to build a map of the network and calculate the lowest cost paths more quickly. OSPF divides large networks into areas to reduce routing table sizes and convergence times. It elects routers on area borders to aggregate routing information between areas.
OSPFv3 is an extension of OSPFv2 for IPv6 networks. Key differences include OSPFv3 running per link instead of per subnet, using link-local addresses, supporting multiple instances per link, identifying neighbors by router ID instead of IP address, removing authentication from packet headers, and expanding LSA flooding scope and handling unknown LSAs. OSPFv3 also introduces new packet formats, options field, and LSA types while keeping common concepts such as areas, link state database, and SPF algorithm from OSPFv2.
This document provides an overview of the Open Shortest Path First (OSPF) routing protocol. It defines key OSPF terminology like link, router ID, neighbors, adjacency, area, backbone area, Area Border Router (ABR), Autonomous System Boundary Router (ASBR). It describes OSPF network types, neighbor tables, topology tables, routing tables, and the link state advertisement (LSA) process. It also covers OSPF configuration, path calculation using the Dijkstra algorithm, and advantages of OSPF like rapid convergence and scalability.
This document provides an overview of the Open Shortest Path First (OSPF) routing protocol. It defines key OSPF concepts like link state advertisements (LSAs), neighbor and topology tables, designated routers (DRs), flooding, shortest path first (SPF) algorithm, and areas. It also compares OSPF to distance vector protocols, describes OSPF network types and neighbor relationships, and provides examples of basic OSPF configuration.
This document provides an overview of the Open Shortest Path First (OSPF) routing protocol. It describes key OSPF concepts like link state routing, areas, neighbor relationships, designated routers, link state advertisements, and shortest path first algorithms. It also provides configuration examples and compares OSPF to other routing protocols.
This document provides an overview of the Open Shortest Path First (OSPF) routing protocol. It describes key OSPF concepts like link state routing, areas, neighbor relationships, designated routers, link state advertisements, and shortest path first algorithms. It also provides configuration examples and compares OSPF to other routing protocols.
"Zen and the Art of Industrial Construction"
Once upon a time in Gujarat, Plinth and Roofs was working on a massive industrial shed project. Everything was going smoothlyblueprints were flawless, steel structures were rising, and even the cement was behaving. That is, until...
Meet Ramesh, the Stressed Engineer.
Ramesh was a perfectionist. He measured bolts with the precision of a Swiss watchmaker and treated every steel beam like his own child. But as the deadline approached, Rameshs stress levels skyrocketed.
One day, he called Parul, the total management & marketing mastermind.
Ramesh (panicking): "Parul maam! The roof isn't aligning by 0.2 degrees! This is a disaster!"
Parul (calmly): "Ramesh, have you tried... meditating?"
、 Ramesh: "Meditating? Maam, I have 500 workers on-site, and you want me to sit cross-legged and hum Om?"
Parul: "Exactly. Mystic of Seven can help!"
Reluctantly, Ramesh agreed to a 5-minute guided meditation session.
He closed his eyes.
鏝 He breathed deeply.
He chanted "Om Namah Roofaya" (his custom version of a mantra).
When he opened his eyes, a miracle happened!
ッ His mind was clear.
The roof magically aligned (okay, maybe the team just adjusted it while he was meditating).
And for the first time, Ramesh smiled instead of calculating load capacities in his head.
Lesson Learned: Sometimes, even in industrial construction, a little bit of mindfulness goes a long way.
From that day on, Plinth and Roofs introduced tea breaks with meditation sessions, and productivity skyrocketed!
Moral of the story: "When in doubt, breathe it out!"
#PlinthAndRoofs #MysticOfSeven #ZenConstruction #MindfulEngineering
EXPLORE 6 EXCITING DOMAINS:
1. Machine Learning: Discover the world of AI and ML!
2. App Development: Build innovative mobile apps!
3. Competitive Programming: Enhance your coding skills!
4. Web Development: Create stunning web applications!
5. Blockchain: Uncover the power of decentralized tech!
6. Cloud Computing: Explore the world of cloud infrastructure!
Join us to unravel the unexplored, network with like-minded individuals, and dive into the world of tech!
- OSPF is a link-state routing protocol that is more scalable than RIP. It builds a complete "map" of the network to avoid routing loops.
- OSPF uses link-state advertisements and flooding to exchange routing information between routers. It elects a designated router and backup designated router to optimize this exchange.
- Routers using OSPF establish neighbor relationships, synchronize their link-state databases, and calculate the shortest path to all known destinations using an algorithm on the link-state database.
The document provides information on configuring the OSPF routing protocol. It discusses OSPF link-state routing concepts, areas, adjacencies, and the SPF algorithm. It also covers configuring OSPF on routers, including enabling OSPF routing, defining network statements, and setting the OSPF router ID using a loopback interface or router-id command. Debugging OSPF packets is demonstrated using the debug ip ospf packet command.
This document provides an in-depth analysis of the Open Shortest Path First (OSPF) routing protocol. It is divided into three parts, with part one covering OSPF theory and definitions related topics like area types, router roles, metrics, neighbors, packet types, states, and designated routers. Part two contains multiple practice labs for experimenting with OSPF configurations. Part three lists reference materials and notes.
This document provides an overview of the Open Shortest Path First (OSPF) routing protocol. It explains that OSPF is a link-state interior gateway protocol that uses shortest path first (SPF) algorithm to calculate routes. It describes OSPF's key features such as using link state advertisements, flooding, authentication, routing hierarchy with areas and backbone, and different message formats. The document also explains OSPF's routing algorithm which involves exchanging link state packets, building a link state database, and using Dijkstra's algorithm to calculate the shortest path tree and routing tables.
This document provides an overview of single-area OSPFv2 concepts, including:
- OSPF is a link-state routing protocol that uses areas to divide a network and control routing updates. It establishes neighbor adjacencies to exchange routing information.
- OSPF uses five packet types and three database tables to discover neighbors, build topology of the network, and determine the best routes. It uses the Dijkstra algorithm to calculate the shortest paths.
- The document focuses on basic configuration and operation of single-area OSPFv2, where all routers are in one area for simpler implementation.
Open Shortest Path First (OSPF) || 2020 || Ser-2Nutan Singh
油
Open Shortest Path First (OSPF) is a routing protocol for Internet Protocol (IP) networks. It uses a link state routing (LSR) algorithm and falls into the group of interior gateway protocols (IGPs), operating within a single autonomous system (AS). It is defined as OSPF Version 2 in RFC 2328 (1998) for IPv4.
The document provides information about Open Shortest Path First (OSPF) routing protocol. It describes key OSPF concepts like link state advertisements, neighbor, topology and routing tables, designated routers, areas, and basic OSPF configuration. It also lists show commands to verify OSPF operation and view routing tables, neighbors, interfaces, and other OSPF information.
This document provides an overview of OSPFv3, the Open Shortest Path First routing protocol for IPv6 networks. It describes the key differences between OSPFv3 and OSPFv2, including that OSPFv3 runs per link instead of per subnet, uses new LSA types to advertise addresses and link-local addresses, and has additional option bits. The document also covers common aspects like the use of multicast, DR election, the database exchange process, and the different OSPF packet types.
The document discusses a lecture on link-state routing protocols, specifically OSPF. It introduces OSPF, describing its advantages over distance vector routing protocols like RIP. The lecture covers OSPF concepts like neighbor establishment, the SPF algorithm, and building the OSPF routing table.
he Associate level of Cisco Certifications can begin directly with CCNA for network installation, operations and troubleshooting or CCDA for network design. Think of the Associate Level as the foundation level of networking certification.
The document discusses dynamic routing and OSPF. It explains that dynamic routing allows routers to automatically share information with each other to determine optimal paths, in contrast to static routing where paths must be manually configured. OSPF is introduced as a common dynamic interior gateway protocol that uses a link-state algorithm to build a map of the entire network topology and calculate the shortest paths.
OSPF is an IGP standardized by the IETF and commonly used in large Enterprise networks. OSPF is a link-state routing protocol providing fast convergence and excellent scalability. Basically this presentation contains information about the OSPF routing protocol. As much as possible the information was tried to be summarized and a slideshow of visual weight was made.
A PROJECT REPORT
On
CISCO CERTIFIED NETWORK ASSOCIATE
A computer network, or simply a network, is a collection of computer and other hardware components interconnected by communication channels that allow sharing of resources and information. Where at least one process in one device is able to send/receive data to/from at least one process residing in a remote device, then the two devices are said to be in a network. Simply, more than one computer interconnected through a communication medium for information interchange is called a computer network.
Routing protocols exchange information to determine the best paths between sources and destinations in a network. The document discusses several routing protocols:
Distance vector protocols like RIP propagate routing tables between routers periodically. They are simple to configure but slow to converge. Link state protocols like OSPF use link state advertisements to build a map of the network and calculate the lowest cost paths more quickly. OSPF divides large networks into areas to reduce routing table sizes and convergence times. It elects routers on area borders to aggregate routing information between areas.
OSPFv3 is an extension of OSPFv2 for IPv6 networks. Key differences include OSPFv3 running per link instead of per subnet, using link-local addresses, supporting multiple instances per link, identifying neighbors by router ID instead of IP address, removing authentication from packet headers, and expanding LSA flooding scope and handling unknown LSAs. OSPFv3 also introduces new packet formats, options field, and LSA types while keeping common concepts such as areas, link state database, and SPF algorithm from OSPFv2.
This document provides an overview of the Open Shortest Path First (OSPF) routing protocol. It defines key OSPF terminology like link, router ID, neighbors, adjacency, area, backbone area, Area Border Router (ABR), Autonomous System Boundary Router (ASBR). It describes OSPF network types, neighbor tables, topology tables, routing tables, and the link state advertisement (LSA) process. It also covers OSPF configuration, path calculation using the Dijkstra algorithm, and advantages of OSPF like rapid convergence and scalability.
This document provides an overview of the Open Shortest Path First (OSPF) routing protocol. It defines key OSPF concepts like link state advertisements (LSAs), neighbor and topology tables, designated routers (DRs), flooding, shortest path first (SPF) algorithm, and areas. It also compares OSPF to distance vector protocols, describes OSPF network types and neighbor relationships, and provides examples of basic OSPF configuration.
This document provides an overview of the Open Shortest Path First (OSPF) routing protocol. It describes key OSPF concepts like link state routing, areas, neighbor relationships, designated routers, link state advertisements, and shortest path first algorithms. It also provides configuration examples and compares OSPF to other routing protocols.
This document provides an overview of the Open Shortest Path First (OSPF) routing protocol. It describes key OSPF concepts like link state routing, areas, neighbor relationships, designated routers, link state advertisements, and shortest path first algorithms. It also provides configuration examples and compares OSPF to other routing protocols.
"Zen and the Art of Industrial Construction"
Once upon a time in Gujarat, Plinth and Roofs was working on a massive industrial shed project. Everything was going smoothlyblueprints were flawless, steel structures were rising, and even the cement was behaving. That is, until...
Meet Ramesh, the Stressed Engineer.
Ramesh was a perfectionist. He measured bolts with the precision of a Swiss watchmaker and treated every steel beam like his own child. But as the deadline approached, Rameshs stress levels skyrocketed.
One day, he called Parul, the total management & marketing mastermind.
Ramesh (panicking): "Parul maam! The roof isn't aligning by 0.2 degrees! This is a disaster!"
Parul (calmly): "Ramesh, have you tried... meditating?"
、 Ramesh: "Meditating? Maam, I have 500 workers on-site, and you want me to sit cross-legged and hum Om?"
Parul: "Exactly. Mystic of Seven can help!"
Reluctantly, Ramesh agreed to a 5-minute guided meditation session.
He closed his eyes.
鏝 He breathed deeply.
He chanted "Om Namah Roofaya" (his custom version of a mantra).
When he opened his eyes, a miracle happened!
ッ His mind was clear.
The roof magically aligned (okay, maybe the team just adjusted it while he was meditating).
And for the first time, Ramesh smiled instead of calculating load capacities in his head.
Lesson Learned: Sometimes, even in industrial construction, a little bit of mindfulness goes a long way.
From that day on, Plinth and Roofs introduced tea breaks with meditation sessions, and productivity skyrocketed!
Moral of the story: "When in doubt, breathe it out!"
#PlinthAndRoofs #MysticOfSeven #ZenConstruction #MindfulEngineering
EXPLORE 6 EXCITING DOMAINS:
1. Machine Learning: Discover the world of AI and ML!
2. App Development: Build innovative mobile apps!
3. Competitive Programming: Enhance your coding skills!
4. Web Development: Create stunning web applications!
5. Blockchain: Uncover the power of decentralized tech!
6. Cloud Computing: Explore the world of cloud infrastructure!
Join us to unravel the unexplored, network with like-minded individuals, and dive into the world of tech!
Welcome to the March 2025 issue of WIPAC Monthly the magazine brought to you by the LinkedIn Group WIPAC Monthly.
In this month's edition, on top of the month's news from the water industry we cover subjects from the intelligent use of wastewater networks, the use of machine learning in water quality as well as how, we as an industry, need to develop the skills base in developing areas such as Machine Learning and Artificial Intelligence.
Enjoy the latest edition
This presentation provides an in-depth analysis of structural quality control in the KRP 401600 section of the Copper Processing Plant-3 (MOF-3) in Uzbekistan. As a Structural QA/QC Inspector, I have identified critical welding defects, alignment issues, bolting problems, and joint fit-up concerns.
Key topics covered:
Common Structural Defects Welding porosity, misalignment, bolting errors, and more.
Root Cause Analysis Understanding why these defects occur.
Corrective & Preventive Actions Effective solutions to improve quality.
Team Responsibilities Roles of supervisors, welders, fitters, and QC inspectors.
Inspection & Quality Control Enhancements Advanced techniques for defect detection.
Applicable Standards: GOST, KMK, SNK Ensuring compliance with international quality benchmarks.
This presentation is a must-watch for:
QA/QC Inspectors, Structural Engineers, Welding Inspectors, and Project Managers in the construction & oil & gas industries.
Professionals looking to improve quality control processes in large-scale industrial projects.
Download & share your thoughts! Let's discuss best practices for enhancing structural integrity in industrial projects.
Categories:
Engineering
Construction
Quality Control
Welding Inspection
Project Management
Tags:
#QAQC #StructuralInspection #WeldingDefects #BoltingIssues #ConstructionQuality #Engineering #GOSTStandards #WeldingInspection #QualityControl #ProjectManagement #MOF3 #CopperProcessing #StructuralEngineering #NDT #OilAndGas
Gauges are a Pump's Best Friend - Troubleshooting and Operations - v.07Brian Gongol
油
No reputable doctor would try to conduct a basic physical exam without the help of a stethoscope. That's because the stethoscope is the best tool for gaining a basic "look" inside the key systems of the human body. Gauges perform a similar function for pumping systems, allowing technicians to "see" inside the pump without having to break anything open. Knowing what to do with the information gained takes practice and systemic thinking. This is a primer in how to do that.
Optimization of Cumulative Energy, Exergy Consumption and Environmental Life ...J. Agricultural Machinery
油
Optimal use of resources, including energy, is one of the most important principles in modern and sustainable agricultural systems. Exergy analysis and life cycle assessment were used to study the efficient use of inputs, energy consumption reduction, and various environmental effects in the corn production system in Lorestan province, Iran. The required data were collected from farmers in Lorestan province using random sampling. The Cobb-Douglas equation and data envelopment analysis were utilized for modeling and optimizing cumulative energy and exergy consumption (CEnC and CExC) and devising strategies to mitigate the environmental impacts of corn production. The Cobb-Douglas equation results revealed that electricity, diesel fuel, and N-fertilizer were the major contributors to CExC in the corn production system. According to the Data Envelopment Analysis (DEA) results, the average efficiency of all farms in terms of CExC was 94.7% in the CCR model and 97.8% in the BCC model. Furthermore, the results indicated that there was excessive consumption of inputs, particularly potassium and phosphate fertilizers. By adopting more suitable methods based on DEA of efficient farmers, it was possible to save 6.47, 10.42, 7.40, 13.32, 31.29, 3.25, and 6.78% in the exergy consumption of diesel fuel, electricity, machinery, chemical fertilizers, biocides, seeds, and irrigation, respectively.
. マ留 裡留略龍侶: Foundation Analysis and Design: Single Piles
Welcome to this comprehensive presentation on "Foundation Analysis and Design," focusing on Single PilesStatic Capacity, Lateral Loads, and Pile/Pole Buckling. This presentation will explore the fundamental concepts, equations, and practical considerations for designing and analyzing pile foundations.
We'll examine different pile types, their characteristics, load transfer mechanisms, and the complex interactions between piles and surrounding soil. Throughout this presentation, we'll highlight key equations and methodologies for calculating pile capacities under various conditions.
This PDF highlights how engineering model making helps turn designs into functional prototypes, aiding in visualization, testing, and refinement. It covers different types of models used in industries like architecture, automotive, and aerospace, emphasizing cost and time efficiency.
How to Build a Maze Solving Robot Using ArduinoCircuitDigest
油
Learn how to make an Arduino-powered robot that can navigate mazes on its own using IR sensors and "Hand on the wall" algorithm.
This step-by-step guide will show you how to build your own maze-solving robot using Arduino UNO, three IR sensors, and basic components that you can easily find in your local electronics shop.
3. + CH2 p3 Outline
Link State Routing Protocols
Link-State Routing Process
Advantages and disadvantages of link state routing protocols
OSPF Routing Protocol
Components of OSPF
OSPF Terminologies
OSPF Operation
OSPF Operational State
Dijkstras Algorithm
5. + Link-State Routing Protocols
In contrast to distance vector routing protocol
operation, a router configured with a link-state routing
protocol can create a complete view or topology of the
network by gathering information from all of the other
routers.
A link-state router uses the link-state information to
create a topology map and to select the best path to
all destination networks in the topology
7. +
Link and Link-State
The first step in the link-state routing process is that each router
learns about its own links, its own directly connected networks.
8. + Say Hello
The second step in the link-state routing process is that each
router is responsible for meeting its neighbors on directly
connected networks.
9. + Link State Updates
The third step in the link-state routing process is that each router
builds a link-state packet (LSP) containing the state of each
directly connected link.
10. + Flooding the LSP and
Building the Link-State Database
The fourth step in the link-state routing process is that each router
floods the LSP to all neighbors, who then store all LSPs received
in a database.
11. +
Computing the Best Path
The final step in the link-state routing process is that each router
uses the database to construct a complete map of the topology
and computes the best path to each destination network.
12. +Adding Routes to the Routing Table
The best paths are inserted into the routing table
13. +Why Use Link-State Protocols?
Disadvantages compared to distance vector
routing protocols:
Memory Requirements
Processing Requirements
Bandwidth Requirements
14. +Protocols that Use Link-State
Only two link-state routing protocols:
Open Shortest Path First (OSPF)
most popular
two current versions
OSPFv2 - OSPF for IPv4 networks
OSPFv3 - OSPF for IPv6 networks
IS-IS
was designed by ISO
popular in provider networks
16. +
OSPF
OSPF is an IGP routing protocol.
It is a Link State routing Protocol based on SPF technology.
OSPF has fast convergence
OSPF supports VLSM and CIDR
Ciscos OSPF metric is based on bandwidth
OSPF only sends out changes when they occur.
periodic updates (link-state refresh) every 30 minutes.
OSPF also uses the concept of areas to implement hierarchical
routing
17. +
Link State Routing
In link state routing, each router shares its knowledge about its
neighborhood with every router in the area.
The three features:
Sharing knowledge about the neighborhood.
Sharing with every other router.
Sharing when there is a change.
21. +
Components of OSPF
OSPF Routers Exchange Packets
These packets are used to discover neighboring routers and
also to exchange routing information to maintain accurate
information about the network.
22. +
Components of OSPF
OSPF Routers run Dijkstras Algorithm to compute the best path
to each destination network.
23. +
OSPF Routing Protocol
Components of OSPF
OSPF Terminologies
OSPF Operation
OSPF Operational State
Dijkstras Algorithm
Link, Link State and
LSDB.
Area.
OSPF Route Types
OSPF Routers
Classifications.
OSPF Packets
24. +
Link and Link State
Link: Interface on a router
Link state: Description of an interface and of its relationship to its
neighboring routers, including:
IP address/mask of the interface,
The type of network it is connected to
The routers connected to that network
The metric (cost) of that link
The collection of all the link-states would form a link-state database
(LSDB).
26. +
Area
OSPF allows the grouping of routers into a set, called an area.
An area is a collection of networks, hosts, and routers all
contained within an AS.
An AS can be divided into many different areas.
All networks inside area must be connected.
27. +
Area
Routers inside an area flood the area with routing information.
This technique minimizes the routing traffic required for the
protocol.
28. +
Area
The topology of an area is hidden from the rest of the AS
Inside an area, each router has an identical LSDB.
Each area has its own copy of the topological database.
At the border of an area, special routers called area border routers
summarize the information about the area and send it to other areas.
29. +
Area
Among the areas inside an AS is a special area called the
backbone.
All the areas inside an AS must be connected to the backbone.
The routers inside the backbone are called the backbone
routers.
Note that a backbone router can also be an area border router.
30. +
Area
Each area has an area identification.
The area identification of the backbone is zero.
31. +
Area
With multiarea, routing within the AS takes place on two levels,
depending on whether the route to the destination lies entirely
within an area (intra-area routing) or in another area (inter-area
routing).
When a packet must be routed between two areas, the
backbone is used.
33. +
OSPF Routers Classifications
OSPF routers can be classified into four overlapping types:
Internal routers,
Area Border routers,
Backbone routers, and
Autonomous system boundary routers
Area 0
Area 2 Area 3
IR
ABR/BR
To another AS
ASBR
37. +
OSPF Operation
To maintain routing information, OSPF routers complete the
following generic link-state routing process to reach a state of
convergence
Exchanging
Hello
packets
Exchanging
LSAs
Creating
SPF Tree
Updating
routing table
1 2 3 and 4 5
38. +
1. Establish Neighbor Adjacencies
An OSPF-enabled router
sends Hello packets out all
OSPF-enabled interfaces to
determine if neighbors are
present on those links.
If a neighbor is present, the
OSPF-enabled router
attempts to establish a
neighbor adjacency with that
neighbor.
39. +
Establish Neighbor Adjacencies
OSPF creates adjacencies between neighboring routers.
The reason for forming adjacencies is to exchange topological
information.
Not every router needs to become adjacent to every other router.
Adjacencies are established and maintained with hello packets.
These packets are sent periodically.
40. +
2- Exchanging Link State Advertisements
LSAs contain the state and
cost of each directly
connected link.
Routers flood their LSAs to
adjacent neighbors.
Adjacent neighbors receiving
the LSA immediately flood the
LSA to other directly
connected neighbors, until all
routers in the area have all
LSAs.
41. +
3. Build the Topology Table
After LSAs are received,
OSPF-enabled routers build
the topology table (LSDB)
based on the received LSAs.
This database eventually holds
all the information about the
topology of the network.
42. +
4. Execute the SPF Algorithm
Routers then execute the SPF algorithm that creates the SPF tree.
43. +
5- Updating routing table
From the SPF tree, the best paths are inserted into the routing
table.
44. +
OSPF Routing Protocol
Components of OSPF
OSPF Terminologies
OSPF Operation
OSPF Operational State
Route calculation and Dijkstras
Algorithm
45. +
OSPF Operational States
When an OSPF router is initially
connected to a network, it attempts
to:
Create adjacencies with
neighbors
Exchange routing information
Calculate the best routes
Reach convergence
OSPF router progresses through
several states while attempting
to reach convergence.
46. +
Establish Neighbor Adjacencies
OSPF-enabled routers must form adjacencies with their
neighbor before they can share information with that
neighbor.
When OSPF is enabled on an interface, the router must
determine if there is another OSPF neighbor on the link.
To accomplish this, the router forwards a Hello packet that
contains its router ID out all OSPF-enabled interfaces to
determine whether neighbors are present on those links.
If a neighbor is present, the OSPF-enabled router attempts
to establish a neighbor adjacency with that neighbor.
48. +
Down State
This is the first OSPF neighbor adjacency state.
It means that no information (Hellos) has been received,
but Hello packets can still be sent to the neighbor in this
state.
49. +
Down to Init State
In the first step, routers that intend to establish an OSPF
neighbor adjacency exchange a Hello packets.
* A Cisco router includes the Router IDs of all neighbors in the init (or higher) state in its Hello
packets.
50. +
Init State
When a router receives a Hello packet with a router ID
that is not within its neighbor list, the receiving router
attempts to establish an adjacency with the initiating
router.
1- adds the R1 router ID to its neighbor list
2- sends a Hello packet to R1
51. +
A router transit to
Init State when
It is in Down state
and it starts
sending Hello
packet
It receives a Hello
packet with a
router ID that is not
within its neighbor
list
52. +
Init State
Init state specifies that the router has received a Hello packet
from its neighbor, but the receiving router's ID was not
included in the hello packet.
53. +
2-Way State
When the router sees its own router ID in the Hello packet
received from the neighbor, it will transit to the 2-Way state.
This means that bidirectional communication with the neighbor
has been established.
1- adds the R2 Router ID in its list of OSPF neighbors.
2- its own Router ID in the Hello packet
54. +
When a router
receives a Hello
packet with
its Router ID listed in
the list of neighbors,
it will transit from the
Init state to the Two-
Way state
its Router ID not
listed in the list of
neighbors, it will
transit to the Init
state
*The transtion to 2-Way state happens if the router is in the Init state
55. +
2-Way State
The action performed in Two-Way state depends on the
type of inter-connection between the adjacent routers:
If the link is a point-to-point link, then they immediately transition from
the Two-Way state to the database synchronization phase.
If the routers are interconnected over a multiaccess network, then a
designated router(DR) and a backup designated router (BDR) must
be elected.
56. +
Why a DR and a BDR
Multiaccess networks can create two challenges :
Creation of multiple adjacencies
Extensive flooding of LSAs
57. +
Why a DR and a BDR
The solution to managing the number of adjacencies and the
flooding of LSAs on a multiaccess network is the DR.
On multiaccess networks, OSPF elects a DR to be the
collection and distribution point for LSAs sent and received.
A BDR is also elected in case the DR fails.
All other routers become DROTHERs. A DROTHER is a router
that is neither the DR nor the BDR.
58. +
DR and BDR
The DR and BDR act as a central point of contact for link-state
information exchange on a multiaccess network.
Each router must establish a full adjacency with the DR and the
BDR only.
Each router, rather than exchanging LSA with every other
router on the segment, sends the LSA to the DR and BDR only.
59. +
DR and BDR
DR router performs the following tasks:
Network Links Advertisement
The DR originates the network LSA for the network.
Managing LSDB synchronization:
The DR and BDR ensure that the other routers on the network have
the same link-state information about the common segment.
60. +
DR and BDR
When the DR is operating, the BDR does not perform any DR
functions.
Instead, the BDR receives all the information, but the DR
performs the LSA forwarding and LSDB synchronization tasks.
The BDR performs the DR tasks only if the DR fails.
When the DR fails, the BDR automatically becomes the new
DR, and a new BDR election occurs.
62. +
Synchronizing OSPF Databases
While the Hello packet was used to establish neighbor
adjacencies, the other four types of OSPF packets are used
during the process of exchanging and synchronizing LSDBs.
63. +
ExStart state
In the ExStart state, a master and slave relationship is created
between each router and its adjacent DR and BDR.
The router with the higher router ID acts as the master for the
Exchange state.
64. +
Exchange state
In the Exchange state, the master and slave routers exchange
one or more DBD packets.
DBD packets is an abbreviated list of the sending routers
LSDB and is used by receiving routers to check against the
local LSDB.
The LSDB must be identical on all OSPF routers within an area
to construct an accurate SPF tree.
66. +
Loading State
When a router receives a DBD packet, it compares the
information received with the information it has in its own
LSDB.
If the DBD packet has a more current LSA or has an LSA that is
not in its LSDB, the router transitions to the Loading state.
68. +
Loading State
In this state, the actual exchange of link state information
occurs.
Based on the information provided by the DBDs, routers send
link-state request (LSR) packets.
The neighbor then provides the requested link-state information
in link-state update (LSU) packets.
During the adjacency, if a router receives an outdated or
missing LSA, it requests that LSA by sending a LSR packet.
All link-state update packets are acknowledged.
69. +
Full State
After all LSRs have been satisfied for a given router, the
adjacent routers are considered synchronized (have identical
LSDBs ) and in a full state.
70. I am router id 172.16.5.2, and I see 172.16.5.1
I am router id 172.16.5.1, and I see no one
B
A
172.16.5.1/24
172.16.5.2/24
hello
To 224.0.0.5
Down state
Initial State
Port1
Port2
Router B neighbor List
172.16.5.1/24,in Port2
hello
Router A neighbor List
172.16.5.2/24,in Port1
Two-way State
Unicast to A
Establishing Bidirectional Communication
71. Here is a summary of my LSDB
No, Ill start exchange because I have a higher RID
I will start exchange because I have router id 172.16.5.1
B
A
172.16.5.1/24
172.16.5.2/24
DBD
Exstart state
exchange State
Port1
Port2
DBD
Discovering the Network Routes
Here is a summary of my LSDB
DBD
DBD
72. Thanks for the information!
B
A
172.16.5.1/24
172.16.5.2/24
LSAck
Loading state
Full State
Port1
Port2
Adding the Link-State Entries
LSAck
I need complete entry for network 172.16.6.0/24
LSR
Here is the entry for network 172.16.6.0/24
LSU
LSAck
Thanks for the information!
73. +
OSPF Routing Protocol
Components of OSPF
OSPF Terminologies
OSPF Operation
OSPF Operational State
Route calculation and Dijkstras
Algorithm
#6: A link-state routing protocol is like having a complete map of the network topology. The sign posts along the way from source to destination are not necessary, because all link-state routers are using an identical map of the network. A link-state router uses the link-state information to create a topology map and to select the best path to all destination networks in the topology.
#17: OSPF is link-state routing protocol
RIP is distance-vector routing protocol, susceptible to routing loops, split-horizon, and other issues.
OSPF has fast convergence
OSPF supports VLSM and CIDR
RIPv1 does not
Ciscos OSPF metric is based on bandwidth
RIP is based on hop count
OSPF only sends out changes when they occur.
RIP sends entire routing table every 30 seconds.
periodic updates (link-state refresh) every 30 minutes.
OSPF also uses the concept of areas to implement hierarchical routing
#30: In other words, the backbone serves as a primary area and the other areas as secondary areas.
#32: The packet is first routed to the Area Border Router. The packet is then routed through the backbone to another area border router acting for the destination area. The packet is finally routed through the destination area to the specific destination
#36: These packets are used to discover neighboring routers and also to exchange routing information to maintain accurate information about the network.
#47: The OSPF router ID is used by the OSPF process to uniquely identify each router in the OSPF area.
A router ID is an IP address assigned to identify a specific router among OSPF peers.
#50: When OSPF is enabled, the enabled Gigabit Ethernet 0/0 interface transitions from the Down state to the Init state.
Refer to R1 in Figure 1. When OSPF is enabled, the enabled Gigabit Ethernet 0/0 interface transitions from the Down state to the Init state. R1 starts sending Hello packets out all OSPF-enabled interfaces to discover OSPF neighbors to develop adjacencies with.
#51: In Figure 2, R2 receives the Hello packet from R1 and adds the R1 router ID to its neighbor list. R2 then sends a Hello packet to R1. The packet contains the R2 Router ID and the R1 Router ID in its list of neighbors on the same interface.
#53: When a router receives a Hello from the neighbor but has not yet seen its own router ID in the neighbor Hello packet, it will transit to the Init state.
In this state, the router will record all neighbor router IDs and start including them in Hellos sent to the neighbors.
#54: In Figure 3, R1 receives the Hello and adds the R2 Router ID in its list of OSPF neighbors. It also notices its own Router ID in the Hello packets list of neighbors. When a router receives a Hello packet with its Router ID listed in the list of neighbors, the router transitions from the Init state to the Two-Way state
This state designates that bi-directional communication has been established between two routers. Bi-directional means that each router has seen the other's hello packet. This state is attained when the router receiving the hello packet sees its own Router ID within the received hello packet's neighbor field.
#56: broadcast media and non-broadcast multiaccess networks
#58: On broadcast links, OSPF neighbors first determine the designated router (DR) and backup designated router (BDR) roles, which optimize the exchange of information in broadcast segments.
#68: the router adds an entry to its Link State Request list