Exploration_Routing_Chapter_8路由表.ppt_第1页
Exploration_Routing_Chapter_8路由表.ppt_第2页
Exploration_Routing_Chapter_8路由表.ppt_第3页
Exploration_Routing_Chapter_8路由表.ppt_第4页
Exploration_Routing_Chapter_8路由表.ppt_第5页
已阅读5页,还剩34页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

TheRoutingTable:ACloserLook,RoutingProtocolsandConceptsChapter8,Objectives,DescribethevariousroutetypesfoundintheroutingtablestructureDescribetheroutingtablelookupprocess.Describeroutingbehaviorinroutednetworks.,Introduction,ChapterFocus-Structureoftheroutingtable-Lookupprocessoftheroutingtable-Classlessandclassfulroutingbehaviors,RoutingTableStructure,LabTopology3routersetup-R1andR2shareacommon172.16.0.0/16networkwith172.16.0.0/24subnets.-R2andR3areconnectedbythe192.168.1.0/24network.-R3alsohasa172.16.4.0/24subnet,whichisdisconnected,ordiscontiguous,fromthe172.16.0.0networkthatR1andR2share.,RoutingTableStructure,Routingtableentriescomefromthefollowingsources-Directlyconnectednetworks-Staticroutes-Dynamicroutingprotocols,RoutingTableStructure,Level1RoutesAssoonasthenoshutdowncommandisissuedtherouteisaddedtoroutingtable,RoutingTableStructure,CiscoIProutingtableisahierarchicalstructure-Thereasonforthisistospeeduplookupprocess,RoutingTableStructure,Level1Routes-Haveasubnetmaskequaltoorlessthantheclassfulmaskofthenetworkaddress.Level1routecanfunctionas-Defaultroute-Supernetroute-Networkroute,RoutingTableStructure,Level1Routes-UltimateRouteIncludeseither:-Anext-hopaddressOR-Anexitinterface,ParentandChildRoutes-Aparentrouteisalevel1route-Aparentroutedoesnotcontainanynext-hopIPaddressorexitinterfaceinformation,RoutingTableStructure,RoutingTableStructure,Automaticcreationofparentroutes-OccursanytimeasubnetisaddedtotheroutingtableChildroutes-Childroutesarelevel2routes-Childroutesareasubnetofaclassfulnetworkaddress,RoutingTableStructure,Level2childroutescontainroutesource&thenetworkaddressoftherouteLevel2childroutesarealsoconsideredultimateroutesReason:theycontainthenexthopaddress&/orexitinterface,RoutingTableStructure,Bothchildrouteshavethesamesubnetmask-Thismeanstheparentroutemaintainsthe/24mask,RoutingTableStructure,Diagramillustrates2childnetworksbelongingtotheparentroute172.16.0.0/24,RoutingTableStructure,Inclasslessnetworks,childroutesdonothavetosharethesamesubnetmask,RoutingTableStructure,Parent&ChildRoutes:ClasslessNetworks,RoutingTableStructure,Parent&ChildRoutes:ClasslessNetworks,RoutingTableLookupProcess,TheRouteLookupProcessExaminelevel1routes-Ifbestmatchalevel1ultimaterouteandisnotaparentroutethisrouteisusedtoforwardpacketRouterexamineslevel2(child)routes-Ifthereisamatchwithlevel2childroutethenthatsubnetisusedtoforwardpacket-IfnomatchthendetermineroutingbehaviortypeRouterdeterminesclassfulorclasslessroutingbehavior-Ifclassfulthenpacketisdropped-Ifclasslessthenroutersearcheslevelonesupernetanddefaultroutes-Ifthereexistsalevel1supernetordefaultroutematchthenPacketisforwarded.Ifnotpacketisdropped,RoutingTableLookupProcess,LongestMatch:Level1NetworkRoutesBestmatchisalsoknownasthelongestmatchThebestmatchistheonethathasthemostnumberofleftmostbitsmatchingbetweenthedestinationIPaddressandtherouteintheroutingtable.,RoutingTableLookupProcess,FindingthesubnetmaskusedtodeterminethelongestmatchScenario:PC1pings192.168.1.2Routerexamineslevel1routeforbestmatchThereexistamatchbetween192.168.1.2&192.168.1.0/24Routerforwardspacketsouts0/0/0,RoutingTableLookupProcess,Theprocessofmatching-1sttheremustbeamatchmadebetweentheparentroute&destinationIP-IfamatchismadethenanattemptatfindingamatchbetweenthedestinationIPandthechildrouteismade.,RoutingTableLookupProcess,FindingamatchbetweenpacketsdestinationIPaddressandthenextrouteintheroutingtable-ThefigureshowsamatchbetweenthedestinationIPof192.168.1.0andtheleveloneIPof192.168.1.0/24thenpacketforwardedouts0/0/0,RoutingTableLookupProcess,Level1Parent&Level2ChildRoutesBeforelevel2childroutesareexamined-TheremustbeamatchbetweenclassfulleveloneparentrouteanddestinationIPaddress.,RoutingTableLookupProcess,AfterthematchwithparentroutehasbeenmadeLevel2childrouteswillbeexaminedforamatch-RoutelookupprocesssearchesforchildrouteswithamatchwithdestinationIP,RoutingTableLookupProcess,Howarouterfindsamatchwithoneofthelevel2childroutes-Firstrouterexaminesparentroutesforamatch-Ifamatchexiststhen:ChildroutesareexaminedChildroutechosenistheonewiththelongestmatch,RoutingTableLookupProcess,Example:RouteLookupProcesswithVLSM-TheuseofVLSMdoesnotchangethelookupprocess-IfthereisamatchbetweendestinationIPaddressandthelevel1parentroutethen-Level2childrouteswillbesearched,RoutingBehavior,Classful&classlessroutingprotocolsInfluencehowroutingtableispopulatedClassful&classlessroutingbehaviorsDetermineshowroutingtableissearchedafteritisfilled,RoutingBehavior,ClassfulRoutingBehavior:noipclasslessWhathappensifthereisnotamatchwithanylevel2childroutesoftheparent?-Routermustdetermineiftheroutingbehaviorisclasslessorclassful-Ifrouterisutilizingclassfulroutingbehaviorthen-Lookupprocessisterminatedandpacketisdropped,RoutingBehavior,ClassfulRoutingBehaviorSearchProcessAnexampleofwhenclassfulroutingbehaviorisineffectandwhytherouterdropsthePacket-Thedestinationssubnetmaskisa/24andnoneofthechildroutesleftmostbitsmatchthefirst24bits.Thismeanspacketisdropped,RoutingBehavior,ClassfulRoutingBehaviorSearchProcessThereasonwhytherouterwillnotsearchbeyondthechildroutesOriginallynetworkswereallclassfulThismeantanorganizationcouldsubnetamajornetworkaddressand“enlighten”alltheorganizationsroutersaboutthesubnettingTherefore,ifthesubnetwasnotintheroutingtable,thesubnetdidnotexistandpacketwasdropped,RoutingBehavior,ipClasslessBeginningwithIOS11.3,ipclasslesswasconfiguredbydefaultClasslessroutingbehaviorworksfor-DiscontiguousnetworksAnd-CIDRsupernets,RoutingBehavior,ClasslessRoutingBehavior:ipclasslessRoutelookupprocesswhenipclasslessisinuse-IfclasslessroutingbehaviorineffectthenSearchlevel1routesSupernetroutesCheckedfirst-IfamatchexiststhenforwardpacketDefaultroutesCheckedsecondIfthereisnomatchornodefaultroutethenthePacketisdropped,RoutingBehavior,ClasslessRoutingBehaviorSearchProcessRouterbeginssearchprocessbyfindingamatchbetweendestinationIPandparentrouteAfterfindingtheabovementionedmatch,thenthereisasearchofthechildroute,RoutingBehavior,ClasslessRoutingBehaviorSearchProcessIfnomatchisfoundinchildroutesofpreviousslidethenRoutercontinuestosearchtheroutingtableforamatchthatmayhavefewerbitsinthematch,RoutingBehavior,Classfulvs.ClasslessRoutingBehavior-ItisrecommendedtouseclasslessroutingbehaviorReason:sosupernetanddefaultroutescanbeusedwheneverneeded,Summary,Content/structureofaroutingtableRoutingtableentries-Directlyconnectednetworks-Staticroute-DynamicroutingprotocolsRoutingtablesarehierarchical-Level1routeHaveasubnetmaskthatislessthanorequaltoclassfulsubnetmaskforthenetworkaddress-Level2routeThesearesubnetsofanetworkaddress,Summary,RoutingtablelookupprocessBeginswithexamininglevel1routesforbestmatchwithpacketsdestinationIPIftheb

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论