intTypePromotion=1
zunia.vn Tuyển sinh 2024 dành cho Gen-Z zunia.vn zunia.vn
ADSENSE

Lecture CCNA Exploration 4.0 (Kỳ 2) - Chapter 10: Link-State Routing Protocols

Chia sẻ: You Can | Ngày: | Loại File: PDF | Số trang:34

74
lượt xem
5
download
 
  Download Vui lòng tải xuống để xem tài liệu đầy đủ

Upon completion of this lesson, the successful participant will be able to: Describe the basic features & concepts of link-state routing protocols, list the benefits and requirements of link-state routing protocols.

Chủ đề:
Lưu

Nội dung Text: Lecture CCNA Exploration 4.0 (Kỳ 2) - Chapter 10: Link-State Routing Protocols

  1. Chapter 10: Link-State Routing Protocols CCNA Exploration version 4.0
  2. Objectives • Describe the basic features & concepts of link-state routing protocols. • List the benefits and requirements of link-state routing protocols. Học viện mạng Bach Khoa - Website: www.bkacad.com 2
  3. Link-State Routing Học viện mạng Bach Khoa - Website: www.bkacad.com 3
  4. Link-State Routing Protocols • Link state routing protocols – Also known as shortest path first algorithms – Built around Dijkstra’s SPF Học viện mạng Bach Khoa - Website: www.bkacad.com 4
  5. Introduction to the SPF Algorithm • Dikjstra’s algorithm also known as the shortest path first (SPF) algorithm. This algorithm accumulates costs along each path, from source to destination. • Each router determines its own cost to each destination in the topology. Học viện mạng Bach Khoa - Website: www.bkacad.com 5
  6. Introduction to the SPF Algorithm Học viện mạng Bach Khoa - Website: www.bkacad.com 6
  7. Introduction to the SPF Algorithm • The shortest path to a destination is not necessarily the path with the least number of hops Học viện mạng Bach Khoa - Website: www.bkacad.com 7
  8. Link-State Routing Process • How routers using Link State Routing Protocols reach convergence 1. Each routers learns about its own directly connected networks. 2. Link state routers exchange hello packet to “meet” other directly connected link state routers. 3. Each router builds its own Link State Packet (LSP) which includes information about neighbors such as neighbor ID, link type, & bandwidth. 4. After the LSP is created the router floods it to all neighbors who then store the information and then forward it until all routers have the same information. 5. Once all the routers have received all the LSPs, the routers then construct a topological map of the network which is used to determine the best routes to a destination. Học viện mạng Bach Khoa - Website: www.bkacad.com 8
  9. 1.Learning about Directly Connected Network • Link: this is an interface on a router • Information about the state of those links is known as link- states.This information includes: – The interface's IP address and subnet mask. – The type of network, such as Ethernet (broadcast) or Serial point-to-point link. – The cost of that link. – Any neighbor routers on that link. Học viện mạng Bach Khoa - Website: www.bkacad.com 9
  10. 2.Sending Hello Packets to Neighbors • Routers with link-state routing protocols use a Hello protocol to discover any neighbors on its links. A neighbor is any other router that is enabled with the same link-state routing protocol. Học viện mạng Bach Khoa - Website: www.bkacad.com 10
  11. 2.Sending Hello Packets to Neighbors Học viện mạng Bach Khoa - Website: www.bkacad.com 11
  12. 2.Sending Hello Packets to Neighbors • When 2 link-state routers learn that they are neighbors, they form an adjacency. • These small Hello packets continue to be exchanged between two adjacent neighbors which serve as a "keepalive" function to monitor the state of the neighbor. • If a router stops receiving Hello packets from a neighbor, that neighbor is considered unreachable and the adjacency is broken. Học viện mạng Bach Khoa - Website: www.bkacad.com 12
  13. 3.Building the Link-State Packet • Each router builds its own Link State Packet (LSP). • Contents of LSP: 1. State of each directly connected link 2. Includes information about neighbors such as neighbor ID, link type, & bandwidth. Học viện mạng Bach Khoa - Website: www.bkacad.com 13
  14. 3.Building the Link-State Packet Học viện mạng Bach Khoa - Website: www.bkacad.com 14
  15. 4.Flooding Link-State Packets to Neighbors • Each router floods the LSP to all neighbors, who then store all LSPs received in a database. • Each router floods its link-state information to all other link-state routers in the routing area. • Whenever a router receives an LSP from a neighboring router, it immediately sends that LSP out all other interfaces except the interface that received the LSP. Học viện mạng Bach Khoa - Website: www.bkacad.com 15
  16. 4.Flooding Link-State Packets to Neighbors • LSPs are sent out under the following conditions 1. During initial startup of the router or of the routing protocol process on that router 2. Whenever there is a change in the topology, including a link going down or coming up, or a neighbor adjacency being established or broken Học viện mạng Bach Khoa - Website: www.bkacad.com 16
  17. 4.Flooding Link-State Packets to Neighbors Học viện mạng Bach Khoa - Website: www.bkacad.com 17
  18. 4.Flooding Link-State Packets to Neighbors • Unlike distance vector routing protocols that must first run the Bellman-Ford algorithm to process routing updates before sending them to other routers, link-state routing protocols calculate the SPF algorithm after the flooding is complete. • As a result, link-state routing protocols reach convergence much faster than distance vector routing protocols. Học viện mạng Bach Khoa - Website: www.bkacad.com 18
  19. 5.Constructing a link state database • Each router uses the database to construct a complete map of the topology and computes the best path to each destination network. Học viện mạng Bach Khoa - Website: www.bkacad.com 19
  20. 5.Constructing a link state database • Each router in the topology determines the shortest path from its own perspective. Học viện mạng Bach Khoa - Website: www.bkacad.com 20
ADSENSE

CÓ THỂ BẠN MUỐN DOWNLOAD

 

Đồng bộ tài khoản
2=>2