已阅读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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 医学26年:脑出血外科干预指征 查房课件
- 26年WHO基因检测指南适配指南
- 医学26年:肝硬化患者护理要点 查房课件
- 2026 减脂期三文鱼课件
- 骨科患者的引流管护理
- 2026 上班族减脂期饮食课件
- 2026年道路桥梁工程合同三篇
- 19 肥皂泡 课件(内嵌视频) 2025-2026学年语文三年级下册统编版
- 起搏器术后性活动指导与注意事项
- 2026 塑型进阶鸡心课件
- 肝移植管理制度
- 2024版2026春新版三年级下册道德与法治全册教案教学设计
- 第13课摔跤(课件)
- 2025-2030猪肉加工产业链行业市场现状供需分析及投资评估规划分析研究报告
- 2026年盐城市机关事业单位工勤人员技师选拔考试试卷及答案
- 高炉煤气干法精脱硫技术规范
- 天平使用步骤课件
- 高原铁路隧道供氧系统管道施工
- 2026年材料员之材料员基础知识考试题库300道附参考答案【考试直接用】
- 企业董事长助理岗位职责书
- 2025年宠物服务产业园区建设项目可行性研究报告及总结分析
评论
0/150
提交评论