Ender204426777乾颐堂CCNAv3.0课程EstablishingInternetConnectivityEnablingStaticRouting配置静态路由乾颐堂CCNAv3.0Ender204426777RoutingOperations•Pathidentificationandselection:–Discoverspossibleroutestotheintendeddestination发现去往特定目的的路由–Selectsthebestroute选择去往目标的最优的路由–Maintainsandverifiestheroutinginformation维护和验证路由信息•Packetforwarding:–Routeridentifiesthedestinationaddress路由器转发数据到出接口EnderICND1—2-116乾颐堂CCNAv3.0Ender204426777RoutingOperations(Cont.)•Aroutermustlearnaboutdestinationsthatarenotdirectlyconnectedtoit.有去往目标的路由•Theroutingtableisusedtodeterminethebestpathtothedestination.NetworkProtocolDestinationNetworkExitInterfaceNextHopConnected10.120.2.0fa0/0Learned172.16.1.0s0/0/0172.20.1.2EnderICND1—2-117乾颐堂CCNAv3.0Ender204426777StaticandDynamicRoutingComparisonStaticroutes:•Anetworkadministratormanuallyentersstaticroutesintotherouter路由需要由管理员手工配置•Anetworktopologychangerequiresamanualupdatetotheroute.网络更新时需要手工更新•Routingbehaviorcanbepreciselycontrolled路由可以非常精确的控制Dynamicroutes:•Anetworkroutingprotocolautomaticallyadjustsdynamicrouteswhenthetopologyortrafficchanges拓扑发生变化时可以自动调整•Routerslearnandmaintainroutestotheremotedestinationsbyexchangingroutingupdates.通过交换路由更新学习和维护到达目标的路由•Routersdiscovernewnetworksbysharingroutingtableinformation.路由器通过共享路由表信息发现网络-及路由表要一致EnderICND1—2-118乾颐堂CCNAv3.0Ender204426777WhentoUseStaticRoutingUsestaticroutes:•Inasmallnetworkthatrequiresonlysimplerouting-小型网络•Inahub-and-spokenetworktopology-Hub&Spoke结构•Whenyouwanttocreateaquickadhocroute-一条快速临时路由Donotusestaticroutes:•Inalargenetwork•WhenthenetworkisexpectedtoscaleEnderICND1—2-119乾颐堂CCNAv3.0Ender204426777StaticRouteConfigurationConfigureunidirectionalstaticroutestoandfromastubnetworktoallowcommunicationtooccur.EnderICND1—2-120乾颐堂CCNAv3.0Ender204426777StaticRouteConfiguration(Cont.)Staticrouteconfigurationst...