All rights reserved.BSCI 3 Học viện mạng Bách Khoa - www.bkacad.com OSPF Packet Formats All OSPF packets begin with a 24-octet header... All rights reserved.BSCI 5 Học viện mạng Bách K
Trang 1© 2008 Cisco Systems, Inc All rights reserved Cisco Confidential
BSCI Module 3 Lesson 2 - Review of OSPF Operation
Trang 2 OSPF Packet Types
OSPF Packet Header Format
Establishing OSPF Neighbor Adjacencies
Exchanging and Synchronizing LSDBs
Discovering the Network Routes
Maintaining Network Routes
Maintaining Link-State Sequence Numbers
Verifying Packet Flow
Trang 3© 2008 Cisco Systems, Inc All rights reserved.
BSCI
3
Học viện mạng Bách Khoa - www.bkacad.com
OSPF Packet Formats
All OSPF packets begin with a 24-octet header
Trang 4OSPF Packet Types
Version is the OSPF version number.
Type specifies the packet type following the header.
Packet length is the length of the OSPF packet, in octets, including the
header.
Router ID is the ID of the originating router.
Area ID is the area from which the packet originated.
AuType is the authentication mode being used.
Authentication is the information necessary for the packet to be
authenticated by whatever mode is specified in the AuType field.
Trang 5© 2008 Cisco Systems, Inc All rights reserved.
BSCI
5
Học viện mạng Bách Khoa - www.bkacad.com
OSPF Packet Types
Trang 6OSPF Packet Header Format
Trang 7© 2008 Cisco Systems, Inc All rights reserved.
BSCI
7
Học viện mạng Bách Khoa - www.bkacad.com
The Hello Packet
The Hello packet establishes and maintains adjacencies The Hello carries
parameters on which neighbors must agree in order to form an adjacency.
Trang 8The Database Description Packet
The Database Description packet is used when an adjacency is being
established (see "Building an Adjacency," earlier in this chapter) The primary purpose of the DD packet is to describe some or all of the LSAs in the originator's database so that the receiver can determine whether it has
a matching LSA in its own database This is done by listing only the headers of the LSAs.
Trang 9© 2008 Cisco Systems, Inc All rights reserved.
BSCI
9
Học viện mạng Bách Khoa - www.bkacad.com
The Link State Request Packet
As Database Description packets are received during the database
synchronization process, a router will take note of any listed LSAs that are not in its database or are more recent than its own LSA These LSAs are recorded in the Link State Request list The router will then send one or more Link State Request packets asking the neighbor for its copy of the LSA.
Trang 10The Link State Update Packet
The Link State Update packet, is used in the flooding of LSAs and to send
LSAs in response to Link State Requests.
Trang 11© 2008 Cisco Systems, Inc All rights reserved.
BSCI
11
Học viện mạng Bách Khoa - www.bkacad.com
The Link State Acknowledgment Packet
Link State Acknowledgment packets are used to make the flooding of
LSAs reliable Each LSA received by a router from a neighbor must be explicitly acknowledged in a Link State Acknowledgment packet.
Trang 12Establishing OSPF Neighbor Adjacencies
Highest IP loopback then physical 10S&40s or 30s&120s RID of neighbor
Area 0 or Area # 0
Trang 13© 2008 Cisco Systems, Inc All rights reserved.
BSCI
13
Học viện mạng Bách Khoa - www.bkacad.com
Elect DR/BDR
Trang 14Link-State Database Synchronization
Trang 15© 2008 Cisco Systems, Inc All rights reserved.
BSCI
15
Học viện mạng Bách Khoa - www.bkacad.com
Exchanging and Synchronizing LSDBs
On nonbroadcast multiaccess
(NBMA), point-to-multipoint, and virtual links , the hello packets are sent in unicast packets
Note
After a DR and BDR are selected, any router added to the network establishes adjacencies with the
DR and BDR only.
Trang 16Discovering the Network Routes
Trang 17© 2008 Cisco Systems, Inc All rights reserved.
BSCI
17
Học viện mạng Bách Khoa - www.bkacad.com
Maintaining Network Routers
Trang 18Maintaining Link-State Sequence Numbers
Trang 19© 2008 Cisco Systems, Inc All rights reserved.
BSCI
19
Học viện mạng Bách Khoa - www.bkacad.com
Verifying Packet Flow
Trang 20 3.2.1 Drag and Drop: OSPF Packet Types
– Upon completion of this activity, the student will be able to identify the different OSPF packet types.
3.2.2 Drag and Drop: OSPF Packet Header
– Upon completion of this activity, the student will be able to identify the different fields in an OSPF packet header.
3.2.5 Drag and Drop: OSPF States
– Upon completion of this activity, the student will be able to list
in order the different states of OSPF.
3.2.5 Drag and Drop: OSPF Neighbor States
– Upon completion of this activity, the student will be able to identify the different OSPF neighbor states.
Trang 21© 2008 Cisco Systems, Inc All rights reserved.
BSCI
21
Học viện mạng Bách Khoa - www.bkacad.com
Self Check
1 List 5 types of OSPF packets
2 Which router will be Master
3 Meaning of Sequence Number for LSA
Trang 22 OSPF Packet Types
OSPF Packet Header Format
Establishing OSPF Neighbor Adjacencies
Exchanging and Synchronizing LSDBs
Discovering the Network Routes
Maintaining Network Routes
Maintaining Link-State Sequence Numbers
Verifying Packet Flow
Trang 23© 2008 Cisco Systems, Inc All rights reserved.
BSCI
23
Học viện mạng Bách Khoa - www.bkacad.com
Q and A