Chapter 3 -Giới thiệu về giao thức định tuyến động pdf

32 323 0
Chapter 3 -Giới thiệu về giao thức định tuyến động pdf

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Chapter - Introduction to Dynamic Routing Protocol CCNA Exploration 4.0 Objectives • • • • • Describe the role of dynamic routing protocols and place these protocols in the context of modern network design Identify several ways to classify routing protocols Describe how metrics are used by routing protocols and identify the metric types used by dynamic routing protocols Determine the administrative distance of a route and describe its importance in the routing process Identify the different elements of the routing table Học viện mạng Bach Khoa - Website: www.bkacad.com Introduction Học viện mạng Bach Khoa - Website: www.bkacad.com The Evolution of Dynamic Routing Protocols Học viện mạng Bach Khoa - Website: www.bkacad.com Dynamic Routing Protocols • Dynamic routing protocols help the network administrator overcome • the time-consuming and exacting process of configuring and maintaining static routes 28 routers shown in the figure? What happens when a link goes down? How you ensure that redundant paths are available? Dynamic routing is the most common choice for large networks like the one shown Học viện mạng Bách Khoa - Website: www.bkacad.com The Role of Dynamic Routing Protocol • Routing protocols are used to facilitate the exchange of routing • • • information between routers Dynamic routing protocols allow routers to dynamically share information about remote networks and automatically add this information to their own routing tables Routing protocols determine the best path to each network which is then added to the routing table Consuming system resources(CPU, Memory, bandwidth…) Học viện mạng Bach Khoa - Website: www.bkacad.com Network discovery and routing table maintenance • The purpose of a routing protocol includes: – – – – • Discovery of remote networks Maintaining up-to-date routing information Choosing the best path to destination networks Ability to find a new best path if the current path is no longer available Components of a routing protocol: – Data structures – Algorithm – Routing protocol messages Học viện mạng Bach Khoa - Website: www.bkacad.com Dynamic routing operation • The router sends and receives routing messages on its interfaces • The router shares routing messages and routing information with other • • routers that are using the same routing protocol Routers exchange routing information to learn about remote networks When a router detects a topology change the routing protocol can advertise this change to other routers Học viện mạng Bach Khoa - Website: www.bkacad.com Advantages Học viện mạng Bach Khoa - Website: www.bkacad.com Dynamic Routing Protocols Classification Học viện mạng Bach Khoa - Website: www.bkacad.com 10 Purpose of a Metric • A metric is a value used by routing protocols to assign costs to reach • remote networks The metric is used to determine which path is most preferable when there are multiple paths to the same remote network Học viện mạng Bach Khoa - Website: www.bkacad.com 18 Metrics and Routing Protocols The Metric Parameters • Different routing protocols use different metrics Two different routing protocols might choose different paths to the same destination due to using different metrics • Metrics used in IP routing protocols include: Hop count, Bandwidth, Load, Delay, Reliability, Cost RIP OSPF Học viện mạng Bach Khoa - Website: www.bkacad.com 19 Metrics and Routing Protocols The Metric Field in the Routing Table • The metric for each routing protocol is: – RIP: Hop count – IGRP and EIGRP: Bandwidth, Delay, Reliability, and Load – IS-IS and OSPF: Cost Học viện mạng Bach Khoa - Website: www.bkacad.com 20 Load Balancing • But what happens when two or more routes to the same destination • have identical metric values? How will the router decide which path to use for packet forwarding? In this case, the router does not choose only one route Instead, the router "load balances" between these equal cost paths The packets are forwarded using all equal-cost paths Học viện mạng Bach Khoa - Website: www.bkacad.com 21 Purpose of Administrative Distance Multiple Routing Sources • How does a router determine which route to install in the routing table when it has learned about the same network from more than one routing source? The Purpose of Administrative Distance • Administrative distance (AD) defines the preference of a routing source Administrative distance is an integer value from to 255 • Each routing source - including specific routing protocols, static routes, and even directly connected networks - is prioritized in order of mostto least-preferable using an administrative distance value Học viện mạng Bach Khoa - Website: www.bkacad.com 22 Purpose of Administrative Distance • • show ip route show ip rip database Học viện mạng Bach Khoa - Website: www.bkacad.com 23 Purpose of Administrative Distance Học viện mạng Bach Khoa - Website: www.bkacad.com 24 Dynamic Routing Protocols • • show ip route show ip protocols Học viện mạng Bach Khoa - Website: www.bkacad.com 25 Static Routes • Static routes are entered by an administrator who wants to manually configure the best path to the destination • Static routes have a default AD value of • Directly connected networks, which have a default AD value of Học viện mạng Bach Khoa - Website: www.bkacad.com 26 Directly Connected Networks • Directly connected networks appear in the routing table as soon as the • • IP address on the interface is configured and the interface is enabled and operational The AD value of directly connected networks is 0, meaning that this is the most preferred routing source Administrative distance of a directly connected network cannot be changed and no other route source can have an administrative distance of Học viện mạng Bach Khoa - Website: www.bkacad.com 27 Identifying Elements of the Routing Table Học viện mạng Bach Khoa - Website: www.bkacad.com 28 Take advantage of AD to create backup route • • R1 has a default route with AD = 0(default) – R1(config)#ip route 0.0.0.0 0.0.0.0 s0/0 R3 has a second default used as backup route when Default route becomes fail Hence, Default route and Default route must be propagated to all routers but the AD of Default route must be change RIP R3 OSPF R2 S0/0 R1 Default route S0/1 Default route Học viện mạng Bach Khoa - Website: www.bkacad.com 29 Take advantage of AD to create backup route • • • R2 learns Default route from R1 through OSPF with AD = 110 R3 learns Default route from R2 through RIP with AD = 120 Use Default route as backup route AD’s Default route must be greater than 120 – R3(config)#ip route 0.0.0.0 0.0.0.0 s0/1 180 Modifiy AD to 180 RIP R3 OSPF R2 S0/0 R1 Default route Default route Học viện mạng Bach Khoa - Website: www.bkacad.com 30 Summary Học viện mạng Bach Khoa - Website: www.bkacad.com 31 Học viện mạng Bach Khoa - Website: www.bkacad.com 32 ... Modifiy AD to 180 RIP R3 OSPF R2 S0/0 R1 Default route Default route Học viện mạng Bach Khoa - Website: www.bkacad.com 30 Summary Học viện mạng Bach Khoa - Website: www.bkacad.com 31 Học viện mạng... through OSPF with AD = 110 R3 learns Default route from R2 through RIP with AD = 120 Use Default route as backup route AD’s Default route must be greater than 120 – R3(config)#ip route 0.0.0.0... Distance • • show ip route show ip rip database Học viện mạng Bach Khoa - Website: www.bkacad.com 23 Purpose of Administrative Distance Học viện mạng Bach Khoa - Website: www.bkacad.com 24 Dynamic

Ngày đăng: 28/07/2014, 18:21

Từ khóa liên quan

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan