Quản trị mạng - Enabling rip
An autonomous system is a collection of networks under a common administrative domain.
IGPs operate within an autonomous system.
EGPs connect different autonomous systems.
30 trang |
Chia sẻ: nguyenlam99 | Lượt xem: 912 | Lượt tải: 0
Bạn đang xem trước 20 trang tài liệu Quản trị mạng - Enabling rip, để xem tài liệu hoàn chỉnh bạn click vào nút DOWNLOAD ở trên
Enabling RIP Routing protocols are used between routers to determine paths and maintain routing tables.After the path is determined, a router can route a routed protocol.What Is a Routing Protocol?An autonomous system is a collection of networks under a common administrative domain.IGPs operate within an autonomous system.EGPs connect different autonomous systems.Autonomous Systems: Interior or Exterior Routing ProtocolsClasses of Routing ProtocolsAdministrative Distance: Ranking RoutesDistance Vector—Sources of Information and Discovering RoutesABC10.1.0.010.2.0.010.3.0.0E0S0S0S1S0E0Routing Table10.2.0.010.3.0.0 00S0S1Routing Table10.3.0.0S0010.4.0.0E00Routing Table10.1.0.010.2.0.0 E0S0 0010.4.0.0Routers discover the best path to destinations from each neighborDistance Vector—Sources of Information and Discovering RoutesABC10.2.0.010.3.0.0E0S0S0S1S0E0Routing Table10.1.0.010.2.0.010.3.0.0Routing Table10.2.0.010.3.0.010.4.0.010.1.0.00011S0S1S1S0Routing Table10.3.0.0S0010.4.0.0E0010.2.0.0S0 1E0S0S010010.1.0.010.4.0.0Routers discover the best path to destinations from each neighborDistance Vector—Sources of Information and Discovering RoutesABC10.1.0.010.2.0.010.3.0.0E0S0S0S1S0E0Routing Table10.1.0.010.2.0.010.3.0.010.4.0.0Routing Table10.2.0.010.3.0.010.4.0.010.1.0.00011S0S1S1S0Routing Table10.3.0.0S0010.4.0.0E0010.2.0.0S010.1.0.0S012E0S0S0S0120010.4.0.0Routers discover the best path to destinations from each neighborDistance Vector—Maintaining Routing InformationAProcess to update this routingtableTopologychange causesroutingtableupdateUpdates proceed step-by-step from router to routerDistance Vector—Maintaining Routing InformationAProcess to update this routingtableRouter A sends out this updatedrouting table after the next period expiresTopologychange causesroutingtableupdateUpdates proceed step-by-step from router to routerDistance Vector—Maintaining Routing InformationABProcess to update this routingtableProcess to update this routingtableTopologychange causesroutingtableupdateRouter A sends out this updatedrouting table after the next period expiresUpdates proceed step-by-step from router to routerMaintaining Routing Information Problem—Routing LoopsABC10.1.0.010.2.0.010.3.0.0E0S0S0S1S0E0Routing Table10.3.0.0S0E0S0S01210.1.0.010.2.0.010.4.0.000Routing Table10.1.0.0E0S0S0S01210.4.0.010.3.0.010.2.0.000Routing Table10.2.0.0S0S1S1S01110.1.0.010.4.0.010.3.0.000Each node maintains the distance from itself to each possible destination networkMaintaining Routing Information Problem—Routing LoopsABC10.1.0.010.2.0.010.3.0.0E0S0S0S1S0E0XRouting Table10.3.0.0S0E0S0S01210.1.0.010.2.0.010.4.0.00DownRouting Table10.1.0.0E0S0S0S01210.4.0.010.3.0.010.2.0.000Routing Table10.2.0.0S0S1S1S01110.1.0.010.4.0.010.3.0.000Slow convergence produces inconsistent routingMaintaining Routing Information Problem—Routing LoopsABC10.1.0.010.2.0.010.3.0.0E0S0S0S1S0E0XRouting Table10.3.0.0S0S0S0S01210.1.0.010.2.0.010.4.0.002Routing Table10.1.0.0E0S0S0S01210.4.0.010.3.0.010.2.0.000Routing Table10.2.0.0S0S1S1S11110.1.0.010.4.0.010.3.0.00010.4.0.0Router C concludes that the best path to network 10.4.0.0 is through Router BMaintaining Routing Information Problem—Routing LoopsRouter A updates its table to reflect the new but erroneous hop countABC10.1.0.010.2.0.010.3.0.0E0S0S0S1S0E0XRouting TableS0S0S0S01210.3.0.010.1.0.010.2.0.010.4.0.002Routing TableE0S0S0S01410.1.0.010.4.0.010.3.0.010.2.0.000Routing TableS0S1S1S03110.2.0.010.1.0.010.4.0.010.3.0.000Symptom: Counting to InfinityPackets for network 10.4.0.0 bounce between routers A, B, and CHop count for network 10.4.0.0 counts to infinityABC10.1.0.010.2.0.010.3.0.0E0S0S0S1S0E0XRouting Table10.3.0.0S0S0S0S01210.1.0.010.2.0.010.4.0.004Routing TableE0S0S0S01610.1.0.010.4.0.010.3.0.010.2.0.000Routing TableS0S1S1S05110.2.0.010.1.0.010.4.0.010.3.0.00010.4.0.0Solution: Defining a MaximumDefine a limit on the number of hops to prevent infinite loopsABC10.1.0.010.2.0.010.3.0.0E0S0S0S1S0E0XRouting Table10.3.0.0S0S0S0S01210.1.0.010.2.0.010.4.0.0016Routing TableE0S0S0S011610.1.0.010.4.0.010.3.0.010.2.0.000Routing TableS0S1S1S016110.2.0.010.1.0.010.4.0.010.3.0.00010.4.0.0Solution: Split HorizonIt is never useful to send information about a route back in the direction from which the original packet came ABC10.1.0.010.2.0.010.3.0.0E0S0S0S1S0E0XXXRouting Table10.3.0.0S0S0S0S01210.1.0.010.2.0.010.4.0.000Routing TableE0S0S0S01210.1.0.010.4.0.010.3.0.010.2.0.000Routing TableS0S1S1E11210.2.0.010.1.0.010.4.0.010.3.0.00010.4.0.0Solution: Route PoisoningABC10.1.0.010.2.0.010.3.0.0E0S0S0S1S0E0XRouting Table10.3.0.0S0S0S0S01210.1.0.010.2.0.010.4.0.00InfinityRouting Table10.1.0.0E0S0S0S01210.4.0.010.3.0.010.2.0.000Routing Table10.2.0.0S0S1S1E11210.1.0.010.4.0.010.3.0.00010.4.0.0Routers set the distance of routes that have gone down to infinitySolution: Poison ReversePoison Reverse overrides split horizonABC10.1.0.010.2.0.010.3.0.0E0S0S0S1S0E0XRouting Table10.3.0.0S0S0S0S01210.1.0.010.2.0.010.4.0.00InfinityRouting Table10.1.0.0E0S0S0S01210.4.0.010.3.0.010.2.0.000Routing Table10.2.0.0S0S1S1E1PossiblyDown210.1.0.010.4.0.010.3.0.000PoisonReverse10.4.0.0Solution: Hold-Down TimersRouter keeps an entry for the network possibly down state, allowing time for other routers to recompute for this topology changeNetwork 10.4.0.0 is downthen back up then back downUpdate afterhold-down TimeNetwork 10.4.0.0is unreachableABC10.2.0.010.3.0.0E0S0S0S1S0E0XUpdate afterhold-down Time10.4.0.0Solution: Triggered UpdatesRouter sends updates when a change in its routing table occursABC10.2.0.010.3.0.0E0S0S0S1S0E0XNetwork 10.4.0.0is unreachableNetwork 10.4.0.0is unreachableNetwork 10.4.0.0is unreachable10.4.0.0RIPv1 and RIPv2 ComparisonRIPv1RIPv2Routing protocolClassfulClasslessSupports variable-length subnet mask?NoYesSends the subnet mask along with the routing update?NoYesAddressing typeBroadcastMulticastDefined in RFC 1058RFCs 1721, 1722, and 2453Supports manual route summarization?NoYesAuthentication support?NoYesRouter configurationSelect routing protocolsSpecify networks or interfacesIP Routing Configuration TasksStarts the RIP routing processRouterX(config)# router ripRouterX(config-router)# network network-numberSelects participating attached networksRequires a major classful network numberRIP ConfigurationEnables RIP version 2RouterX(config-router)# version 2RIP Configuration ExampleVerifying the RIP ConfigurationRouting Protocol is "rip" Sending updates every 30 seconds, next due in 6 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Outgoing update filter list for all interfaces is not set Incoming update filter list for all interfaces is not set Redistributing: rip Default version control: send version 2, receive version 2 Interface Send Recv Triggered RIP Key-chain FastEthernet0/0 2 2 Serial0/0/2 2 2 Automatic network summarization is in effect Maximum path: 4 Routing for Networks: 10.0.0.0 172.16.0.0 Routing Information Sources: Gateway Distance Last Update 10.1.1.2 120 00:00:25 Distance: (default is 120)RouterA#Displaying the IP Routing TableRouterA# show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route, o - ODR T - traffic engineered routeGateway of last resort is not set 172.16.0.0/24 is subnetted, 1 subnetsC 172.16.1.0 is directly connected, fastethernet0/0 10.0.0.0/24 is subnetted, 2 subnetsR 10.2.2.0 [120/1] via 10.1.1.2, 00:00:07, Serial0/0/2C 10.1.1.0 is directly connected, Serial0/0/2R 192.168.1.0/24 [120/2] via 10.1.1.2, 00:00:07, Serial0/0/2debug ip rip CommandRouterA# debug ip ripRIP protocol debugging is onRouterA#00:06:24: RIP: received v1 update from 10.1.1.2 on Serial0/0/200:06:24: 10.2.2.0 in 1 hops00:06:24: 192.168.1.0 in 2 hops00:06:33: RIP: sending v1 update to 255.255.255.255 via FastEthernet0/0 (172.16.1.1)00:06:34: network 10.0.0.0, metric 100:06:34: network 192.168.1.0, metric 300:06:34: RIP: sending v1 update to 255.255.255.255 via Serial0/0/2 (10.1.1.1)00:06:34: network 172.16.0.0, metric 1
Các file đính kèm theo tài liệu này:
- 19_ripv2_4084.ppt