Vous êtes sur la page 1sur 5

Type text to search here...

Home ~ OSPF Tutorial


OSPF Tutorial
December 3rd, 2010 Go to comments
There are 3 type oI tables
Neighbor
Topology
Routing
Neighbor table
Contain inIormation about the neighbors
Neighbor is a router which shares a link on same network
Another relationship is adjacency
Not necessarily all neighbors
LSA updates are only when adjacency is established
Topology table
Contain inIormation about all network and path to reach any network
All LSA`s are entered into the topology table
When topology changes LSA`s are generated and send new LSA`s
On topology table an algorithm is run to create a shortest path, this algorithm is known as SPF or dijkstra
algorithm
Routing Table
Also knows as Iorwarding database
Generated when an algorithm is run on the topology database
Routing table Ior each router is unique
D: Exchange LSDB`s list
Neighbors use DD (Data Description) to exchange their LSDB catalogs. In this scenario, R1 sends DD to
R2 Iirst. It says: I have a Route LSA Irom R1. R2 also sends DD to R1: I have a Route LSA Irom R2.
1f10f2013 CCNA Training OSPF Tutorial
9tut.comf.f3 1f5
Note: DD works like table Io content. It lists what LSDB has, but not details. By reading DD, the receiving
router can determine what it is missing and them ask the sender to transmit required LSAs..
R1 Request, R2 Update
R1 has learned that R2 has a R2 Router LSA that it does not have.
R1 sends a LS Request to R2. When R2 receives this request, it sends an Update to transmit this LSA to R1.
R2 Request, R1 Update
R2 also sends request to R1. R1 replies an Update. Upon receiving Update, R2 adds R1 Router LSA to its
LSDB, calculates its routes, and add a new entry (192.168.1.0, S1/0) to its routing tabe.
Note: OSPF works distributely. AIter routers have synchronized their LSDB, they use the same data (LSDB)
to calculate shortest paths, and updates their routing tables independently.
Ack update : LSAs are received
In order to assure reliable transmission, when a router receives an Update, it sends an Ack to the Update
sender. II the sender does not receivie Ack within a speciIic peried, it times out and retransmits Update.
Note: OSPF uses Update-Ack to implemnet relaible transmission. It does not use TCP.
H1 ping H2: succeeded.
Each OSPF router creates a Router LSA to describe its interIaces` IP addresses and Iloods its Router LSA
to its neighbors. AIter a Iew rounds oI Ilooding, all OSPF routers have the same set oI Router LSAs in their
LSDBs. Now routers can use the same LSDB to calculate routes and update routing tables.
From LSDB, a router learns the entire topology: the number oI routers being connected. Router interIaces
and their IP addresses, interIace link costs (OSPF metric). With such detail inIormation, routers are able to
calculate routing paths to reach all destinations Iound in LSDB. For example, in the OSPF basic simulation
(see External links), R1's LSDB contains two Router LSAs: A Router LSA Irom R1. R1 has two links.
Their IP addresses are 192.168.1.0/24,192.168.3.0/30. A Router LSA Irom R2. R2 has two links. Their
IP addresses are 192.168.2.0/24,192.168.3.0/30. From these LSA, R1 can calculate the routing path to
reach remote destination 192.11.68.2.2 and adds an entry (192.168.2.0/24, S1/0) to its routing table.
Pages: 1 2 3
Comments (104) Comments
Comment pages
Previous 1 2 3 374
1. mayormartin
December 20th, 2012
OSPF Tutorial page 1 says 'Uses COST as a metric which CISCO deIines as the inverse oI the
bandwidth. What does that exactly mean?
2. 9tut
December 21st, 2012
1f10f2013 CCNA Training OSPF Tutorial
9tut.comf.f3 2f5
mayormartin: The Iormula oI cost:
Cost ReIerence / Bandwidth.
By deIault, ReIerence is 100000 | Kb/s |.
We can see Cost is inverse oI Bandwidth.
3. Vivek S
December 30th, 2012
Very useIul tutorial about OSPF.
4. shiIa
January 3rd, 2013
is the ccna exam as same as the dump and simulation on 9tut
Comment pages
Previous 1 2 3 374
Add a Comment
Name
Submit Comment
Subscribe to comments Ieed
EIGRP Tutorial ConIigure Static Route GNS3 Lab
Premium Membership
Become a member to interact with all questions and read all tutorials, labs!
Find out more or Sign In
CCNA 640-802
CCNA Lab Sim
CCNA Basic Questions
1f10f2013 CCNA Training OSPF Tutorial
9tut.comf.f3 3f5
CCNA Basic Questions 2
CCNA Cisco IOS Questions
CCNA Cisco IOS Questions 2
CCNA Cisco IOS Questions 3
CCNA OSI Model Questions
CCNA TCP/IP Model & Operation
CCNA Show Command Questions
CCNA Protocols & Services
CCNA Access List Questions
CCNA Access List Questions 2
CCNA WAN
CCNA WAN 2
CCNA IP Address Questions
CCNA IP Routing Questions
CCNA IP Routing Questions 2
CCNA RIP Questions
CCNA OSPF Questions
CCNA OSPF Questions 2
CCNA EIGRP Questions
CCNA EIGRP Questions 2
CCNA Security Questions
CCNA DHCP Questions
DHCP Group oI Four Questions
CCNA NAT & PAT Questions
CCNA Drag and Drop 1
CCNA Drag and Drop 2
CCNA Drag and Drop 3
CCNA Drag and Drop 4
CCNA Drag and Drop 5
CCNA Switch Questions
CCNA Switch Questions 2
CCNA Switch Questions 3
CCNA VLAN Questions
CCNA VLAN Questions 2
CCNA VTP Questions
CCNA Hotspot
CCNA STP Questions
CCNA STP Questions 2
CCNA IPv6 Questions
CCNA Subnetting
CCNA Subnetting Questions 2
CCNA Subnetting Questions 3
CCNA Subnetting Questions 4
CCNA Operations 1
CCNA Operations 2
CCNA Operations 3
CCNA Troubleshooting 1
CCNA Troubleshooting 2
1f10f2013 CCNA Training OSPF Tutorial
9tut.comf.f3 +f5
CCNA Wireless
CCNA FAQs & Tips
Share your CCNA Experience
CCNA Self-Study
Practice CCNA GNS3 Labs
CCNA Knowledge
Network Resources
Free Router Simulators
ICND1/ICND2 Website
CCNP - ROUTE Website
CCNP - SWITCH Website
CCNP - TSHOOT Website
CCNA Voice Website
CCNA Wireless Website
CCNA Security Website
CCDA Website
CCIP Website
CCIE Written Website
Support 9tut
Your contribution will help keep this site updated!
Top
Copyright 2010-2012 CCNA Training
Privacy Policy. Valid XHTML 1.1 and CSS 3.
1f10f2013 CCNA Training OSPF Tutorial
9tut.comf.f3 5f5

Vous aimerez peut-être aussi